本文整理汇总了C++中LLComboBox::isDirty方法的典型用法代码示例。如果您正苦于以下问题:C++ LLComboBox::isDirty方法的具体用法?C++ LLComboBox::isDirty怎么用?C++ LLComboBox::isDirty使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LLComboBox
的用法示例。
在下文中一共展示了LLComboBox::isDirty方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: isGridComboDirty
BOOL FloaterGridManager::isGridComboDirty()
{
BOOL user_picked = FALSE;
if (!FloaterGridManager::getInstance())
{
llwarns << "Attempted getServer with no login view shown" << llendl;
}
else
{
LLComboBox* combo = FloaterGridManager::getInstance()->getChild<LLComboBox>("server_combo");
user_picked = combo->isDirty();
}
return user_picked;
}
示例2: isGridComboDirty
// static
BOOL LLPanelLogin::isGridComboDirty()
{
BOOL user_picked = FALSE;
if (!sInstance)
{
llwarns << "Attempted getServer with no login view shown" << llendl;
}
else
{
LLComboBox* combo = sInstance->getChild<LLComboBox>("server_combo");
user_picked = combo->isDirty();
}
return user_picked;
}
示例3: areCredentialFieldsDirty
// static
BOOL FSPanelLogin::areCredentialFieldsDirty()
{
if (!sInstance)
{
LL_WARNS() << "Attempted getServer with no login view shown" << LL_ENDL;
}
else
{
LLComboBox* combo = sInstance->getChild<LLComboBox>("username_combo");
if(combo && combo->isDirty())
{
return true;
}
LLLineEditor* ctrl = sInstance->getChild<LLLineEditor>("password_edit");
if(ctrl && ctrl->isDirty())
{
return true;
}
}
return false;
}
示例4: areCredentialFieldsDirty
// static
BOOL LLPanelLogin::areCredentialFieldsDirty()
{
if (!sInstance)
{
llwarns << "Attempted getServer with no login view shown" << llendl;
}
else
{
std::string username = sInstance->getChild<LLUICtrl>("username_combo")->getValue().asString();
LLStringUtil::trim(username);
std::string password = sInstance->getChild<LLUICtrl>("password_edit")->getValue().asString();
LLComboBox* combo = sInstance->getChild<LLComboBox>("username_combo");
if(combo && combo->isDirty())
{
return true;
}
LLLineEditor* ctrl = sInstance->getChild<LLLineEditor>("password_edit");
if(ctrl && ctrl->isDirty())
{
return true;
}
}
return false;
}