]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Loader improvements
[libs/gltk.git] / source / indicator.h
index dd8a26e52ac06fa459370bf75331726fa1936316..fdc83b415ed6f89b904bb19281d0f7d7c69c8fdc 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgltk
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Copyright © 2007, 2010-2011  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -19,10 +19,11 @@ 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