LibreOffice Module vcl (master) 1
|
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
#include <vcl/decoview.hxx>
#include <vcl/toolkit/spinfld.hxx>
#include <vcl/settings.hxx>
#include <vcl/uitest/uiobject.hxx>
#include <sal/log.hxx>
#include <spin.hxx>
#include <svdata.hxx>
Go to the source code of this file.
Functions | |
void | ImplDrawSpinButton (vcl::RenderContext &rRenderContext, vcl::Window *pWindow, const tools::Rectangle &rUpperRect, const tools::Rectangle &rLowerRect, bool bUpperIn, bool bLowerIn, bool bUpperEnabled, bool bLowerEnabled, bool bHorz, bool bMirrorHorz) |
void | ImplDrawUpDownButtons (vcl::RenderContext &rRenderContext, const tools::Rectangle &rUpperRect, const tools::Rectangle &rLowerRect, bool bUpperIn, bool bLowerIn, bool bUpperEnabled, bool bLowerEnabled, bool bHorz, bool bMirrorHorz) |
IMPL_LINK (SpinField, ImplTimeout, Timer *, pTimer, void) | |
Definition at line 961 of file spinfld.cxx.
References Down, MouseSettings::GetButtonStartRepeat(), and Up.
void ImplDrawSpinButton | ( | vcl::RenderContext & | rRenderContext, |
vcl::Window * | pWindow, | ||
const tools::Rectangle & | rUpperRect, | ||
const tools::Rectangle & | rLowerRect, | ||
bool | bUpperIn, | ||
bool | bLowerIn, | ||
bool | bUpperEnabled, | ||
bool | bLowerEnabled, | ||
bool | bHorz, | ||
bool | bMirrorHorz | ||
) |
Definition at line 156 of file spinfld.cxx.
References CURRENCYFIELD, DATEFIELD, EDIT, FORMATTEDFIELD, vcl::Window::GetType(), ImplDrawUpDownButtons(), METRICFIELD, MULTILINEEDIT, PATTERNFIELD, Spinbox, SpinButtons, SPINFIELD, and TIMEFIELD.
Referenced by SpinField::Draw(), and SpinField::Paint().
void ImplDrawUpDownButtons | ( | vcl::RenderContext & | rRenderContext, |
const tools::Rectangle & | rUpperRect, | ||
const tools::Rectangle & | rLowerRect, | ||
bool | bUpperIn, | ||
bool | bLowerIn, | ||
bool | bUpperEnabled, | ||
bool | bLowerEnabled, | ||
bool | bHorz, | ||
bool | bMirrorHorz | ||
) |
Definition at line 205 of file spinfld.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Disable, DecorationView::DrawButton(), DecorationView::DrawSymbol(), StyleSettings::GetButtonTextColor(), tools::Rectangle::GetHeight(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), tools::Rectangle::GetWidth(), NoLeftLightBorder, NONE, Pressed, SPIN_DOWN, SPIN_LEFT, SPIN_RIGHT, and SPIN_UP.
Referenced by ToolBox::ImplDrawSpin(), and ImplDrawSpinButton().