diff options
author | Debi King (Dessie) <dessie@lindenlab.com> | 2011-05-09 18:00:23 -0400 |
---|---|---|
committer | Debi King (Dessie) <dessie@lindenlab.com> | 2011-05-09 18:00:23 -0400 |
commit | 77c39cef5292ca9fcd13aafeb074ef2b715baed8 (patch) | |
tree | 90e19b4b9c73d9f9721bc628f50cf5de6829a0ba /indra/newview/llviewerchat.h | |
parent | 0994f9485534c35ca92b4ce1421544b7de8feea2 (diff) | |
parent | f7bd5b98949fc72ac1fd4b97ecd4907e14c04315 (diff) |
merged .hgtags from viewer-pre-beta
Diffstat (limited to 'indra/newview/llviewerchat.h')
-rw-r--r-- | indra/newview/llviewerchat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerchat.h b/indra/newview/llviewerchat.h index 0f15d29f04..c05caf0a95 100644 --- a/indra/newview/llviewerchat.h +++ b/indra/newview/llviewerchat.h @@ -35,6 +35,8 @@ class LLViewerChat { public: + typedef boost::signals2::signal<void (LLFontGL*)> font_change_signal_t; + static void getChatColor(const LLChat& chat, LLColor4& r_color); static void getChatColor(const LLChat& chat, std::string& r_color_name, F32& r_color_alpha); static LLFontGL* getChatFont(); @@ -42,8 +44,12 @@ public: static void formatChatMsg(const LLChat& chat, std::string& formated_msg); static std::string getSenderSLURL(const LLChat& chat, const LLSD& args); + static boost::signals2::connection setFontChangedCallback(const font_change_signal_t::slot_type& cb); + static void signalChatFontChanged(); + private: static std::string getObjectImSLURL(const LLChat& chat, const LLSD& args); + static font_change_signal_t sChatFontChangedSignal; }; |