コード例 #1
0
void LLFloaterDayCycle::onClickHelp(void* data)
{
	LLFloaterDayCycle* self = LLFloaterDayCycle::instance();

	std::string xml_alert = *(std::string *) data;
	self->addContextualNotification(xml_alert);
}
コード例 #2
0
void LLFloaterDayCycle::show()
{
	LLFloaterDayCycle* dayCycle = instance();
	dayCycle->syncMenu();
	syncSliderTrack();

	// comment in if you want the menu to rebuild each time
	//LLUICtrlFactory::getInstance()->buildFloater(dayCycle, "floater_day_cycle_options.xml");
	//dayCycle->initCallbacks();

	dayCycle->open();
}
コード例 #3
0
void LLFloaterDayCycle::show()
{
	if (RlvActions::hasBehaviour(RLV_BHVR_SETENV)) return;
	LLFloaterDayCycle* dayCycle = instance();
	dayCycle->syncMenu();
	syncSliderTrack();

	// comment in if you want the menu to rebuild each time
	//LLUICtrlFactory::getInstance()->buildFloater(dayCycle, "floater_day_cycle_options.xml");
	//dayCycle->initCallbacks();

	dayCycle->open();
}