summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakbutton.h
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2010-02-03 22:16:18 +0200
committerAndrew Dyukov <adyukov@productengine.com>2010-02-03 22:16:18 +0200
commitb52d2a2f1b0406becb80862686be7b6f2444006d (patch)
treedfcefbe6d3106f323b65f5cb9ac0b8836c717825 /indra/newview/llspeakbutton.h
parenta1c3d608199a888584ce8d2172905175fcbd1796 (diff)
Fixed normal bug EXT-4648 (Right segment of Speak button is disabled if nearby voice chat is disabled in estate).
- Added methods for separate enabling of left and right parts of speak button and used them instead of simply enabling/disabling LLSpeakButton in bottomtray. - Made changes to reset() in LLCallFloater to show "no one near..." instead of "loading" in vcp for nearby chat in regions with disabled voice. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llspeakbutton.h')
-rw-r--r--indra/newview/llspeakbutton.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llspeakbutton.h b/indra/newview/llspeakbutton.h
index 6660b50240..85c97f1a2c 100644
--- a/indra/newview/llspeakbutton.h
+++ b/indra/newview/llspeakbutton.h
@@ -61,6 +61,10 @@ public:
/*virtual*/ ~LLSpeakButton();
/*virtual*/ void draw();
+
+ // methods for enabling/disabling right and left parts of speak button separately(EXT-4648)
+ void setSpeakBtnEnabled(bool enabled);
+ void setFlyoutBtnEnabled(bool enabled);
// *HACK: Need to put tooltips in a translatable location,
// the panel that contains this button.