+/* $Id$
+
+This file is part of libmspgltk
+Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#include "indicator.h"
namespace Msp {
Indicator::Indicator(const Resources &r):
Widget(r)
{
+ focusable=false;
update_style();
}
void Indicator::set_active(bool a)
{
- state=(a ? ACTIVE : NORMAL);
+ if(a)
+ state|=ACTIVE;
+ else
+ state&=~ACTIVE;
}
} // namespace GLtk