diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window.cxx | 294 |
1 files changed, 147 insertions, 147 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 833a0a4b0b81..40eb76e44fda 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -564,153 +564,153 @@ Window::~Window() WindowImpl::WindowImpl( WindowType nType ) { - maZoom = Fraction( 1, 1 ); - maWinRegion = Region(true); - maWinClipRegion = Region(true); - mpWinData = NULL; // Extra Window Data, that we dont need for all windows - mpOverlapData = NULL; // Overlap Data - mpFrameData = NULL; // Frame Data - mpFrame = NULL; // Pointer to frame window - mpSysObj = NULL; - mpFrameWindow = NULL; // window to top level parent (same as frame window) - mpOverlapWindow = NULL; // first overlap parent - mpBorderWindow = NULL; // Border-Window - mpClientWindow = NULL; // Client-Window of a FrameWindow - mpParent = NULL; // parent (inkl. BorderWindow) - mpRealParent = NULL; // real parent (exkl. BorderWindow) - mpFirstChild = NULL; // first child window - mpLastChild = NULL; // last child window - mpFirstOverlap = NULL; // first overlap window (only set in overlap windows) - mpLastOverlap = NULL; // last overlap window (only set in overlap windows) - mpPrev = NULL; // prev window - mpNext = NULL; // next window - mpNextOverlap = NULL; // next overlap window of frame - mpLastFocusWindow = NULL; // window for focus restore - mpDlgCtrlDownWindow = NULL; // window for dialog control - mpFirstDel = NULL; // Dtor notification list - mpUserData = NULL; // user data - mpCursor = NULL; // cursor - mpControlFont = NULL; // font propertie - mpVCLXWindow = NULL; - mpAccessibleInfos = NULL; - maControlForeground = Color( COL_TRANSPARENT ); // no foreground set - maControlBackground = Color( COL_TRANSPARENT ); // no background set - mnLeftBorder = 0; // left border - mnTopBorder = 0; // top border - mnRightBorder = 0; // right border - mnBottomBorder = 0; // bottom border - mnWidthRequest = -1; // width request - mnHeightRequest = -1; // height request - mnX = 0; // X-Position to Parent - mnY = 0; // Y-Position to Parent - mnAbsScreenX = 0; // absolute X-position on screen, used for RTL window positioning - mpChildClipRegion = NULL; // Child-Clip-Region when ClipChildren - mpPaintRegion = NULL; // Paint-ClipRegion - mnStyle = 0; // style (init in ImplInitWindow) - mnPrevStyle = 0; // prevstyle (set in SetStyle) - mnExtendedStyle = 0; // extended style (init in ImplInitWindow) - mnPrevExtendedStyle = 0; // prevstyle (set in SetExtendedStyle) - mnType = nType; // type - mnGetFocusFlags = 0; // Flags fuer GetFocus()-Aufruf - mnWaitCount = 0; // Wait-Count (>1 == Warte-MousePointer) - mnPaintFlags = 0; // Flags for ImplCallPaint - mnParentClipMode = 0; // Flags for Parent-ClipChildren-Mode - mnActivateMode = 0; // Will be converted in System/Overlap-Windows - mnDlgCtrlFlags = 0; // DialogControl-Flags - mnLockCount = 0; // LockCount - meAlwaysInputMode = AlwaysInputNone; // neither AlwaysEnableInput nor AlwaysDisableInput called - meHalign = VCL_ALIGN_FILL; - meValign = VCL_ALIGN_FILL; - mePackType = VCL_PACK_START; - mnPadding = 0; - mnGridHeight = 1; - mnGridLeftAttach = -1; - mnGridTopAttach = -1; - mnGridWidth = 1; - mnBorderWidth = 0; - mnMarginLeft = 0; - mnMarginRight = 0; - mnMarginTop = 0; - mnMarginBottom = 0; - mbFrame = false; // true: Window is a frame window - mbBorderWin = false; // true: Window is a border window - mbOverlapWin = false; // true: Window is a overlap window - mbSysWin = false; // true: SystemWindow is the base class - mbDialog = false; // true: Dialog is the base class - mbDockWin = false; // true: DockingWindow is the base class - mbFloatWin = false; // true: FloatingWindow is the base class - mbPushButton = false; // true: PushButton is the base class - mbToolBox = false; // true: ToolBox is the base class - mbMenuFloatingWindow= false; // true: MenuFloatingWindow is the base class - mbToolbarFloatingWindow= false; // true: ImplPopupFloatWin is the base class, used for subtoolbars - mbSplitter = false; // true: Splitter is the base class - mbVisible = false; // true: Show( true ) called - mbOverlapVisible = false; // true: Hide called for visible window from ImplHideAllOverlapWindow() - mbDisabled = false; // true: Enable( false ) called - mbInputDisabled = false; // true: EnableInput( false ) called - mbDropDisabled = false; // true: Drop is enabled - mbNoUpdate = false; // true: SetUpdateMode( false ) called - mbNoParentUpdate = false; // true: SetParentUpdateMode( false ) called - mbActive = false; // true: Window Active - mbParentActive = false; // true: OverlapActive from Parent - mbReallyVisible = false; // true: this and all parents to an overlapped window are visible - mbReallyShown = false; // true: this and all parents to an overlapped window are shown - mbInInitShow = false; // true: we are in InitShow - mbChildNotify = false; // true: ChildNotify - mbChildPtrOverwrite = false; // true: PointerStyle overwrites Child-Pointer - mbNoPtrVisible = false; // true: ShowPointer( false ) called - mbMouseMove = false; // true: BaseMouseMove called - mbPaintFrame = false; // true: Paint is visible, but not painted - mbInPaint = false; // true: Inside PaintHdl - mbMouseButtonDown = false; // true: BaseMouseButtonDown called - mbMouseButtonUp = false; // true: BaseMouseButtonUp called - mbKeyInput = false; // true: BaseKeyInput called - mbKeyUp = false; // true: BaseKeyUp called - mbCommand = false; // true: BaseCommand called - mbDefPos = true; // true: Position is not Set - mbDefSize = true; // true: Size is not Set - mbCallMove = true; // true: Move must be called by Show - mbCallResize = true; // true: Resize must be called by Show - mbWaitSystemResize = true; // true: Wait for System-Resize - mbInitWinClipRegion = true; // true: Calc Window Clip Region - mbInitChildRegion = false; // true: InitChildClipRegion - mbWinRegion = false; // true: Window Region - mbClipChildren = false; // true: Child-window should be clipped - mbClipSiblings = false; // true: Adjacent Child-window should be clipped - mbChildTransparent = false; // true: Child-windows are allowed to switch to transparent (incl. Parent-CLIPCHILDREN) - mbPaintTransparent = false; // true: Paints should be executed on the Parent - mbMouseTransparent = false; // true: Window is transparent for Mouse - mbDlgCtrlStart = false; // true: From here on own Dialog-Control - mbFocusVisible = false; // true: Focus Visible - mbUseNativeFocus = false; - mbNativeFocusVisible= false; // true: native Focus Visible - mbInShowFocus = false; // prevent recursion - mbInHideFocus = false; // prevent recursion - mbTrackVisible = false; // true: Tracking Visible - mbControlForeground = false; // true: Foreground-Property set - mbControlBackground = false; // true: Background-Property set - mbAlwaysOnTop = false; // true: always visible for all others windows - mbCompoundControl = false; // true: Composite Control => Listener... - mbCompoundControlHasFocus = false; // true: Composite Control has focus somewhere - mbPaintDisabled = false; // true: Paint should not be executed - mbAllResize = false; // true: Also sent ResizeEvents with 0,0 - mbInDtor = false; // true: We're still in Window-Dtor - mbExtTextInput = false; // true: ExtTextInput-Mode is active - mbInFocusHdl = false; // true: Within GetFocus-Handler - mbCreatedWithToolkit = false; - mbSuppressAccessibilityEvents = false; // true: do not send any accessibility events - mbDrawSelectionBackground = false; // true: draws transparent window background to indicate (toolbox) selection - mbIsInTaskPaneList = false; // true: window was added to the taskpanelist in the topmost system window - mnNativeBackground = 0; // initialize later, depends on type - mbCallHandlersDuringInputDisabled = false; // true: call event handlers even if input is disabled - mbHelpTextDynamic = false; // true: append help id in HELP_DEBUG case - mbFakeFocusSet = false; // true: pretend as if the window has focus. - mbHexpand = false; - mbVexpand = false; - mbExpand = false; - mbFill = true; - mbSecondary = false; - mbNonHomogeneous = false; + maZoom = Fraction( 1, 1 ); + maWinRegion = Region(true); + maWinClipRegion = Region(true); + mpWinData = NULL; // Extra Window Data, that we dont need for all windows + mpOverlapData = NULL; // Overlap Data + mpFrameData = NULL; // Frame Data + mpFrame = NULL; // Pointer to frame window + mpSysObj = NULL; + mpFrameWindow = NULL; // window to top level parent (same as frame window) + mpOverlapWindow = NULL; // first overlap parent + mpBorderWindow = NULL; // Border-Window + mpClientWindow = NULL; // Client-Window of a FrameWindow + mpParent = NULL; // parent (inkl. BorderWindow) + mpRealParent = NULL; // real parent (exkl. BorderWindow) + mpFirstChild = NULL; // first child window + mpLastChild = NULL; // last child window + mpFirstOverlap = NULL; // first overlap window (only set in overlap windows) + mpLastOverlap = NULL; // last overlap window (only set in overlap windows) + mpPrev = NULL; // prev window + mpNext = NULL; // next window + mpNextOverlap = NULL; // next overlap window of frame + mpLastFocusWindow = NULL; // window for focus restore + mpDlgCtrlDownWindow = NULL; // window for dialog control + mpFirstDel = NULL; // Dtor notification list + mpUserData = NULL; // user data + mpCursor = NULL; // cursor + mpControlFont = NULL; // font properties + mpVCLXWindow = NULL; + mpAccessibleInfos = NULL; + maControlForeground = Color( COL_TRANSPARENT ); // no foreground set + maControlBackground = Color( COL_TRANSPARENT ); // no background set + mnLeftBorder = 0; // left border + mnTopBorder = 0; // top border + mnRightBorder = 0; // right border + mnBottomBorder = 0; // bottom border + mnWidthRequest = -1; // width request + mnHeightRequest = -1; // height request + mnX = 0; // X-Position to Parent + mnY = 0; // Y-Position to Parent + mnAbsScreenX = 0; // absolute X-position on screen, used for RTL window positioning + mpChildClipRegion = NULL; // Child-Clip-Region when ClipChildren + mpPaintRegion = NULL; // Paint-ClipRegion + mnStyle = 0; // style (init in ImplInitWindow) + mnPrevStyle = 0; // prevstyle (set in SetStyle) + mnExtendedStyle = 0; // extended style (init in ImplInitWindow) + mnPrevExtendedStyle = 0; // prevstyle (set in SetExtendedStyle) + mnType = nType; // type + mnGetFocusFlags = 0; // Flags fuer GetFocus()-Aufruf + mnWaitCount = 0; // Wait-Count (>1 == Warte-MousePointer) + mnPaintFlags = 0; // Flags for ImplCallPaint + mnParentClipMode = 0; // Flags for Parent-ClipChildren-Mode + mnActivateMode = 0; // Will be converted in System/Overlap-Windows + mnDlgCtrlFlags = 0; // DialogControl-Flags + mnLockCount = 0; // LockCount + meAlwaysInputMode = AlwaysInputNone; // neither AlwaysEnableInput nor AlwaysDisableInput called + meHalign = VCL_ALIGN_FILL; + meValign = VCL_ALIGN_FILL; + mePackType = VCL_PACK_START; + mnPadding = 0; + mnGridHeight = 1; + mnGridLeftAttach = -1; + mnGridTopAttach = -1; + mnGridWidth = 1; + mnBorderWidth = 0; + mnMarginLeft = 0; + mnMarginRight = 0; + mnMarginTop = 0; + mnMarginBottom = 0; + mbFrame = false; // true: Window is a frame window + mbBorderWin = false; // true: Window is a border window + mbOverlapWin = false; // true: Window is a overlap window + mbSysWin = false; // true: SystemWindow is the base class + mbDialog = false; // true: Dialog is the base class + mbDockWin = false; // true: DockingWindow is the base class + mbFloatWin = false; // true: FloatingWindow is the base class + mbPushButton = false; // true: PushButton is the base class + mbToolBox = false; // true: ToolBox is the base class + mbMenuFloatingWindow = false; // true: MenuFloatingWindow is the base class + mbToolbarFloatingWindow = false; // true: ImplPopupFloatWin is the base class, used for subtoolbars + mbSplitter = false; // true: Splitter is the base class + mbVisible = false; // true: Show( true ) called + mbOverlapVisible = false; // true: Hide called for visible window from ImplHideAllOverlapWindow() + mbDisabled = false; // true: Enable( false ) called + mbInputDisabled = false; // true: EnableInput( false ) called + mbDropDisabled = false; // true: Drop is enabled + mbNoUpdate = false; // true: SetUpdateMode( false ) called + mbNoParentUpdate = false; // true: SetParentUpdateMode( false ) called + mbActive = false; // true: Window Active + mbParentActive = false; // true: OverlapActive from Parent + mbReallyVisible = false; // true: this and all parents to an overlapped window are visible + mbReallyShown = false; // true: this and all parents to an overlapped window are shown + mbInInitShow = false; // true: we are in InitShow + mbChildNotify = false; // true: ChildNotify + mbChildPtrOverwrite = false; // true: PointerStyle overwrites Child-Pointer + mbNoPtrVisible = false; // true: ShowPointer( false ) called + mbMouseMove = false; // true: BaseMouseMove called + mbPaintFrame = false; // true: Paint is visible, but not painted + mbInPaint = false; // true: Inside PaintHdl + mbMouseButtonDown = false; // true: BaseMouseButtonDown called + mbMouseButtonUp = false; // true: BaseMouseButtonUp called + mbKeyInput = false; // true: BaseKeyInput called + mbKeyUp = false; // true: BaseKeyUp called + mbCommand = false; // true: BaseCommand called + mbDefPos = true; // true: Position is not Set + mbDefSize = true; // true: Size is not Set + mbCallMove = true; // true: Move must be called by Show + mbCallResize = true; // true: Resize must be called by Show + mbWaitSystemResize = true; // true: Wait for System-Resize + mbInitWinClipRegion = true; // true: Calc Window Clip Region + mbInitChildRegion = false; // true: InitChildClipRegion + mbWinRegion = false; // true: Window Region + mbClipChildren = false; // true: Child-window should be clipped + mbClipSiblings = false; // true: Adjacent Child-window should be clipped + mbChildTransparent = false; // true: Child-windows are allowed to switch to transparent (incl. Parent-CLIPCHILDREN) + mbPaintTransparent = false; // true: Paints should be executed on the Parent + mbMouseTransparent = false; // true: Window is transparent for Mouse + mbDlgCtrlStart = false; // true: From here on own Dialog-Control + mbFocusVisible = false; // true: Focus Visible + mbUseNativeFocus = false; + mbNativeFocusVisible = false; // true: native Focus Visible + mbInShowFocus = false; // prevent recursion + mbInHideFocus = false; // prevent recursion + mbTrackVisible = false; // true: Tracking Visible + mbControlForeground = false; // true: Foreground-Property set + mbControlBackground = false; // true: Background-Property set + mbAlwaysOnTop = false; // true: always visible for all others windows + mbCompoundControl = false; // true: Composite Control => Listener... + mbCompoundControlHasFocus = false; // true: Composite Control has focus somewhere + mbPaintDisabled = false; // true: Paint should not be executed + mbAllResize = false; // true: Also sent ResizeEvents with 0,0 + mbInDtor = false; // true: We're still in Window-Dtor + mbExtTextInput = false; // true: ExtTextInput-Mode is active + mbInFocusHdl = false; // true: Within GetFocus-Handler + mbCreatedWithToolkit = false; + mbSuppressAccessibilityEvents = false; // true: do not send any accessibility events + mbDrawSelectionBackground = false; // true: draws transparent window background to indicate (toolbox) selection + mbIsInTaskPaneList = false; // true: window was added to the taskpanelist in the topmost system window + mnNativeBackground = 0; // initialize later, depends on type + mbCallHandlersDuringInputDisabled = false; // true: call event handlers even if input is disabled + mbHelpTextDynamic = false; // true: append help id in HELP_DEBUG case + mbFakeFocusSet = false; // true: pretend as if the window has focus. + mbHexpand = false; + mbVexpand = false; + mbExpand = false; + mbFill = true; + mbSecondary = false; + mbNonHomogeneous = false; } WindowImpl::~WindowImpl() |