From 0c0ba36a78c155a120ed4b4ad7791341d93d5dd8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 5 Sep 2011 19:06:48 +0300 Subject: Add scroll laziness configuration parameters to misc setup tab. --- src/gui/setup_other.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/gui/setup_other.cpp') 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); -- cgit v1.2.3-60-g2f50