diff options
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r-- | indra/newview/llchiclet.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index 03935d21a6..56f164738e 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -533,6 +533,40 @@ private: LLMenuGL* mPopupMenu; }; +class LLScriptChiclet : public LLIMChiclet +{ +public: + + struct Params : public LLInitParam::Block<Params, LLIMChiclet::Params> + { + Optional<LLChicletAvatarIconCtrl::Params> avatar_icon; + + Params(); + }; + + void setSessionId(const LLUUID& session_id); + + void setCounter(S32 counter){} + + S32 getCounter() { return 0; } + + void onMouseDown(); + + BOOL handleMouseDown(S32 x, S32 y, MASK mask); + + void draw(); + +protected: + + LLScriptChiclet(const Params&); + friend class LLUICtrlFactory; + +private: + + LLPointer<LLUIImage> mImage; + LLChicletAvatarIconCtrl* mChicletIconCtrl; +}; + /** * Implements Group chat chiclet. */ |