Ejemplo n.º 1
0
//LLEventListener
//virtual
bool LLPanelGroups::handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
	if (event->desc() == "new group")
	{
		reset();
		return true;
	}
	return false;
}
Ejemplo n.º 2
0
bool LLControlBase::handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
	if (event->desc() == "value_changed")
	{
		setValue(((LLValueChangedEvent*)(LLEvent*)event)->mValue);
		return TRUE;
	}
	return TRUE;
}
Ejemplo n.º 3
0
// virtual
bool LLGroupList::handleEvent(LLPointer<LLOldEvents::LLEvent> event, const LLSD& userdata)
{
	// Why is "new group" sufficient?
	if (event->desc() == "new group")
	{
		setDirty();
		return true;
	}

	return false;
}