]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Rename the basic skin to encourage reusability
[libs/gltk.git] / source / indicator.h
index c8ecbc53ecae34dad48458a3441b87fd94ddf294..69e488f0656f8a19551da96cfb3c8781bbfa1a00 100644 (file)
@@ -1,3 +1,10 @@
+/* $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_
 
 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 &);
        void set_active(bool);
 private:
-       const char *get_class() const { return "indicator"; }
+       virtual const char *get_class() const { return "indicator"; }
 };
 
 } // namespace GLtk