X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Findicator.cpp;h=568aafddc9af7feb3d4e054bcc90c2a0a2a03125;hb=e5f9004b672b038e43cf2b20c3fc9327f2b55ffd;hp=7f4ac4b87a88d807abada60336826c65dc58644f;hpb=75a16eae9eb2714f8112d46fa5b8f7908b6d2487;p=libs%2Fgltk.git diff --git a/source/indicator.cpp b/source/indicator.cpp index 7f4ac4b..568aafd 100644 --- a/source/indicator.cpp +++ b/source/indicator.cpp @@ -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