]> git.tdb.fi Git - libs/gltk.git/blob - source/indicator.cpp
Store the Resources reference only in Root widget
[libs/gltk.git] / source / indicator.cpp
1 /* $Id$
2
3 This file is part of libmspgltk
4 Copyright © 2007  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #include "indicator.h"
9
10 namespace Msp {
11 namespace GLtk {
12
13 Indicator::Indicator()
14 {
15         focusable = false;
16 }
17
18 void Indicator::set_active(bool a)
19 {
20         if(a)
21                 state |= ACTIVE;
22         else
23                 state &= ~ACTIVE;
24 }
25
26 } // namespace GLtk
27 } // namespace Msp