summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakbutton.h
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-20 17:19:27 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-20 17:19:27 -0800
commit90b72b1c71c71235fe963909eeadb6a079773a71 (patch)
treea299ea1cdc53622932c4374894f73592f75b64bc /indra/newview/llspeakbutton.h
parent1d9d099baae1b502f4fae02238330c06bf49adb2 (diff)
parent0bdf520f4f399e1a368893db066d829b0ae3890e (diff)
merge
Diffstat (limited to 'indra/newview/llspeakbutton.h')
-rw-r--r--indra/newview/llspeakbutton.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llspeakbutton.h b/indra/newview/llspeakbutton.h
index 02c8ab3890..424ee5357a 100644
--- a/indra/newview/llspeakbutton.h
+++ b/indra/newview/llspeakbutton.h
@@ -67,6 +67,18 @@ public:
void setSpeakToolTip(const std::string& msg);
void setShowToolTip(const std::string& msg);
+ /**
+ * Sets visibility of speak button's label according to passed parameter.
+ *
+ * It removes label/selected label if "visible" is false and restores otherwise.
+ *
+ * @param visible if true - show label and selected label.
+ *
+ * @see mSpeakBtn
+ * @see LLBottomTray::processShrinkButtons()
+ */
+ void setLabelVisible(bool visible);
+
protected:
friend class LLUICtrlFactory;
LLSpeakButton(const Params& p);