X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Findicator.h;h=cf20e3138f29618ff0a98eca5d7637324de70d16;hb=f0b600c3b1739f7e088da6ab8eb7c2e67adf592c;hp=69e488f0656f8a19551da96cfb3c8781bbfa1a00;hpb=1fde94c15fc65e85f5931a9daf74dd8806e682e0;p=libs%2Fgltk.git diff --git a/source/indicator.h b/source/indicator.h index 69e488f..cf20e31 100644 --- a/source/indicator.h +++ b/source/indicator.h @@ -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,11 @@ An Indicator visualizes a boolean state. It can be either active or inactive. class Indicator: public Widget { public: - Indicator(const Resources &); - void set_active(bool); -private: + Indicator(); + virtual const char *get_class() const { return "indicator"; } + + void set_active(bool); }; } // namespace GLtk