diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-01-08 17:29:30 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-01-08 17:29:30 +0100 |
commit | 381b25700787c4530dc28f548a38d224c074bd12 (patch) | |
tree | cb2e069df15c8fd1b315d6555589c8653419caf0 /vcl/source/window/window3.cxx | |
parent | 51d977e00c8481d89cb682a05536e88cdf2fffa4 (diff) |
vcl109: #i33688# NWF slider implementation (mac)
Diffstat (limited to 'vcl/source/window/window3.cxx')
-rw-r--r-- | vcl/source/window/window3.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/window/window3.cxx b/vcl/source/window/window3.cxx index 4c875c24fc25..e1adbb729130 100644 --- a/vcl/source/window/window3.cxx +++ b/vcl/source/window/window3.cxx @@ -107,6 +107,12 @@ void Window::ImplMoveControlValue( ControlType nType, const ImplControlValue& aV { switch( nType ) { + case CTRL_SLIDER: + { + SliderValue* pSlVal = reinterpret_cast<SliderValue*>(aValue.getOptionalVal()); + pSlVal->maThumbRect.Move( rDelta.X(), rDelta.Y() ); + } + break; case CTRL_SCROLLBAR: { ScrollbarValue* pScVal = reinterpret_cast<ScrollbarValue*>(aValue.getOptionalVal()); |