summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-26 06:23:37 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-26 06:35:17 -0600
commitcdcadf6e99a6deaa5b929cdec9736ab1fb280f65 (patch)
tree9a00d351a107a5ff528bd6db34269a602d269c6f /src/game.cpp
parent489777645843c7c88d0a84c8f2c7e1a7bdbcf0a9 (diff)
downloadmana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.tar.gz
mana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.tar.bz2
mana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.tar.xz
mana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.zip
Move ChatWindow over to ChatTabs
TMWServ compilation is likely not functional after this, I didn't check. THe next commit will address that.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d800eefe..d45387fd 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -48,6 +48,7 @@
#endif
#include "player_relations.h"
+#include "gui/widgets/chattab.h"
#include "gui/buy.h"
#include "gui/buysell.h"
#include "gui/chat.h"
@@ -286,6 +287,8 @@ void createGuiWindows(Network *network)
emoteShortcutWindow = new ShortcutWindow("emoteShortcut",
new EmoteShortcutContainer);
+ chatWindow->addTab(new ChatTab(std::string("General")));
+
// Set initial window visibility
chatWindow->setVisible((bool) config.getValue(
chatWindow->getWindowName() + "Visible", true));