diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2009-11-20 17:44:53 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2009-11-20 17:44:53 +0200 |
commit | d1ebc5f44d53a47f3e0e849bbaaa4313fd352c01 (patch) | |
tree | 472f95680810f22bc2cf82efc5d98fafd55277d3 /indra/newview/llspeakbutton.h | |
parent | 7467c005ed3a7269f0247b2551d89c32652953b5 (diff) | |
parent | 2d9202cb812dec65ec571035389aacd49d19e659 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llspeakbutton.h')
-rw-r--r-- | indra/newview/llspeakbutton.h | 12 |
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); |