33 Window::ImplInit( pParent, nStyle,
nullptr );
116 Window::StateChanged(
nType );
120 if (
GetSettings().GetStyleSettings().GetAutoMnemonic())
134 Window::DataChanged( rDCEvt );
161 aControlValue, OUString() );
199 Window::SetPosSizePixel(rAllocPos, rAllocation);
206 Window::SetSizePixel(rAllocation);
213 Window::SetPosPixel(rAllocPos);
228 Scroll(nXScroll, nYScroll, aScrollableArea );
236 aPos +=
Point( nXScroll, nYScroll );
244 sal_uInt16
nPos =
static_cast<sal_uInt16
>(pSB->GetThumbPos());
245 if( pSB == m_pVScroll.get() )
246 lcl_Scroll(mnScrollPos.X(),
nPos );
247 else if( pSB == m_pHScroll.get() )
248 lcl_Scroll(
nPos, mnScrollPos.Y() );
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
Gets the application's settings.
DataChangedEventType GetType() const
AllSettingsFlags GetFlags() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
void DrawBitmapEx(const Point &rDestPt, const BitmapEx &rBitmapEx)
void DrawRect(const tools::Rectangle &rRect)
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
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.
constexpr tools::Long Y() const
constexpr tools::Long X() const
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
sal_Int32 GetScrollBarSize() const
virtual void StateChanged(StateChangedType nStateChange) override
SAL_DLLPRIVATE void ImplInit(vcl::Window *pParent, WinBits nStyle)
virtual void SetPosSizePixel(const Point &rNewPos, const Size &rNewSize) override
virtual Size GetOptimalSize() const override
virtual void SetSizePixel(const Size &rNewSize) override
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
VclPtr< ScrollBar > m_pVScroll
VclPtr< ScrollBar > m_pHScroll
virtual void Resize() override
void SetScrollLeft(tools::Long nLeft)
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
void SetScrollTop(tools::Long Top)
void SetScrollWidth(tools::Long nWidth)
SAL_DLLPRIVATE void ImplInitSettings()
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual void Draw(OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags) override
TabPage(vcl::Window *pParent, WinBits nStyle=0)
virtual void SetPosPixel(const Point &rNewPos) override
virtual ~TabPage() override
void SetScrollHeight(tools::Long nHeight)
void lcl_Scroll(tools::Long nX, tools::Long nY)
static void setLayoutAllocation(vcl::Window &rWindow, const Point &rPos, const Size &rSize)
static Size getLayoutRequisition(const vcl::Window &rWindow)
A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for refer...
void set(reference_type *pBody)
reference_type * get() const
Get the body.
const BitmapEx & GetBitmap() const
const Color & GetColor() const
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
const Wallpaper & GetBackground() const
void SetStyle(WinBits nStyle)
vcl::Window * GetParent() const
sal_uInt16 GetChildCount() const
WindowType GetType() const
vcl::Window * GetWindow(GetWindowType nType) const
void SetParentClipMode(ParentClipMode nMode=ParentClipMode::NONE)
bool IsChildTransparentModeEnabled() const
virtual Point GetPosPixel() const
const AllSettings & GetSettings() const
void Show(bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
bool IsNativeControlSupported(ControlType nType, ControlPart nPart) const
Query the platform layer for control support.
virtual void Scroll(tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
virtual Size GetSizePixel() const
Size GetOutputSizePixel() const
bool IsControlBackground() const
const Color & GetControlBackground() const
void SetPaintTransparent(bool bTransparent)
virtual void ImplAdjustNWFSizes()
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
virtual void SetPosPixel(const Point &rNewPos)
virtual void SetPosSizePixel(const Point &rNewPos, const Size &rNewSize)
vcl::Window * GetChild(sal_uInt16 nChild) const
void EnableChildTransparentMode(bool bEnable=true)
constexpr ::Color COL_AUTO(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
void GenerateAutoMnemonicsOnHierarchy(const vcl::Window *pWindow)
bool isLayoutEnabled(const vcl::Window *pWindow)
Size getLegacyBestSizeForChildren(const vcl::Window &rWindow)
#define LINK(Instance, Class, Member)
IMPL_LINK(TabPage, ScrollBarHdl, ScrollBar *, pSB, void)
WinBits const WB_DIALOGCONTROL
WinBits const WB_AUTOVSCROLL
WinBits const WB_AUTOHSCROLL
WinBits const WB_NODIALOGCONTROL
WinBits const WB_CLIPCHILDREN