summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakbutton.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-10 17:12:07 -0800
committerJames Cook <james@lindenlab.com>2009-11-10 17:12:07 -0800
commitfb20a7281d8e5107f83e7439df054ccd3733d0c4 (patch)
tree9850e6d79ec63ac4d61f298ded535988ba7642fc /indra/newview/llspeakbutton.h
parent6c997043924216405057c9ca6927ec5c026ad5ee (diff)
EXT-2338 Move button tooltips to strings the viewer translation tool can parse.
Also moved mSpeakBtn from llnearbychatbar to llbottomtray, because the bottom tray is its parent.
Diffstat (limited to 'indra/newview/llspeakbutton.h')
-rw-r--r--indra/newview/llspeakbutton.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llspeakbutton.h b/indra/newview/llspeakbutton.h
index e213c562dd..02c8ab3890 100644
--- a/indra/newview/llspeakbutton.h
+++ b/indra/newview/llspeakbutton.h
@@ -62,6 +62,11 @@ public:
/*virtual*/ ~LLSpeakButton();
/*virtual*/ void draw();
+ // *HACK: Need to put tooltips in a translatable location,
+ // the panel that contains this button.
+ void setSpeakToolTip(const std::string& msg);
+ void setShowToolTip(const std::string& msg);
+
protected:
friend class LLUICtrlFactory;
LLSpeakButton(const Params& p);