From 3defdaa0071418ce15c0d33a3b25f8338763ccf1 Mon Sep 17 00:00:00 2001 From: Yuri Chebotarev Date: Wed, 23 Dec 2009 13:01:34 +0200 Subject: fix for EXT-2881 Enough space to place 5 chiclets without arrows in bottom bar when voice indicator isn't shown --HG-- branch : product-engine --- indra/newview/llchiclet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llchiclet.h') diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index 2ab6abfb5b..511b85b0b6 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -1021,6 +1021,8 @@ public: S32 getTotalUnreadIMCount(); + S32 notifyParent(const LLSD& info); + protected: LLChicletPanel(const Params&p); friend class LLUICtrlFactory; -- cgit v1.2.3 From bed1ec4525f0bcfe634c4677feb29dbbdc3442c8 Mon Sep 17 00:00:00 2001 From: Andrew Dyukov Date: Fri, 25 Dec 2009 22:21:58 +0200 Subject: Fixed minor bug EXT-2929 ([BSI] Context menu on chiclets should not have "show session" enabled when chiclet window is visible). --HG-- branch : product-engine --- indra/newview/llchiclet.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra/newview/llchiclet.h') diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index 511b85b0b6..8c797ef98f 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -521,6 +521,7 @@ protected: /** * Enables/disables menus based on relationship with other participant. + * Enables/disables "show session" menu item depending on visible IM floater existence. */ virtual void updateMenuItems(); @@ -751,6 +752,11 @@ protected: */ virtual void onMenuItemClicked(const LLSD& user_data); + /** + * Enables/disables "show session" menu item depending on visible IM floater existence. + */ + virtual void updateMenuItems(); + /** * Displays popup menu. */ -- cgit v1.2.3 From ad76bebf6f399de8c7345f4c8f975a9e5687b054 Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Sat, 26 Dec 2009 17:35:03 +0200 Subject: Implemented low task EXT-3634 - Create widgets for IM chiclets (P2P, GROUP, ADHOC). --HG-- branch : product-engine --- indra/newview/llchiclet.h | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'indra/newview/llchiclet.h') diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index 8c797ef98f..bb2cf3a8de 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -52,8 +52,6 @@ class LLChicletNotificationCounterCtrl : public LLTextBox { public: - static const S32 MAX_DISPLAYED_COUNT; - struct Params : public LLInitParam::Block { /** @@ -217,7 +215,8 @@ public: struct Params : public LLInitParam::Block { - Optional show_counter; + Optional show_counter, + enable_counter; Params(); }; @@ -323,10 +322,7 @@ public: }; struct Params : public LLInitParam::Block { - Optional new_messages_icon_name; - - Params() : new_messages_icon_name("new_messages_icon_name", "Unread_IM") - {} + Params(){} }; @@ -437,6 +433,8 @@ protected: bool mShowSpeaker; bool mCounterEnabled; + /* initial width of chiclet, should not include counter or speaker width */ + S32 mDefaultWidth; LLIconCtrl* mNewMessagesIcon; LLChicletNotificationCounterCtrl* mCounterCtrl; @@ -482,6 +480,8 @@ public: Optional speaker; + Optional new_message_icon; + Optional show_speaker; Params(); @@ -545,6 +545,8 @@ public: Optional speaker; + Optional new_message_icon; + Optional show_speaker; Optional avatar_icon_color; @@ -615,6 +617,8 @@ public: { Optional icon; + Optional new_message_icon; + Params(); }; @@ -655,6 +659,8 @@ public: { Optional icon; + Optional new_message_icon; + Params(); }; @@ -698,6 +704,8 @@ public: Optional speaker; + Optional new_message_icon; + Optional show_speaker; Params(); -- cgit v1.2.3 From bb2ad27f46149b4cdbee53cc37af51330ae7321c Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Sat, 26 Dec 2009 17:55:05 +0200 Subject: Update for low task EXT-3451 - Code cleanup: Get Rid of Magic constants in LLChicletPanel::Params::Params (move into widget xml). Removed hardcodes. --HG-- branch : product-engine --- indra/newview/llchiclet.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'indra/newview/llchiclet.h') diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index bb2cf3a8de..ee9db10525 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -945,7 +945,9 @@ public: struct Params : public LLInitParam::Block { Optional chiclet_padding, - scrolling_offset; + scrolling_offset, + scroll_button_hpad, + scroll_ratio; Optional min_width; @@ -1164,6 +1166,8 @@ protected: S32 mChicletPadding; S32 mScrollingOffset; + S32 mScrollButtonHPad; + S32 mScrollRatio; S32 mMinWidth; bool mShowControls; static const S32 s_scroll_ratio; -- cgit v1.2.3