diff options
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r-- | indra/newview/llchiclet.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index 56f164738e..1ea141e6c4 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -533,28 +533,35 @@ private: LLMenuGL* mPopupMenu; }; +/** + * Chiclet for script floaters. + */ class LLScriptChiclet : public LLIMChiclet { public: struct Params : public LLInitParam::Block<Params, LLIMChiclet::Params> { - Optional<LLChicletAvatarIconCtrl::Params> avatar_icon; + Optional<LLIconCtrl::Params> icon; Params(); }; - void setSessionId(const LLUUID& session_id); - - void setCounter(S32 counter){} + /*virtual*/ void setSessionId(const LLUUID& session_id); - S32 getCounter() { return 0; } + /*virtual*/ void setCounter(S32 counter){} - void onMouseDown(); + /*virtual*/ S32 getCounter() { return 0; } - BOOL handleMouseDown(S32 x, S32 y, MASK mask); + /** + * Toggle script floater + */ + /*virtual*/ void onMouseDown(); - void draw(); + /** + * Override default handler + */ + /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); protected: @@ -563,8 +570,7 @@ protected: private: - LLPointer<LLUIImage> mImage; - LLChicletAvatarIconCtrl* mChicletIconCtrl; + LLIconCtrl* mChicletIconCtrl; }; /** |