diff options
author | callum <none@none> | 2009-11-24 14:36:57 -0800 |
---|---|---|
committer | callum <none@none> | 2009-11-24 14:36:57 -0800 |
commit | fd74ba5467967cbdb5f7aca8b476080c66df2cd2 (patch) | |
tree | fac520db60d0b08aea8b803571a04c1a8037803d /indra/newview/llchiclet.h | |
parent | b0a31eaaee10b92df9e5aa80ccfeb25c5e797ac1 (diff) | |
parent | fa88f41cccb9aeb5ccfdafbf5da5b34b72be1108 (diff) |
Merge to tip
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r-- | indra/newview/llchiclet.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index 03935d21a6..1ea141e6c4 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -534,6 +534,46 @@ private: }; /** + * Chiclet for script floaters. + */ +class LLScriptChiclet : public LLIMChiclet +{ +public: + + struct Params : public LLInitParam::Block<Params, LLIMChiclet::Params> + { + Optional<LLIconCtrl::Params> icon; + + Params(); + }; + + /*virtual*/ void setSessionId(const LLUUID& session_id); + + /*virtual*/ void setCounter(S32 counter){} + + /*virtual*/ S32 getCounter() { return 0; } + + /** + * Toggle script floater + */ + /*virtual*/ void onMouseDown(); + + /** + * Override default handler + */ + /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); + +protected: + + LLScriptChiclet(const Params&); + friend class LLUICtrlFactory; + +private: + + LLIconCtrl* mChicletIconCtrl; +}; + +/** * Implements Group chat chiclet. */ class LLIMGroupChiclet : public LLIMChiclet, public LLGroupMgrObserver |