summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewanim.cpp
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-02-21 21:05:14 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-21 23:14:31 +0200
commit60d3dd98a44230c21803c1606552ee098ed9fa7c (patch)
treeaf0aa11c458ca86f786560e0875f7e018e1a16b9 /indra/newview/llpreviewanim.cpp
parent855eea7ddf9e1de9226036ca94ccb03ac0e311b9 (diff)
Convert remaining BOOL to bool
Diffstat (limited to 'indra/newview/llpreviewanim.cpp')
-rw-r--r--indra/newview/llpreviewanim.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/indra/newview/llpreviewanim.cpp b/indra/newview/llpreviewanim.cpp
index 4b3b3a0041..3d06066464 100644
--- a/indra/newview/llpreviewanim.cpp
+++ b/indra/newview/llpreviewanim.cpp
@@ -58,9 +58,9 @@ bool LLPreviewAnim::postBuild()
pAdvancedStatsTextBox = getChild<LLTextBox>("AdvancedStats");
// Assume that advanced stats start visible (for XUI preview tool's purposes)
- pAdvancedStatsTextBox->setVisible(FALSE);
+ pAdvancedStatsTextBox->setVisible(false);
LLRect rect = getRect();
- reshape(rect.getWidth(), rect.getHeight() - pAdvancedStatsTextBox->getRect().getHeight() - ADVANCED_VPAD, FALSE);
+ reshape(rect.getWidth(), rect.getHeight() - pAdvancedStatsTextBox->getRect().getHeight() - ADVANCED_VPAD, false);
return LLPreview::postBuild();
}
@@ -180,10 +180,10 @@ void LLPreviewAnim::cleanup()
{
this->mItemID = LLUUID::null;
this->mDidStart = false;
- getChild<LLUICtrl>("Inworld")->setValue(FALSE);
- getChild<LLUICtrl>("Locally")->setValue(FALSE);
- getChild<LLUICtrl>("Inworld")->setEnabled(TRUE);
- getChild<LLUICtrl>("Locally")->setEnabled(TRUE);
+ getChild<LLUICtrl>("Inworld")->setValue(false);
+ getChild<LLUICtrl>("Locally")->setValue(false);
+ getChild<LLUICtrl>("Inworld")->setEnabled(true);
+ getChild<LLUICtrl>("Locally")->setEnabled(true);
}
// virtual
@@ -200,19 +200,19 @@ void LLPreviewAnim::onClose(bool app_quitting)
void LLPreviewAnim::showAdvanced()
{
- BOOL was_visible = pAdvancedStatsTextBox->getVisible();
+ bool was_visible = pAdvancedStatsTextBox->getVisible();
if (was_visible)
{
- pAdvancedStatsTextBox->setVisible(FALSE);
+ pAdvancedStatsTextBox->setVisible(false);
LLRect rect = getRect();
- reshape(rect.getWidth(), rect.getHeight() - pAdvancedStatsTextBox->getRect().getHeight() - ADVANCED_VPAD, FALSE);
+ reshape(rect.getWidth(), rect.getHeight() - pAdvancedStatsTextBox->getRect().getHeight() - ADVANCED_VPAD, false);
}
else
{
- pAdvancedStatsTextBox->setVisible(TRUE);
+ pAdvancedStatsTextBox->setVisible(true);
LLRect rect = getRect();
- reshape(rect.getWidth(), rect.getHeight() + pAdvancedStatsTextBox->getRect().getHeight() + ADVANCED_VPAD, FALSE);
+ reshape(rect.getWidth(), rect.getHeight() + pAdvancedStatsTextBox->getRect().getHeight() + ADVANCED_VPAD, false);
LLMotion *motion = NULL;
const LLInventoryItem* item = getItem();