]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Minor style fixes
[libs/gltk.git] / source / indicator.h
index c8ecbc53ecae34dad48458a3441b87fd94ddf294..cf20e3138f29618ff0a98eca5d7637324de70d16 100644 (file)
@@ -6,13 +6,17 @@
 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 &);
+       Indicator();
+
+       virtual const char *get_class() const { return "indicator"; }
+
        void set_active(bool);
-private:
-       const char *get_class() const { return "indicator"; }
 };
 
 } // namespace GLtk