]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Initial revision
[libs/gltk.git] / source / indicator.h
diff --git a/source/indicator.h b/source/indicator.h
new file mode 100644 (file)
index 0000000..c8ecbc5
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef MSP_GLTK_INDICATOR_H_
+#define MSP_GLTK_INDICATOR_H_
+
+#include "widget.h"
+
+namespace Msp {
+namespace GLtk {
+
+class Indicator: public Widget
+{
+public:
+       Indicator(const Resources &);
+       void set_active(bool);
+private:
+       const char *get_class() const { return "indicator"; }
+};
+
+} // namespace GLtk
+} // namespace Msp
+
+#endif