summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:38:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:38:15 +0300
commit747dc30f256606e28fd932a9626da7c328114036 (patch)
tree1b3e7e70ba439d14d4936660d44c95c27816a11b /src/gui/chatwindow.cpp
parentcef2952156ab09371ed04beec00d0f1e8615ada9 (diff)
downloadmanaverse-747dc30f256606e28fd932a9626da7c328114036.tar.gz
manaverse-747dc30f256606e28fd932a9626da7c328114036.tar.bz2
manaverse-747dc30f256606e28fd932a9626da7c328114036.tar.xz
manaverse-747dc30f256606e28fd932a9626da7c328114036.zip
fix style in gui directory.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index c375b6748..2892bb842 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -182,16 +182,26 @@ ChatWindow::ChatWindow():
mItemLinkHandler(new ItemLinkHandler),
mChatTabs(new TabbedArea(this)),
mChatInput(new ChatInput(this, mChatTabs)),
+ mRainbowColor(0),
mTmpVisible(false),
+ mWhispers(),
+ mHistory(),
+ mCurHist(),
+ mCommands(),
+ mCustomWords(),
mReturnToggles(config.getBoolValue("ReturnToggles")),
+ mTradeFilter(),
mColorListModel(new ColorListModel),
mColorPicker(new DropDown(this, mColorListModel)),
mChatColor(config.getIntValue("chatColor")),
mChatHistoryIndex(0),
+ mAwayLog(),
+ mHighlights(),
mGMLoaded(false),
mHaveMouse(false),
- mAutoHide(false),
- mShowBattleEvents(false)
+ mAutoHide(config.getBoolValue("autohideChat")),
+ mShowBattleEvents(config.getBoolValue("showBattleEvents")),
+ mShowAllLang(serverConfig.getValue("showAllLang", 0))
{
listen(CHANNEL_ATTRIBUTES);
@@ -250,8 +260,6 @@ ChatWindow::ChatWindow():
// Add key listener to chat input to be able to respond to up/down
mChatInput->addKeyListener(this);
mCurHist = mHistory.end();
-
- mRainbowColor = 0;
mColorPicker->setVisible(config.getBoolValue("showChatColorsList"));
fillCommands();
@@ -264,9 +272,6 @@ ChatWindow::ChatWindow():
config.addListener("autohideChat", this);
config.addListener("showBattleEvents", this);
- mAutoHide = config.getBoolValue("autohideChat");
- mShowBattleEvents = config.getBoolValue("showBattleEvents");
- mShowAllLang = serverConfig.getValue("showAllLang", 0);
enableVisibleSound(true);
}