]> git.tdb.fi Git - libs/gltk.git/blob - source/indicator.cpp
Initial revision
[libs/gltk.git] / source / indicator.cpp
1 #include "indicator.h"
2
3 namespace Msp {
4 namespace GLtk {
5
6 Indicator::Indicator(const Resources &r):
7         Widget(r)
8 {
9         update_style();
10 }
11
12 void Indicator::set_active(bool a)
13 {
14         state=(a ? ACTIVE : NORMAL);
15 }
16
17 } // namespace GLtk
18 } // namespace Msp