summaryrefslogtreecommitdiff
path: root/indra/llui/llwindowshade.cpp
diff options
context:
space:
mode:
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);