From 3b3e4833ad41993785ea2fcae651b588df8e492d Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Tue, 5 Mar 2019 20:14:21 +0200 Subject: SL-10686 Refresh indicators on session change, fix visibility --- indra/newview/lloutputmonitorctrl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'indra/newview/lloutputmonitorctrl.h') diff --git a/indra/newview/lloutputmonitorctrl.h b/indra/newview/lloutputmonitorctrl.h index af52a81b04..307cd30ab3 100644 --- a/indra/newview/lloutputmonitorctrl.h +++ b/indra/newview/lloutputmonitorctrl.h @@ -79,9 +79,11 @@ public: // For the current user, need to know the PTT state to show // correct button image. void setIsAgentControl(bool val) { mIsAgentControl = val; } - void setIsTalking(bool val) { mIsTalking = val; } + // switchIndicator controls visibility, 'active channel' governs if we are allowed to show indicator + void setIsActiveChannel(bool val); + void setShowParticipantsSpeaking(bool show) { mShowParticipantsSpeaking = show; } /** @@ -137,6 +139,7 @@ private: bool mIsModeratorMuted; bool mIsMuted; bool mIsTalking; + bool mIsActiveChannel; bool mShowParticipantsSpeaking; LLPointer mImageMute; LLPointer mImageOff; -- cgit v1.3