diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-11-25 13:48:13 +0200 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-11-25 13:48:13 +0200 |
commit | c2c83f3535c5a0bc099528580375afc99ad3b020 (patch) | |
tree | f54a6fb13ca135ff54a897836281df517aeab2f3 /indra/newview/llchatitemscontainerctrl.h | |
parent | 7f7191c1735a2a823943119eec5c1ca160a7bf8d (diff) |
EXT-2555 Change look and feel of nearby chat toasts
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llchatitemscontainerctrl.h')
-rw-r--r-- | indra/newview/llchatitemscontainerctrl.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.h b/indra/newview/llchatitemscontainerctrl.h index a65bfedd09..0a85c52401 100644 --- a/indra/newview/llchatitemscontainerctrl.h +++ b/indra/newview/llchatitemscontainerctrl.h @@ -59,9 +59,8 @@ public: const LLUUID& getFromID() const { return mFromID;} - void addText (const std::string& message , const LLStyle::Params& input_params = LLStyle::Params()); - void setMessage (const LLChat& msg); - void setWidth (S32 width); + //void addText (const std::string& message , const LLStyle::Params& input_params = LLStyle::Params()); + //void setMessage (const LLChat& msg); void snapToMessageHeight (); bool canAddText (); @@ -78,22 +77,16 @@ public: BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); virtual void init(LLSD& data); + virtual void addMessage(LLSD& data); virtual void draw(); -private: - - std::string appendTime (); + const LLUUID& messageID() const { return mFromID;} private: - std::string mText; // UTF-8 line of text - std::string mFromName; // agent or object name LLUUID mFromID; // agent id or object id EChatSourceType mSourceType; - LLColor4 mTextColor; - LLFontGL* mFont; - + - std::vector<std::string> mMessages; bool mIsDirty; }; |