summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-26 21:35:58 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-26 21:35:58 -0600
commit2d5d31406ab057abd9417d13ab808f6823b2860b (patch)
tree363b70f23aa89e3f765e81b9b430924385626f9e /src/gui/chat.h
parentbf6f383e82add4634c8c091216093596b4587f0d (diff)
downloadmana-client-2d5d31406ab057abd9417d13ab808f6823b2860b.tar.gz
mana-client-2d5d31406ab057abd9417d13ab808f6823b2860b.tar.bz2
mana-client-2d5d31406ab057abd9417d13ab808f6823b2860b.tar.xz
mana-client-2d5d31406ab057abd9417d13ab808f6823b2860b.zip
Add WhisperTabs
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 89bb033e..46358268 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -45,6 +45,7 @@ class ItemLinkHandler;
#ifdef EATHENA_SUPPORT
class Network;
#endif
+class WhisperTab;
enum
{
@@ -227,8 +228,11 @@ class ChatWindow : public Window,
void doPresent();
+ void whisper(std::string nick, std::string mes, bool own = false);
+
protected:
friend class ChatTab;
+ friend class WhisperTab;
void adjustTabSize();
@@ -249,10 +253,12 @@ class ChatWindow : public Window,
/** Tabbed area for holding each channel. */
TabbedArea *mChatTabs;
+ Tab *currentTab;
typedef std::map<const std::string, ChatTab*> TabMap;
/** Map each tab to its browser and scroll area. */
TabMap mTabs;
+ TabMap mWhispers;
typedef std::list<std::string> History;
typedef History::iterator HistoryIterator;