]> git.tdb.fi Git - libs/gltk.git/blob - source/indicator.cpp
Reorder class members
[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(const Resources &r):
14         Widget(r)
15 {
16         update_style();
17 }
18
19 void Indicator::set_active(bool a)
20 {
21         state=(a ? ACTIVE : NORMAL);
22 }
23
24 } // namespace GLtk
25 } // namespace Msp