X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Findicator.cpp;h=8aeca21b7264c7f50d003af5b9af170b64458d82;hb=033732b500a35f3737bad515349d884cb3f123f0;hp=2debf35d01ee02d973f1170d6c98ad4fbe914e57;hpb=50bf1ef2e2c3c38de20f6996a6c5ed0066111177;p=libs%2Fgltk.git diff --git a/source/indicator.cpp b/source/indicator.cpp index 2debf35..8aeca21 100644 --- a/source/indicator.cpp +++ b/source/indicator.cpp @@ -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