summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-05 19:06:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-05 19:06:48 +0300
commit0c0ba36a78c155a120ed4b4ad7791341d93d5dd8 (patch)
treebd435331c4b7071a6ff69bb0eb45815430f4a2e4 /src/gui
parentea946a63d1ec1726971a6e0a351a237611d89b02 (diff)
downloadmanaplus-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.tar.gz
manaplus-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.tar.bz2
manaplus-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.tar.xz
manaplus-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.zip
Add scroll laziness configuration parameters to misc setup tab.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_other.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp
index 36c6f0436..23fb5c086 100644
--- a/src/gui/setup_other.cpp
+++ b/src/gui/setup_other.cpp
@@ -84,8 +84,14 @@ Setup_Other::Setup_Other()
new SetupItemCheckBox(_("Draw hotkeys on map"), "", "drawHotKeys",
this, "drawHotKeysEvent");
- new SetupItemCheckBox(_("Enable lazy scrolling"), "", "enableLazyScrolling",
- this, "enableLazyScrollingEvent");
+ new SetupItemCheckBox(_("Enable lazy scrolling"), "",
+ "enableLazyScrolling", this, "enableLazyScrollingEvent");
+
+ new SetupItemIntTextField(_("Scroll laziness"), "", "ScrollLaziness",
+ this, "ScrollLazinessEvent", 1, 160);
+
+ new SetupItemIntTextField(_("Scroll radius"), "", "ScrollRadius",
+ this, "ScrollRadiusEvent", 0, 32);
new SetupItemLabel(_("Moving"), "", this);