summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterchat.h
diff options
context:
space:
mode:
authorMonroe Williams <monroe@lindenlab.com>2007-08-02 01:18:34 +0000
committerMonroe Williams <monroe@lindenlab.com>2007-08-02 01:18:34 +0000
commit7138fb673ac3df46b9cb5f23d0d74e70fdd2b6b3 (patch)
tree3c34a3a180b5275bd4166b0056765c5868f56447 /indra/newview/llfloaterchat.h
parentf6a10b3214d79df4e8f5768acaa68edbd2de5620 (diff)
Merge down from Branch_1-18-1:
svn merge --ignore-ancestry svn+ssh://svn.lindenlab.com/svn/linden/release@66449 svn+ssh://svn.lindenlab.com/svn/linden/branches/Branch_1-18-1@67131
Diffstat (limited to 'indra/newview/llfloaterchat.h')
-rw-r--r--indra/newview/llfloaterchat.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/indra/newview/llfloaterchat.h b/indra/newview/llfloaterchat.h
index bf93afb455..6da3b9bb1b 100644
--- a/indra/newview/llfloaterchat.h
+++ b/indra/newview/llfloaterchat.h
@@ -24,17 +24,20 @@ class LLViewerTextEditor;
class LLMessageSystem;
class LLUUID;
class LLCheckBoxCtrl;
+class LLPanelActiveSpeakers;
class LLFloaterChat
-: public LLFloater
+: public LLFloater, public LLUISingleton<LLFloaterChat>
{
public:
- LLFloaterChat();
+ LLFloaterChat(const LLSD& seed);
~LLFloaterChat();
- void show();
- virtual void onClose(bool app_quitting);
virtual void setVisible( BOOL b );
+ virtual void draw();
+ virtual BOOL postBuild();
+ virtual void onClose(bool app_quitting);
+ virtual void onVisibilityChange(BOOL cur_visibility);
static void setHistoryCursorAndScrollToEnd();
@@ -45,17 +48,17 @@ public:
// Add chat to history alone.
static void addChatHistory(const LLChat& chat, bool log_to_file = true);
- static void toggle(void*);
- static BOOL visible(void*);
-
static void onClickMute(void *data);
- static void onClickChat(void *);
- static void onCommitUserSelect(LLUICtrl* caller, void* data);
static void onClickToggleShowMute(LLUICtrl* caller, void *data);
+ static void onClickToggleActiveSpeakers(void* userdata);
static void chatFromLogFile(LLString line, void* userdata);
static void loadHistory();
-};
+ static void* createSpeakersPanel(void* data);
+ static void* createChatPanel(void* data);
+ static void hideInstance(const LLSD& id);
-extern LLFloaterChat* gFloaterChat;
+protected:
+ LLPanelActiveSpeakers* mPanel;
+};
#endif