]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Add an input method subsystem
[libs/gltk.git] / source / indicator.h
index dd8a26e52ac06fa459370bf75331726fa1936316..90c920c574100ea190166180ea7a3858dfa0888e 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GLTK_INDICATOR_H_
 #define MSP_GLTK_INDICATOR_H_
 
@@ -19,10 +12,9 @@ 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