From b798a63d120dcfe4751d0bb56f6a2fcaafdd9966 Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Tue, 29 Dec 2009 17:49:35 +0200 Subject: Fixed nice-to-have bug EXT-3706 - Redundant spacing in the voice controls panel. --HG-- branch : product-engine --- indra/newview/llcallfloater.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'indra/newview/llcallfloater.h') diff --git a/indra/newview/llcallfloater.h b/indra/newview/llcallfloater.h index 2b856b9c32..8646300dd7 100644 --- a/indra/newview/llcallfloater.h +++ b/indra/newview/llcallfloater.h @@ -75,6 +75,11 @@ public: */ /*virtual*/ void onChange(); + /** + * Will reshape floater when participant list size changes + */ + /*virtual*/ S32 notifyParent(const LLSD& info); + static void sOnCurrentChannelChanged(const LLUUID& session_id); private: @@ -215,6 +220,21 @@ private: */ void reset(); + /** + * Reshapes floater to fit participant list height + */ + void reshapeToFitContent(); + + /** + * Returns height of participant list item + */ + S32 getParticipantItemHeight(); + + /** + * Returns predefined max visible participants. + */ + S32 getMaxVisibleItems(); + private: speaker_state_map_t mSpeakerStateMap; LLSpeakerMgr* mSpeakerManager; -- cgit v1.2.3