diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-05 19:06:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-05 19:06:48 +0300 |
commit | 0c0ba36a78c155a120ed4b4ad7791341d93d5dd8 (patch) | |
tree | bd435331c4b7071a6ff69bb0eb45815430f4a2e4 /src | |
parent | ea946a63d1ec1726971a6e0a351a237611d89b02 (diff) | |
download | mv-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.tar.gz mv-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.tar.bz2 mv-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.tar.xz mv-0c0ba36a78c155a120ed4b4ad7791341d93d5dd8.zip |
Add scroll laziness configuration parameters to misc setup tab.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/setup_other.cpp | 10 |
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); |