summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-26 15:48:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-26 15:48:37 +0300
commit93012ff28bfeae7820941e80a9a8568051790473 (patch)
treee673f6fcf768959f9a44933ddffac125724e77a6 /src/gui
parenta5d6ded17d979404d5b6e18573f35c99abaf97fb (diff)
downloadmanaverse-93012ff28bfeae7820941e80a9a8568051790473.tar.gz
manaverse-93012ff28bfeae7820941e80a9a8568051790473.tar.bz2
manaverse-93012ff28bfeae7820941e80a9a8568051790473.tar.xz
manaverse-93012ff28bfeae7820941e80a9a8568051790473.zip
Add keyboard repeat setting to misc tab.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_other.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp
index ff678225f..bf186b45a 100644
--- a/src/gui/setup_other.cpp
+++ b/src/gui/setup_other.cpp
@@ -162,6 +162,16 @@ Setup_Other::Setup_Other()
"guild support"), "", "enableGuildBot", this,
"enableGuildBotEvent", false);
+
+ new SetupItemLabel(_("Keyboard"), "", this);
+
+ new SetupItemIntTextField(_("Repeat delay"), "",
+ "repeateDelay", this, "repeateDelayEvent", 0, 10000);
+
+ new SetupItemIntTextField(_("Repeat interval"), "",
+ "repeateInterval", this, "repeateIntervalEvent", 0, 10000);
+
+
new SetupItemLabel(_("Windows"), "", this);
mShortcutsList = new SetupItemNames();