]> git.tdb.fi Git - libs/gltk.git/blob - source/indicator.h
Add an input method subsystem
[libs/gltk.git] / source / indicator.h
1 #ifndef MSP_GLTK_INDICATOR_H_
2 #define MSP_GLTK_INDICATOR_H_
3
4 #include "widget.h"
5
6 namespace Msp {
7 namespace GLtk {
8
9 /**
10 An Indicator visualizes a boolean state.  It can be either active or inactive.
11 */
12 class Indicator: public Widget
13 {
14 public:
15         virtual const char *get_class() const { return "indicator"; }
16
17         void set_active(bool);
18 };
19
20 } // namespace GLtk
21 } // namespace Msp
22
23 #endif