]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Add an input method subsystem
[libs/gltk.git] / source / indicator.h
index c8ecbc53ecae34dad48458a3441b87fd94ddf294..90c920c574100ea190166180ea7a3858dfa0888e 100644 (file)
@@ -6,13 +6,15 @@
 namespace Msp {
 namespace GLtk {
 
+/**
+An Indicator visualizes a boolean state.  It can be either active or inactive.
+*/
 class Indicator: public Widget
 {
 public:
-       Indicator(const Resources &);
+       virtual const char *get_class() const { return "indicator"; }
+
        void set_active(bool);
-private:
-       const char *get_class() const { return "indicator"; }
 };
 
 } // namespace GLtk