diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 21:35:58 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 21:35:58 -0600 |
commit | 2d5d31406ab057abd9417d13ab808f6823b2860b (patch) | |
tree | 363b70f23aa89e3f765e81b9b430924385626f9e /src/gui/chat.h | |
parent | bf6f383e82add4634c8c091216093596b4587f0d (diff) | |
download | mana-2d5d31406ab057abd9417d13ab808f6823b2860b.tar.gz mana-2d5d31406ab057abd9417d13ab808f6823b2860b.tar.bz2 mana-2d5d31406ab057abd9417d13ab808f6823b2860b.tar.xz mana-2d5d31406ab057abd9417d13ab808f6823b2860b.zip |
Add WhisperTabs
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 6 |
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; |