From 60d3dd98a44230c21803c1606552ee098ed9fa7c Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 21 Feb 2024 21:05:14 +0100 Subject: Convert remaining BOOL to bool --- indra/newview/llpreviewanim.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'indra/newview/llpreviewanim.cpp') 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("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("Inworld")->setValue(FALSE); - getChild("Locally")->setValue(FALSE); - getChild("Inworld")->setEnabled(TRUE); - getChild("Locally")->setEnabled(TRUE); + getChild("Inworld")->setValue(false); + getChild("Locally")->setValue(false); + getChild("Inworld")->setEnabled(true); + getChild("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(); -- cgit v1.2.3