summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-07-16 15:23:34 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-07-16 15:23:34 +0000
commit71532a23200b246f63ed1e0dc3d563bd1184b593 (patch)
tree2ce28dd04573bb40b31e367d7d980b32f113edab /src/gui/setup.cpp
parentbb5f430e6f7e1471aefc1de22e423e6015d0236c (diff)
downloadmana-71532a23200b246f63ed1e0dc3d563bd1184b593.tar.gz
mana-71532a23200b246f63ed1e0dc3d563bd1184b593.tar.bz2
mana-71532a23200b246f63ed1e0dc3d563bd1184b593.tar.xz
mana-71532a23200b246f63ed1e0dc3d563bd1184b593.zip
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 3add3a18..b936f688 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -27,6 +27,7 @@
#include "setup_audio.h"
#include "setup_joystick.h"
#include "setup_video.h"
+#include "setup_keyboard.h"
#include "tabbedcontainer.h"
#include "../utils/dtor.h"
@@ -42,8 +43,8 @@ extern Window *skillDialog;
Setup::Setup():
Window("Setup")
{
- int width = 230;
- int height = 245;
+ int width = 260;
+ int height = 305;
setContentSize(width, height);
const char *buttonNames[] = {
@@ -58,7 +59,7 @@ Setup::Setup():
}
TabbedContainer *panel = new TabbedContainer();
- panel->setDimension(gcn::Rectangle(5, 5, 220, 205));
+ panel->setDimension(gcn::Rectangle(5, 5, 250, 265));
panel->setOpaque(false);
SetupTab *tab;
@@ -75,6 +76,10 @@ Setup::Setup():
panel->addTab(tab, "Joystick");
mTabs.push_back(tab);
+ tab = new Setup_Keyboard();
+ panel->addTab(tab, "Keyboard");
+ mTabs.push_back(tab);
+
add(panel);
setLocationRelativeTo(getParent());