summaryrefslogtreecommitdiff
path: root/indra/newview/llcallfloater.h
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-29 17:49:35 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-29 17:49:35 +0200
commitb798a63d120dcfe4751d0bb56f6a2fcaafdd9966 (patch)
tree08deb1acb8a7143e40ff65a16f312e594da9ff56 /indra/newview/llcallfloater.h
parent88d8f86cccf277814ca2d12abfa5b8d3c0e73c12 (diff)
Fixed nice-to-have bug EXT-3706 - Redundant spacing in the voice controls panel.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llcallfloater.h')
-rw-r--r--indra/newview/llcallfloater.h20
1 files changed, 20 insertions, 0 deletions
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;