diff options
Diffstat (limited to 'include/vcl/spin.h')
-rw-r--r-- | include/vcl/spin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/spin.h b/include/vcl/spin.h index e4ce463db722..0f2f3eb20cb5 100644 --- a/include/vcl/spin.h +++ b/include/vcl/spin.h @@ -24,11 +24,19 @@ 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, 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, + bool bUpperIn, bool bLowerIn, bool bUpperEnabled = true, bool bLowerEnabled = true, + bool bHorz = false, bool bMirrorHorz = false); + #endif // INCLUDED_VCL_SPIN_H /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |