summaryrefslogtreecommitdiff
path: root/src/gui/setup_chat.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-19 21:00:17 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-19 21:00:17 +0300
commit2881720bca7168ca181a13bfd4dd69115a46c2f9 (patch)
tree13d52ee1266e7dbcd9532f3324a5de039df88b46 /src/gui/setup_chat.h
parent5eba7b23b7002a3f399afa7e51066a6b16a1f9a6 (diff)
downloadmanaplus-2881720bca7168ca181a13bfd4dd69115a46c2f9.tar.gz
manaplus-2881720bca7168ca181a13bfd4dd69115a46c2f9.tar.bz2
manaplus-2881720bca7168ca181a13bfd4dd69115a46c2f9.tar.xz
manaplus-2881720bca7168ca181a13bfd4dd69115a46c2f9.zip
Redesign Chat setup page.
Diffstat (limited to 'src/gui/setup_chat.h')
-rw-r--r--src/gui/setup_chat.h60
1 files changed, 3 insertions, 57 deletions
diff --git a/src/gui/setup_chat.h b/src/gui/setup_chat.h
index 1ee325117..0b69984c8 100644
--- a/src/gui/setup_chat.h
+++ b/src/gui/setup_chat.h
@@ -2,6 +2,7 @@
* The Mana World
* Copyright (C) 2009 The Mana World Development Team
* Copyright (C) 2009-2010 Andrei Karas
+ * Copyright (C) 2011 The ManaPlus Developers
*
* This file is part of The Mana World.
*
@@ -25,74 +26,19 @@
#include "guichanfwd.h"
-#include "gui/widgets/setuptab.h"
+#include "gui/widgets/setuptabscroll.h"
#include <guichan/actionlistener.hpp>
class IntTextField;
class EditDialog;
-class Setup_Chat : public SetupTab
+class Setup_Chat : public SetupTabScroll
{
public:
Setup_Chat();
void apply();
- void cancel();
-
- void action(const gcn::ActionEvent &event);
-
- private:
- gcn::CheckBox *mRemoveColorsCheckBox;
- bool mRemoveColors;
-
- gcn::CheckBox *mMagicInDebugCheckBox;
- bool mMagicInDebug;
-
- gcn::CheckBox *mAllowCommandsInChatTabsCheckBox;
- bool mAllowCommandsInChatTabs;
-
- gcn::CheckBox *mServerMsgInDebugCheckBox;
- bool mServerMsgInDebug;
-
- gcn::CheckBox *mShowChatColorsCheckBox;
- bool mShowChatColors;
-
- gcn::CheckBox *mMaxCharCheckBox;
- IntTextField *mMaxCharField;
- gcn::Button *mMaxCharButton;
- bool mMaxChar;
-
- gcn::CheckBox *mMaxLinesCheckBox;
- IntTextField *mMaxLinesField;
- gcn::Button *mMaxLinesButton;
- bool mMaxLines;
-
- gcn::CheckBox *mEnableChatLoggerCheckBox;
- bool mEnableChatLogger;
-
- gcn::CheckBox *mEnableTradeTabCheckBox;
- bool mEnableTradeTab;
-
- gcn::CheckBox *mHideShopMessagesCheckBox;
- bool mHideShopMessages;
-
- gcn::CheckBox *mShowChatHistoryCheckBox;
- bool mShowChatHistory;
-
- gcn::CheckBox *mEnableBattleTabCheckBox;
- bool mEnableBattleTab;
-
- gcn::CheckBox *mShowBattleEventsCheckBox;
- bool mShowBattleEvents;
-
- gcn::CheckBox *mHideChatInputCheckBox;
- bool mHideChatInput;
-
- gcn::CheckBox *mLocalTimeCheckBox;
- bool mLocalTime;
-
- EditDialog *mEditDialog;
};
#endif