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