40#define MIN_CAPTION_HEIGHT 18
147 pData->mnTitleHeight = 0;
151 const StyleSettings& rStyleSettings =
pData->mpOutDev->GetSettings().GetStyleSettings();
168 if (nTextHeight >
pData->mnTitleHeight)
169 pData->mnTitleHeight = nTextHeight;
178 if (
pData->maTitleRect.Contains( rPos ) )
180 if (
pData->maCloseRect.Contains( rPos ) )
182 else if (
pData->maMenuRect.Contains( rPos ) )
184 else if (
pData->maDockRect.Contains( rPos ) )
186 else if (
pData->maHideRect.Contains( rPos ) )
188 else if (
pData->maHelpRect.Contains( rPos ) )
197 if ( nSizeWidth < 16 )
205 if ( rPos.
X() <
pData->mnLeftBorder )
207 if ( rPos.
Y() < nSizeWidth )
209 else if ( rPos.
Y() >=
pData->mnHeight-nSizeWidth )
214 else if ( rPos.
X() >=
pData->mnWidth-
pData->mnRightBorder )
216 if ( rPos.
Y() < nSizeWidth )
218 else if ( rPos.
Y() >=
pData->mnHeight-nSizeWidth )
223 else if ( rPos.
Y() <
pData->mnNoTitleTop )
225 if ( rPos.
X() < nSizeWidth )
227 else if ( rPos.
X() >=
pData->mnWidth-nSizeWidth )
232 else if ( rPos.
Y() >=
pData->mnHeight-
pData->mnBottomBorder )
234 if ( rPos.
X() < nSizeWidth )
236 else if ( rPos.
X() >=
pData->mnWidth-nSizeWidth )
279 pData->mpBorderWindow->SetPointer( ePtrStyle );
281 if(
pData->mnCloseState != oldCloseState )
282 pData->mpBorderWindow->Invalidate(
pData->maCloseRect );
283 if(
pData->mnMenuState != oldMenuState )
284 pData->mpBorderWindow->Invalidate(
pData->maMenuRect );
298 pHelpId = SV_HELPTEXT_CLOSE;
299 rHelpRect =
pData->maCloseRect;
303 pHelpId = SV_HELPTEXT_MAXIMIZE;
304 rHelpRect =
pData->maDockRect;
308 pHelpId = SV_HELPTEXT_MINIMIZE;
309 rHelpRect =
pData->maHideRect;
313 pHelpId = SV_HELPTEXT_HELP;
314 rHelpRect =
pData->maHelpRect;
318 if( !
pData->maTitleRect.IsEmpty() )
321 if(
pData->mbTitleClipped )
323 rHelpRect =
pData->maTitleRect;
325 aHelpStr =
pData->mpBorderWindow->GetText();
340 if ( !
pData->mnTitleHeight )
345 nTitleWidth +=
pData->maCloseRect.GetWidth();
346 nTitleWidth +=
pData->maDockRect.GetWidth();
347 nTitleWidth +=
pData->maMenuRect.GetWidth();
348 nTitleWidth +=
pData->maHideRect.GetWidth();
349 nTitleWidth +=
pData->maHelpRect.GetWidth();
350 nTitleWidth +=
pData->mnLeftBorder+
pData->mnRightBorder;
364 sal_Int32& rRightBorder, sal_Int32& rBottomBorder )
const
382 : mpBorderWindow(pBorderWindow)
439 pSubEdit =
static_cast<Edit*
>(pCtrl)->GetSubEdit();
452 pSubEdit =
static_cast<Edit*
>(pCtrl)->GetSubEdit();
472 pSubEdit =
static_cast<Edit*
>(pCtrl)->GetSubEdit();
488 aBounds, aContent ) )
518 if( pCompoundParent )
523 if( ! pCompoundParent )
579 sal_Int32& rRightBorder, sal_Int32& rBottomBorder )
const
598 bool bNativeOK =
false;
700 aBoundingRgn, aContentRgn))
702 aCtrlRegion=aContentRgn;
708 bNativeOK = rRenderContext.
DrawNativeControl(aCtrlType, aCtrlPart, aCtrlRegion,
nState, aControlValue, OUString(), aBackgroundColor);
714 Edit* pEdit =
static_cast<Edit*
>(pCtrl)->GetSubEdit();
742 aDecoView.
DrawFrame(aInRect, nStyle, nFlags);
780 bool bTracking =
true;
781 bool bHitTest =
true;
1127 if ( nMinWidth2 > nMinWidth )
1128 nMinWidth = nMinWidth2;
1132 if ( aNewRect.
GetWidth() < nMinWidth )
1134 else if ( aNewRect.
GetWidth() > nMaxWidth )
1140 if ( aNewRect.
GetWidth() < nMinWidth )
1142 else if ( aNewRect.
GetWidth() > nMaxWidth )
1148 if ( aNewRect.
GetHeight() < nMinHeight )
1150 else if ( aNewRect.
GetHeight() > nMaxHeight )
1156 if ( aNewRect.
GetHeight() < nMinHeight )
1158 else if ( aNewRect.
GetHeight() > nMaxHeight )
1172 if ( aSize.
Width() < nMinWidth )
1174 if ( aSize.
Height() < nMinHeight )
1176 if ( aSize.
Width() > nMaxWidth )
1178 if ( aSize.
Height() > nMaxHeight )
1193 if( aOldPos != aNewRect.
TopLeft() )
1241 pData->mpOutDev = pDev;
1242 pData->mnWidth = nWidth;
1243 pData->mnHeight = nHeight;
1248 pData->mnBorderSize = 0;
1250 pData->mnBorderSize = 0;
1254 pData->mnTopBorder = aCalcRect.
Top();
1260 pData->mnBottomBorder +=
pData->mnBorderSize;
1264 if (
pData->mnTitleHeight)
1275 pData->maTitleRect.SetLeft(
pData->mnLeftBorder );
1276 pData->maTitleRect.SetRight( nWidth-
pData->mnRightBorder-1 );
1277 pData->maTitleRect.SetTop(
pData->mnTopBorder );
1278 pData->maTitleRect.SetBottom(
pData->maTitleRect.Top()+
pData->mnTitleHeight-1 );
1286 auto addSquareOnRight = [&nRight, nItemTop, nItemBottom](
1289 rect.SetTop( nItemTop );
1290 rect.SetBottom( nItemBottom );
1291 rect.SetRight( nRight );
1292 rect.SetLeft( rect.Right() - rect.GetHeight() + 1 );
1293 nRight -= rect.GetWidth() + gap;
1298 addSquareOnRight(
pData->maCloseRect, 3);
1303 addSquareOnRight(
pData->maMenuRect, 0);
1308 addSquareOnRight(
pData->maDockRect, 0);
1313 addSquareOnRight(
pData->maHideRect, 0);
1318 pData->maCloseRect.SetEmpty();
1319 pData->maDockRect.SetEmpty();
1320 pData->maMenuRect.SetEmpty();
1321 pData->maHideRect.SetEmpty();
1322 pData->maHelpRect.SetEmpty();
1329 pData->maTitleRect.SetEmpty();
1330 pData->maCloseRect.SetEmpty();
1331 pData->maDockRect.SetEmpty();
1332 pData->maMenuRect.SetEmpty();
1333 pData->maHideRect.SetEmpty();
1334 pData->maHelpRect.SetEmpty();
1339 sal_Int32& rRightBorder, sal_Int32& rBottomBorder )
const
1356 Point aTmpPoint = pOffset ? *pOffset :
Point();
1360 Color aFrameColor(aFaceColor);
1378 aItemClipRect.
SetPos(
pData->mpBorderWindow->AbsoluteScreenToOutputPixel(aItemClipRect.
TopLeft()));
1379 aClipRgn.
Exclude(aItemClipRect);
1415 if (!
pData->maTitleRect.IsEmpty())
1417 aInRect =
pData->maTitleRect;
1430 aTitleRect.
Move(pOffset->
X(), pOffset->
Y());
1431 rRenderContext.
DrawRect(aTitleRect);
1438 if (!
pData->maHelpRect.IsEmpty())
1440 else if (!
pData->maHideRect.IsEmpty())
1442 else if (!
pData->maDockRect.IsEmpty())
1444 else if (!
pData->maMenuRect.IsEmpty())
1446 else if (!
pData->maCloseRect.IsEmpty())
1450 aInRect.
Move(pOffset->
X(), pOffset->
Y());
1459 rRenderContext.
DrawText(aInRect, pBorderWindow->
GetText(), nTextStyle);
1468 if (!
pData->maCloseRect.IsEmpty())
1472 aSymbolRect.
Move(pOffset->
X(), pOffset->
Y());
1475 if (!
pData->maDockRect.IsEmpty())
1479 aSymbolRect.
Move(pOffset->
X(), pOffset->
Y());
1482 if (!
pData->maMenuRect.IsEmpty())
1486 aSymbolRect.
Move(pOffset->
X(), pOffset->
Y());
1489 if (!
pData->maHideRect.IsEmpty())
1493 aSymbolRect.
Move(pOffset->
X(), pOffset->
Y());
1497 if (!
pData->maHelpRect.IsEmpty())
1501 aSymbolRect.
Move(pOffset->
X(), pOffset->
Y());
1516 nStyle &= nTestStyle;
1557 Window::ImplInit( pParent, nStyle, pSystemParentData );
1586 ImplInit( pParent, nStyle, nTypeStyle, pSystemParentData );
1593 ImplInit( pParent, nStyle, nTypeStyle,
nullptr );
1651 Window::Deactivate();
1661 OUString aHelpStr(
mpBorderView->RequestHelp( aMousePosPixel, aHelpRect ) );
1664 if ( !aHelpStr.isEmpty() )
1675 Window::RequestHelp( rHEvt );
1684 sal_Int32 nLeftBorder;
1685 sal_Int32 nTopBorder;
1686 sal_Int32 nRightBorder;
1687 sal_Int32 nBottomBorder;
1688 mpBorderView->GetBorder( nLeftBorder, nTopBorder, nRightBorder, nBottomBorder );
1705 nLeftBorder, nTopBorder,
1706 aSize.
Width()-nLeftBorder-nRightBorder,
1710 nTopBorder += nMenuHeight;
1726 Size(aSize.
Width() - nLeftBorder - nRightBorder,
1727 nNotebookBarHeight + nTopBorder)));
1732 nLeftBorder, nTopBorder,
1733 aSize.
Width() - nLeftBorder - nRightBorder,
1734 nNotebookBarHeight);
1762 Window::StateChanged(
nType );
1776 Window::DataChanged( rDCEvt );
1800 sal_Int32 nLeftBorder;
1801 sal_Int32 nTopBorder;
1802 sal_Int32 nRightBorder;
1803 sal_Int32 nBottomBorder;
1805 Size aOutputSize = rNewOutSize;
1814 Size aSize = aOutputSize;
1815 mpBorderView->GetBorder( nLeftBorder, nTopBorder, nRightBorder, nBottomBorder );
1822 if ( pClientWindow )
1827 GetBorder( nLeftBorder, nTopBorder, nRightBorder, nBottomBorder );
1830 aOutputSize.
AdjustWidth(nLeftBorder+nRightBorder );
1845 sal_Int32 nLeftBorder;
1846 sal_Int32 nTopBorder;
1847 sal_Int32 nRightBorder;
1848 sal_Int32 nBottomBorder;
1849 mpBorderView->GetBorder( nLeftBorder, nTopBorder, nRightBorder, nBottomBorder );
1850 if ( !(nLeftBorder || nTopBorder || nRightBorder || nBottomBorder) )
1860 if ( (aWinRect.
Right() < aWinRect.
Left()) ||
1947 const css::uno::Reference<css::frame::XFrame>& rFrame,
1953 aNotebookBarAddonsItem);
1966 sal_Int32& rRightBorder, sal_Int32& rBottomBorder )
const
1968 mpBorderView->GetBorder(rLeftBorder, rTopBorder, rRightBorder, rBottomBorder);
static void ImplDrawBrdWinSymbolButton(vcl::RenderContext *pDev, const tools::Rectangle &rRect, SymbolType eSymbol, DrawButtonFlags nState)
static void ImplDrawBrdWinSymbol(vcl::RenderContext *pDev, const tools::Rectangle &rRect, SymbolType eSymbol)
#define MIN_CAPTION_HEIGHT
const StyleSettings & GetStyleSettings() const
void DecreaseContrast(sal_uInt8 cContDec)
DataChangedEventType GetType() const
AllSettingsFlags GetFlags() const
tools::Rectangle DrawButton(const tools::Rectangle &rRect, DrawButtonFlags nStyle)
void DrawSymbol(const tools::Rectangle &rRect, SymbolType eType, const Color &rColor, DrawSymbolFlags nStyle=DrawSymbolFlags::NONE)
void DrawFrame(const tools::Rectangle &rRect, const Color &rLeftTopColor, const Color &rRightBottomColor)
SAL_DLLPRIVATE tools::Rectangle ImplGetItemEdgeClipRect() const
bool IsInPopupMode() const
HelpEventMode GetMode() const
bool KeyboardActivated() const
const Point & GetMousePosPixel() const
static void ShowQuickHelp(vcl::Window *pParent, const tools::Rectangle &rScreenRect, const OUString &rHelpText, QuickHelpFlags nStyle=QuickHelpFlags::NONE)
static void ShowBalloon(vcl::Window *pParent, const Point &rScreenPos, const tools::Rectangle &, const OUString &rHelpText)
static void ImplInitTitle(ImplBorderFrameData *pData)
virtual bool MouseButtonDown(const MouseEvent &rMEvt)
static tools::Long ImplCalcTitleWidth(const ImplBorderFrameData *pData)
static void ImplMouseMove(ImplBorderFrameData *pData, const MouseEvent &rMEvt)
virtual bool MouseMove(const MouseEvent &rMEvt)
virtual tools::Rectangle GetMenuRect() const
virtual bool Tracking(const TrackingEvent &rTEvt)
static OUString ImplRequestHelp(ImplBorderFrameData const *pData, const Point &rPos, tools::Rectangle &rHelpRect)
virtual ~ImplBorderWindowView()
static BorderWindowHitTest ImplHitTest(ImplBorderFrameData const *pData, const Point &rPos)
virtual OUString RequestHelp(const Point &rPos, tools::Rectangle &rHelpRect)
BorderWindowTitleType mnTitleType
void SetNotebookBar(const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame, const NotebookBarAddonsItem &aNotebookBarAddonsItem)
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
void ImplInit(vcl::Window *pParent, WinBits nStyle, BorderWindowStyle nTypeStyle, SystemParentData *pParentData)
tools::Long CalcTitleWidth() const
void SetDockButton(bool bDockButton)
virtual ~ImplBorderWindow() override
std::unique_ptr< ImplBorderWindowView > mpBorderView
void UpdateView(bool bNewView, const Size &rNewOutSize)
void SetMenuBarWindow(vcl::Window *pWindow)
void SetHideButton(bool bHideButton)
virtual void MouseMove(const MouseEvent &rMEvt) override
ImplBorderWindow(const ImplBorderWindow &)=delete
virtual void Activate() override
VclPtr< NotebookBar > mpNotebookBar
void SetDisplayActive(bool bActive)
VclPtr< vcl::Window > mpMenuBarWindow
tools::Rectangle GetMenuRect() const
virtual void queue_resize(StateChangedType eReason=StateChangedType::Layout) override
void Draw(OutputDevice *pDev, const Point &rPos)
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
void SetMenuButton(bool bMenuButton)
virtual void Resize() override
friend class ImplSmallBorderWindowView
WindowBorderStyle mnBorderStyle
virtual void RequestHelp(const HelpEvent &rHEvt) override
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
void SetMenuBarMode(bool bHide)
void SetBorderStyle(WindowBorderStyle nStyle)
virtual void StateChanged(StateChangedType nType) override
void GetBorder(sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const
WindowBorderStyle GetBorderStyle() const
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
friend class ImplStdBorderWindowView
void SetTitleType(BorderWindowTitleType nTitleType, const Size &rSize)
virtual void Tracking(const TrackingEvent &rTEvt) override
virtual void Deactivate() override
tools::Long mnOrgMenuHeight
virtual Size GetOptimalSize() const override
virtual void Init(OutputDevice *pDev, tools::Long nWidth, tools::Long nHeight) override
virtual void GetBorder(sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const override
virtual void DrawWindow(vcl::RenderContext &rRenderContext, const Point *pOffset=nullptr) override
virtual tools::Long CalcTitleWidth() const override
virtual void GetBorder(sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const override
VclPtr< ImplBorderWindow > mpBorderWindow
virtual void Init(OutputDevice *pOutDev, tools::Long nWidth, tools::Long nHeight) override
ImplSmallBorderWindowView(ImplBorderWindow *pBorderWindow)
virtual void DrawWindow(vcl::RenderContext &rRenderContext, const Point *pOffset=nullptr) override
VclPtr< OutputDevice > mpOutDev
virtual tools::Long CalcTitleWidth() const override
virtual tools::Rectangle GetMenuRect() const override
virtual ~ImplStdBorderWindowView() override
virtual void Init(OutputDevice *pDev, tools::Long nWidth, tools::Long nHeight) override
virtual tools::Long CalcTitleWidth() const override
virtual void GetBorder(sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const override
virtual OUString RequestHelp(const Point &rPos, tools::Rectangle &rHelpRect) override
ImplStdBorderWindowView(ImplBorderWindow *pBorderWindow)
virtual bool Tracking(const TrackingEvent &rTEvt) override
virtual bool MouseMove(const MouseEvent &rMEvt) override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
virtual void DrawWindow(vcl::RenderContext &rRenderContext, const Point *pOffset=nullptr) override
ImplBorderFrameData maFrameData
bool IsLeaveWindow() const
sal_uInt16 GetClicks() const
const Point & GetPosPixel() const
virtual void setPosSizePixel(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
vcl::Region GetClipRegion() const
void DrawRect(const tools::Rectangle &rRect)
void SetTextColor(const Color &rColor)
tools::Rectangle GetTextRect(const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const
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.
void DrawText(const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, std::vector< tools::Rectangle > *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
const AllSettings & GetSettings() const
virtual vcl::Window * GetOwnerWindow() const
Get the vcl::Window that this OutputDevice belongs to, if any.
constexpr tools::Long Y() const
tools::Long AdjustY(tools::Long nVertMove)
tools::Long AdjustX(tools::Long nHorzMove)
constexpr tools::Long X() const
constexpr tools::Long Height() const
tools::Long AdjustHeight(tools::Long n)
void setWidth(tools::Long nWidth)
tools::Long AdjustWidth(tools::Long n)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
BitmapEx const & GetPersonaHeader() const
sal_Int32 GetTitleHeight() const
const Color & GetWindowColor() const
const vcl::Font & GetFloatTitleFont() const
static sal_Int32 GetBorderSize()
Color GetFaceGradientColor() const
sal_Int32 GetFloatTitleHeight() const
const Color & GetFaceColor() const
const vcl::Font & GetTitleFont() const
const Color & GetButtonTextColor() const
virtual void TitleButtonClick(TitleButton nButton)
bool IsTrackingEnded() const
bool IsTrackingCanceled() const
const MouseEvent & GetMouseEvent() const
reference_type * get() const
Get the body.
static VclPtr< reference_type > Create(Arg &&... arg)
A construction helper for VclPtr.
void SetRect(const tools::Rectangle &rRect)
void SetStyle(WallpaperStyle eStyle)
void Exclude(const tools::Rectangle &rRegion)
Point OutputToScreenPixel(const Point &rPos) const
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
tools::Long GetTextWidth(const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
Width of the text.
void SetStyle(WinBits nStyle)
SAL_DLLPRIVATE void ImplPosSizeWindow(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
SAL_DLLPRIVATE void ImplUpdateAll()
bool IsReallyVisible() const
void StartTracking(StartTrackingFlags nFlags=StartTrackingFlags::NONE)
vcl::Window * GetParent() const
ActivateModeFlags GetActivateMode() const
bool HasChildPathFocus(bool bSystemWindow=false) const
WindowType GetType() const
bool SupportsDoubleBuffering() const
Can the widget derived from this Window do the double-buffering via RenderContext properly?
virtual void SetSizePixel(const Size &rNewSize)
vcl::Window * GetWindow(GetWindowType nType) const
virtual void queue_resize(StateChangedType eReason=StateChangedType::Layout)
bool IsCompoundControl() const
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)
virtual Point GetPosPixel() const
tools::Long GetTextHeight() const
Height where any character of the current font fits; in logic coordinates.
const AllSettings & GetSettings() const
void Show(bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
void ShowTracking(const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small)
bool IsNativeControlSupported(ControlType nType, ControlPart nPart) const
Query the platform layer for control support.
::OutputDevice const * GetOutDev() const
virtual void setPosSizePixel(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All)
Color GetBackgroundColor() const
virtual Size GetOptimalSize() const
std::unique_ptr< WindowImpl > mpWindowImpl
bool IsSystemWindow() const
virtual Size GetSizePixel() const
Size GetOutputSizePixel() const
bool IsControlBackground() const
void DrawSelectionBackground(const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder)
virtual void SetPointer(PointerStyle)
void SetPointFont(vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
SAL_DLLPRIVATE bool ImplIsFloatingWindow() const
void SetPaintTransparent(bool bTransparent)
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
virtual void SetPosPixel(const Point &rNewPos)
virtual OUString GetText() const
static SAL_DLLPRIVATE void ImplCalcSymbolRect(tools::Rectangle &rRect)
vcl::Window * ImplGetWindow() const
if this is a proxy return the client, otherwise itself
Point ScreenToOutputPixel(const Point &rPos) const
virtual void SetPosSizePixel(const Point &rNewPos, const Size &rNewSize)
SAL_DLLPRIVATE vcl::Window * ImplGetClientWindow() const
SAL_DLLPRIVATE vcl::Window * ImplGetFrameWindow() const
constexpr ::Color COL_AUTO(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
std::unique_ptr< sal_Int32[]> pData
DrawButtonFlags mnMenuState
tools::Rectangle maHelpRect
BorderWindowHitTest mnHitTest
DrawButtonFlags mnCloseState
tools::Long mnTrackHeight
DrawButtonFlags mnHideState
tools::Long mnTitleHeight
DrawButtonFlags mnDockState
VclPtr< ImplBorderWindow > mpBorderWindow
tools::Rectangle maHideRect
tools::Rectangle maCloseRect
tools::Rectangle maDockRect
DrawButtonFlags mnHelpState
tools::Rectangle maMenuRect
bool mbNoFrameJunctionForPopups
ImplSVData * ImplGetSVData()
OUString VclResId(TranslateId aId)
@ NoChildren
The child windows are not invalidated.
WinBits const WB_CLOSEABLE
WinBits const WB_MOVEABLE
WinBits const WB_DIALOGCONTROL
WinBits const WB_OWNERDRAWDECORATION
WinBits const WB_DROPDOWN
WinBits const WB_SYSTEMCHILDWINDOW
WinBits const WB_SIZEABLE
WinBits const WB_DEFAULTWIN
WinBits const WB_SYSTEMFLOATWIN
WinBits const WB_INTROWIN
WinBits const WB_NODIALOGCONTROL
WinBits const WB_STANDALONE
WinBits const WB_TOOLTIPWIN
WinBits const WB_NOBORDER
WinBits const WB_NOSHADOW