summaryrefslogtreecommitdiff
path: root/indra/newview/llchatitemscontainerctrl.h
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-11-12 21:20:18 +0800
committerangela <angela@lindenlab.com>2009-11-12 21:20:18 +0800
commit11fc2da6fa5fba0bb659dd97f8533e4529aece06 (patch)
tree8bacc0518c6556c341780d325de9c968d7abaeb3 /indra/newview/llchatitemscontainerctrl.h
parentb1a81afef6395e136f26e296311ec9b57eef260e (diff)
make color and font affecting both nearby chat and toasts
Diffstat (limited to 'indra/newview/llchatitemscontainerctrl.h')
-rw-r--r--indra/newview/llchatitemscontainerctrl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.h b/indra/newview/llchatitemscontainerctrl.h
index 8fb045b6d9..a65bfedd09 100644
--- a/indra/newview/llchatitemscontainerctrl.h
+++ b/indra/newview/llchatitemscontainerctrl.h
@@ -36,7 +36,7 @@
#include "llpanel.h"
#include "llscrollbar.h"
#include "string"
-#include "llchat.h"
+#include "llviewerchat.h"
#include "lltoastpanel.h"
typedef enum e_show_item_header
@@ -59,7 +59,7 @@ public:
const LLUUID& getFromID() const { return mFromID;}
- void addText (const std::string& message);
+ void addText (const std::string& message , const LLStyle::Params& input_params = LLStyle::Params());
void setMessage (const LLChat& msg);
void setWidth (S32 width);
void snapToMessageHeight ();
@@ -89,6 +89,8 @@ private:
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;