summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 23:56:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commitd59cd9111c1e86b224ea62cc975c49b157e2b3cf (patch)
treed7186479633c0269573e92b5a5213d04b84b3995 /src/game.cpp
parent71d2b482d84246b8456ea863f94a9a766d33f197 (diff)
downloadmv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.gz
mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.bz2
mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.xz
mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.zip
Add to some controls palette inheritance from other controls.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4aad0eec5..5d988f19f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -256,16 +256,16 @@ static void createGuiWindows()
if (serverVersion >= 6)
questsWindow = new QuestsWindow;
- localChatTab = new ChatTab(_("General"));
+ localChatTab = new ChatTab(chatWindow, _("General"));
localChatTab->setAllowHighlight(false);
localChatTab->loadFromLogFile("#General");
- debugChatTab = new ChatTab(_("Debug"));
+ debugChatTab = new ChatTab(chatWindow, _("Debug"));
debugChatTab->setAllowHighlight(false);
if (config.getBoolValue("enableTradeTab"))
{
- tradeChatTab = new TradeTab;
+ tradeChatTab = new TradeTab(chatWindow);
tradeChatTab->setAllowHighlight(false);
}
else
@@ -275,7 +275,7 @@ static void createGuiWindows()
if (config.getBoolValue("enableBattleTab"))
{
- battleChatTab = new BattleTab;
+ battleChatTab = new BattleTab(chatWindow);
battleChatTab->setAllowHighlight(false);
}
else
@@ -401,7 +401,7 @@ Game::Game():
createGuiWindows();
- windowMenu = new WindowMenu;
+ windowMenu = new WindowMenu(nullptr);
// mWindowMenu = windowMenu;
if (windowContainer)