summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakbutton.cpp
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.cpp
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.cpp')
-rw-r--r--indra/newview/llspeakbutton.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llspeakbutton.cpp b/indra/newview/llspeakbutton.cpp
index 57ea018f25..51d53b2674 100644
--- a/indra/newview/llspeakbutton.cpp
+++ b/indra/newview/llspeakbutton.cpp
@@ -133,6 +133,16 @@ LLSpeakButton::~LLSpeakButton()
LLTransientFloaterMgr::getInstance()->removeControlView(mShowBtn);
}
+void LLSpeakButton::setSpeakToolTip(const std::string& msg)
+{
+ mSpeakBtn->setToolTip(msg);
+}
+
+void LLSpeakButton::setShowToolTip(const std::string& msg)
+{
+ mShowBtn->setToolTip(msg);
+}
+
void LLSpeakButton::onMouseDown_SpeakBtn()
{
bool down = true;