59 assert(
typeid(
const SliderValue ) ==
typeid( *
this ));
77 assert(
typeid(
const TabitemValue ) ==
typeid( *
this ));
97 assert(
typeid(
const ToolbarValue ) ==
typeid( *
this ));
107 assert(
typeid(
const MenubarValue ) ==
typeid( *
this ));
150 bool& rIsInside )
const
161 screenRegion.
Move( aWinOffs.
X(), aWinOffs.
Y());
169 std::unique_ptr< ImplControlValue > aResult;
176 aResult.reset( pNew );
184 aResult.reset( pNew );
194 aResult.reset( pNew );
203 aResult.reset( pNew );
221 aResult.reset( pNew );
228 aResult.reset( pNew );
235 aResult.reset( pNew );
239 aResult = std::make_unique<ImplControlValue>( rVal );
246 aResult.reset( pNew );
260 const OUString& aCaption,
261 const Color& rBackgroundColor )
314 rNativeBoundingRegion,
315 rNativeContentRegion, *
this );
ControlType getType() const
virtual ImplControlValue * clone() const
virtual ~ImplControlValue()
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
virtual void InitClipRegion()
SAL_DLLPRIVATE bool is_double_buffered_window() const
tools::Long mnOutOffY
Output offset for device output in pixel (pseudo window offset within window system's frames)
virtual bool CanEnableNativeWidget() const
Determine if native widgets can be enabled.
SAL_DLLPRIVATE void InitLineColor()
SAL_DLLPRIVATE tools::Rectangle ImplLogicToDevicePixel(const tools::Rectangle &rLogicRect) const
Convert a logical rectangle to a rectangle in physical device pixel units.
virtual bool AcquireGraphics() const =0
Acquire a graphics device that the output device uses to draw on.
tools::Long mnOutOffX
Output offset for device output in pixel (pseudo window offset within window system's frames)
SAL_DLLPRIVATE void InitFillColor()
SalGraphics * mpGraphics
Graphics context to draw on.
SAL_DLLPRIVATE tools::Rectangle ImplDevicePixelToLogic(const tools::Rectangle &rPixelRect) const
Convert a rectangle in physical pixel units to a rectangle in physical pixel units and coords.
bool HitTestNativeScrollbar(ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside) const
Query the native control to determine if it was acted upon.
bool GetNativeControlRegion(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
Query the native control's actual drawing region (including adornment)
bool DrawNativeControl(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const Color &rBackgroundColor=COL_AUTO)
Request rendering of a particular control and/or part.
bool IsNativeControlSupported(ControlType nType, ControlPart nPart) const
Query the platform layer for control support.
constexpr tools::Long Y() const
constexpr tools::Long X() const
bool DrawNativeControl(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const OutputDevice &rOutDev, const Color &rBackgroundColor=COL_AUTO)
bool GetNativeControlRegion(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion, const OutputDevice &rOutDev)
bool IsNativeControlSupported(ControlType, ControlPart)
bool HitTestNativeScrollbar(ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside, const OutputDevice &rOutDev)
virtual SliderValue * clone() const override
tools::Rectangle maThumbRect
virtual ~SliderValue() override
tools::Rectangle m_aTabHeaderRect
TabPaneValue(const tools::Rectangle &rTabHeaderRect, const tools::Rectangle &rSelectedTabRect)
tools::Rectangle m_aSelectedTabRect
TabPaneValue * clone() const override
tools::Rectangle maContentRect
virtual ~TabitemValue() override
TabitemValue(const tools::Rectangle &rContentRect)
virtual TabitemValue * clone() const override
static std::unique_ptr< ImplControlValue > TransformControlValue(const ImplControlValue &rVal, const OutputDevice &rDev)