summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-10 01:09:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-10 01:09:28 +0300
commit038355b1192fe2e6b00e29e1e20cbf9d535c99aa (patch)
tree167769b394dbcb59825d8a1818b15b60531af173 /src/gui/setup.cpp
parentc103e91ff6de05dbfce097dea7b516dbabd8e634 (diff)
downloadmv-038355b1192fe2e6b00e29e1e20cbf9d535c99aa.tar.gz
mv-038355b1192fe2e6b00e29e1e20cbf9d535c99aa.tar.bz2
mv-038355b1192fe2e6b00e29e1e20cbf9d535c99aa.tar.xz
mv-038355b1192fe2e6b00e29e1e20cbf9d535c99aa.zip
Add players setup tab.
Move all player related settings from relation tab to players tab.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index e45bbb571..d73212d48 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -34,6 +34,7 @@
#include "gui/setup_theme.h"
#include "gui/setup_keyboard.h"
#include "gui/setup_perfomance.h"
+#include "gui/setup_players.h"
#include "gui/setup_relations.h"
#include "gui/setup_video.h"
@@ -86,6 +87,7 @@ Setup::Setup():
mPanel = new TabbedArea;
mPanel->setDimension(gcn::Rectangle(5, 5, width - 10, height - 40));
+ mPanel->enableScrollButtons(true);
mTabs.push_back(new Setup_Video);
mTabs.push_back(new Setup_Audio);
@@ -94,6 +96,7 @@ Setup::Setup():
mTabs.push_back(new Setup_Keyboard);
mTabs.push_back(new Setup_Colors);
mTabs.push_back(new Setup_Chat);
+ mTabs.push_back(new Setup_Players);
mTabs.push_back(new Setup_Relations);
mTabs.push_back(new Setup_Theme);
mTabs.push_back(new Setup_Other);