diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-06 12:51:15 +0900 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-07 09:57:49 +0200 |
commit | d8a53d46278ee6415d47aec8db90577b7bd52764 (patch) | |
tree | eb6e180e619ea93488034010d120f7fad70e5d15 /include | |
parent | f906d11632fe4958d76306586772eb9c931a2a6e (diff) |
Refactor "SpinField" & "SpinButton" - use RenderContext
Change-Id: I589f49179b446ae24037546075070641de5cb927
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/spin.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/vcl/spin.h b/include/vcl/spin.h index 98ac18b2fd6c..e4ce463db722 100644 --- a/include/vcl/spin.h +++ b/include/vcl/spin.h @@ -20,16 +20,14 @@ #ifndef INCLUDED_VCL_SPIN_H #define INCLUDED_VCL_SPIN_H +#include <vcl/window.hxx> + class Rectangle; -class OutputDevice; -void ImplDrawSpinButton( OutputDevice* pOutDev, - const Rectangle& rUpperRect, - const Rectangle& rLowerRect, - bool bUpperIn, bool bLowerIn, - bool bUpperEnabled = sal_True, - bool bLowerEnabled = sal_True, - bool bHorz = sal_False, bool bMirrorHorz = sal_False ); +void ImplDrawSpinButton(vcl::RenderContext& rRenderContext, vcl::Window* pWindow, + const Rectangle& rUpperRect, const Rectangle& rLowerRect, + bool bUpperIn, bool bLowerIn, bool bUpperEnabled = true, bool bLowerEnabled = true, + bool bHorz = false, bool bMirrorHorz = false); #endif // INCLUDED_VCL_SPIN_H |