22#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23#error "don't use this in new code"
26#include <config_options.h>
42 bool mbInitialDown : 1;
44 bool mbUpperIsFocused : 1;
51 using Window::ImplInit;
61 virtual void Resize()
override;
73 tools::Long GetRangeMin()
const {
return mnMinRange; }
75 tools::Long GetRangeMax()
const {
return mnMaxRange; }
76 void SetRange(
const Range& rRange );
79 void SetValueStep(
tools::Long nNewStep ) { mnValueStep = nNewStep; }
80 tools::Long GetValueStep()
const {
return mnValueStep; }
85 SAL_DLLPRIVATE
bool ImplMoveFocus(
bool _bUpper );
86 SAL_DLLPRIVATE
void ImplCalcFocusRect(
bool _bUpper );
88 SAL_DLLPRIVATE
bool ImplIsUpperEnabled( )
const
90 return mnValue + mnValueStep <= mnMaxRange;
92 SAL_DLLPRIVATE
bool ImplIsLowerEnabled( )
const
94 return mnValue >= mnMinRange + mnValueStep;
An auto-timer is a multi-shot timer re-emitting itself at interval until destroyed or stopped.
virtual void StateChanged(StateChangedType nStateChange) override
virtual void Resize() override
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
virtual void MouseButtonDown(const MouseEvent &rMEvt)
virtual void MouseButtonUp(const MouseEvent &rMEvt)
virtual void KeyInput(const KeyEvent &rKEvt)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual bool PreNotify(NotifyEvent &rNEvt)
virtual void MouseMove(const MouseEvent &rMEvt)
virtual void Draw(::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags)
SAL_DLLPRIVATE void ImplInit(vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
DECL_DLLPRIVATE_LINK(ImplHandlePaintHdl, Timer *, void)
virtual void SetValue(tools::Long nNew) override