summaryrefslogtreecommitdiff
path: root/indra/llui/llwindowshade.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-01-17 22:43:12 -0800
committerMerov Linden <merov@lindenlab.com>2012-01-17 22:43:12 -0800
commit07294e04983c6c24ec8cd5d589c4a0a8fda87431 (patch)
tree53e09995bbb8b9697a4d07dca7521cc57abcf70a /indra/llui/llwindowshade.cpp
parent9025656bba1520b6b442ce0a359fad0217e6d970 (diff)
parent3b81e882897e1b161e4becaafaf3fc93d482ce65 (diff)
Pull from viewer-experience
Diffstat (limited to 'indra/llui/llwindowshade.cpp')
-rw-r--r--indra/llui/llwindowshade.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llwindowshade.cpp b/indra/llui/llwindowshade.cpp
index a8bb29374e..48a232c33e 100644
--- a/indra/llui/llwindowshade.cpp
+++ b/indra/llui/llwindowshade.cpp
@@ -371,6 +371,11 @@ void LLWindowShade::setTextColor(LLColor4 color)
getChild<LLTextBox>("notification_text")->setColor(color);
}
+bool LLWindowShade::isShown() const
+{
+ return getChildRef<LLLayoutPanel>("notification_area").getVisible();
+}
+
void LLWindowShade::setCanClose(bool can_close)
{
getChildView("close_panel")->setVisible(can_close);