diff options
Diffstat (limited to 'indra/newview/lltoastimpanel.h')
-rw-r--r-- | indra/newview/lltoastimpanel.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/indra/newview/lltoastimpanel.h b/indra/newview/lltoastimpanel.h index 53661f2cf6..cf4ad80637 100644 --- a/indra/newview/lltoastimpanel.h +++ b/indra/newview/lltoastimpanel.h @@ -39,6 +39,7 @@ #include "llbutton.h" #include "llavatariconctrl.h" +class LLGroupIconCtrl; class LLToastIMPanel: public LLToastPanel { @@ -58,13 +59,24 @@ public: LLToastIMPanel(LLToastIMPanel::Params &p); virtual ~LLToastIMPanel(); /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); + /*virtual*/ BOOL handleToolTip(S32 x, S32 y, MASK mask); private: + void showInspector(); + + void spawnNameToolTip(); + void spawnGroupIconToolTip(); + + void initIcon(); + static const S32 DEFAULT_MESSAGE_MAX_LINE_COUNT; LLNotificationPtr mNotification; LLUUID mSessionID; - LLAvatarIconCtrl* mAvatar; - LLTextBox* mUserName; + LLUUID mAvatarID; + LLAvatarIconCtrl* mAvatarIcon; + LLGroupIconCtrl* mGroupIcon; + LLAvatarIconCtrl* mAdhocIcon; + LLTextBox* mAvatarName; LLTextBox* mTime; LLTextBox* mMessage; }; |