diff options
author | angela <angela@lindenlab.com> | 2009-11-13 15:20:04 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-11-13 15:20:04 +0800 |
commit | a7b8b51a5aabfbe58a904896fb1e7a1c812c2bc6 (patch) | |
tree | f16a6c5c3ffaccab7dedc7c94dcceeed4909a6ee /indra/newview/llnearbychathandler.cpp | |
parent | 9054f31f89963f2f24a6b872fbc6816ee01f0d70 (diff) | |
parent | 01f1eaf7e0faaa3ecde36ac28a346fed53a571fd (diff) |
Automated merge with ssh://angela@hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r-- | indra/newview/llnearbychathandler.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index b4e0ab198a..e6665a935e 100644 --- a/indra/newview/llnearbychathandler.cpp +++ b/indra/newview/llnearbychathandler.cpp @@ -351,7 +351,14 @@ void LLNearbyChatHandler::processChat(const LLChat& chat_msg) notification["time"] = chat_msg.mTime; notification["source"] = (S32)chat_msg.mSourceType; notification["chat_type"] = (S32)chat_msg.mChatType; - + + std::string r_color_name = "White"; + F32 r_color_alpha = 1.0f; + LLViewerChat::getChatColor( chat_msg, r_color_name, r_color_alpha); + + notification["text_color"] = r_color_name; + notification["color_alpha"] = r_color_alpha; + notification["font_size"] = (S32)LLViewerChat::getChatFontSize() ; channel->addNotification(notification); } |