LibreOffice Module vcl (master)  1
window.h
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 http://mozilla.org/MPL/2.0/.
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 http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_VCL_INC_WINDOW_H
21 #define INCLUDED_VCL_INC_WINDOW_H
22 
23 #include <sal/config.h>
24 
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/typed_flags_set.hxx>
32 #include <cppuhelper/weakref.hxx>
33 
34 #include <optional>
35 #include <list>
36 #include <memory>
37 #include <vector>
38 #include <set>
39 
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;
56 
57 namespace com { namespace sun { namespace star {
58 
59 namespace accessibility {
60  class XAccessible;
61  class XAccessibleContext;
62  class XAccessibleEditableText;
63 }
64 
65 namespace rendering {
66  class XCanvas;
67 }
68 
69 namespace awt {
70  class XWindowPeer;
71  class XWindow;
72 }
73 namespace uno {
74  class Any;
75  class XInterface;
76 }
77 namespace datatransfer { namespace clipboard {
78  class XClipboard;
79 }
80 
81 namespace dnd {
82  class XDropTargetListener;
83  class XDragGestureRecognizer;
84  class XDragSource;
85  class XDropTarget;
86 }}}}}
87 
89 
90 //return true if this window and its stack of containers are all shown
91 bool isVisibleInLayout(const vcl::Window *pWindow);
92 
93 //return true if this window and its stack of containers are all enabled
94 bool isEnabledInLayout(const vcl::Window *pWindow);
95 
96 bool ImplWindowFrameProc( vcl::Window* pInst, SalEvent nEvent, const void* pEvent );
97 
99 {
100  std::optional<OUString>
102  std::unique_ptr<ExtTextInputAttr[]>
104  std::optional<tools::Rectangle>
108  std::unique_ptr<tools::Rectangle[]>
111  std::optional<tools::Rectangle>
113  std::optional<tools::Rectangle>
116  sal_uInt16 mnIsTopWindow;
117  bool mbMouseOver; //< tracks mouse over for native widget paint effect
118  bool mbEnableNativeWidget; //< toggle native widget rendering
119  ::std::list< VclPtr<vcl::Window> >
121 
122  ImplWinData();
123  ~ImplWinData();
124 };
125 
127 {
128  Idle maPaintIdle; //< paint idle handler
129  Idle maResizeIdle; //< resize timer
130  InputContext maOldInputContext; //< last set Input Context
131  VclPtr<vcl::Window> mpNextFrame; //< next frame window
132  VclPtr<vcl::Window> mpFirstOverlap; //< first overlap vcl::Window
133  VclPtr<vcl::Window> mpFocusWin; //< focus window (is also set, when frame doesn't have the focus)
134  VclPtr<vcl::Window> mpMouseMoveWin; //< last window, where MouseMove() called
135  VclPtr<vcl::Window> mpMouseDownWin; //< last window, where MouseButtonDown() called
136  std::vector<VclPtr<vcl::Window> > maOwnerDrawList; //< List of system windows with owner draw decoration
137  std::shared_ptr<PhysicalFontCollection> mxFontCollection; //< Font-List for this frame
138  std::shared_ptr<ImplFontCache> mxFontCache; //< Font-Cache for this frame
139  sal_Int32 mnDPIX; //< Original Screen Resolution
140  sal_Int32 mnDPIY; //< Original Screen Resolution
141  ImplSVEvent * mnFocusId; //< FocusId for PostUserLink
142  ImplSVEvent * mnMouseMoveId; //< MoveId for PostUserLink
143  long mnLastMouseX; //< last x mouse position
144  long mnLastMouseY; //< last y mouse position
145  long mnBeforeLastMouseX; //< last but one x mouse position
146  long mnBeforeLastMouseY; //< last but one y mouse position
147  long mnFirstMouseX; //< first x mouse position by mousebuttondown
148  long mnFirstMouseY; //< first y mouse position by mousebuttondown
149  long mnLastMouseWinX; //< last x mouse position, rel. to pMouseMoveWin
150  long mnLastMouseWinY; //< last y mouse position, rel. to pMouseMoveWin
151  sal_uInt16 mnModalMode; //< frame based modal count (app based makes no sense anymore)
152  sal_uInt64 mnMouseDownTime; //< mouse button down time for double click
153  sal_uInt16 mnClickCount; //< mouse click count
154  sal_uInt16 mnFirstMouseCode; //< mouse code by mousebuttondown
155  sal_uInt16 mnMouseCode; //< mouse code
157  bool mbHasFocus; //< focus
158  bool mbInMouseMove; //< is MouseMove on stack
159  bool mbMouseIn; //> is Mouse inside the frame
160  bool mbStartDragCalled; //< is command startdrag called
161  bool mbNeedSysWindow; //< set, when FrameSize <= IMPL_MIN_NEEDSYSWIN
162  bool mbMinimized; //< set, when FrameSize <= 0
163  bool mbStartFocusState; //< FocusState, when sending the event
164  bool mbInSysObjFocusHdl; //< within a SysChildren's GetFocus handler
165  bool mbInSysObjToTopHdl; //< within a SysChildren's ToTop handler
166  bool mbSysObjFocus; //< does a SysChild have focus
168 
169  css::uno::Reference< css::datatransfer::dnd::XDragSource > mxDragSource;
170  css::uno::Reference< css::datatransfer::dnd::XDropTarget > mxDropTarget;
171  css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > mxDropTargetListener;
172  css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxClipboard;
173  css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxSelection;
174 
179 
180  ImplFrameData( vcl::Window *pWindow );
181 };
182 
184 {
185  sal_uInt16 nAccessibleRole;
186  std::optional<OUString>
188  std::optional<OUString>
193 
196 };
197 
199 
200 enum class ImplPaintFlags {
201  NONE = 0x0000,
202  Paint = 0x0001,
203  PaintAll = 0x0002,
204  PaintAllChildren = 0x0004,
205  PaintChildren = 0x0008,
206  Erase = 0x0010,
207  CheckRtl = 0x0020,
208 };
209 namespace o3tl {
210  template<> struct typed_flags<ImplPaintFlags> : is_typed_flags<ImplPaintFlags, 0x003f> {};
211 }
212 
213 
215 {
216 private:
217  WindowImpl(const WindowImpl&) = delete;
218  WindowImpl& operator=(const WindowImpl&) = delete;
219 public:
221  ~WindowImpl();
222 
242  std::vector<Link<VclWindowEvent&,void>> maEventListeners;
244  std::set<Link<VclWindowEvent&,void>> maEventListenersDeleted;
245  std::vector<Link<VclWindowEvent&,void>> maChildEventListeners;
247  std::set<Link<VclWindowEvent&,void>> maChildEventListenersDeleted;
251 
252  // The canvas interface for this VCL window. Is persistent after the first GetCanvas() call
253  css::uno::WeakReference< css::rendering::XCanvas > mxCanvas;
254 
258  OUString maText;
259  std::unique_ptr<vcl::Font>
263  sal_Int32 mnLeftBorder;
264  sal_Int32 mnTopBorder;
265  sal_Int32 mnRightBorder;
266  sal_Int32 mnBottomBorder;
267  sal_Int32 mnWidthRequest;
268  sal_Int32 mnHeightRequest;
271  long mnX;
272  long mnY;
275  OString maHelpId;
276  OUString maHelpText;
277  OUString maQuickHelpText;
278  OUString maID;
280  css::uno::Reference< css::awt::XWindowPeer > mxWindowPeer;
281  css::uno::Reference< css::accessibility::XAccessible > mxAccessible;
282  std::shared_ptr< VclSizeGroup > m_xSizeGroup;
283  std::vector<VclPtr<FixedText>> m_aMnemonicLabels;
284  std::vector<css::accessibility::AccessibleRelation> m_aExtraAccessibleRelations;
285  std::unique_ptr<ImplAccessibleInfos> mpAccessibleInfos;
287  vcl::Region maWinRegion; //< region to 'shape' the VCL window (frame coordinates)
288  vcl::Region maWinClipRegion; //< the (clipping) region that finally corresponds to the VCL window (frame coordinates)
289  vcl::Region maInvalidateRegion; //< region that has to be redrawn (frame coordinates)
290  std::unique_ptr<vcl::Region> mpChildClipRegion; //< child clip region if CLIPCHILDREN is set (frame coordinates)
291  vcl::Region* mpPaintRegion; //< only set during Paint() method call (window coordinates)
297  sal_uInt16 mnWaitCount;
307  sal_Int32 mnPadding;
308  sal_Int32 mnGridHeight;
309  sal_Int32 mnGridLeftAttach;
310  sal_Int32 mnGridTopAttach;
311  sal_Int32 mnGridWidth;
312  sal_Int32 mnBorderWidth;
313  sal_Int32 mnMarginLeft;
314  sal_Int32 mnMarginRight;
315  sal_Int32 mnMarginTop;
316  sal_Int32 mnMarginBottom;
317  bool mbFrame:1,
318  mbBorderWin:1,
319  mbOverlapWin:1,
320  mbSysWin:1,
321  mbDialog:1,
322  mbDockWin:1,
323  mbFloatWin:1,
324  mbPushButton:1,
325  mbVisible:1,
326  mbDisabled:1,
327  mbInputDisabled:1,
328  mbNoUpdate:1,
330  mbActive:1,
331  mbReallyVisible:1,
332  mbReallyShown:1,
333  mbInInitShow:1,
335  mbNoPtrVisible:1,
336  mbPaintFrame:1,
337  mbInPaint:1,
339  mbMouseButtonUp:1,
340  mbKeyInput:1,
341  mbKeyUp:1,
342  mbCommand:1,
343  mbDefPos:1,
344  mbDefSize:1,
345  mbCallMove:1,
346  mbCallResize:1,
350  mbWinRegion:1,
351  mbClipChildren:1,
352  mbClipSiblings:1,
356  mbDlgCtrlStart:1,
357  mbFocusVisible:1,
358  mbTrackVisible:1,
361  mbInShowFocus:1,
362  mbInHideFocus:1,
365  mbAlwaysOnTop:1,
368  mbPaintDisabled:1,
369  mbAllResize:1,
370  mbInDispose:1,
371  mbExtTextInput:1,
372  mbInFocusHdl:1,
375  mbToolBox:1,
376  mbSplitter:1,
384  mbFakeFocusSet:1,
385  mbHexpand:1,
386  mbVexpand:1,
387  mbExpand:1,
388  mbFill:1,
389  mbSecondary:1,
392 
393  css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer;
394 
395  const vcl::ILibreOfficeKitNotifier* mpLOKNotifier;
398 };
399 
400 namespace vcl
401 {
404 {
410  long mnOutOffX;
411  long mnOutOffY;
413 public:
414  PaintBufferGuard(ImplFrameData* pFrameData, vcl::Window* pWindow);
415  ~PaintBufferGuard();
417  void SetPaintRect(const tools::Rectangle& rRectangle);
419  vcl::RenderContext* GetRenderContext();
420 };
421 }
422 
423 // helper methods
424 
425 bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent nSVEvent, bool bMouseLeave,
426  long nX, long nY, sal_uInt64 nMsgTime,
427  sal_uInt16 nCode, MouseEventModifiers nMode );
428 void ImplHandleResize( vcl::Window* pWindow, long nNewWidth, long nNewHeight );
429 
430 VCL_DLLPUBLIC void ImplWindowStateFromStr(WindowStateData& rData, const OString& rStr);
431 
432 VCL_DLLPUBLIC css::uno::Reference<css::accessibility::XAccessibleEditableText>
433 FindFocusedEditableText(css::uno::Reference<css::accessibility::XAccessibleContext> const&);
434 
435 #endif // INCLUDED_VCL_INC_WINDOW_H
436 
437 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool mbDlgCtrlStart
Definition: window.h:317
bool mbNeedSysWindow
Definition: window.h:161
long mnFirstMouseX
Definition: window.h:147
std::vector< VclPtr< FixedText > > m_aMnemonicLabels
Definition: window.h:283
bool mbAlwaysOnTop
Definition: window.h:317
MouseEventModifiers mnMouseMode
Definition: window.h:156
void ImplHandleResize(vcl::Window *pWindow, long nNewWidth, long nNewHeight)
Definition: winproc.cxx:1654
sal_Int32 mnPadding
Definition: window.h:307
bool mbSplitter
Definition: window.h:317
std::optional< OUString > mpExtOldText
Definition: window.h:101
bool mbHexpand
Definition: window.h:317
sal_Int32 mnGridWidth
Definition: window.h:311
bool mbVexpand
Definition: window.h:317
bool mbInHideFocus
Definition: window.h:317
bool mbMouseButtonUp
Definition: window.h:317
DialogControlFlags mnDlgCtrlFlags
Definition: window.h:302
VclPackType mePackType
Definition: window.h:306
bool mbDefPos
Definition: window.h:317
vcl::Cursor * mpCursor
Definition: window.h:255
long mnY
Definition: window.h:272
long mnBeforeLastMouseY
Definition: window.h:146
WindowExtendedStyle
Definition: window.hxx:444
sal_Int32 mnOptimalHeightCache
Definition: window.h:270
sal_uInt16 mnWaitCount
Definition: window.h:297
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
int mnEventListenersIteratingCount
Definition: window.h:243
bool mbInitChildRegion
Definition: window.h:317
bool mbInBufferedPaint
PaintHelper is in the process of painting into this buffer.
Definition: window.h:177
bool mbVisible
Definition: window.h:317
bool mbNonHomogeneous
Definition: window.h:317
VclPtr< vcl::Window > pLabeledByWindow
Definition: window.h:190
bool mbStartFocusState
Definition: window.h:163
bool mbClipSiblings
Definition: window.h:317
ActivateModeFlags mnActivateMode
Definition: window.h:301
sal_Int32 mnHeightRequest
Definition: window.h:268
std::set< Link< VclWindowEvent &, void > > maEventListenersDeleted
Definition: window.h:244
std::unique_ptr< ImplAccessibleInfos > mpAccessibleInfos
Definition: window.h:285
vcl::Region maInvalidateRegion
Definition: window.h:289
sal_Int32 mnTopBorder
Definition: window.h:264
css::uno::WeakReference< css::rendering::XCanvas > mxCanvas
Definition: window.h:253
std::vector< Link< VclWindowEvent &, void > > maChildEventListeners
Definition: window.h:245
css::uno::Reference< css::datatransfer::dnd::XDragSource > mxDragSource
Definition: window.h:169
bool mbSuppressAccessibilityEvents
Definition: window.h:317
VclPtr< vcl::Window > mpNextFrame
Definition: window.h:131
bool mbReallyVisible
Definition: window.h:317
WindowType mnType
Definition: window.h:295
ImplWinData * mpWinData
Definition: window.h:223
sal_Int32 mnDPIY
Definition: window.h:140
long mnCursorExtWidth
Definition: window.h:106
bool mbCallHandlersDuringInputDisabled
Definition: window.h:317
bool mbHasFocus
Definition: window.h:157
InputContext maOldInputContext
Definition: window.h:130
std::optional< OUString > pAccessibleName
Definition: window.h:187
~ImplWinData()
Definition: window.cxx:757
VclPtr< VirtualDevice > mpBuffer
Buffer for the double-buffering.
Definition: window.h:176
Link< boost::property_tree::ptree &, void > maDumpAsPropertyTreeHdl
Definition: window.h:250
MouseEventModifiers
Definition: event.hxx:76
ImplFrameData * mpFrameData
Definition: window.h:405
bool mbMouseIn
Definition: window.h:159
std::shared_ptr< PhysicalFontCollection > mxFontCollection
Definition: window.h:137
bool mbMinimized
Definition: window.h:162
std::shared_ptr< VclSizeGroup > m_xSizeGroup
Definition: window.h:282
bool mbCommand
Definition: window.h:317
bool mbSecondary
Definition: window.h:317
css::uno::Reference< css::awt::XWindowPeer > mxWindowPeer
Definition: window.h:280
bool mbInSysObjFocusHdl
Definition: window.h:164
sal_Int64 WinBits
css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxClipboard
Definition: window.h:172
sal_uInt16 nAccessibleRole
Definition: window.h:185
vcl::Region maWinClipRegion
Definition: window.h:288
bool mbPaintTransparent
Definition: window.h:317
bool mbCompoundControl
Definition: window.h:317
bool mbInternalDragGestureRecognizer
Definition: window.h:175
VclPtr< vcl::Window > mpPrev
Definition: window.h:237
~WindowImpl()
Definition: window.cxx:740
bool mbFocusVisible
Definition: window.h:317
sal_Int32 mnMarginRight
Definition: window.h:314
VclPtr< vcl::Window > mpMouseMoveWin
Definition: window.h:134
Point maPos
Definition: window.h:274
sal_uInt16 mnMouseCode
Definition: window.h:155
std::set< Link< VclWindowEvent &, void > > maChildEventListenersDeleted
Definition: window.h:247
VclPtr< vcl::Window > mpLastChild
Definition: window.h:234
sal_Int32 mnWidthRequest
Definition: window.h:267
bool mbKeyInput
Definition: window.h:317
::std::list< VclPtr< vcl::Window > > maTopWindowChildren
Definition: window.h:120
OUString maText
Definition: window.h:258
Link< vcl::Window &, bool > maMnemonicActivateHdl
Definition: window.h:249
bool mbFloatWin
Definition: window.h:317
bool mbInitWinClipRegion
Definition: window.h:317
std::vector< VclPtr< vcl::Window > > maOwnerDrawList
Definition: window.h:136
bool mbIsInTaskPaneList
Definition: window.h:317
bool mbFill
Definition: window.h:317
bool mbClipChildren
Definition: window.h:317
OString maHelpId
Definition: window.h:275
bool mbSysWin
Definition: window.h:317
tools::Rectangle maBufferedRect
Rectangle in the buffer that has to be painted to the screen.
Definition: window.h:178
GetFocusFlags
Definition: window.hxx:333
ImplPaintFlags
Definition: window.h:200
bool mbReallyShown
Definition: window.h:317
bool mbDrawSelectionBackground
Definition: window.h:317
DialogControlFlags
Definition: window.hxx:366
bool mbDisabled
Definition: window.h:317
std::optional< tools::Rectangle > mpTrackRect
Definition: window.h:114
ParentClipMode mnParentClipMode
Definition: window.h:300
bool mbFrame
Definition: window.h:317
bool mbInDispose
Definition: window.h:317
bool mbDefSize
Definition: window.h:317
VCLXWindow * mpVCLXWindow
Definition: window.h:286
bool mbInSysObjToTopHdl
Definition: window.h:165
bool isVisibleInLayout(const vcl::Window *pWindow)
Definition: layout.cxx:2696
long mnX
Definition: window.h:271
AlwaysInputMode meAlwaysInputMode
Definition: window.h:303
bool mbPaintDisabled
Definition: window.h:317
vcl::LOKWindowId mnLOKWindowId
ID of this specific window.
Definition: window.h:396
WindowExtendedStyle mnExtendedStyle
Definition: window.h:294
long mnLastMouseWinX
Definition: window.h:149
WinBits mnStyle
Definition: window.h:292
VclPackType
Definition: vclenum.hxx:224
bool isEnabledInLayout(const vcl::Window *pWindow)
Definition: layout.cxx:2709
bool mbNativeFocusVisible
Definition: window.h:317
const vcl::ILibreOfficeKitNotifier * mpLOKNotifier
To emit the LOK callbacks eg. for dialog tunneling.
Definition: window.h:395
VclPtr< vcl::Window > mpLastFocusWindow
Definition: window.h:240
bool mbChildPtrOverwrite
Definition: window.h:317
sal_Int32 mnOptimalWidthCache
Definition: window.h:269
Color maControlForeground
Definition: window.h:261
std::unique_ptr< tools::Rectangle[]> mpCompositionCharRects
Definition: window.h:109
VclAlign meValign
Definition: window.h:305
OUString maQuickHelpText
Definition: window.h:277
long mnBeforeLastMouseX
Definition: window.h:145
std::unique_ptr< vcl::Font > mpControlFont
Definition: window.h:260
bool mbInShowFocus
Definition: window.h:317
bool mbInInitShow
Definition: window.h:317
sal_Int32 mnMarginTop
Definition: window.h:315
sal_Int32 mnTouchPanPosition
Definition: window.h:167
ShowTrackFlags
Definition: window.hxx:269
bool mbNoParentUpdate
Definition: window.h:317
long mnLastMouseX
Definition: window.h:143
OUString maID
Definition: window.h:278
bool mbInMouseMove
Definition: window.h:158
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:304
ActivateModeFlags
Definition: window.hxx:187
vcl::Region maWinRegion
Definition: window.h:287
VclPtr< vcl::Window > mpFirstOverlap
Definition: window.h:132
VclPtr< vcl::Window > mpLastOverlap
Definition: window.h:236
bool mbOverlapVisible
Definition: window.h:317
bool ImplWindowFrameProc(vcl::Window *pInst, SalEvent nEvent, const void *pEvent)
Definition: winproc.cxx:2358
bool mbHelpTextDynamic
Definition: window.h:317
bool mbWinRegion
Definition: window.h:317
SalObject * mpSysObj
Definition: window.h:226
PointerStyle maPointer
Definition: window.h:256
bool mbDockWin
Definition: window.h:317
bool mbMouseOver
Definition: window.h:117
bool mbSysObjFocus
Definition: window.h:166
sal_uInt16 mnIsTopWindow
Definition: window.h:116
VclPtr< vcl::Window > mpDlgCtrlDownWindow
Definition: window.h:241
VclPtr< vcl::Window > mpOverlapWindow
Definition: window.h:228
Sets up the buffer to have settings matching the window, and restores the original state in the dtor...
Definition: window.h:403
VclAlign meHalign
Definition: window.h:304
VclPtr< vcl::Window > mpClientWindow
Definition: window.h:230
sal_uInt16 mnModalMode
Definition: window.h:151
sal_uInt16 mnClickCount
Definition: window.h:153
bool mbInPaint
Definition: window.h:317
ControlPart mnNativeBackground
Definition: window.h:296
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:171
VclPtr< vcl::Window > mpBorderWindow
Definition: window.h:229
VclPtr< vcl::Window > mpFirstOverlap
Definition: window.h:235
bool mbInFocusHdl
Definition: window.h:317
std::optional< tools::Rectangle > mpCursorRect
Definition: window.h:105
bool mbVertical
Definition: window.h:107
css::uno::Reference< css::datatransfer::dnd::XDropTarget > mxDropTarget
Definition: window.h:170
ImplFrameData(vcl::Window *pWindow)
Definition: window.cxx:762
sal_Int32 mnDPIX
Definition: window.h:139
WindowImpl(const WindowImpl &)=delete
SalFrame * mpFrame
Definition: window.h:225
sal_Int32 mnLeftBorder
Definition: window.h:263
std::unique_ptr< ExtTextInputAttr[]> mpExtOldAttrAry
Definition: window.h:103
SalEvent
Definition: salwtype.hxx:40
sal_uInt32 LOKWindowId
bool mbExpand
Definition: window.h:317
AllSettings maSettings
Definition: window.h:409
bool mbControlBackground
Definition: window.h:317
VclPtr< vcl::Window > mpNext
Definition: window.h:238
VclPtr< vcl::Window > pLabelForWindow
Definition: window.h:191
bool mbToolBox
Definition: window.h:317
bool mbUseNativeFocus
Definition: window.h:317
bool mbDoubleBufferingRequested
Definition: window.h:317
bool mbMouseButtonDown
Definition: window.h:317
Idle maResizeIdle
Definition: window.h:129
ParentClipMode
Definition: window.hxx:257
bool mbWaitSystemResize
Definition: window.h:317
bool mbNoUpdate
Definition: window.h:317
bool mbExtTextInput
Definition: window.h:317
A SalFrame is a system window (e.g. an X11 window).
Definition: salframe.hxx:112
sal_Int32 mnGridLeftAttach
Definition: window.h:309
css::uno::Reference< css::accessibility::XAccessible > mxAccessible
Definition: window.h:281
std::vector< css::accessibility::AccessibleRelation > m_aExtraAccessibleRelations
Definition: window.h:284
InputContext maInputContext
Definition: window.h:279
bool mbCallMove
Definition: window.h:317
bool mbBorderWin
Definition: window.h:317
AlwaysInputMode
Definition: window.h:198
std::shared_ptr< ImplFontCache > mxFontCache
Definition: window.h:138
int mnChildEventListenersIteratingCount
Definition: window.h:246
WindowType
VclPtr< vcl::Window > mpMouseDownWin
Definition: window.h:135
bool mbActive
Definition: window.h:317
bool mbEnableNativeWidget
Definition: window.h:118
bool mbMouseTransparent
Definition: window.h:317
bool mbLOKParentNotifier
Definition: window.h:397
bool mbAllResize
Definition: window.h:317
tools::Rectangle m_aPaintRect
Definition: window.h:412
ImplSVEvent * mnFocusId
Definition: window.h:141
sal_uInt64 mnMouseDownTime
Definition: window.h:152
bool mbDialog
Definition: window.h:317
bool mbInputDisabled
Definition: window.h:317
bool mbStartDragCalled
Definition: window.h:160
css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxSelection
Definition: window.h:173
std::unique_ptr< vcl::Region > mpChildClipRegion
Definition: window.h:290
sal_Int32 mnMarginBottom
Definition: window.h:316
sal_Int32 mnBorderWidth
Definition: window.h:312
sal_Int32 mnBottomBorder
Definition: window.h:266
bool mbKeyUp
Definition: window.h:317
VclPtr< vcl::Window > mpParent
Definition: window.h:231
bool mbNoPtrVisible
Definition: window.h:317
bool mbCompoundControlHasFocus
Definition: window.h:317
Fraction maZoom
Definition: window.h:257
bool mbCreatedWithToolkit
Definition: window.h:317
Idle maPaintIdle
Definition: window.h:128
std::optional< tools::Rectangle > mpFocusRect
Definition: window.h:112
VclPtr< vcl::Window > mpFirstChild
Definition: window.h:233
ShowTrackFlags mnTrackFlags
Definition: window.h:115
long mnCompositionCharRects
Definition: window.h:110
VclPtr< vcl::Window > mpNextOverlap
Definition: window.h:239
PointerStyle
Definition: ptrstyle.hxx:25
bool mbChildTransparent
Definition: window.h:317
bool mbControlForeground
Definition: window.h:317
WinBits mnPrevStyle
Definition: window.h:293
VCL_DLLPUBLIC void ImplWindowStateFromStr(WindowStateData &rData, const OString &rStr)
Definition: syswin.cxx:434
long mnFirstMouseY
Definition: window.h:148
sal_Int32 mnGridTopAttach
Definition: window.h:310
ImplSVEvent * mnMouseMoveId
Definition: window.h:142
long mnAbsScreenX
Definition: window.h:273
VclAlign
Definition: vclenum.hxx:216
VCL_DLLPUBLIC Size bestmaxFrameSizeForScreenSize(const Size &rScreenSize)
Definition: dialog.cxx:691
bool ImplHandleMouseEvent(const VclPtr< vcl::Window > &xWindow, MouseNotifyEvent nSVEvent, bool bMouseLeave, long nX, long nY, sal_uInt64 nMsgTime, sal_uInt16 nCode, MouseEventModifiers nMode)
Definition: winproc.cxx:274
std::optional< OUString > pAccessibleDescription
Definition: window.h:189
bool mbPushButton
Definition: window.h:317
VclPtr< vcl::Window > mpRealParent
Definition: window.h:232
bool mbMenuFloatingWindow
Definition: window.h:317
Link< vcl::Window &, bool > maHelpRequestHdl
Definition: window.h:248
OUString maHelpText
Definition: window.h:276
bool mbOverlapWin
Definition: window.h:317
bool mbCallResize
Definition: window.h:317
Color maControlBackground
Definition: window.h:262
ImplPaintFlags mnPaintFlags
Definition: window.h:298
VclPtr< vcl::Window > mpFocusWin
Definition: window.h:133
css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer
Definition: window.h:393
long mnLastMouseWinY
Definition: window.h:150
vcl::Region * mpPaintRegion
Definition: window.h:291
VclPtr< vcl::Window > pMemberOfWindow
Definition: window.h:192
ImplFrameData * mpFrameData
Definition: window.h:224
MouseNotifyEvent
Definition: event.hxx:281
bool mbToolbarFloatingWindow
Definition: window.h:317
bool mbPaintFrame
Definition: window.h:317
VclPtr< vcl::Window > mpFrameWindow
Definition: window.h:227
std::vector< Link< VclWindowEvent &, void > > maEventListeners
Definition: window.h:242
sal_Int32 mnMarginLeft
Definition: window.h:313
VclPtr< vcl::Window > m_pWindow
Definition: window.h:406
bool mbTrackVisible
Definition: window.h:317
WindowImpl & operator=(const WindowImpl &)=delete
sal_uInt16 mnFirstMouseCode
Definition: window.h:154
An idle is a timer to be scheduled immediately.
Definition: idle.hxx:30
sal_Int32 mnRightBorder
Definition: window.h:265
sal_Int32 mnGridHeight
Definition: window.h:308
GetFocusFlags mnGetFocusFlags
Definition: window.h:299
Wallpaper maBackground
Definition: window.h:408
bool mbFakeFocusSet
Definition: window.h:317
long mnLastMouseY
Definition: window.h:144