]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.cpp
Report non-basic variables in Layout::LinearProgram as having zero value
[libs/gltk.git] / source / indicator.cpp
index 7f4ac4b87a88d807abada60336826c65dc58644f..568aafddc9af7feb3d4e054bcc90c2a0a2a03125 100644 (file)
@@ -1,28 +1,19 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include "indicator.h"
 
 namespace Msp {
 namespace GLtk {
 
-Indicator::Indicator(const Resources &r):
-       Widget(r)
+Indicator::Indicator()
 {
-       focusable=false;
-       update_style();
+       focusable = false;
 }
 
 void Indicator::set_active(bool a)
 {
        if(a)
-               state|=ACTIVE;
+               state |= ACTIVE;
        else
-               state&=~ACTIVE;
+               state &= ~ACTIVE;
 }
 
 } // namespace GLtk