diff options
author | Jacek Antonelli | 2010-02-04 19:55:07 -0600 |
---|---|---|
committer | Jacek Antonelli | 2010-02-04 20:54:34 -0600 |
commit | d414063e6c590728348fb1127da4c90a9896d691 (patch) | |
tree | 4e25233de2c3c50d3dba27892b43b80df97c6094 /linden/indra/newview/llappviewer.cpp | |
parent | Slider widgets can now be controlled with mouse wheel. (diff) | |
download | meta-impy-d414063e6c590728348fb1127da4c90a9896d691.zip meta-impy-d414063e6c590728348fb1127da4c90a9896d691.tar.gz meta-impy-d414063e6c590728348fb1127da4c90a9896d691.tar.bz2 meta-impy-d414063e6c590728348fb1127da4c90a9896d691.tar.xz |
Added SliderScrollWheelMultiplier setting.
Affects the direction sliders move from mouse scroll wheel.
Also added LLSlider::getScrollWheelMultiplier() and
LLSlider::setScrollWheelMultiplier().
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index f1c6064..a57050d 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -146,6 +146,7 @@ | |||
146 | #include "llvovolume.h" | 146 | #include "llvovolume.h" |
147 | #include "llflexibleobject.h" | 147 | #include "llflexibleobject.h" |
148 | #include "llvosurfacepatch.h" | 148 | #include "llvosurfacepatch.h" |
149 | #include "llslider.h" | ||
149 | 150 | ||
150 | // includes for idle() idleShutdown() | 151 | // includes for idle() idleShutdown() |
151 | #include "llviewercontrol.h" | 152 | #include "llviewercontrol.h" |
@@ -422,6 +423,8 @@ static void settings_to_globals() | |||
422 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); | 423 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); |
423 | 424 | ||
424 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | 425 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); |
426 | |||
427 | LLSlider::setScrollWheelMultiplier( gSavedSettings.getS32("SliderScrollWheelMultiplier") ); | ||
425 | } | 428 | } |
426 | 429 | ||
427 | static void settings_modify() | 430 | static void settings_modify() |