LibreOffice Module vcl (master)  1
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at .
18  */
23 #include <sal/config.h>
25 #include <tools/fract.hxx>
26 #include <vcl/commandevent.hxx>
27 #include <vcl/idle.hxx>
28 #include <vcl/inputctx.hxx>
29 #include <vcl/window.hxx>
30 #include <vcl/settings.hxx>
31 #include <o3tl/deleter.hxx>
32 #include <o3tl/typed_flags_set.hxx>
34 #include <optional>
35 #include <list>
36 #include <memory>
37 #include <vector>
38 #include <set>
40 class FixedText;
41 class VclSizeGroup;
42 class VirtualDevice;
44 class ImplFontCache;
45 class VCLXWindow;
46 class WindowStateData;
47 class SalFrame;
48 class SalObject;
49 enum class MouseEventModifiers;
50 enum class MouseNotifyEvent;
51 enum class ActivateModeFlags;
52 enum class DialogControlFlags;
53 enum class GetFocusFlags;
54 enum class ParentClipMode;
55 enum class SalEvent;
57 namespace com::sun::star {
58  namespace accessibility {
59  class XAccessible;
60  class XAccessibleContext;
61  class XAccessibleEditableText;
62  }
64  namespace awt {
65  class XWindowPeer;
66  class XWindow;
67  }
68  namespace uno {
69  class Any;
70  class XInterface;
71  }
72  namespace datatransfer {
73  namespace clipboard {
74  class XClipboard;
75  }
76  namespace dnd {
77  class XDropTargetListener;
78  class XDragGestureRecognizer;
79  class XDragSource;
80  class XDropTarget;
81  }
82  }
83 }
87 //return true if this window and its stack of containers are all shown
88 bool isVisibleInLayout(const vcl::Window *pWindow);
90 //return true if this window and its stack of containers are all enabled
91 bool isEnabledInLayout(const vcl::Window *pWindow);
93 bool ImplWindowFrameProc( vcl::Window* pInst, SalEvent nEvent, const void* pEvent );
96 {
97  std::optional<OUString>
99  std::unique_ptr<ExtTextInputAttr[]>
101  std::optional<tools::Rectangle>
105  std::unique_ptr<tools::Rectangle[]>
108  std::optional<tools::Rectangle>
110  std::optional<tools::Rectangle>
113  sal_uInt16 mnIsTopWindow;
114  bool mbMouseOver; //< tracks mouse over for native widget paint effect
115  bool mbEnableNativeWidget; //< toggle native widget rendering
116  ::std::list< VclPtr<vcl::Window> >
119  ImplWinData();
120  ~ImplWinData();
121 };
124 {
125  Idle maPaintIdle; //< paint idle handler
126  Idle maResizeIdle; //< resize timer
127  InputContext maOldInputContext; //< last set Input Context
128  VclPtr<vcl::Window> mpNextFrame; //< next frame window
129  VclPtr<vcl::Window> mpFirstOverlap; //< first overlap vcl::Window
130  VclPtr<vcl::Window> mpFocusWin; //< focus window (is also set, when frame doesn't have the focus)
131  VclPtr<vcl::Window> mpMouseMoveWin; //< last window, where MouseMove() called
132  VclPtr<vcl::Window> mpMouseDownWin; //< last window, where MouseButtonDown() called
133  std::vector<VclPtr<vcl::Window> > maOwnerDrawList; //< List of system windows with owner draw decoration
134  std::shared_ptr<PhysicalFontCollection> mxFontCollection; //< Font-List for this frame
135  std::shared_ptr<ImplFontCache> mxFontCache; //< Font-Cache for this frame
136  sal_Int32 mnDPIX; //< Original Screen Resolution
137  sal_Int32 mnDPIY; //< Original Screen Resolution
138  ImplSVEvent * mnFocusId; //< FocusId for PostUserLink
139  ImplSVEvent * mnMouseMoveId; //< MoveId for PostUserLink
140  tools::Long mnLastMouseX; //< last x mouse position
141  tools::Long mnLastMouseY; //< last y mouse position
142  tools::Long mnBeforeLastMouseX; //< last but one x mouse position
143  tools::Long mnBeforeLastMouseY; //< last but one y mouse position
144  tools::Long mnFirstMouseX; //< first x mouse position by mousebuttondown
145  tools::Long mnFirstMouseY; //< first y mouse position by mousebuttondown
146  tools::Long mnLastMouseWinX; //< last x mouse position, rel. to pMouseMoveWin
147  tools::Long mnLastMouseWinY; //< last y mouse position, rel. to pMouseMoveWin
148  sal_uInt16 mnModalMode; //< frame based modal count (app based makes no sense anymore)
149  sal_uInt64 mnMouseDownTime; //< mouse button down time for double click
150  sal_uInt16 mnClickCount; //< mouse click count
151  sal_uInt16 mnFirstMouseCode; //< mouse code by mousebuttondown
152  sal_uInt16 mnMouseCode; //< mouse code
154  bool mbHasFocus; //< focus
155  bool mbInMouseMove; //< is MouseMove on stack
156  bool mbMouseIn; //> is Mouse inside the frame
157  bool mbStartDragCalled; //< is command startdrag called
158  bool mbNeedSysWindow; //< set, when FrameSize <= IMPL_MIN_NEEDSYSWIN
159  bool mbMinimized; //< set, when FrameSize <= 0
160  bool mbStartFocusState; //< FocusState, when sending the event
161  bool mbInSysObjFocusHdl; //< within a SysChildren's GetFocus handler
162  bool mbInSysObjToTopHdl; //< within a SysChildren's ToTop handler
163  bool mbSysObjFocus; //< does a SysChild have focus
166  css::uno::Reference< css::datatransfer::dnd::XDragSource > mxDragSource;
167  css::uno::Reference< css::datatransfer::dnd::XDropTarget > mxDropTarget;
168  css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > mxDropTargetListener;
169  css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxClipboard;
176  ImplFrameData( vcl::Window *pWindow );
177 };
180 {
181  sal_uInt16 nAccessibleRole;
182  std::optional<OUString>
184  std::optional<OUString>
192 };
196 enum class ImplPaintFlags {
197  NONE = 0x0000,
198  Paint = 0x0001,
199  PaintAll = 0x0002,
200  PaintAllChildren = 0x0004,
201  PaintChildren = 0x0008,
202  Erase = 0x0010,
203  CheckRtl = 0x0020,
204 };
205 namespace o3tl {
206  template<> struct typed_flags<ImplPaintFlags> : is_typed_flags<ImplPaintFlags, 0x003f> {};
207 }
211 {
212 private:
213  WindowImpl(const WindowImpl&) = delete;
214  WindowImpl& operator=(const WindowImpl&) = delete;
215 public:
217  ~WindowImpl();
219  std::unique_ptr<ImplWinData> mpWinData;
238  std::vector<Link<VclWindowEvent&,void>> maEventListeners;
240  std::set<Link<VclWindowEvent&,void>> maEventListenersDeleted;
241  std::vector<Link<VclWindowEvent&,void>> maChildEventListeners;
243  std::set<Link<VclWindowEvent&,void>> maChildEventListenersDeleted;
251  OUString maText;
252  std::unique_ptr<vcl::Font>
256  sal_Int32 mnLeftBorder;
257  sal_Int32 mnTopBorder;
258  sal_Int32 mnRightBorder;
259  sal_Int32 mnBottomBorder;
260  sal_Int32 mnWidthRequest;
261  sal_Int32 mnHeightRequest;
268  OString maHelpId;
269  OUString maHelpText;
270  OUString maQuickHelpText;
271  OUString maID;
273  css::uno::Reference< css::awt::XWindowPeer > mxWindowPeer;
274  css::uno::Reference< css::accessibility::XAccessible > mxAccessible;
275  std::shared_ptr< VclSizeGroup > m_xSizeGroup;
276  std::vector<VclPtr<FixedText>> m_aMnemonicLabels;
277  std::unique_ptr<ImplAccessibleInfos> mpAccessibleInfos;
279  vcl::Region maWinRegion; //< region to 'shape' the VCL window (frame coordinates)
280  vcl::Region maWinClipRegion; //< the (clipping) region that finally corresponds to the VCL window (frame coordinates)
281  vcl::Region maInvalidateRegion; //< region that has to be redrawn (frame coordinates)
282  std::unique_ptr<vcl::Region> mpChildClipRegion; //< child clip region if CLIPCHILDREN is set (frame coordinates)
283  vcl::Region* mpPaintRegion; //< only set during Paint() method call (window coordinates)
289  sal_uInt16 mnWaitCount;
299  sal_Int32 mnPadding;
300  sal_Int32 mnGridHeight;
301  sal_Int32 mnGridLeftAttach;
302  sal_Int32 mnGridTopAttach;
303  sal_Int32 mnGridWidth;
304  sal_Int32 mnBorderWidth;
305  sal_Int32 mnMarginLeft;
306  sal_Int32 mnMarginRight;
307  sal_Int32 mnMarginTop;
308  sal_Int32 mnMarginBottom;
309  bool mbFrame:1,
310  mbBorderWin:1,
311  mbOverlapWin:1,
312  mbSysWin:1,
313  mbDialog:1,
314  mbDockWin:1,
315  mbFloatWin:1,
316  mbPushButton:1,
317  mbVisible:1,
318  mbDisabled:1,
319  mbInputDisabled:1,
320  mbNoUpdate:1,
322  mbActive:1,
323  mbReallyVisible:1,
324  mbReallyShown:1,
325  mbInInitShow:1,
327  mbNoPtrVisible:1,
328  mbPaintFrame:1,
329  mbInPaint:1,
331  mbMouseButtonUp:1,
332  mbKeyInput:1,
333  mbKeyUp:1,
334  mbCommand:1,
335  mbDefPos:1,
336  mbDefSize:1,
337  mbCallMove:1,
338  mbCallResize:1,
342  mbWinRegion:1,
343  mbClipChildren:1,
344  mbClipSiblings:1,
348  mbDlgCtrlStart:1,
349  mbFocusVisible:1,
350  mbTrackVisible:1,
353  mbInShowFocus:1,
354  mbInHideFocus:1,
357  mbAlwaysOnTop:1,
360  mbPaintDisabled:1,
361  mbAllResize:1,
362  mbInDispose:1,
363  mbExtTextInput:1,
364  mbInFocusHdl:1,
367  mbToolBox:1,
368  mbSplitter:1,
375  mbFakeFocusSet:1,
376  mbHexpand:1,
377  mbVexpand:1,
378  mbExpand:1,
379  mbFill:1,
380  mbSecondary:1,
384  css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer;
386  const vcl::ILibreOfficeKitNotifier* mpLOKNotifier;
389 };
391 namespace vcl
392 {
395 {
404 public:
405  PaintBufferGuard(ImplFrameData* pFrameData, vcl::Window* pWindow);
406  ~PaintBufferGuard() COVERITY_NOEXCEPT_FALSE;
408  void SetPaintRect(const tools::Rectangle& rRectangle);
410  vcl::RenderContext* GetRenderContext();
411 };
412 typedef std::unique_ptr<PaintBufferGuard, o3tl::default_delete<PaintBufferGuard>> PaintBufferGuardPtr;
413 }
415 // helper methods
417 bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent nSVEvent, bool bMouseLeave,
418  tools::Long nX, tools::Long nY, sal_uInt64 nMsgTime,
419  sal_uInt16 nCode, MouseEventModifiers nMode );
420 void ImplHandleResize( vcl::Window* pWindow, tools::Long nNewWidth, tools::Long nNewHeight );
422 VCL_DLLPUBLIC void ImplWindowStateFromStr(WindowStateData& rData, const OString& rStr);
424 VCL_DLLPUBLIC css::uno::Reference<css::accessibility::XAccessibleEditableText>
425 FindFocusedEditableText(css::uno::Reference<css::accessibility::XAccessibleContext> const&);
429 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool mbDlgCtrlStart
Definition: window.h:309
bool mbNeedSysWindow
Definition: window.h:158
std::vector< VclPtr< FixedText > > m_aMnemonicLabels
Definition: window.h:276
bool mbAlwaysOnTop
Definition: window.h:309
tools::Long mnX
Definition: window.h:264
MouseEventModifiers mnMouseMode
Definition: window.h:153
sal_Int32 mnPadding
Definition: window.h:299
exports clipboard
bool mbSplitter
Definition: window.h:309
std::optional< OUString > mpExtOldText
Definition: window.h:98
tools::Long mnFirstMouseX
Definition: window.h:144
bool mbHexpand
Definition: window.h:309
sal_Int32 mnGridWidth
Definition: window.h:303
bool mbVexpand
Definition: window.h:309
bool mbInHideFocus
Definition: window.h:309
bool mbMouseButtonUp
Definition: window.h:309
DialogControlFlags mnDlgCtrlFlags
Definition: window.h:294
VclPackType mePackType
Definition: window.h:298
bool mbDefPos
Definition: window.h:309
vcl::Cursor * mpCursor
Definition: window.h:248
Definition: window.hxx:423
sal_Int32 mnOptimalHeightCache
Definition: window.h:263
sal_uInt16 mnWaitCount
Definition: window.h:289
Definition: dllapi.h:29
int mnEventListenersIteratingCount
Definition: window.h:239
bool mbInitChildRegion
Definition: window.h:309
long Long
bool mbInBufferedPaint
PaintHelper is in the process of painting into this buffer.
Definition: window.h:173
bool mbVisible
Definition: window.h:309
bool mbNonHomogeneous
Definition: window.h:309
Link< tools::JsonWriter &, void > maDumpAsPropertyTreeHdl
Definition: window.h:246
VclPtr< vcl::Window > pLabeledByWindow
Definition: window.h:186
bool mbStartFocusState
Definition: window.h:160
bool mbClipSiblings
Definition: window.h:309
ActivateModeFlags mnActivateMode
Definition: window.h:293
sal_Int32 mnHeightRequest
Definition: window.h:261
std::set< Link< VclWindowEvent &, void > > maEventListenersDeleted
Definition: window.h:240
std::unique_ptr< ImplAccessibleInfos > mpAccessibleInfos
Definition: window.h:277
vcl::Region maInvalidateRegion
Definition: window.h:281
sal_Int32 mnTopBorder
Definition: window.h:257
exports awt
std::vector< Link< VclWindowEvent &, void > > maChildEventListeners
Definition: window.h:241
css::uno::Reference< css::datatransfer::dnd::XDragSource > mxDragSource
Definition: window.h:166
bool mbSuppressAccessibilityEvents
Definition: window.h:309
VclPtr< vcl::Window > mpNextFrame
Definition: window.h:128
bool mbReallyVisible
Definition: window.h:309
WindowType mnType
Definition: window.h:287
sal_Int32 mnDPIY
Definition: window.h:137
bool mbHasFocus
Definition: window.h:154
InputContext maOldInputContext
Definition: window.h:127
std::optional< OUString > pAccessibleName
Definition: window.h:183
Definition: window.cxx:751
VclPtr< VirtualDevice > mpBuffer
Buffer for the double-buffering.
Definition: window.h:172
std::unique_ptr< ImplWinData > mpWinData
Definition: window.h:219
Definition: event.hxx:79
ImplFrameData * mpFrameData
Definition: window.h:396
bool mbMouseIn
Definition: window.h:156
tools::Long mnOutOffY
Definition: window.h:402
std::shared_ptr< PhysicalFontCollection > mxFontCollection
Definition: window.h:134
bool mbMinimized
Definition: window.h:159
std::shared_ptr< VclSizeGroup > m_xSizeGroup
Definition: window.h:275
bool mbCommand
Definition: window.h:309
bool mbSecondary
Definition: window.h:309
css::uno::Reference< css::awt::XWindowPeer > mxWindowPeer
Definition: window.h:273
bool mbInSysObjFocusHdl
Definition: window.h:161
sal_Int64 WinBits
css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxClipboard
Definition: window.h:169
sal_uInt16 nAccessibleRole
Definition: window.h:181
vcl::Region maWinClipRegion
Definition: window.h:280
bool mbPaintTransparent
Definition: window.h:309
bool mbCompoundControl
Definition: window.h:309
bool mbInternalDragGestureRecognizer
Definition: window.h:171
VclPtr< vcl::Window > mpPrev
Definition: window.h:233
Definition: window.cxx:734
bool mbFocusVisible
Definition: window.h:309
sal_Int32 mnMarginRight
Definition: window.h:306
VclPtr< vcl::Window > mpMouseMoveWin
Definition: window.h:131
tools::Long mnOutOffX
Definition: window.h:401
Point maPos
Definition: window.h:267
sal_uInt16 mnMouseCode
Definition: window.h:152
std::set< Link< VclWindowEvent &, void > > maChildEventListenersDeleted
Definition: window.h:243
VclPtr< vcl::Window > mpLastChild
Definition: window.h:230
sal_Int32 mnWidthRequest
Definition: window.h:260
bool mbKeyInput
Definition: window.h:309
::std::list< VclPtr< vcl::Window > > maTopWindowChildren
Definition: window.h:117
OUString maText
Definition: window.h:251
Link< vcl::Window &, bool > maMnemonicActivateHdl
Definition: window.h:245
void ImplHandleResize(vcl::Window *pWindow, tools::Long nNewWidth, tools::Long nNewHeight)
Definition: winproc.cxx:1634
bool mbFloatWin
Definition: window.h:309
bool mbInitWinClipRegion
Definition: window.h:309
std::vector< VclPtr< vcl::Window > > maOwnerDrawList
Definition: window.h:133
bool mbIsInTaskPaneList
Definition: window.h:309
bool mbFill
Definition: window.h:309
bool mbClipChildren
Definition: window.h:309
OString maHelpId
Definition: window.h:268
bool mbSysWin
Definition: window.h:309
tools::Rectangle maBufferedRect
Rectangle in the buffer that has to be painted to the screen.
Definition: window.h:174
Definition: window.hxx:310
Definition: window.h:196
bool mbReallyShown
Definition: window.h:309
bool mbDrawSelectionBackground
Definition: window.h:309
Definition: window.hxx:343
bool mbDisabled
Definition: window.h:309
std::optional< tools::Rectangle > mpTrackRect
Definition: window.h:111
ParentClipMode mnParentClipMode
Definition: window.h:292
exports datatransfer
bool mbFrame
Definition: window.h:309
bool mbInDispose
Definition: window.h:309
bool mbDefSize
Definition: window.h:309
VCLXWindow * mpVCLXWindow
Definition: window.h:278
bool mbInSysObjToTopHdl
Definition: window.h:162
bool isVisibleInLayout(const vcl::Window *pWindow)
Definition: layout.cxx:2849
AlwaysInputMode meAlwaysInputMode
Definition: window.h:295
bool mbPaintDisabled
Definition: window.h:309
vcl::LOKWindowId mnLOKWindowId
ID of this specific window.
Definition: window.h:387
WindowExtendedStyle mnExtendedStyle
Definition: window.h:286
WinBits mnStyle
Definition: window.h:284
Definition: vclenum.hxx:222
bool isEnabledInLayout(const vcl::Window *pWindow)
Definition: layout.cxx:2862
bool mbNativeFocusVisible
Definition: window.h:309
const vcl::ILibreOfficeKitNotifier * mpLOKNotifier
To emit the LOK callbacks eg. for dialog tunneling.
Definition: window.h:386
VclPtr< vcl::Window > mpLastFocusWindow
Definition: window.h:236
bool mbChildPtrOverwrite
Definition: window.h:309
tools::Long mnLastMouseY
Definition: window.h:141
sal_Int32 mnOptimalWidthCache
Definition: window.h:262
tools::Long mnLastMouseWinY
Definition: window.h:147
Color maControlForeground
Definition: window.h:254
tools::Long mnCursorExtWidth
Definition: window.h:103
std::unique_ptr< tools::Rectangle[]> mpCompositionCharRects
Definition: window.h:106
VclAlign meValign
Definition: window.h:297
tools::Long mnY
Definition: window.h:265
OUString maQuickHelpText
Definition: window.h:270
std::unique_ptr< vcl::Font > mpControlFont
Definition: window.h:253
bool mbInShowFocus
Definition: window.h:309
tools::Long mnAbsScreenX
Definition: window.h:266
bool mbInInitShow
Definition: window.h:309
sal_Int32 mnMarginTop
Definition: window.h:307
sal_Int32 mnTouchPanPosition
Definition: window.h:164
Definition: window.hxx:246
bool mbNoParentUpdate
Definition: window.h:309
OUString maID
Definition: window.h:271
bool mbInMouseMove
Definition: window.h:155
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:288
Definition: window.hxx:157
vcl::Region maWinRegion
Definition: window.h:279
VclPtr< vcl::Window > mpFirstOverlap
Definition: window.h:129
tools::Long mnBeforeLastMouseY
Definition: window.h:143
VclPtr< vcl::Window > mpLastOverlap
Definition: window.h:232
bool mbOverlapVisible
Definition: window.h:309
bool ImplWindowFrameProc(vcl::Window *pInst, SalEvent nEvent, const void *pEvent)
Definition: winproc.cxx:2357
bool mbHelpTextDynamic
Definition: window.h:309
tools::Long mnCompositionCharRects
Definition: window.h:107
bool mbWinRegion
Definition: window.h:309
SalObject * mpSysObj
Definition: window.h:222
PointerStyle maPointer
Definition: window.h:249
bool mbDockWin
Definition: window.h:309
bool mbMouseOver
Definition: window.h:114
bool mbSysObjFocus
Definition: window.h:163
sal_uInt16 mnIsTopWindow
Definition: window.h:113
tools::Long mnLastMouseWinX
Definition: window.h:146
VclPtr< vcl::Window > mpDlgCtrlDownWindow
Definition: window.h:237
VclPtr< vcl::Window > mpOverlapWindow
Definition: window.h:224
Sets up the buffer to have settings matching the window, and restores the original state in the dtor...
Definition: window.h:394
VclAlign meHalign
Definition: window.h:296
VclPtr< vcl::Window > mpClientWindow
Definition: window.h:226
bool ImplHandleMouseEvent(const VclPtr< vcl::Window > &xWindow, MouseNotifyEvent nSVEvent, bool bMouseLeave, tools::Long nX, tools::Long nY, sal_uInt64 nMsgTime, sal_uInt16 nCode, MouseEventModifiers nMode)
Definition: winproc.cxx:264
sal_uInt16 mnModalMode
Definition: window.h:148
sal_uInt16 mnClickCount
Definition: window.h:150
bool mbInPaint
Definition: window.h:309
ControlPart mnNativeBackground
Definition: window.h:288
VCL_DLLPUBLIC css::uno::Reference< css::accessibility::XAccessibleEditableText > FindFocusedEditableText(css::uno::Reference< css::accessibility::XAccessibleContext > const &)
css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > mxDropTargetListener
Definition: window.h:168
VclPtr< vcl::Window > mpBorderWindow
Definition: window.h:225
VclPtr< vcl::Window > mpFirstOverlap
Definition: window.h:231
bool mbInFocusHdl
Definition: window.h:309
std::optional< tools::Rectangle > mpCursorRect
Definition: window.h:102
bool mbVertical
Definition: window.h:104
css::uno::Reference< css::datatransfer::dnd::XDropTarget > mxDropTarget
Definition: window.h:167
ImplFrameData(vcl::Window *pWindow)
Definition: window.cxx:756
sal_Int32 mnDPIX
Definition: window.h:136
WindowImpl(const WindowImpl &)=delete
SalFrame * mpFrame
Definition: window.h:221
sal_Int32 mnLeftBorder
Definition: window.h:256
std::unique_ptr< ExtTextInputAttr[]> mpExtOldAttrAry
Definition: window.h:100
Definition: salwtype.hxx:41
exports dnd
sal_uInt32 LOKWindowId
bool mbExpand
Definition: window.h:309
AllSettings maSettings
Definition: window.h:400
bool mbControlBackground
Definition: window.h:309
VclPtr< vcl::Window > mpNext
Definition: window.h:234
VclPtr< vcl::Window > pLabelForWindow
Definition: window.h:187
bool mbToolBox
Definition: window.h:309
bool mbUseNativeFocus
Definition: window.h:309
tools::Long mnBeforeLastMouseX
Definition: window.h:142
bool mbDoubleBufferingRequested
Definition: window.h:309
bool mbMouseButtonDown
Definition: window.h:309
Idle maResizeIdle
Definition: window.h:126
Definition: window.hxx:234
bool mbWaitSystemResize
Definition: window.h:309
bool mbNoUpdate
Definition: window.h:309
bool mbExtTextInput
Definition: window.h:309
A SalFrame is a system window (e.g. an X11 window).
Definition: salframe.hxx:112
sal_Int32 mnGridLeftAttach
Definition: window.h:301
css::uno::Reference< css::accessibility::XAccessible > mxAccessible
Definition: window.h:274
InputContext maInputContext
Definition: window.h:272
bool mbCallMove
Definition: window.h:309
bool mbBorderWin
Definition: window.h:309
tools::Long mnLastMouseX
Definition: window.h:140
std::unique_ptr< PaintBufferGuard, o3tl::default_delete< PaintBufferGuard > > PaintBufferGuardPtr
Definition: window.h:412
Definition: window.h:194
std::shared_ptr< ImplFontCache > mxFontCache
Definition: window.h:135
int mnChildEventListenersIteratingCount
Definition: window.h:242
VclPtr< vcl::Window > mpMouseDownWin
Definition: window.h:132
bool mbActive
Definition: window.h:309
bool mbEnableNativeWidget
Definition: window.h:115
bool mbMouseTransparent
Definition: window.h:309
bool mbLOKParentNotifier
Definition: window.h:388
bool mbAllResize
Definition: window.h:309
tools::Rectangle m_aPaintRect
Definition: window.h:403
ImplSVEvent * mnFocusId
Definition: window.h:138
sal_uInt64 mnMouseDownTime
Definition: window.h:149
bool mbDialog
Definition: window.h:309
bool mbInputDisabled
Definition: window.h:309
bool mbStartDragCalled
Definition: window.h:157
std::unique_ptr< vcl::Region > mpChildClipRegion
Definition: window.h:282
sal_Int32 mnMarginBottom
Definition: window.h:308
sal_Int32 mnBorderWidth
Definition: window.h:304
sal_Int32 mnBottomBorder
Definition: window.h:259
bool mbKeyUp
Definition: window.h:309
VclPtr< vcl::Window > mpParent
Definition: window.h:227
bool mbNoPtrVisible
Definition: window.h:309
bool mbCompoundControlHasFocus
Definition: window.h:309
Fraction maZoom
Definition: window.h:250
bool mbCreatedWithToolkit
Definition: window.h:309
Idle maPaintIdle
Definition: window.h:125
std::optional< tools::Rectangle > mpFocusRect
Definition: window.h:109
VclPtr< vcl::Window > mpFirstChild
Definition: window.h:229
ShowTrackFlags mnTrackFlags
Definition: window.h:112
VclPtr< vcl::Window > mpNextOverlap
Definition: window.h:235
Definition: ptrstyle.hxx:25
bool mbChildTransparent
Definition: window.h:309
bool mbControlForeground
Definition: window.h:309
WinBits mnPrevStyle
Definition: window.h:285
VCL_DLLPUBLIC void ImplWindowStateFromStr(WindowStateData &rData, const OString &rStr)
Definition: syswin.cxx:406
sal_Int32 mnGridTopAttach
Definition: window.h:302
ImplSVEvent * mnMouseMoveId
Definition: window.h:139
Definition: vclenum.hxx:214
VCL_DLLPUBLIC Size bestmaxFrameSizeForScreenSize(const Size &rScreenSize)
Definition: dialog.cxx:704
std::optional< OUString > pAccessibleDescription
Definition: window.h:185
bool mbPushButton
Definition: window.h:309
VclPtr< vcl::Window > mpRealParent
Definition: window.h:228
bool mbMenuFloatingWindow
Definition: window.h:309
Link< vcl::Window &, bool > maHelpRequestHdl
Definition: window.h:244
OUString maHelpText
Definition: window.h:269
bool mbOverlapWin
Definition: window.h:309
bool mbCallResize
Definition: window.h:309
Color maControlBackground
Definition: window.h:255
ImplPaintFlags mnPaintFlags
Definition: window.h:290
VclPtr< vcl::Window > mpFocusWin
Definition: window.h:130
css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer
Definition: window.h:384
vcl::Region * mpPaintRegion
Definition: window.h:283
VclPtr< vcl::Window > pMemberOfWindow
Definition: window.h:188
ImplFrameData * mpFrameData
Definition: window.h:220
Definition: event.hxx:275
bool mbToolbarFloatingWindow
Definition: window.h:309
bool mbPaintFrame
Definition: window.h:309
VclPtr< vcl::Window > mpFrameWindow
Definition: window.h:223
std::vector< Link< VclWindowEvent &, void > > maEventListeners
Definition: window.h:238
sal_Int32 mnMarginLeft
Definition: window.h:305
VclPtr< vcl::Window > m_pWindow
Definition: window.h:397
bool mbTrackVisible
Definition: window.h:309
WindowImpl & operator=(const WindowImpl &)=delete
sal_uInt16 mnFirstMouseCode
Definition: window.h:151
An idle is a timer to be scheduled immediately.
Definition: idle.hxx:34
sal_Int32 mnRightBorder
Definition: window.h:258
sal_Int32 mnGridHeight
Definition: window.h:300
GetFocusFlags mnGetFocusFlags
Definition: window.h:291
tools::Long mnFirstMouseY
Definition: window.h:145
Wallpaper maBackground
Definition: window.h:399
bool mbFakeFocusSet
Definition: window.h:309