]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.cpp
Loader improvements
[libs/gltk.git] / source / indicator.cpp
index 2debf35d01ee02d973f1170d6c98ad4fbe914e57..8aeca21b7264c7f50d003af5b9af170b64458d82 100644 (file)
@@ -10,18 +10,17 @@ Distributed under the LGPL
 namespace Msp {
 namespace GLtk {
 
-Indicator::Indicator(const Resources &r):
-       Widget(r)
+Indicator::Indicator()
 {
-       update_style();
+       focusable = false;
 }
 
 void Indicator::set_active(bool a)
 {
        if(a)
-               state|=ACTIVE;
+               state |= ACTIVE;
        else
-               state&=~ACTIVE;
+               state &= ~ACTIVE;
 }
 
 } // namespace GLtk