diff options
Diffstat (limited to 'vcl/inc/spin.hxx')
-rw-r--r-- | vcl/inc/spin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/spin.hxx b/vcl/inc/spin.hxx index 4961ebd7efa9..7b7fbe11bd40 100644 --- a/vcl/inc/spin.hxx +++ b/vcl/inc/spin.hxx @@ -22,18 +22,18 @@ #include <vcl/window.hxx> -class Rectangle; +namespace tools { class Rectangle; } // Draw Spinners as found in a SpinButton. Some themes like gtk3 will draw +- elements here, // so these are only suitable in the context of SpinButtons void ImplDrawSpinButton(vcl::RenderContext& rRenderContext, vcl::Window* pWindow, - const Rectangle& rUpperRect, const Rectangle& rLowerRect, + const tools::Rectangle& rUpperRect, const tools::Rectangle& rLowerRect, bool bUpperIn, bool bLowerIn, bool bUpperEnabled = true, bool bLowerEnabled = true, bool bHorz = false, bool bMirrorHorz = false); // Draw Up/Down buttons suitable for use in any context void ImplDrawUpDownButtons(vcl::RenderContext& rRenderContext, - const Rectangle& rUpperRect, const Rectangle& rLowerRect, + const tools::Rectangle& rUpperRect, const tools::Rectangle& rLowerRect, bool bUpperIn, bool bLowerIn, bool bUpperEnabled, bool bLowerEnabled, bool bHorz, bool bMirrorHorz = false); |