]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.cpp
Add an input method subsystem
[libs/gltk.git] / source / indicator.cpp
index 682837a6864d92fc1cd1051ce8031faf77a61feb..f9f6ed51089640813df1281257e4b6fd69d46986 100644 (file)
@@ -3,15 +3,9 @@
 namespace Msp {
 namespace GLtk {
 
-Indicator::Indicator(const Resources &r):
-       Widget(r)
-{
-       update_style();
-}
-
 void Indicator::set_active(bool a)
 {
-       state=(a ? ACTIVE : NORMAL);
+       set_state(ACTIVE, (a ? ACTIVE : NORMAL));
 }
 
 } // namespace GLtk