namespace Msp {
namespace GLtk {
-Indicator::Indicator(const Resources &r):
- Widget(r)
+Indicator::Indicator()
{
- update_style();
+ focusable = false;
}
void Indicator::set_active(bool a)
{
- state=(a ? ACTIVE : NORMAL);
+ if(a)
+ state |= ACTIVE;
+ else
+ state &= ~ACTIVE;
}
} // namespace GLtk