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(); } }
void LED::stopFlashing() { setFlashing(false); }
void LED::startFlashing() { setFlashing(true); }