本文整理汇总了C++中LLFloaterMessageLog类的典型用法代码示例。如果您正苦于以下问题:C++ LLFloaterMessageLog类的具体用法?C++ LLFloaterMessageLog怎么用?C++ LLFloaterMessageLog使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了LLFloaterMessageLog类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: onCheckBeautifyMessages
//static
void LLFloaterMessageLog::onCheckBeautifyMessages(LLUICtrl* ctrl, void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->mBeautifyMessages = ((LLCheckBoxCtrl*)ctrl)->getValue();
//if we already had a message selected, we need to set the full
//text of the message again
floaterp->showSelectedMessage();
}
示例2: onClickClearLog
// static
void LLFloaterMessageLog::onClickClearLog(void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->stopApplyingFilter();
floaterp->getChild<LLScrollListCtrl>("message_log")->clearRows();
floaterp->setNetInfoMode(NI_NET);
sMessageLogEntries.clear();
sFloaterMessageLogItems.clear();
}
示例3: onClickClearLog
// static
void LLFloaterMessageLog::onClickClearLog(void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->stopApplyingFilter();
floaterp->getChild<LLScrollListCtrl>("message_log")->clearRows();
floaterp->setInfoPaneMode(IPANE_NET);
floaterp->clearMessageLogEntries();
floaterp->clearFloaterMessageItems();
floaterp->mMessagesLogged = 0;
}
示例4: onCommitMessageLog
// static
void LLFloaterMessageLog::onCommitMessageLog(LLUICtrl* ctrl, void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
LLScrollListCtrl* scrollp = floaterp->getChild<LLScrollListCtrl>("message_log");
LLScrollListItem* selected_itemp = scrollp->getFirstSelected();
if(!selected_itemp) return;
LLUUID id = selected_itemp->getUUID();
std::vector<LLFloaterMessageLogItem>::iterator end = sFloaterMessageLogItems.end();
for(std::vector<LLFloaterMessageLogItem>::iterator iter = sFloaterMessageLogItems.begin(); iter != end; ++iter)
{
if(iter->mID == id)
{
floaterp->setNetInfoMode(NI_LOG);
floaterp->childSetText("net_info", iter->getFull(FALSE));
break;
}
}
}
示例5: onCommitFilter
// static
void LLFloaterMessageLog::onCommitFilter(LLUICtrl* ctrl, void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->startApplyingFilter(floaterp->childGetValue("filter_edit"), FALSE);
}
示例6: onClickFilterApply
// static
void LLFloaterMessageLog::onClickFilterApply(void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->startApplyingFilter(floaterp->childGetValue("filter_edit"), FALSE);
}
示例7: onCommitNetList
// static
void LLFloaterMessageLog::onCommitNetList(LLUICtrl* ctrl, void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->setNetInfoMode(NI_NET);
floaterp->refreshNetInfo(TRUE);
}
示例8: onCheckWrapNetInfo
// static
void LLFloaterMessageLog::onCheckWrapNetInfo(LLUICtrl* ctrl, void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->wrapInfoPaneText(((LLCheckBoxCtrl*)ctrl)->getValue());
}
示例9: onCommitMessageLog
// static
void LLFloaterMessageLog::onCommitMessageLog(LLUICtrl* ctrl, void* user_data)
{
LLFloaterMessageLog* floaterp = (LLFloaterMessageLog*)user_data;
floaterp->showSelectedMessage();
}