当前位置: 首页>>代码示例>>C++>>正文


C++ LLPanelGroup类代码示例

本文整理汇总了C++中LLPanelGroup的典型用法代码示例。如果您正苦于以下问题:C++ LLPanelGroup类的具体用法?C++ LLPanelGroup怎么用?C++ LLPanelGroup使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了LLPanelGroup类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: refreshCreatedGroup

//static
void LLPanelGroup::refreshCreatedGroup(const LLUUID& group_id)
{
    LLPanelGroup* panel = LLSideTray::getInstance()->findChild<LLPanelGroup>("panel_group_info_sidetray");
    if(!panel)
        return;
    panel->setGroupID(group_id);
}
开发者ID:pombredanne,项目名称:kittyviewer,代码行数:8,代码来源:llpanelgroup.cpp

示例2: onNotifyCallback

// static
void LLPanelGroup::onNotifyCallback(S32 option, void* user_data)
{
	LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
	if (self)
	{
		self->handleNotifyCallback(option);
	}
}
开发者ID:Boy,项目名称:rainbow,代码行数:9,代码来源:llpanelgroup.cpp

示例3: onBtnCancel

// static
void LLPanelGroup::onBtnCancel(void* user_data)
{
	LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
	if (self->mAllowEdit) // We're in a standalone floater
		self->close();
	else // We're in search, we can't close out, just refreshData to kill changes
		self->refreshData();
}
开发者ID:normanfly,项目名称:SingularityViewer,代码行数:9,代码来源:llpanelgroup.cpp

示例4: onBtnOK

// static
void LLPanelGroup::onBtnOK(void* user_data)
{
	LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
	// If we are able to apply changes, then close.
	if(self->apply())
	{
		self->close();
	}
}
开发者ID:VirtualReality,项目名称:Viewer,代码行数:10,代码来源:llpanelgroup.cpp

示例5: showNotice

void LLPanelGroup::showNotice(const std::string& subject,
                              const std::string& message,
                              const LLUUID& group_id,
                              const bool& has_inventory,
                              const std::string& inventory_name,
                              LLOfferInfo* inventory_offer)
{
    LLPanelGroup* panel = LLSideTray::getInstance()->findChild<LLPanelGroup>("panel_group_info_sidetray");
    if(!panel)
        return;

    if(panel->getID() != group_id)//???? only for current group_id or switch panels? FIXME
        return;
    panel->showNotice(subject,message,has_inventory,inventory_name,inventory_offer);

}
开发者ID:pombredanne,项目名称:kittyviewer,代码行数:16,代码来源:llpanelgroup.cpp

示例6: refreshCreatedGroup

//static
void LLPanelGroup::refreshCreatedGroup(const LLUUID& group_id)
{
	// <FS:Ansariel> Standalone group floaters
	//LLPanelGroup* panel = LLFloaterSidePanelContainer::getPanel<LLPanelGroup>("people", "panel_group_info_sidetray");
	//if(!panel)
	//	return;
	//panel->setGroupID(group_id);
	if (gSavedSettings.getBOOL("FSUseStandaloneGroupFloater")) 
	{
		FSFloaterGroup::closeGroupFloater(LLUUID::null);
		FSFloaterGroup::openGroupFloater(group_id);
	}
	else
	{
		LLPanelGroup* panel = LLFloaterSidePanelContainer::getPanel<LLPanelGroup>("people", "panel_group_info_sidetray");
		if(!panel)
			return;
		panel->setGroupID(group_id);
	}
	// </FS:Ansariel>
}
开发者ID:JohnMcCaffery,项目名称:Armadillo-Phoenix,代码行数:22,代码来源:llpanelgroup.cpp

示例7: onBtnRefresh

// static
void LLPanelGroup::onBtnRefresh(void* user_data)
{
	LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
	self->refreshData();
}
开发者ID:VirtualReality,项目名称:Viewer,代码行数:6,代码来源:llpanelgroup.cpp

示例8: onBtnApply

// static
void LLPanelGroup::onBtnApply(void* user_data)
{
	LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
	self->apply();
}
开发者ID:VirtualReality,项目名称:Viewer,代码行数:6,代码来源:llpanelgroup.cpp

示例9: onBtnCancel

// static
void LLPanelGroup::onBtnCancel(void* user_data)
{
	LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
	self->close();
}
开发者ID:VirtualReality,项目名称:Viewer,代码行数:6,代码来源:llpanelgroup.cpp

示例10: onClickTab

// static
void LLPanelGroup::onClickTab(void* user_data, bool from_click)
{
	LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
	self->handleClickTab();
}
开发者ID:VirtualReality,项目名称:Viewer,代码行数:6,代码来源:llpanelgroup.cpp

示例11: onBtnGroupChatClicked

void LLPanelGroup::onBtnGroupChatClicked(void* user_data)
{
    LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
    self->chatGroup();
}
开发者ID:pombredanne,项目名称:kittyviewer,代码行数:5,代码来源:llpanelgroup.cpp


注:本文中的LLPanelGroup类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。