summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolbarview.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-10-11 22:49:00 -0700
committerRichard Linden <none@none>2011-10-11 22:49:00 -0700
commitd0cda13235079c6626ebc7bbe4de542784d50fa0 (patch)
tree60e8a29d53051aeb5bff81eb5e8af6851ba2d133 /indra/newview/lltoolbarview.cpp
parentfd1a688f463703ec78a399b35fed19b3d907c91b (diff)
EXP-1275 FIX A UI element or Keyboard shortcut to clear the viewport
Ctrl+Shift+U now toggles UI and hides floaters refactored main_view.xml made all members of llviewerwindow private
Diffstat (limited to 'indra/newview/lltoolbarview.cpp')
-rw-r--r--indra/newview/lltoolbarview.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/lltoolbarview.cpp b/indra/newview/lltoolbarview.cpp
index 7977faeab7..7273574203 100644
--- a/indra/newview/lltoolbarview.cpp
+++ b/indra/newview/lltoolbarview.cpp
@@ -456,3 +456,10 @@ void LLToolBarView::onEndDrag()
}
stopDragTool();
}
+
+void LLToolBarView::setToolBarsVisible(bool visible)
+{
+ mToolbarBottom->getParent()->setVisible(visible);
+ mToolbarLeft->getParent()->setVisible(visible);
+ mToolbarRight->getParent()->setVisible(visible);
+}