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