void LLButton::setToggleState(BOOL b)
{
	if( b != getToggleState() )
	{
		setControlValue(b); // will fire LLControlVariable callbacks (if any)
		setValue(b);        // may or may not be redundant
		setFlashing(false);	// stop flash state whenever the selected/unselected state if reset
		// Unselected label assignments
		autoResize();
	}
}
Esempio n. 2
0
File: led.cpp Progetto: foucar/CASS
void LED::stopFlashing()
{
  setFlashing(false);
}
Esempio n. 3
0
File: led.cpp Progetto: foucar/CASS
void LED::startFlashing()
{
  setFlashing(true);
}