LibreOffice Module vcl (master)  1
Classes | Namespaces | Macros | Enumerations | Functions
window.hxx File Reference
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/outdev.hxx>
#include <tools/link.hxx>
#include <tools/wintypes.hxx>
#include <vcl/vclenum.hxx>
#include <vcl/keycodes.hxx>
#include <vcl/region.hxx>
#include <vcl/uitest/factory.hxx>
#include <vcl/IDialogRenderable.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <memory>
Include dependency graph for window.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VclPtr< reference_type >
 A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for references to vcl::Window subclasses. More...
 
struct  o3tl::typed_flags< TrackingEventFlags >
 
struct  o3tl::typed_flags< PosSizeFlags >
 
struct  o3tl::typed_flags< ShowFlags >
 
struct  o3tl::typed_flags< ZOrderFlags >
 
struct  o3tl::typed_flags< ActivateModeFlags >
 
struct  o3tl::typed_flags< ToTopFlags >
 
struct  o3tl::typed_flags< InvalidateFlags >
 
struct  o3tl::typed_flags< ValidateFlags >
 
struct  o3tl::typed_flags< ScrollFlags >
 
struct  o3tl::typed_flags< ParentClipMode >
 
struct  o3tl::typed_flags< ShowTrackFlags >
 
struct  o3tl::typed_flags< StartTrackingFlags >
 
struct  o3tl::typed_flags< StartAutoScrollFlags >
 
struct  o3tl::typed_flags< GetFocusFlags >
 
struct  o3tl::typed_flags< DrawFlags >
 
struct  o3tl::typed_flags< DialogControlFlags >
 
struct  o3tl::typed_flags< EndExtTextInputFlags >
 
struct  o3tl::typed_flags< WindowHitTest >
 
struct  o3tl::typed_flags< WindowExtendedStyle >
 
class  vcl::RenderTools
 
class  vcl::Window
 
struct  vcl::Window::PointerState
 

Namespaces

 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::accessibility
 
 com::sun::star::rendering
 
 com::sun::star::awt
 
 com::sun::star::uno
 
 com::sun::star::datatransfer
 
 com::sun::star::datatransfer::clipboard
 
 com::sun::star::datatransfer::dnd
 
 vcl
 
 svt
 
 weld
 
 o3tl
 

Macros

#define IMPL_MINSIZE_BUTTON_WIDTH   70
 
#define IMPL_MINSIZE_BUTTON_HEIGHT   22
 
#define IMPL_EXTRA_BUTTON_WIDTH   18
 
#define IMPL_EXTRA_BUTTON_HEIGHT   10
 
#define IMPL_SEP_BUTTON_X   5
 
#define IMPL_SEP_BUTTON_Y   5
 
#define IMPL_MINSIZE_MSGBOX_WIDTH   150
 
#define IMPL_DIALOG_OFFSET   5
 
#define IMPL_DIALOG_BAR_OFFSET   3
 
#define IMPL_MSGBOX_OFFSET_EXTRA_X   0
 
#define IMPL_MSGBOX_OFFSET_EXTRA_Y   2
 
#define IMPL_SEP_MSGBOX_IMAGE   8
 

Enumerations

enum  TrackingEventFlags {
  TrackingEventFlags::NONE = 0x0000,
  TrackingEventFlags::Cancel = 0x0001,
  TrackingEventFlags::Key = 0x0002,
  TrackingEventFlags::Focus = 0x0004,
  TrackingEventFlags::Repeat = 0x0100,
  TrackingEventFlags::End = 0x1000
}
 
enum  GetWindowType {
  GetWindowType::Parent = 0,
  GetWindowType::FirstChild = 1,
  GetWindowType::LastChild = 2,
  GetWindowType::Prev = 3,
  GetWindowType::Next = 4,
  GetWindowType::FirstOverlap = 5,
  GetWindowType::Overlap = 7,
  GetWindowType::ParentOverlap = 8,
  GetWindowType::Client = 9,
  GetWindowType::RealParent = 10,
  GetWindowType::Frame = 11,
  GetWindowType::Border = 12,
  GetWindowType::FirstTopWindowChild = 13,
  GetWindowType::NextTopWindowSibling = 16
}
 
enum  PosSizeFlags {
  PosSizeFlags::NONE = 0x0000,
  PosSizeFlags::X = 0x0001,
  PosSizeFlags::Y = 0x0002,
  PosSizeFlags::Width = 0x0004,
  PosSizeFlags::Height = 0x0008,
  PosSizeFlags::Pos = X | Y,
  PosSizeFlags::Size = Width | Height,
  PosSizeFlags::PosSize = Pos | Size,
  PosSizeFlags::All = PosSize
}
 
enum  ShowFlags {
  ShowFlags::NONE = 0x0000,
  ShowFlags::NoFocusChange = 0x0002,
  ShowFlags::NoActivate = 0x0004,
  ShowFlags::ForegroundTask = 0x0008
}
 
enum  ZOrderFlags {
  ZOrderFlags::NONE = 0x0000,
  ZOrderFlags::Before = 0x0001,
  ZOrderFlags::Behind = 0x0002,
  ZOrderFlags::First = 0x0004,
  ZOrderFlags::Last = 0x0008
}
 
enum  ActivateModeFlags {
  ActivateModeFlags::NONE = 0,
  ActivateModeFlags::GrabFocus = 0x0001
}
 
enum  ToTopFlags {
  ToTopFlags::NONE = 0x0000,
  ToTopFlags::RestoreWhenMin = 0x0001,
  ToTopFlags::ForegroundTask = 0x0002,
  ToTopFlags::NoGrabFocus = 0x0004,
  ToTopFlags::GrabFocusOnly = 0x0008
}
 
enum  InvalidateFlags {
  InvalidateFlags::NONE = 0x0000,
  InvalidateFlags::Children = 0x0001,
  InvalidateFlags::NoChildren = 0x0002,
  InvalidateFlags::NoErase = 0x0004,
  InvalidateFlags::Update = 0x0008,
  InvalidateFlags::Transparent = 0x0010,
  InvalidateFlags::NoTransparent = 0x0020,
  InvalidateFlags::NoClipChildren = 0x4000
}
 
enum  ValidateFlags {
  ValidateFlags::NONE = 0x0000,
  ValidateFlags::Children = 0x0001,
  ValidateFlags::NoChildren = 0x0002
}
 
enum  ScrollFlags {
  ScrollFlags::NONE = 0x0000,
  ScrollFlags::Clip = 0x0001,
  ScrollFlags::Children = 0x0002,
  ScrollFlags::NoChildren = 0x0004,
  ScrollFlags::UseClipRegion = 0x0008,
  ScrollFlags::Update = 0x0010
}
 
enum  ParentClipMode {
  ParentClipMode::NONE = 0x0000,
  ParentClipMode::Clip = 0x0001,
  ParentClipMode::NoClip = 0x0002
}
 
enum  ShowTrackFlags {
  ShowTrackFlags::NONE = 0x0000,
  ShowTrackFlags::Small = 0x0001,
  ShowTrackFlags::Big = 0x0002,
  ShowTrackFlags::Split = 0x0003,
  ShowTrackFlags::Object = 0x0004,
  ShowTrackFlags::StyleMask = 0x000F,
  ShowTrackFlags::TrackWindow = 0x1000,
  ShowTrackFlags::Clip = 0x2000
}
 
enum  StartTrackingFlags {
  StartTrackingFlags::NONE = 0x0001,
  StartTrackingFlags::KeyMod = 0x0002,
  StartTrackingFlags::ScrollRepeat = 0x0004,
  StartTrackingFlags::ButtonRepeat = 0x0008
}
 
enum  StartAutoScrollFlags {
  StartAutoScrollFlags::NONE = 0x0000,
  StartAutoScrollFlags::Vert = 0x0001,
  StartAutoScrollFlags::Horz = 0x0002
}
 
enum  StateChangedType : sal_uInt16 {
  StateChangedType::InitShow = 1,
  StateChangedType::Visible = 2,
  StateChangedType::UpdateMode = 3,
  StateChangedType::Enable = 4,
  StateChangedType::Text = 5,
  StateChangedType::Data = 7,
  StateChangedType::State = 8,
  StateChangedType::Style = 9,
  StateChangedType::Zoom = 10,
  StateChangedType::ControlFont = 13,
  StateChangedType::ControlForeground = 14,
  StateChangedType::ControlBackground = 15,
  StateChangedType::ReadOnly = 16,
  StateChangedType::Mirroring = 18,
  StateChangedType::Layout = 19,
  StateChangedType::ControlFocus = 20
}
 
enum  GetFocusFlags {
  GetFocusFlags::NONE = 0x0000,
  GetFocusFlags::Tab = 0x0001,
  GetFocusFlags::CURSOR = 0x0002,
  GetFocusFlags::Mnemonic = 0x0004,
  GetFocusFlags::F6 = 0x0008,
  GetFocusFlags::Forward = 0x0010,
  GetFocusFlags::Backward = 0x0020,
  GetFocusFlags::Around = 0x0040,
  GetFocusFlags::UniqueMnemonic = 0x0100,
  GetFocusFlags::Init = 0x0200,
  GetFocusFlags::FloatWinPopupModeEndCancel = 0x0400
}
 
enum  DrawFlags {
  DrawFlags::NONE = 0x0000,
  DrawFlags::Mono = 0x0001,
  DrawFlags::NoControls = 0x0004
}
 
enum  DialogControlFlags {
  DialogControlFlags::NONE = 0x0000,
  DialogControlFlags::Return = 0x0001,
  DialogControlFlags::WantFocus = 0x0002,
  DialogControlFlags::FloatWinPopupModeEndCancel = 0x0004
}
 
enum  EndExtTextInputFlags {
  EndExtTextInputFlags::NONE = 0x0000,
  EndExtTextInputFlags::Complete = 0x0001
}
 
enum  GetDlgWindowType {
  GetDlgWindowType::Prev,
  GetDlgWindowType::Next,
  GetDlgWindowType::First
}
 
enum  WindowHitTest {
  WindowHitTest::NONE = 0x0000,
  WindowHitTest::Inside = 0x0001,
  WindowHitTest::Transparent = 0x0002
}
 
enum  WindowExtendedStyle {
  WindowExtendedStyle::NONE = 0x0000,
  WindowExtendedStyle::Document = 0x0001,
  WindowExtendedStyle::DocModified = 0x0002,
  WindowExtendedStyle::DocHidden = 0x0004
}
 

Functions

const char * ImplDbgCheckWindow (const void *pObj)
 

Macro Definition Documentation

#define IMPL_DIALOG_BAR_OFFSET   3

Definition at line 395 of file window.hxx.

Referenced by TabDialog::ImplPosControls().

#define IMPL_DIALOG_OFFSET   5

Definition at line 394 of file window.hxx.

Referenced by TabDialog::ImplPosControls().

#define IMPL_EXTRA_BUTTON_HEIGHT   10

Definition at line 390 of file window.hxx.

#define IMPL_EXTRA_BUTTON_WIDTH   18

Definition at line 389 of file window.hxx.

#define IMPL_MINSIZE_BUTTON_HEIGHT   22

Definition at line 388 of file window.hxx.

Referenced by TabDialog::ImplPosControls().

#define IMPL_MINSIZE_BUTTON_WIDTH   70

Definition at line 387 of file window.hxx.

Referenced by TabDialog::ImplPosControls().

#define IMPL_MINSIZE_MSGBOX_WIDTH   150

Definition at line 393 of file window.hxx.

#define IMPL_MSGBOX_OFFSET_EXTRA_X   0

Definition at line 396 of file window.hxx.

#define IMPL_MSGBOX_OFFSET_EXTRA_Y   2

Definition at line 397 of file window.hxx.

#define IMPL_SEP_BUTTON_X   5

Definition at line 391 of file window.hxx.

#define IMPL_SEP_BUTTON_Y   5

Definition at line 392 of file window.hxx.

#define IMPL_SEP_MSGBOX_IMAGE   8

Definition at line 398 of file window.hxx.

Enumeration Type Documentation

enum ActivateModeFlags
strong
Enumerator
NONE 
GrabFocus 

Definition at line 185 of file window.hxx.

enum DialogControlFlags
strong
Enumerator
NONE 
Return 
WantFocus 
FloatWinPopupModeEndCancel 

Definition at line 364 of file window.hxx.

enum DrawFlags
strong
Enumerator
NONE 
Mono 
NoControls 

Definition at line 352 of file window.hxx.

enum EndExtTextInputFlags
strong
Enumerator
NONE 
Complete 

Definition at line 377 of file window.hxx.

enum GetDlgWindowType
strong
Enumerator
Prev 
Next 
First 

Definition at line 401 of file window.hxx.

enum GetFocusFlags
strong
Enumerator
NONE 
Tab 
CURSOR 
Mnemonic 
F6 
Forward 
Backward 
Around 
UniqueMnemonic 
Init 
FloatWinPopupModeEndCancel 

Definition at line 331 of file window.hxx.

enum GetWindowType
strong
Enumerator
Parent 
FirstChild 
LastChild 
Prev 
Next 
FirstOverlap 
Overlap 
ParentOverlap 
Client 
RealParent 
Frame 
Border 
FirstTopWindowChild 
NextTopWindowSibling 

Definition at line 119 of file window.hxx.

enum InvalidateFlags
strong
Enumerator
NONE 
Children 
NoChildren 
NoErase 
Update 
Transparent 
NoTransparent 
NoClipChildren 

Definition at line 211 of file window.hxx.

enum ParentClipMode
strong
Enumerator
NONE 
Clip 
NoClip 

Definition at line 255 of file window.hxx.

enum PosSizeFlags
strong
Enumerator
NONE 
Width 
Height 
Pos 
Size 
PosSize 
All 

Definition at line 139 of file window.hxx.

enum ScrollFlags
strong
Enumerator
NONE 
Clip 
Children 
NoChildren 
UseClipRegion 
Update 

Definition at line 240 of file window.hxx.

enum ShowFlags
strong
Enumerator
NONE 
NoFocusChange 
NoActivate 
ForegroundTask 

Definition at line 158 of file window.hxx.

enum ShowTrackFlags
strong
Enumerator
NONE 
Small 
Big 
Split 
Object 
StyleMask 
TrackWindow 
Clip 

Definition at line 267 of file window.hxx.

enum StartAutoScrollFlags
strong
Enumerator
NONE 
Vert 
Horz 

Definition at line 297 of file window.hxx.

enum StartTrackingFlags
strong
Enumerator
NONE 
KeyMod 
ScrollRepeat 
ButtonRepeat 

Definition at line 283 of file window.hxx.

enum StateChangedType : sal_uInt16
strong
Enumerator
InitShow 
Visible 
UpdateMode 
Enable 
Text 
Data 
State 
Style 
Zoom 
ControlFont 
ControlForeground 
ControlBackground 
ReadOnly 
Mirroring 
Layout 
ControlFocus 

Definition at line 309 of file window.hxx.

enum ToTopFlags
strong
Enumerator
NONE 
RestoreWhenMin 
ForegroundTask 
NoGrabFocus 
GrabFocusOnly 

Definition at line 196 of file window.hxx.

enum TrackingEventFlags
strong
Enumerator
NONE 
Cancel 
Key 
Focus 
Repeat 
End 

Definition at line 103 of file window.hxx.

enum ValidateFlags
strong
Enumerator
NONE 
Children 
NoChildren 

Definition at line 228 of file window.hxx.

enum WindowExtendedStyle
strong
Enumerator
NONE 
Document 
DocModified 
DocHidden 

This is a frame window that is requested to be hidden (not just "not yet shown").

Definition at line 442 of file window.hxx.

enum WindowHitTest
strong
Enumerator
NONE 
Inside 
Transparent 

Definition at line 432 of file window.hxx.

enum ZOrderFlags
strong
Enumerator
NONE 
Before 
Behind 
First 
Last 

Definition at line 171 of file window.hxx.

Function Documentation

const char* ImplDbgCheckWindow ( const void pObj)

Definition at line 26 of file debug.cxx.

References DBG_TESTSOLARMUTEX, vcl::Window::GetType(), and vcl::Window::mpWindowImpl.