aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2010-02-04 19:55:07 -0600
committerJacek Antonelli2010-02-04 20:54:34 -0600
commitd414063e6c590728348fb1127da4c90a9896d691 (patch)
tree4e25233de2c3c50d3dba27892b43b80df97c6094 /linden/indra/newview/llappviewer.cpp
parentSlider widgets can now be controlled with mouse wheel. (diff)
downloadmeta-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.cpp3
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
427static void settings_modify() 430static void settings_modify()