summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.h
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2009-11-20 19:17:38 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2009-11-20 19:17:38 +0200
commit13a6077b780117be0fa3a054426d139ca1d35df9 (patch)
tree0597cfbf98db2787f75b3ec33fe2637c14f0ee7e /indra/newview/llchiclet.h
parent58439da4c696f8dd6002e6399e4563cbda251a1e (diff)
Implemented normal task EXT-2081 - Object IM chiclets art needs to be hooked up to LLDialog chiclets.
Implemented LLDialog(LLScriptFloater) and Script Chiclets. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r--indra/newview/llchiclet.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h
index bb5dc1e550..a46f817c13 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.
*/