]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.cpp
Initial revision
[libs/gltk.git] / source / indicator.cpp
diff --git a/source/indicator.cpp b/source/indicator.cpp
new file mode 100644 (file)
index 0000000..682837a
--- /dev/null
@@ -0,0 +1,18 @@
+#include "indicator.h"
+
+namespace Msp {
+namespace GLtk {
+
+Indicator::Indicator(const Resources &r):
+       Widget(r)
+{
+       update_style();
+}
+
+void Indicator::set_active(bool a)
+{
+       state=(a ? ACTIVE : NORMAL);
+}
+
+} // namespace GLtk
+} // namespace Msp