summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroup.cpp
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2024-05-06 16:48:58 -0500
committerRunitaiLinden <davep@lindenlab.com>2024-05-06 16:48:58 -0500
commitc6d752b880cacca8fb8f10f28790a50161fcb9ab (patch)
tree14910a69597962134f2e78e864a2f05962a16356 /indra/newview/llpanelgroup.cpp
parent76101843c0d390c25a783f212eb1ea75e508ada4 (diff)
parent7d87e41bbd5d4761b1eb17e49b7a00b948d84213 (diff)
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into gltf-dev-maint-a-merge
Diffstat (limited to 'indra/newview/llpanelgroup.cpp')
-rw-r--r--indra/newview/llpanelgroup.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp
index ab255d5215..c8cb18d171 100644
--- a/indra/newview/llpanelgroup.cpp
+++ b/indra/newview/llpanelgroup.cpp
@@ -62,8 +62,8 @@ static LLPanelInjector<LLPanelGroup> t_panel_group("panel_group_info_sidetray");
LLPanelGroupTab::LLPanelGroupTab()
: LLPanel(),
- mAllowEdit(TRUE),
- mHasModal(FALSE)
+ mAllowEdit(true),
+ mHasModal(false)
{
mGroupID = LLUUID::null;
}
@@ -72,21 +72,21 @@ LLPanelGroupTab::~LLPanelGroupTab()
{
}
-BOOL LLPanelGroupTab::isVisibleByAgent(LLAgent* agentp)
+bool LLPanelGroupTab::isVisibleByAgent(LLAgent* agentp)
{
//default to being visible
- return TRUE;
+ return true;
}
-BOOL LLPanelGroupTab::postBuild()
+bool LLPanelGroupTab::postBuild()
{
- return TRUE;
+ return true;
}
LLPanelGroup::LLPanelGroup()
: LLPanel(),
LLGroupMgrObserver( LLUUID() ),
- mSkipRefresh(FALSE),
+ mSkipRefresh(false),
mButtonJoin(NULL)
{
// Set up the factory callbacks.
@@ -137,7 +137,7 @@ void LLPanelGroup::onOpen(const LLSD& key)
}
-BOOL LLPanelGroup::postBuild()
+bool LLPanelGroup::postBuild()
{
mDefaultNeedsApplyMesg = getString("default_needs_apply_text");
mWantApplyMesg = getString("want_apply_text");
@@ -187,7 +187,7 @@ BOOL LLPanelGroup::postBuild()
LLVoiceClient::getInstance()->addObserver(this);
- return TRUE;
+ return true;
}
void LLPanelGroup::reposButton(const std::string& name)
@@ -221,7 +221,7 @@ void LLPanelGroup::reposButtons()
reposButton("btn_call");
}
-void LLPanelGroup::reshape(S32 width, S32 height, BOOL called_from_parent )
+void LLPanelGroup::reshape(S32 width, S32 height, bool called_from_parent )
{
LLPanel::reshape(width, height, called_from_parent );
@@ -485,7 +485,7 @@ bool LLPanelGroup::apply(LLPanelGroupTab* tab)
}
}
- mSkipRefresh = TRUE;
+ mSkipRefresh = true;
return true;
}
@@ -538,7 +538,7 @@ void LLPanelGroup::refreshData()
{
if(mSkipRefresh)
{
- mSkipRefresh = FALSE;
+ mSkipRefresh = false;
return;
}
LLGroupMgr::getInstance()->clearGroupData(getID());