summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpulldown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelpulldown.cpp')
-rw-r--r--indra/newview/llpanelpulldown.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/indra/newview/llpanelpulldown.cpp b/indra/newview/llpanelpulldown.cpp
index 075278f44c..f26a9dc362 100644
--- a/indra/newview/llpanelpulldown.cpp
+++ b/indra/newview/llpanelpulldown.cpp
@@ -51,35 +51,35 @@ void LLPanelPulldown::onMouseEnter(S32 x, S32 y, MASK mask)
/*virtual*/
void LLPanelPulldown::onTopLost()
{
- setFocus(FALSE); // drop focus to prevent transfer to parent
- setVisible(FALSE);
+ setFocus(false); // drop focus to prevent transfer to parent
+ setVisible(false);
}
/*virtual*/
-BOOL LLPanelPulldown::handleMouseDown(S32 x, S32 y, MASK mask)
+bool LLPanelPulldown::handleMouseDown(S32 x, S32 y, MASK mask)
{
LLPanel::handleMouseDown(x, y, mask);
- return TRUE;
+ return true;
}
/*virtual*/
-BOOL LLPanelPulldown::handleRightMouseDown(S32 x, S32 y, MASK mask)
+bool LLPanelPulldown::handleRightMouseDown(S32 x, S32 y, MASK mask)
{
LLPanel::handleRightMouseDown(x, y, mask);
- return TRUE;
+ return true;
}
/*virtual*/
-BOOL LLPanelPulldown::handleDoubleClick(S32 x, S32 y, MASK mask)
+bool LLPanelPulldown::handleDoubleClick(S32 x, S32 y, MASK mask)
{
LLPanel::handleDoubleClick(x, y, mask);
- return TRUE;
+ return true;
}
-BOOL LLPanelPulldown::handleScrollWheel(S32 x, S32 y, S32 clicks)
+bool LLPanelPulldown::handleScrollWheel(S32 x, S32 y, S32 clicks)
{
LLPanel::handleScrollWheel(x, y, clicks);
- return TRUE; //If we got here, then we are in Pulldown's rect, consume the event.
+ return true; //If we got here, then we are in Pulldown's rect, consume the event.
}
/*virtual*/
@@ -90,7 +90,7 @@ void LLPanelPulldown::onMouseLeave(S32 x, S32 y, MASK mask)
}
/*virtual*/
-void LLPanelPulldown::onVisibilityChange(BOOL new_visibility)
+void LLPanelPulldown::onVisibilityChange(bool new_visibility)
{
if (new_visibility)
{
@@ -114,7 +114,7 @@ void LLPanelPulldown::draw()
if (alpha == 0.f)
{
- setFocus(FALSE); // drop focus to prevent transfer to parent
- setVisible(FALSE);
+ setFocus(false); // drop focus to prevent transfer to parent
+ setVisible(false);
}
}