aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterchat.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llfloaterchat.h
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/newview/llfloaterchat.h')
-rw-r--r--linden/indra/newview/llfloaterchat.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/linden/indra/newview/llfloaterchat.h b/linden/indra/newview/llfloaterchat.h
index 54df738..9558a65 100644
--- a/linden/indra/newview/llfloaterchat.h
+++ b/linden/indra/newview/llfloaterchat.h
@@ -44,17 +44,20 @@ class LLViewerTextEditor;
44class LLMessageSystem; 44class LLMessageSystem;
45class LLUUID; 45class LLUUID;
46class LLCheckBoxCtrl; 46class LLCheckBoxCtrl;
47class LLPanelActiveSpeakers;
47 48
48class LLFloaterChat 49class LLFloaterChat
49: public LLFloater 50: public LLFloater, public LLUISingleton<LLFloaterChat>
50{ 51{
51public: 52public:
52 LLFloaterChat(); 53 LLFloaterChat(const LLSD& seed);
53 ~LLFloaterChat(); 54 ~LLFloaterChat();
54 55
55 void show();
56 virtual void onClose(bool app_quitting);
57 virtual void setVisible( BOOL b ); 56 virtual void setVisible( BOOL b );
57 virtual void draw();
58 virtual BOOL postBuild();
59 virtual void onClose(bool app_quitting);
60 virtual void onVisibilityChange(BOOL cur_visibility);
58 61
59 static void setHistoryCursorAndScrollToEnd(); 62 static void setHistoryCursorAndScrollToEnd();
60 63
@@ -65,17 +68,17 @@ public:
65 // Add chat to history alone. 68 // Add chat to history alone.
66 static void addChatHistory(const LLChat& chat, bool log_to_file = true); 69 static void addChatHistory(const LLChat& chat, bool log_to_file = true);
67 70
68 static void toggle(void*);
69 static BOOL visible(void*);
70
71 static void onClickMute(void *data); 71 static void onClickMute(void *data);
72 static void onClickChat(void *);
73 static void onCommitUserSelect(LLUICtrl* caller, void* data);
74 static void onClickToggleShowMute(LLUICtrl* caller, void *data); 72 static void onClickToggleShowMute(LLUICtrl* caller, void *data);
73 static void onClickToggleActiveSpeakers(void* userdata);
75 static void chatFromLogFile(LLString line, void* userdata); 74 static void chatFromLogFile(LLString line, void* userdata);
76 static void loadHistory(); 75 static void loadHistory();
77}; 76 static void* createSpeakersPanel(void* data);
77 static void* createChatPanel(void* data);
78 static void hideInstance(const LLSD& id);
78 79
79extern LLFloaterChat* gFloaterChat; 80protected:
81 LLPanelActiveSpeakers* mPanel;
82};
80 83
81#endif 84#endif