本文整理汇总了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);
}
示例2: onNotifyCallback
// static
void LLPanelGroup::onNotifyCallback(S32 option, void* user_data)
{
LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
if (self)
{
self->handleNotifyCallback(option);
}
}
示例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();
}
示例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();
}
}
示例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);
}
示例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>
}
示例7: onBtnRefresh
// static
void LLPanelGroup::onBtnRefresh(void* user_data)
{
LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
self->refreshData();
}
示例8: onBtnApply
// static
void LLPanelGroup::onBtnApply(void* user_data)
{
LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
self->apply();
}
示例9: onBtnCancel
// static
void LLPanelGroup::onBtnCancel(void* user_data)
{
LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
self->close();
}
示例10: onClickTab
// static
void LLPanelGroup::onClickTab(void* user_data, bool from_click)
{
LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
self->handleClickTab();
}
示例11: onBtnGroupChatClicked
void LLPanelGroup::onBtnGroupChatClicked(void* user_data)
{
LLPanelGroup* self = static_cast<LLPanelGroup*>(user_data);
self->chatGroup();
}