]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.cpp
Style update: add spaces around assignments
[libs/gltk.git] / source / indicator.cpp
index 2debf35d01ee02d973f1170d6c98ad4fbe914e57..d0e75586b288098e812432e75e3db8dbee9fa21c 100644 (file)
@@ -13,15 +13,16 @@ namespace GLtk {
 Indicator::Indicator(const Resources &r):
        Widget(r)
 {
+       focusable = false;
        update_style();
 }
 
 void Indicator::set_active(bool a)
 {
        if(a)
-               state|=ACTIVE;
+               state |= ACTIVE;
        else
-               state&=~ACTIVE;
+               state &= ~ACTIVE;
 }
 
 } // namespace GLtk