X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Findicator.cpp;h=8aeca21b7264c7f50d003af5b9af170b64458d82;hb=033732b500a35f3737bad515349d884cb3f123f0;hp=7f4ac4b87a88d807abada60336826c65dc58644f;hpb=75a16eae9eb2714f8112d46fa5b8f7908b6d2487;p=libs%2Fgltk.git diff --git a/source/indicator.cpp b/source/indicator.cpp index 7f4ac4b..8aeca21 100644 --- a/source/indicator.cpp +++ b/source/indicator.cpp @@ -10,19 +10,17 @@ Distributed under the LGPL 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