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