X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Findicator.h;h=fdc83b415ed6f89b904bb19281d0f7d7c69c8fdc;hb=73afd124ab87e8bace98db55517a56c797a9b8c7;hp=69e488f0656f8a19551da96cfb3c8781bbfa1a00;hpb=1fde94c15fc65e85f5931a9daf74dd8806e682e0;p=libs%2Fgltk.git diff --git a/source/indicator.h b/source/indicator.h index 69e488f..fdc83b4 100644 --- a/source/indicator.h +++ b/source/indicator.h @@ -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 &); - void set_active(bool); -private: + Indicator(); + virtual const char *get_class() const { return "indicator"; } + + void set_active(bool); }; } // namespace GLtk