diff options
author | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-09-10 07:40:13 -0700 |
---|---|---|
committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-09-10 07:40:13 -0700 |
commit | 5dc8738076d158aa74a93f7f3630a17d9102fdc4 (patch) | |
tree | 0d56ae963074a74374f0930d2144548e83714d44 /indra/newview/llconversationview.h | |
parent | d41202336b7c797bc3fe4feffa8be2164518e845 (diff) |
CHUI-283: Basic Implementation, just have hard coded avatar icon appearing and profile/info buttons visible. profile/info buttons do not have proper positioning or mouseclick events.
Diffstat (limited to 'indra/newview/llconversationview.h')
-rwxr-xr-x[-rw-r--r--] | indra/newview/llconversationview.h | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/indra/newview/llconversationview.h b/indra/newview/llconversationview.h index 5695925f43..a7f468cb27 100644..100755 --- a/indra/newview/llconversationview.h +++ b/indra/newview/llconversationview.h @@ -29,6 +29,14 @@ #include "llfolderviewitem.h" + + + +#include "llstyle.h" +#include "llcallbackmap.h" +#include "lltextbox.h" +#include "llbutton.h"; + class LLIMFloaterContainer; // Implementation of conversations list session widgets @@ -57,14 +65,40 @@ public: // Implementation of conversations list participant (avatar) widgets +class LLAvatarIconCtrl; + class LLConversationViewParticipant : public LLFolderViewItem { + +public: + + struct Params : public LLInitParam::Block<Params, LLFolderViewItem::Params> + { + Optional<LLIMFloaterContainer*> container; + Optional<LLButton::Params> view_profile_button, + info_button; + + Params(); + }; + + virtual ~LLConversationViewParticipant( void ) { } + virtual void draw(); + protected: - friend class LLUICtrlFactory; - LLConversationViewParticipant( const LLFolderViewItem::Params& p ); + friend class LLUICtrlFactory; + LLConversationViewParticipant( const Params& p ); + void initFromParams(const Params& params); + BOOL postBuild(); + + void onInfoBtnClick(); + void onProfileBtnClick(); -public: - virtual ~LLConversationViewParticipant( void ) { } +private: + LLButton* createProfileButton(); + LLButton * mInfoBtn; + LLButton * mProfileBtn; + + }; #endif // LL_LLCONVERSATIONVIEW_H |