-/* $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