Lines Matching refs:mpWindowImpl

330     Window* pChild = pWindow->mpWindowImpl->mpFirstChild;  in ImplDbgCheckWindow()
333 if ( pChild->mpWindowImpl->mpParent != pWindow ) in ImplDbgCheckWindow()
335 pChild = pChild->mpWindowImpl->mpNext; in ImplDbgCheckWindow()
462 if ( aName.Len() && mpWindowImpl->mpFrameData->mpFontList->FindFontFamily( aName ) ) in ImplUpdateGlobalSettings()
472 if ( mpWindowImpl->mpFrameData->mpFontList->FindFontFamily( aFallbackFont ) ) in ImplUpdateGlobalSettings()
720 mpWindowImpl = new WindowImpl( nType ); in ImplInitWindowData()
738 DBG_ASSERT( mpWindowImpl->mbFrame || pParent, "Window::Window(): pParent == NULL" ); in ImplInit()
744 if ( !mpWindowImpl->mbOverlapWin && pParent && (pParent->GetStyle() & WB_3DLOOK) ) in ImplInit()
748 if ( !mpWindowImpl->mbFrame && !mpWindowImpl->mbBorderWin && !mpWindowImpl->mpBorderWindow in ImplInit()
762 mpWindowImpl->mbIsThemingEnabled in ImplInit()
765 ((Window*)pBorderWin)->mpWindowImpl->mpClientWindow = this; in ImplInit()
766 …pBorderWin->GetBorder( mpWindowImpl->mnLeftBorder, mpWindowImpl->mnTopBorder, mpWindowImpl->mnRigh… in ImplInit()
767 mpWindowImpl->mpBorderWindow = pBorderWin; in ImplInit()
768 pParent = mpWindowImpl->mpBorderWindow; in ImplInit()
770 else if( !mpWindowImpl->mbFrame && ! pParent ) in ImplInit()
772 mpWindowImpl->mbOverlapWin = sal_True; in ImplInit()
773 mpWindowImpl->mbFrame = sal_True; in ImplInit()
778 mpWindowImpl->mnStyle = nStyle; in ImplInit()
781 if ( mpWindowImpl->mbOverlapWin ) in ImplInit()
783 mpWindowImpl->mpOverlapData = new ImplOverlapData; in ImplInit()
784 mpWindowImpl->mpOverlapData->mpSaveBackDev = NULL; in ImplInit()
785 mpWindowImpl->mpOverlapData->mpSaveBackRgn = NULL; in ImplInit()
786 mpWindowImpl->mpOverlapData->mpNextBackWin = NULL; in ImplInit()
787 mpWindowImpl->mpOverlapData->mnSaveBackSize = 0; in ImplInit()
788 mpWindowImpl->mpOverlapData->mbSaveBack = sal_False; in ImplInit()
789 mpWindowImpl->mpOverlapData->mnTopLevel = 1; in ImplInit()
792 if( pParent && ! mpWindowImpl->mbFrame ) in ImplInit()
796 if ( mpWindowImpl->mbFrame ) in ImplInit()
812 …( mpWindowImpl->mbFloatWin || ((GetType() == WINDOW_BORDERWINDOW) && ((ImplBorderWindow*)this)->mb… in ImplInit()
822 else if( mpWindowImpl->mbFloatWin ) in ImplInit()
836 switch (mpWindowImpl->mnType) in ImplInit()
854 pParentFrame = pParent->mpWindowImpl->mpFrame; in ImplInit()
872 mpWindowImpl->mpFrameData = new ImplFrameData; in ImplInit()
873 mpWindowImpl->mpFrame = pFrame; in ImplInit()
874 mpWindowImpl->mpFrameWindow = this; in ImplInit()
875 mpWindowImpl->mpOverlapWindow = this; in ImplInit()
878 mpWindowImpl->mpFrameData->mpNextFrame = pSVData->maWinData.mpFirstFrame; in ImplInit()
880 mpWindowImpl->mpFrameData->mpFirstOverlap = NULL; in ImplInit()
881 mpWindowImpl->mpFrameData->mpFocusWin = NULL; in ImplInit()
882 mpWindowImpl->mpFrameData->mpMouseMoveWin = NULL; in ImplInit()
883 mpWindowImpl->mpFrameData->mpMouseDownWin = NULL; in ImplInit()
884 mpWindowImpl->mpFrameData->mpFirstBackWin = NULL; in ImplInit()
885 mpWindowImpl->mpFrameData->mpFontList = pSVData->maGDIData.mpScreenFontList; in ImplInit()
886 mpWindowImpl->mpFrameData->mpFontCache = pSVData->maGDIData.mpScreenFontCache; in ImplInit()
887 mpWindowImpl->mpFrameData->mnAllSaveBackSize = 0; in ImplInit()
888 mpWindowImpl->mpFrameData->mnFocusId = 0; in ImplInit()
889 mpWindowImpl->mpFrameData->mnMouseMoveId = 0; in ImplInit()
890 mpWindowImpl->mpFrameData->mnLastMouseX = -1; in ImplInit()
891 mpWindowImpl->mpFrameData->mnLastMouseY = -1; in ImplInit()
892 mpWindowImpl->mpFrameData->mnBeforeLastMouseX = -1; in ImplInit()
893 mpWindowImpl->mpFrameData->mnBeforeLastMouseY = -1; in ImplInit()
894 mpWindowImpl->mpFrameData->mnFirstMouseX = -1; in ImplInit()
895 mpWindowImpl->mpFrameData->mnFirstMouseY = -1; in ImplInit()
896 mpWindowImpl->mpFrameData->mnLastMouseWinX = -1; in ImplInit()
897 mpWindowImpl->mpFrameData->mnLastMouseWinY = -1; in ImplInit()
898 mpWindowImpl->mpFrameData->mnModalMode = 0; in ImplInit()
899 mpWindowImpl->mpFrameData->mnMouseDownTime = 0; in ImplInit()
900 mpWindowImpl->mpFrameData->mnClickCount = 0; in ImplInit()
901 mpWindowImpl->mpFrameData->mnFirstMouseCode = 0; in ImplInit()
902 mpWindowImpl->mpFrameData->mnMouseCode = 0; in ImplInit()
903 mpWindowImpl->mpFrameData->mnMouseMode = 0; in ImplInit()
904 mpWindowImpl->mpFrameData->meMapUnit = MAP_PIXEL; in ImplInit()
905 mpWindowImpl->mpFrameData->mbHasFocus = sal_False; in ImplInit()
906 mpWindowImpl->mpFrameData->mbInMouseMove = sal_False; in ImplInit()
907 mpWindowImpl->mpFrameData->mbMouseIn = sal_False; in ImplInit()
908 mpWindowImpl->mpFrameData->mbStartDragCalled = sal_False; in ImplInit()
909 mpWindowImpl->mpFrameData->mbNeedSysWindow = sal_False; in ImplInit()
910 mpWindowImpl->mpFrameData->mbMinimized = sal_False; in ImplInit()
911 mpWindowImpl->mpFrameData->mbStartFocusState = sal_False; in ImplInit()
912 mpWindowImpl->mpFrameData->mbInSysObjFocusHdl = sal_False; in ImplInit()
913 mpWindowImpl->mpFrameData->mbInSysObjToTopHdl = sal_False; in ImplInit()
914 mpWindowImpl->mpFrameData->mbSysObjFocus = sal_False; in ImplInit()
915 mpWindowImpl->mpFrameData->maPaintTimer.SetTimeout( 30 ); in ImplInit()
916mpWindowImpl->mpFrameData->maPaintTimer.SetTimeoutHdl( LINK( this, Window, ImplHandlePaintHdl ) ); in ImplInit()
917 mpWindowImpl->mpFrameData->maResizeTimer.SetTimeout( 50 ); in ImplInit()
918mpWindowImpl->mpFrameData->maResizeTimer.SetTimeoutHdl( LINK( this, Window, ImplHandleResizeTimerH… in ImplInit()
919 mpWindowImpl->mpFrameData->mbInternalDragGestureRecognizer = sal_False; in ImplInit()
929 mpWindowImpl->mpRealParent = pRealParent; in ImplInit()
932 mpFontList = mpWindowImpl->mpFrameData->mpFontList; in ImplInit()
933 mpFontCache = mpWindowImpl->mpFrameData->mpFontCache; in ImplInit()
935 if ( mpWindowImpl->mbFrame ) in ImplInit()
939 mpWindowImpl->mpFrameData->mnDPIX = pParent->mpWindowImpl->mpFrameData->mnDPIX; in ImplInit()
940 mpWindowImpl->mpFrameData->mnDPIY = pParent->mpWindowImpl->mpFrameData->mnDPIY; in ImplInit()
946 … mpGraphics->GetResolution( mpWindowImpl->mpFrameData->mnDPIX, mpWindowImpl->mpFrameData->mnDPIY ); in ImplInit()
971 mpWindowImpl->mpFrame->GetClientSize( mnOutWidth, mnOutHeight ); in ImplInit()
979 mpWindowImpl->mbDisabled = pParent->mpWindowImpl->mbDisabled; in ImplInit()
980 mpWindowImpl->mbInputDisabled = pParent->mpWindowImpl->mbInputDisabled; in ImplInit()
981 mpWindowImpl->meAlwaysInputMode = pParent->mpWindowImpl->meAlwaysInputMode; in ImplInit()
991 mnDPIX = (mpWindowImpl->mpFrameData->mnDPIX*nScreenZoom)/100; in ImplInit()
992 mnDPIY = (mpWindowImpl->mpFrameData->mnDPIY*nScreenZoom)/100; in ImplInit()
1010 …if ( mpWindowImpl->mbFrame && !pSVData->maGDIData.mnAppFontX && ! (nStyle & (WB_INTROWIN|WB_DEFAUL… in ImplInit()
1028 …DBG_ASSERT( mpWindowImpl->mpFrame != pFrameWindow->mpWindowImpl->mpFrame, "SetFrameParent to own" … in ImplSetFrameParent()
1029 DBG_ASSERT( mpWindowImpl->mpFrame, "no frame" ); in ImplSetFrameParent()
1030 SalFrame* pParentFrame = pParent ? pParent->mpWindowImpl->mpFrame : NULL; in ImplSetFrameParent()
1031 pFrameWindow->mpWindowImpl->mpFrame->SetParent( pParentFrame ); in ImplSetFrameParent()
1033 pFrameWindow = pFrameWindow->mpWindowImpl->mpFrameData->mpNextFrame; in ImplSetFrameParent()
1041 mpWindowImpl->mpParent = pParent; in ImplInsertWindow()
1042 mpWindowImpl->mpRealParent = pParent; in ImplInsertWindow()
1044 if ( pParent && !mpWindowImpl->mbFrame ) in ImplInsertWindow()
1047 Window* pFrameParent = pParent->mpWindowImpl->mpFrameWindow; in ImplInsertWindow()
1048 mpWindowImpl->mpFrameData = pFrameParent->mpWindowImpl->mpFrameData; in ImplInsertWindow()
1049 mpWindowImpl->mpFrame = pFrameParent->mpWindowImpl->mpFrame; in ImplInsertWindow()
1050 mpWindowImpl->mpFrameWindow = pFrameParent; in ImplInsertWindow()
1051 mpWindowImpl->mbFrame = sal_False; in ImplInsertWindow()
1059 mpWindowImpl->mpOverlapWindow = pFirstOverlapParent; in ImplInsertWindow()
1061 mpWindowImpl->mpNextOverlap = mpWindowImpl->mpFrameData->mpFirstOverlap; in ImplInsertWindow()
1062 mpWindowImpl->mpFrameData->mpFirstOverlap = this; in ImplInsertWindow()
1065 mpWindowImpl->mpNext = pFirstOverlapParent->mpWindowImpl->mpFirstOverlap; in ImplInsertWindow()
1066 pFirstOverlapParent->mpWindowImpl->mpFirstOverlap = this; in ImplInsertWindow()
1067 if ( !pFirstOverlapParent->mpWindowImpl->mpLastOverlap ) in ImplInsertWindow()
1068 pFirstOverlapParent->mpWindowImpl->mpLastOverlap = this; in ImplInsertWindow()
1070 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = this; in ImplInsertWindow()
1075 mpWindowImpl->mpOverlapWindow = pParent; in ImplInsertWindow()
1077 mpWindowImpl->mpOverlapWindow = pParent->mpWindowImpl->mpOverlapWindow; in ImplInsertWindow()
1078 mpWindowImpl->mpPrev = pParent->mpWindowImpl->mpLastChild; in ImplInsertWindow()
1079 pParent->mpWindowImpl->mpLastChild = this; in ImplInsertWindow()
1080 if ( !pParent->mpWindowImpl->mpFirstChild ) in ImplInsertWindow()
1081 pParent->mpWindowImpl->mpFirstChild = this; in ImplInsertWindow()
1083 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = this; in ImplInsertWindow()
1093 if ( !mpWindowImpl->mbFrame ) in ImplRemoveWindow()
1097 if ( mpWindowImpl->mpFrameData->mpFirstOverlap == this ) in ImplRemoveWindow()
1098 mpWindowImpl->mpFrameData->mpFirstOverlap = mpWindowImpl->mpNextOverlap; in ImplRemoveWindow()
1101 Window* pTempWin = mpWindowImpl->mpFrameData->mpFirstOverlap; in ImplRemoveWindow()
1102 while ( pTempWin->mpWindowImpl->mpNextOverlap != this ) in ImplRemoveWindow()
1103 pTempWin = pTempWin->mpWindowImpl->mpNextOverlap; in ImplRemoveWindow()
1104 pTempWin->mpWindowImpl->mpNextOverlap = mpWindowImpl->mpNextOverlap; in ImplRemoveWindow()
1107 if ( mpWindowImpl->mpPrev ) in ImplRemoveWindow()
1108 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in ImplRemoveWindow()
1110 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap = mpWindowImpl->mpNext; in ImplRemoveWindow()
1111 if ( mpWindowImpl->mpNext ) in ImplRemoveWindow()
1112 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in ImplRemoveWindow()
1114 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap = mpWindowImpl->mpPrev; in ImplRemoveWindow()
1118 if ( mpWindowImpl->mpPrev ) in ImplRemoveWindow()
1119 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in ImplRemoveWindow()
1121 mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild = mpWindowImpl->mpNext; in ImplRemoveWindow()
1122 if ( mpWindowImpl->mpNext ) in ImplRemoveWindow()
1123 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in ImplRemoveWindow()
1125 mpWindowImpl->mpParent->mpWindowImpl->mpLastChild = mpWindowImpl->mpPrev; in ImplRemoveWindow()
1128 mpWindowImpl->mpPrev = NULL; in ImplRemoveWindow()
1129 mpWindowImpl->mpNext = NULL; in ImplRemoveWindow()
1143 mpWindowImpl->mbCallResize = sal_False; in ImplCallResize()
1161 mpWindowImpl->mbCallMove = sal_False; in ImplCallMove()
1163 if( mpWindowImpl->mbFrame ) in ImplCallMove()
1170 if( pParent->mpWindowImpl->mpFrame != mpWindowImpl->mpFrame ) in ImplCallMove()
1172 pParentFrame = pParent->mpWindowImpl->mpFrame; in ImplCallMove()
1178 SalFrameGeometry g = mpWindowImpl->mpFrame->GetGeometry(); in ImplCallMove()
1179 mpWindowImpl->maPos = Point( g.nX, g.nY ); in ImplCallMove()
1183 mpWindowImpl->maPos -= Point( g.nX, g.nY ); in ImplCallMove()
1188 Window *pClientWin = mpWindowImpl->mpClientWindow; in ImplCallMove()
1191 pClientWin->mpWindowImpl->maPos = mpWindowImpl->maPos; in ImplCallMove()
1192 pClientWin = pClientWin->mpWindowImpl->mpClientWindow; in ImplCallMove()
1306 mpWindowImpl->mbHelpTextDynamic = sal_True; in ImplLoadRes()
1326 if ( !mpWindowImpl->mpWinData ) in ImplGetWinData()
1330 ((Window*)this)->mpWindowImpl->mpWinData = new ImplWinData; in ImplGetWinData()
1331 mpWindowImpl->mpWinData->mpExtOldText = NULL; in ImplGetWinData()
1332 mpWindowImpl->mpWinData->mpExtOldAttrAry = NULL; in ImplGetWinData()
1333 mpWindowImpl->mpWinData->mpCursorRect = 0; in ImplGetWinData()
1334 mpWindowImpl->mpWinData->mnCursorExtWidth = 0; in ImplGetWinData()
1335 mpWindowImpl->mpWinData->mpFocusRect = NULL; in ImplGetWinData()
1336 mpWindowImpl->mpWinData->mpTrackRect = NULL; in ImplGetWinData()
1337 mpWindowImpl->mpWinData->mnTrackFlags = 0; in ImplGetWinData()
1338mpWindowImpl->mpWinData->mnIsTopWindow = (sal_uInt16) ~0; // not initialized yet, 0/1 will indic… in ImplGetWinData()
1339 mpWindowImpl->mpWinData->mbMouseOver = sal_False; in ImplGetWinData()
1340mpWindowImpl->mpWinData->mbEnableNativeWidget = (pNoNWF && *pNoNWF) ? sal_False : sal_True; // sal… in ImplGetWinData()
1343 return mpWindowImpl->mpWinData; in ImplGetWinData()
1350 if ( mpWindowImpl->mpFrameWindow->mpGraphics ) in ImplGetFrameGraphics()
1351 mpWindowImpl->mpFrameWindow->mbInitClipRegion = sal_True; in ImplGetFrameGraphics()
1353 mpWindowImpl->mpFrameWindow->ImplGetGraphics(); in ImplGetFrameGraphics()
1354 mpWindowImpl->mpFrameWindow->mpGraphics->ResetClipRegion(); in ImplGetFrameGraphics()
1355 return mpWindowImpl->mpFrameWindow->mpGraphics; in ImplGetFrameGraphics()
1368 pTempWindow = mpWindowImpl->mpFirstOverlap; in ImplFindWindow()
1374 pTempWindow = pTempWindow->mpWindowImpl->mpNext; in ImplFindWindow()
1378 if ( !mpWindowImpl->mbVisible ) in ImplFindWindow()
1385 pTempWindow = mpWindowImpl->mpFirstChild; in ImplFindWindow()
1391 pTempWindow = pTempWindow->mpWindowImpl->mpNext; in ImplFindWindow()
1416 if ( mpWindowImpl->mbWinRegion ) in ImplHitTest()
1421 if ( !mpWindowImpl->maWinRegion.IsInside( aTempPos ) ) in ImplHitTest()
1426 if ( mpWindowImpl->mbMouseTransparent ) in ImplHitTest()
1478 if ( mpWindowImpl->mpFrameWindow != pWindow->mpWindowImpl->mpFrameWindow ) in ImplGetSameParent()
1528 if ( pWindow->mpWindowImpl->mbNoPtrVisible ) in ImplGetMousePointer()
1533 if ( pWindow->mpWindowImpl->mnWaitCount ) in ImplGetMousePointer()
1540 if ( pWindow->mpWindowImpl->mbChildPtrOverwrite ) in ImplGetMousePointer()
1559 sal_Bool bBecameReallyInvisible = mpWindowImpl->mbReallyVisible; in ImplResetReallyVisible()
1562 mpWindowImpl->mbReallyVisible = sal_False; in ImplResetReallyVisible()
1563 mpWindowImpl->mbReallyShown = sal_False; in ImplResetReallyVisible()
1574 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplResetReallyVisible()
1577 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplResetReallyVisible()
1579 pWindow = pWindow->mpWindowImpl->mpNext; in ImplResetReallyVisible()
1582 pWindow = mpWindowImpl->mpFirstChild; in ImplResetReallyVisible()
1585 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplResetReallyVisible()
1587 pWindow = pWindow->mpWindowImpl->mpNext; in ImplResetReallyVisible()
1598 if( !mpWindowImpl->mbReallyShown ) in ImplSetReallyVisible()
1601 sal_Bool bBecameReallyVisible = !mpWindowImpl->mbReallyVisible; in ImplSetReallyVisible()
1604 mpWindowImpl->mbReallyVisible = sal_True; in ImplSetReallyVisible()
1605 mpWindowImpl->mbReallyShown = sal_True; in ImplSetReallyVisible()
1617 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplSetReallyVisible()
1620 if ( pWindow->mpWindowImpl->mbVisible ) in ImplSetReallyVisible()
1622 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetReallyVisible()
1625 pWindow = mpWindowImpl->mpFirstChild; in ImplSetReallyVisible()
1628 if ( pWindow->mpWindowImpl->mbVisible ) in ImplSetReallyVisible()
1630 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetReallyVisible()
1638 mpWindowImpl->mbReallyShown = sal_True; in ImplCallInitShow()
1639 mpWindowImpl->mbInInitShow = sal_True; in ImplCallInitShow()
1641 mpWindowImpl->mbInInitShow = sal_False; in ImplCallInitShow()
1643 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplCallInitShow()
1646 if ( pWindow->mpWindowImpl->mbVisible ) in ImplCallInitShow()
1648 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCallInitShow()
1651 pWindow = mpWindowImpl->mpFirstChild; in ImplCallInitShow()
1654 if ( pWindow->mpWindowImpl->mbVisible ) in ImplCallInitShow()
1656 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCallInitShow()
1668 pDel->mpNext = mpWindowImpl->mpFirstDel; in ImplAddDel()
1669 mpWindowImpl->mpFirstDel = pDel; in ImplAddDel()
1678 if ( mpWindowImpl->mpFirstDel == pDel ) in ImplRemoveDel()
1679 mpWindowImpl->mpFirstDel = pDel->mpNext; in ImplRemoveDel()
1682 ImplDelData* pData = mpWindowImpl->mpFirstDel; in ImplRemoveDel()
1694 if ( mpWindowImpl->mbFrame ) in ImplInitResolutionSettings()
1698 mnDPIX = (mpWindowImpl->mpFrameData->mnDPIX*nScreenZoom)/100; in ImplInitResolutionSettings()
1699 mnDPIY = (mpWindowImpl->mpFrameData->mnDPIY*nScreenZoom)/100; in ImplInitResolutionSettings()
1702 else if ( mpWindowImpl->mpParent ) in ImplInitResolutionSettings()
1704 mnDPIX = mpWindowImpl->mpParent->mnDPIX; in ImplInitResolutionSettings()
1705 mnDPIY = mpWindowImpl->mpParent->mnDPIY; in ImplInitResolutionSettings()
1727 aSize.Width() *= mpWindowImpl->mpFrameData->mnDPIX; in ImplPointToLogic()
1733 aSize.Height() *= mpWindowImpl->mpFrameData->mnDPIY; in ImplPointToLogic()
1760 aSize.Width() += mpWindowImpl->mpFrameData->mnDPIX/2; in ImplLogicToPoint()
1761 aSize.Width() /= mpWindowImpl->mpFrameData->mnDPIX; in ImplLogicToPoint()
1766 aSize.Height() += mpWindowImpl->mpFrameData->mnDPIY/2; in ImplLogicToPoint()
1767 aSize.Height() /= mpWindowImpl->mpFrameData->mnDPIY; in ImplLogicToPoint()
1778 if ( mpWindowImpl->mpSysObj ) in ImplSysObjClip()
1780 sal_Bool bVisibleState = mpWindowImpl->mbReallyVisible; in ImplSysObjClip()
1795 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in ImplSysObjClip()
1801 sal_uInt16 nClipFlags = mpWindowImpl->mpSysObj->GetClipRegionType(); in ImplSysObjClip()
1804 mpWindowImpl->mpSysObj->ResetClipRegion(); in ImplSysObjClip()
1818 mpWindowImpl->mpSysObj->BeginSetClipRegion(aRectangles.size()); in ImplSysObjClip()
1822 mpWindowImpl->mpSysObj->UnionClipRegion( in ImplSysObjClip()
1829 mpWindowImpl->mpSysObj->EndSetClipRegion(); in ImplSysObjClip()
1855 mpWindowImpl->mpSysObj->Show( bVisibleState ); in ImplSysObjClip()
1865 if ( mpWindowImpl->mpSysObj && mpWindowImpl->mbInitWinClipRegion ) in ImplUpdateSysObjChildsClip()
1868 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplUpdateSysObjChildsClip()
1872 pWindow = pWindow->mpWindowImpl->mpNext; in ImplUpdateSysObjChildsClip()
1882 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplUpdateSysObjOverlapsClip()
1886 pWindow = pWindow->mpWindowImpl->mpNext; in ImplUpdateSysObjOverlapsClip()
1899 if ( mpWindowImpl->mbClipSiblings ) in ImplUpdateSysObjClip()
1901 Window* pWindow = mpWindowImpl->mpNext; in ImplUpdateSysObjClip()
1905 pWindow = pWindow->mpWindowImpl->mpNext; in ImplUpdateSysObjClip()
1910 mpWindowImpl->mpFrameWindow->ImplUpdateSysObjOverlapsClip(); in ImplUpdateSysObjClip()
1918 if ( mpWindowImpl->mpSysObj ) in ImplSetClipFlagChilds()
1921 if ( bSysObjOnlySmaller && !mpWindowImpl->mbInitWinClipRegion ) in ImplSetClipFlagChilds()
1922 pOldRegion = new Region( mpWindowImpl->maWinClipRegion ); in ImplSetClipFlagChilds()
1925 mpWindowImpl->mbInitWinClipRegion = sal_True; in ImplSetClipFlagChilds()
1927 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplSetClipFlagChilds()
1932 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlagChilds()
1938 mpWindowImpl->mbInitWinClipRegion = sal_True; in ImplSetClipFlagChilds()
1948 mpWindowImpl->mbInitWinClipRegion = sal_True; in ImplSetClipFlagChilds()
1950 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplSetClipFlagChilds()
1955 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlagChilds()
1967 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplSetClipFlagOverlapWindows()
1972 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlagOverlapWindows()
1988 …((pParent->GetStyle() & WB_CLIPCHILDREN) || (mpWindowImpl->mnParentClipMode & PARENTCLIPMODE_CLIP)… in ImplSetClipFlag()
1991 pParent->mpWindowImpl->mbInitChildRegion = sal_True; in ImplSetClipFlag()
1995 if ( mpWindowImpl->mbClipSiblings ) in ImplSetClipFlag()
1997 Window* pWindow = mpWindowImpl->mpNext; in ImplSetClipFlag()
2002 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlag()
2009 return mpWindowImpl->mpFrameWindow->ImplSetClipFlagOverlapWindows( bSysObjOnlySmaller ); in ImplSetClipFlag()
2016 if ( mpWindowImpl->mbInitWinClipRegion ) in ImplIntersectWindowClipRegion()
2019 rRegion.Intersect( mpWindowImpl->maWinClipRegion ); in ImplIntersectWindowClipRegion()
2028 if ( mpWindowImpl->mbWinRegion ) in ImplIntersectWindowRegion()
2029 rRegion.Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplIntersectWindowRegion()
2036 if ( mpWindowImpl->mbWinRegion ) in ImplExcludeWindowRegion()
2041 aRegion.Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplExcludeWindowRegion()
2056 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplExcludeOverlapWindows()
2059 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplExcludeOverlapWindows()
2065 pWindow = pWindow->mpWindowImpl->mpNext; in ImplExcludeOverlapWindows()
2073 if ( mpWindowImpl->mbReallyVisible ) in ImplExcludeOverlapWindows2()
2088 if ( !mpWindowImpl->mbFrame ) in ImplClipBoundaries()
2089 …Region.Intersect( Rectangle( Point( 0, 0 ), Size( mpWindowImpl->mpFrameWindow->mnOutWidth, mpWindo… in ImplClipBoundaries()
2095 while ( !pStartOverlapWindow->mpWindowImpl->mbFrame ) in ImplClipBoundaries()
2097 …Window* pOverlapWindow = pStartOverlapWindow->mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirst… in ImplClipBoundaries()
2101 pOverlapWindow = pOverlapWindow->mpWindowImpl->mpNext; in ImplClipBoundaries()
2103 pStartOverlapWindow = pStartOverlapWindow->mpWindowImpl->mpOverlapWindow; in ImplClipBoundaries()
2119 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplClipChilds()
2122 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplClipChilds()
2133 pWindow = pWindow->mpWindowImpl->mpNext; in ImplClipChilds()
2143 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplClipAllChilds()
2146 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplClipAllChilds()
2148 pWindow = pWindow->mpWindowImpl->mpNext; in ImplClipAllChilds()
2156 Window* pWindow = ImplGetParent()->mpWindowImpl->mpFirstChild; in ImplClipSiblings()
2162 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplClipSiblings()
2165 pWindow = pWindow->mpWindowImpl->mpNext; in ImplClipSiblings()
2174 mpWindowImpl->maWinClipRegion = Rectangle( Point( mnOutOffX, mnOutOffY ), in ImplInitWinClipRegion()
2176 if ( mpWindowImpl->mbWinRegion ) in ImplInitWinClipRegion()
2177mpWindowImpl->maWinClipRegion.Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplInitWinClipRegion()
2180 if ( mpWindowImpl->mbClipSiblings && !ImplIsOverlapWindow() ) in ImplInitWinClipRegion()
2181 ImplClipSiblings( mpWindowImpl->maWinClipRegion ); in ImplInitWinClipRegion()
2184 ImplClipBoundaries( mpWindowImpl->maWinClipRegion, sal_False, sal_True ); in ImplInitWinClipRegion()
2187 if ( (GetStyle() & WB_CLIPCHILDREN) || mpWindowImpl->mbClipChildren ) in ImplInitWinClipRegion()
2188 mpWindowImpl->mbInitChildRegion = sal_True; in ImplInitWinClipRegion()
2190 mpWindowImpl->mbInitWinClipRegion = sal_False; in ImplInitWinClipRegion()
2197 if ( !mpWindowImpl->mpFirstChild ) in ImplInitWinChildClipRegion()
2199 if ( mpWindowImpl->mpChildClipRegion ) in ImplInitWinChildClipRegion()
2201 delete mpWindowImpl->mpChildClipRegion; in ImplInitWinChildClipRegion()
2202 mpWindowImpl->mpChildClipRegion = NULL; in ImplInitWinChildClipRegion()
2207 if ( !mpWindowImpl->mpChildClipRegion ) in ImplInitWinChildClipRegion()
2208 mpWindowImpl->mpChildClipRegion = new Region( mpWindowImpl->maWinClipRegion ); in ImplInitWinChildClipRegion()
2210 *mpWindowImpl->mpChildClipRegion = mpWindowImpl->maWinClipRegion; in ImplInitWinChildClipRegion()
2212 ImplClipChilds( *mpWindowImpl->mpChildClipRegion ); in ImplInitWinChildClipRegion()
2215 mpWindowImpl->mbInitChildRegion = sal_False; in ImplInitWinChildClipRegion()
2222 if ( mpWindowImpl->mbInitWinClipRegion ) in ImplGetWinChildClipRegion()
2224 if ( mpWindowImpl->mbInitChildRegion ) in ImplGetWinChildClipRegion()
2226 if ( mpWindowImpl->mpChildClipRegion ) in ImplGetWinChildClipRegion()
2227 return mpWindowImpl->mpChildClipRegion; in ImplGetWinChildClipRegion()
2229 return &mpWindowImpl->maWinClipRegion; in ImplGetWinChildClipRegion()
2236 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplIntersectAndUnionOverlapWindows()
2239 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplIntersectAndUnionOverlapWindows()
2247 pWindow = pWindow->mpWindowImpl->mpNext; in ImplIntersectAndUnionOverlapWindows()
2255 if ( mpWindowImpl->mbReallyVisible ) in ImplIntersectAndUnionOverlapWindows2()
2272 pStartOverlapWindow = mpWindowImpl->mpOverlapWindow; in ImplCalcOverlapRegionOverlaps()
2275 while ( !pStartOverlapWindow->mpWindowImpl->mbFrame ) in ImplCalcOverlapRegionOverlaps()
2277 …Window* pOverlapWindow = pStartOverlapWindow->mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirst… in ImplCalcOverlapRegionOverlaps()
2281 pOverlapWindow = pOverlapWindow->mpWindowImpl->mpNext; in ImplCalcOverlapRegionOverlaps()
2283 pStartOverlapWindow = pStartOverlapWindow->mpWindowImpl->mpOverlapWindow; in ImplCalcOverlapRegionOverlaps()
2288 mpWindowImpl->mpOverlapWindow->ImplIntersectAndUnionOverlapWindows( rInterRegion, rRegion ); in ImplCalcOverlapRegionOverlaps()
2299 if ( mpWindowImpl->mbWinRegion ) in ImplCalcOverlapRegion()
2300 rRegion.Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplCalcOverlapRegion()
2324 if ( !pWindow->mpWindowImpl->mbFrame ) in ImplCalcOverlapRegion()
2327 …mpRegion.Exclude( Rectangle( Point( 0, 0 ), Size( mpWindowImpl->mpFrameWindow->mnOutWidth, mpWindo… in ImplCalcOverlapRegion()
2335 pWindow = mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild; in ImplCalcOverlapRegion()
2338 if ( pWindow->mpWindowImpl->mbReallyVisible && (pWindow != this) ) in ImplCalcOverlapRegion()
2344 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCalcOverlapRegion()
2352 pWindow = mpWindowImpl->mpFirstChild; in ImplCalcOverlapRegion()
2355 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplCalcOverlapRegion()
2361 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCalcOverlapRegion()
2377 mpWindowImpl->mbPaintFrame = sal_False; in ImplCallPaint()
2380mpWindowImpl->mnPaintFlags |= IMPL_PAINT_PAINT | IMPL_PAINT_PAINTALLCHILDS | (nPaintFlags & IMPL_P… in ImplCallPaint()
2382 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_PAINTCHILDS; in ImplCallPaint()
2384 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_ERASE; in ImplCallPaint()
2386 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_CHECKRTL; in ImplCallPaint()
2387 if ( !mpWindowImpl->mpFirstChild ) in ImplCallPaint()
2388 mpWindowImpl->mnPaintFlags &= ~IMPL_PAINT_PAINTALLCHILDS; in ImplCallPaint()
2390 if ( mpWindowImpl->mbPaintDisabled ) in ImplCallPaint()
2392 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL ) in ImplCallPaint()
2399 nPaintFlags = mpWindowImpl->mnPaintFlags & ~(IMPL_PAINT_PAINT); in ImplCallPaint()
2403 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINT ) in ImplCallPaint()
2406 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL ) in ImplCallPaint()
2407 mpWindowImpl->maInvalidateRegion = *pWinChildClipRegion; in ImplCallPaint()
2411 mpWindowImpl->maInvalidateRegion.Union( *pRegion ); in ImplCallPaint()
2413 if( mpWindowImpl->mpWinData && mpWindowImpl->mbTrackVisible ) in ImplCallPaint()
2419 mpWindowImpl->maInvalidateRegion.Union( *mpWindowImpl->mpWinData->mpTrackRect ); in ImplCallPaint()
2421 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALLCHILDS ) in ImplCallPaint()
2422 pChildRegion = new Region( mpWindowImpl->maInvalidateRegion ); in ImplCallPaint()
2423 mpWindowImpl->maInvalidateRegion.Intersect( *pWinChildClipRegion ); in ImplCallPaint()
2425 mpWindowImpl->mnPaintFlags = 0; in ImplCallPaint()
2426 if ( !mpWindowImpl->maInvalidateRegion.IsEmpty() ) in ImplCallPaint()
2429 if ( mpWindowImpl->mpCursor ) in ImplCallPaint()
2430 bRestoreCursor = mpWindowImpl->mpCursor->ImplHide( false ); in ImplCallPaint()
2433 mpWindowImpl->mbInPaint = sal_True; in ImplCallPaint()
2436 Region aPaintRegion( mpWindowImpl->maInvalidateRegion ); in ImplCallPaint()
2446 mpWindowImpl->mpPaintRegion = &aPaintRegion; in ImplCallPaint()
2447 mpWindowImpl->maInvalidateRegion.SetEmpty(); in ImplCallPaint()
2463 if( mpWindowImpl->mbDrawSelectionBackground ) in ImplCallPaint()
2480 if ( mpWindowImpl->mpWinData ) in ImplCallPaint()
2482 if ( mpWindowImpl->mbFocusVisible ) in ImplCallPaint()
2483 ImplInvertFocus( *(mpWindowImpl->mpWinData->mpFocusRect) ); in ImplCallPaint()
2485 mpWindowImpl->mbInPaint = sal_False; in ImplCallPaint()
2487 mpWindowImpl->mpPaintRegion = NULL; in ImplCallPaint()
2488 if ( mpWindowImpl->mpCursor ) in ImplCallPaint()
2489 mpWindowImpl->mpCursor->ImplShow( false, bRestoreCursor ); in ImplCallPaint()
2493 mpWindowImpl->mnPaintFlags = 0; in ImplCallPaint()
2498 Window* pTempWindow = mpWindowImpl->mpFirstChild; in ImplCallPaint()
2501 if ( pTempWindow->mpWindowImpl->mbVisible ) in ImplCallPaint()
2503 pTempWindow = pTempWindow->mpWindowImpl->mpNext; in ImplCallPaint()
2507 …if ( mpWindowImpl->mpWinData && mpWindowImpl->mbTrackVisible && (mpWindowImpl->mpWinData->mnTrackF… in ImplCallPaint()
2511 … InvertTracking( *(mpWindowImpl->mpWinData->mpTrackRect), mpWindowImpl->mpWinData->mnTrackFlags ); in ImplCallPaint()
2531 Window* pTempWindow = mpWindowImpl->mpFirstOverlap; in ImplCallOverlapPaint()
2534 if ( pTempWindow->mpWindowImpl->mbReallyVisible ) in ImplCallOverlapPaint()
2536 pTempWindow = pTempWindow->mpWindowImpl->mpNext; in ImplCallOverlapPaint()
2540 if ( mpWindowImpl->mnPaintFlags & (IMPL_PAINT_PAINT | IMPL_PAINT_PAINTCHILDS) ) in ImplCallOverlapPaint()
2544 ImplCallPaint( NULL, mpWindowImpl->mnPaintFlags /*| IMPL_PAINT_CHECKRTL */); in ImplCallOverlapPaint()
2552 if ( !mpWindowImpl->mpFrameData->maPaintTimer.IsActive() ) in ImplPostPaint()
2553 mpWindowImpl->mpFrameData->maPaintTimer.Start(); in ImplPostPaint()
2561 if( mpWindowImpl->mbFrame && mpWindowImpl->mpFrameData->maResizeTimer.IsActive() ) in IMPL_LINK()
2562 mpWindowImpl->mpFrameData->maPaintTimer.Start(); in IMPL_LINK()
2563 else if ( mpWindowImpl->mbReallyVisible ) in IMPL_LINK()
2572 if( mpWindowImpl->mbReallyVisible ) in IMPL_LINK()
2575 if( mpWindowImpl->mpFrameData->maPaintTimer.IsActive() ) in IMPL_LINK()
2577 mpWindowImpl->mpFrameData->maPaintTimer.Stop(); in IMPL_LINK()
2578 mpWindowImpl->mpFrameData->maPaintTimer.GetTimeoutHdl().Call( NULL ); in IMPL_LINK()
2598 if ( pTempWindow->mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTCHILDS ) in ImplInvalidateFrameRegion()
2600 pTempWindow->mpWindowImpl->mnPaintFlags |= IMPL_PAINT_PAINTCHILDS | nTranspPaint; in ImplInvalidateFrameRegion()
2608 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_PAINT; in ImplInvalidateFrameRegion()
2610 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_PAINTALLCHILDS; in ImplInvalidateFrameRegion()
2612 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_ERASE; in ImplInvalidateFrameRegion()
2614 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_PAINTALL; in ImplInvalidateFrameRegion()
2618 if ( !(mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL) ) in ImplInvalidateFrameRegion()
2619 mpWindowImpl->maInvalidateRegion.Union( *pRegion ); in ImplInvalidateFrameRegion()
2631 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL ) in ImplInvalidateFrameRegion()
2636 pChildRegion = &mpWindowImpl->maInvalidateRegion; in ImplInvalidateFrameRegion()
2657 Window* pTempWindow = mpWindowImpl->mpFirstOverlap; in ImplInvalidateOverlapFrameRegion()
2663 pTempWindow = pTempWindow->mpWindowImpl->mpNext; in ImplInvalidateOverlapFrameRegion()
2671 if ( mpWindowImpl->mbOverlapWin ) in ImplInvalidateParentFrameRegion()
2672 mpWindowImpl->mpFrameWindow->ImplInvalidateOverlapFrameRegion( rRegion ); in ImplInvalidateParentFrameRegion()
2686 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in ImplInvalidate()
2694 …if ( (mpWindowImpl->mbPaintTransparent && !(nFlags & INVALIDATE_NOTRANSPARENT)) || (nFlags & INVAL… in ImplInvalidate()
2723 if ( (nFlags & INVALIDATE_NOCHILDREN) && mpWindowImpl->mpFirstChild ) in ImplInvalidate()
2772 … if ( (mpWindowImpl->mnPaintFlags & (IMPL_PAINT_PAINT | IMPL_PAINT_PAINTALL)) == IMPL_PAINT_PAINT ) in ImplMoveInvalidateRegion()
2774 Region aTempRegion = mpWindowImpl->maInvalidateRegion; in ImplMoveInvalidateRegion()
2777 mpWindowImpl->maInvalidateRegion.Union( aTempRegion ); in ImplMoveInvalidateRegion()
2780 if ( bChilds && (mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTCHILDS) ) in ImplMoveInvalidateRegion()
2782 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplMoveInvalidateRegion()
2786 pWindow = pWindow->mpWindowImpl->mpNext; in ImplMoveInvalidateRegion()
2808 if ( pPaintAllWindow->mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALLCHILDS ) in ImplMoveAllInvalidateRegions()
2810 if ( pPaintAllWindow->mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL ) in ImplMoveAllInvalidateRegions()
2816 aPaintAllRegion.Union( pPaintAllWindow->mpWindowImpl->maInvalidateRegion ); in ImplMoveAllInvalidateRegions()
2825 mpWindowImpl->mnPaintFlags |= INVALIDATE_CHILDREN; in ImplMoveAllInvalidateRegions()
2836 mpWindowImpl->maInvalidateRegion.SetEmpty(); in ImplValidateFrameRegion()
2841 … if ( (mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALLCHILDS) && mpWindowImpl->mpFirstChild ) in ImplValidateFrameRegion()
2843 Region aChildRegion = mpWindowImpl->maInvalidateRegion; in ImplValidateFrameRegion()
2844 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL ) in ImplValidateFrameRegion()
2849 Window* pChild = mpWindowImpl->mpFirstChild; in ImplValidateFrameRegion()
2853 pChild = pChild->mpWindowImpl->mpNext; in ImplValidateFrameRegion()
2856 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL ) in ImplValidateFrameRegion()
2859 mpWindowImpl->maInvalidateRegion = aRect; in ImplValidateFrameRegion()
2861 mpWindowImpl->maInvalidateRegion.Exclude( *pRegion ); in ImplValidateFrameRegion()
2863 mpWindowImpl->mnPaintFlags &= ~IMPL_PAINT_PAINTALL; in ImplValidateFrameRegion()
2867 Window* pChild = mpWindowImpl->mpFirstChild; in ImplValidateFrameRegion()
2871 pChild = pChild->mpWindowImpl->mpNext; in ImplValidateFrameRegion()
2890 if ( (nFlags & VALIDATE_NOCHILDREN) && mpWindowImpl->mpFirstChild ) in ImplValidate()
2932 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in ImplScroll()
2935 if ( mpWindowImpl->mpCursor ) in ImplScroll()
2936 mpWindowImpl->mpCursor->ImplHide( false ); in ImplScroll()
2951 if ( !mpWindowImpl->mpFirstChild ) in ImplScroll()
2997 if ( mpWindowImpl->mbWinRegion ) in ImplScroll()
2998 aRegion.Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplScroll()
3014 if ( mpWindowImpl->mpWinData ) in ImplScroll()
3016 if ( mpWindowImpl->mbFocusVisible ) in ImplScroll()
3017 ImplInvertFocus( *(mpWindowImpl->mpWinData->mpFocusRect) ); in ImplScroll()
3018 … if ( mpWindowImpl->mbTrackVisible && (mpWindowImpl->mpWinData->mnTrackFlags & SHOWTRACK_WINDOW) ) in ImplScroll()
3019 … InvertTracking( *(mpWindowImpl->mpWinData->mpTrackRect), mpWindowImpl->mpWinData->mnTrackFlags ); in ImplScroll()
3038 if ( mpWindowImpl->mpWinData ) in ImplScroll()
3040 if ( mpWindowImpl->mbFocusVisible ) in ImplScroll()
3041 ImplInvertFocus( *(mpWindowImpl->mpWinData->mpFocusRect) ); in ImplScroll()
3042 … if ( mpWindowImpl->mbTrackVisible && (mpWindowImpl->mpWinData->mnTrackFlags & SHOWTRACK_WINDOW) ) in ImplScroll()
3043 … InvertTracking( *(mpWindowImpl->mpWinData->mpTrackRect), mpWindowImpl->mpWinData->mnTrackFlags ); in ImplScroll()
3051 mpWindowImpl->mnPaintFlags |= IMPL_PAINT_CHECKRTL; in ImplScroll()
3068 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplScroll()
3075 pWindow = pWindow->mpWindowImpl->mpNext; in ImplScroll()
3082 if ( mpWindowImpl->mpCursor ) in ImplScroll()
3083 mpWindowImpl->mpCursor->ImplShow( false ); in ImplScroll()
3090 if ( !mpWindowImpl->mbReallyVisible ) in ImplUpdateAll()
3094 if ( mpWindowImpl->mpFrameWindow->mpWindowImpl->mbPaintFrame ) in ImplUpdateAll()
3099 …if ( mpWindowImpl->mbFrame || (mpWindowImpl->mpBorderWindow && mpWindowImpl->mpBorderWindow->mpWin… in ImplUpdateAll()
3111 if ( pWindow->mpWindowImpl->mnPaintFlags & (IMPL_PAINT_PAINT | IMPL_PAINT_PAINTCHILDS) ) in ImplUpdateAll()
3112 pWindow->ImplCallPaint( NULL, pWindow->mpWindowImpl->mnPaintFlags ); in ImplUpdateAll()
3123 if ( mpWindowImpl->mpFrameWindow != pWindow->mpWindowImpl->mpFrameWindow ) in ImplUpdateWindowPtr()
3129 mpWindowImpl->mpFrameData = pWindow->mpWindowImpl->mpFrameData; in ImplUpdateWindowPtr()
3130 mpWindowImpl->mpFrame = pWindow->mpWindowImpl->mpFrame; in ImplUpdateWindowPtr()
3131 mpWindowImpl->mpFrameWindow = pWindow->mpWindowImpl->mpFrameWindow; in ImplUpdateWindowPtr()
3133 mpWindowImpl->mpOverlapWindow = pWindow; in ImplUpdateWindowPtr()
3135 mpWindowImpl->mpOverlapWindow = pWindow->mpWindowImpl->mpOverlapWindow; in ImplUpdateWindowPtr()
3137 Window* pChild = mpWindowImpl->mpFirstChild; in ImplUpdateWindowPtr()
3141 pChild = pChild->mpWindowImpl->mpNext; in ImplUpdateWindowPtr()
3149 Window* pChild = mpWindowImpl->mpFirstChild; in ImplUpdateWindowPtr()
3153 pChild = pChild->mpWindowImpl->mpNext; in ImplUpdateWindowPtr()
3164 Window* pRealParent = mpWindowImpl->mpRealParent; in ImplUpdateOverlapWindowPtr()
3166 mpWindowImpl->mpRealParent = pRealParent; in ImplUpdateOverlapWindowPtr()
3173 Window* pOverlapWindow = mpWindowImpl->mpFirstOverlap; in ImplUpdateOverlapWindowPtr()
3176 Window* pNextOverlapWindow = pOverlapWindow->mpWindowImpl->mpNext; in ImplUpdateOverlapWindowPtr()
3194 mnOutOffX = mpWindowImpl->mnX; in ImplUpdatePos()
3195 mnOutOffY = mpWindowImpl->mnY; in ImplUpdatePos()
3201 mnOutOffX = mpWindowImpl->mnX + pParent->mnOutOffX; in ImplUpdatePos()
3202 mnOutOffY = mpWindowImpl->mnY + pParent->mnOutOffY; in ImplUpdatePos()
3205 Window* pChild = mpWindowImpl->mpFirstChild; in ImplUpdatePos()
3210 pChild = pChild->mpWindowImpl->mpNext; in ImplUpdatePos()
3213 if ( mpWindowImpl->mpSysObj ) in ImplUpdatePos()
3223 if ( mpWindowImpl->mpSysObj ) in ImplUpdateSysObjPos()
3224 mpWindowImpl->mpSysObj->SetPosSize( mnOutOffX, mnOutOffY, mnOutWidth, mnOutHeight ); in ImplUpdateSysObjPos()
3226 Window* pChild = mpWindowImpl->mpFirstChild; in ImplUpdateSysObjPos()
3230 pChild = pChild->mpWindowImpl->mpNext; in ImplUpdateSysObjPos()
3251 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in ImplPosSizeWindow()
3257 if ( mpWindowImpl->mbWinRegion ) in ImplPosSizeWindow()
3258 pOldRegion->Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplPosSizeWindow()
3260 if ( mnOutWidth && mnOutHeight && !mpWindowImpl->mbPaintTransparent && in ImplPosSizeWindow()
3261 !mpWindowImpl->mbInitWinClipRegion && !mpWindowImpl->maWinClipRegion.IsEmpty() && in ImplPosSizeWindow()
3271 nX = mpWindowImpl->mnX; in ImplPosSizeWindow()
3310 …if( !bnXRecycled && mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame && mp… in ImplPosSizeWindow()
3313 nX = mpWindowImpl->mpParent->mnOutWidth - mnOutWidth - nX; in ImplPosSizeWindow()
3322 aPtDev.X() = mpWindowImpl->mnAbsScreenX; in ImplPosSizeWindow()
3323 nOrgX = mpWindowImpl->maPos.X(); in ImplPosSizeWindow()
3327 …else if( !bnXRecycled && mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame … in ImplPosSizeWindow()
3332 nX = mpWindowImpl->mpParent->mnOutWidth - mnOutWidth - nX; in ImplPosSizeWindow()
3337 …if ( mpWindowImpl->mnAbsScreenX != aPtDev.X() || nX != mpWindowImpl->mnX || nOrgX != mpWindowImpl-… in ImplPosSizeWindow()
3346 mpWindowImpl->mnX = nX; in ImplPosSizeWindow()
3347 mpWindowImpl->maPos.X() = nOrgX; in ImplPosSizeWindow()
3348 mpWindowImpl->mnAbsScreenX = aPtDev.X(); // --- RTL --- (store real screen pos) in ImplPosSizeWindow()
3355 if ( nY != mpWindowImpl->mnY || nY != mpWindowImpl->maPos.Y() ) in ImplPosSizeWindow()
3364 mpWindowImpl->mnY = nY; in ImplPosSizeWindow()
3365 mpWindowImpl->maPos.Y() = nY; in ImplPosSizeWindow()
3387 if ( mpWindowImpl->mpBorderWindow ) in ImplPosSizeWindow()
3388 mpWindowImpl->maPos = mpWindowImpl->mpBorderWindow->mpWindowImpl->maPos; in ImplPosSizeWindow()
3390 if ( mpWindowImpl->mpClientWindow ) in ImplPosSizeWindow()
3392mpWindowImpl->mpClientWindow->ImplPosSizeWindow( mpWindowImpl->mpClientWindow->mpWindowImpl->mnLef… in ImplPosSizeWindow()
3393mpWindowImpl->mpClientWindow->mpWindowImpl->mnTopBorder, in ImplPosSizeWindow()
3394 …mnOutWidth-mpWindowImpl->mpClientWindow->mpWindowImpl->mnLeftBorder-mpWindowImpl->mpClientWindow-> in ImplPosSizeWindow()
3395 …mnOutHeight-mpWindowImpl->mpClientWindow->mpWindowImpl->mnTopBorder-mpWindowImpl->mpClientWindow-> in ImplPosSizeWindow()
3400 mpWindowImpl->mpClientWindow->mpWindowImpl->maPos = mpWindowImpl->maPos; in ImplPosSizeWindow()
3403 if ( mpWindowImpl->mpClientWindow->IsVisible() ) in ImplPosSizeWindow()
3405 mpWindowImpl->mpClientWindow->ImplCallMove(); in ImplPosSizeWindow()
3409 mpWindowImpl->mpClientWindow->mpWindowImpl->mbCallMove = sal_True; in ImplPosSizeWindow()
3435 mpWindowImpl->mbCallMove = sal_True; in ImplPosSizeWindow()
3437 mpWindowImpl->mbCallResize = sal_True; in ImplPosSizeWindow()
3446 if ( mpWindowImpl->mpOverlapData && mpWindowImpl->mpOverlapData->mpSaveBackDev ) in ImplPosSizeWindow()
3448 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in ImplPosSizeWindow()
3462 bParentPaint = mpWindowImpl->mpParent->IsPaintEnabled(); in ImplPosSizeWindow()
3468 if ( mpWindowImpl->mbWinRegion ) in ImplPosSizeWindow()
3469 … aRegion.Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplPosSizeWindow()
3519 if ( mpWindowImpl->mbWinRegion ) in ImplPosSizeWindow()
3520 aRegion.Intersect( ImplPixelToDevicePixel( mpWindowImpl->maWinRegion ) ); in ImplPosSizeWindow()
3532 if ( !mpWindowImpl->mbPaintTransparent ) in ImplPosSizeWindow()
3535 if ( !aRegion.IsEmpty() && !mpWindowImpl->mpBorderWindow ) in ImplPosSizeWindow()
3545 if ( bNewSize && mpWindowImpl->mpSysObj ) in ImplPosSizeWindow()
3546 mpWindowImpl->mpSysObj->SetPosSize( mnOutOffX, mnOutOffY, mnOutWidth, mnOutHeight ); in ImplPosSizeWindow()
3559 …if ( !ImplIsOverlapWindow() && !mpWindowImpl->mbReallyVisible && (mpWindowImpl->mpParent->mpWindow… in ImplToBottomChild()
3562 if ( mpWindowImpl->mpPrev ) in ImplToBottomChild()
3563 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in ImplToBottomChild()
3565 mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild = mpWindowImpl->mpNext; in ImplToBottomChild()
3566 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in ImplToBottomChild()
3567 mpWindowImpl->mpPrev = mpWindowImpl->mpParent->mpWindowImpl->mpLastChild; in ImplToBottomChild()
3568 mpWindowImpl->mpParent->mpWindowImpl->mpLastChild = this; in ImplToBottomChild()
3569 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = this; in ImplToBottomChild()
3570 mpWindowImpl->mpNext = NULL; in ImplToBottomChild()
3580 if ( !mpWindowImpl->mbFrame ) in ImplCalcToTop()
3613 Window* pOverlap = mpWindowImpl->mpFirstOverlap; in ImplCalcChildOverlapToTop()
3619 pOverlap = pOverlap->mpWindowImpl->mpNext; in ImplCalcChildOverlapToTop()
3629 if ( mpWindowImpl->mbFrame ) in ImplToTop()
3634 if ( !mpWindowImpl->mpFrameData->mbHasFocus && in ImplToTop()
3635 !mpWindowImpl->mpFrameData->mbSysObjFocus && in ImplToTop()
3636 !mpWindowImpl->mpFrameData->mbInSysObjFocusHdl && in ImplToTop()
3637 !mpWindowImpl->mpFrameData->mbInSysObjToTopHdl ) in ImplToTop()
3649 mpWindowImpl->mpFrame->ToTop( nSysFlags ); in ImplToTop()
3655 if ( mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap != this ) in ImplToTop()
3658 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in ImplToTop()
3659 if ( mpWindowImpl->mpNext ) in ImplToTop()
3660 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in ImplToTop()
3662 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap = mpWindowImpl->mpPrev; in ImplToTop()
3666 Window* pNextWin = mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap; in ImplToTop()
3673 pNextWin = pNextWin->mpWindowImpl->mpNext; in ImplToTop()
3678 sal_uInt8 nTopLevel = mpWindowImpl->mpOverlapData->mnTopLevel; in ImplToTop()
3682 (nTopLevel <= pNextWin->mpWindowImpl->mpOverlapData->mnTopLevel) ) in ImplToTop()
3684 pNextWin = pNextWin->mpWindowImpl->mpNext; in ImplToTop()
3688 mpWindowImpl->mpNext = pNextWin; in ImplToTop()
3691 mpWindowImpl->mpPrev = pNextWin->mpWindowImpl->mpPrev; in ImplToTop()
3692 pNextWin->mpWindowImpl->mpPrev = this; in ImplToTop()
3696 mpWindowImpl->mpPrev = mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap; in ImplToTop()
3697 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap = this; in ImplToTop()
3699 if ( mpWindowImpl->mpPrev ) in ImplToTop()
3700 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = this; in ImplToTop()
3702 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap = this; in ImplToTop()
3709 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in ImplToTop()
3711 mpWindowImpl->mpOverlapWindow->ImplSetClipFlagOverlapWindows(); in ImplToTop()
3728 pOverlapWindow = mpWindowImpl->mpOverlapWindow; in ImplStartToTop()
3739 pTempOverlapWindow = pTempOverlapWindow->mpWindowImpl->mpOverlapWindow; in ImplStartToTop()
3741 while ( !pTempOverlapWindow->mpWindowImpl->mbFrame ); in ImplStartToTop()
3743 pTempOverlapWindow = mpWindowImpl->mpFirstOverlap; in ImplStartToTop()
3749 pTempOverlapWindow = pTempOverlapWindow->mpWindowImpl->mpNext; in ImplStartToTop()
3757 pTempOverlapWindow = pTempOverlapWindow->mpWindowImpl->mpOverlapWindow; in ImplStartToTop()
3759 while ( !pTempOverlapWindow->mpWindowImpl->mbFrame ); in ImplStartToTop()
3785 if ( !pFocusWindow->mpWindowImpl->mpBorderWindow ) in ImplFocusToTop()
3787 if ( pFocusWindow->mpWindowImpl->mnActivateMode & ACTIVATE_MODE_GRABFOCUS ) in ImplFocusToTop()
3792 if ( (pFocusWindow->mpWindowImpl->mnActivateMode & ACTIVATE_MODE_GRABFOCUS) && in ImplFocusToTop()
3805 Window* pOverlapWindow = mpWindowImpl->mpFirstOverlap; in ImplShowAllOverlaps()
3808 if ( pOverlapWindow->mpWindowImpl->mbOverlapVisible ) in ImplShowAllOverlaps()
3811 pOverlapWindow->mpWindowImpl->mbOverlapVisible = sal_False; in ImplShowAllOverlaps()
3814 pOverlapWindow = pOverlapWindow->mpWindowImpl->mpNext; in ImplShowAllOverlaps()
3822 Window* pOverlapWindow = mpWindowImpl->mpFirstOverlap; in ImplHideAllOverlaps()
3827 pOverlapWindow->mpWindowImpl->mbOverlapVisible = sal_True; in ImplHideAllOverlaps()
3831 pOverlapWindow = pOverlapWindow->mpWindowImpl->mpNext; in ImplHideAllOverlaps()
3839 …if ( mpWindowImpl->mpFrameData->mbMouseIn && mpWindowImpl->mpFrameWindow->mpWindowImpl->mbReallyVi… in ImplCallMouseMove()
3842 long nX = mpWindowImpl->mpFrameData->mnLastMouseX; in ImplCallMouseMove()
3843 long nY = mpWindowImpl->mpFrameData->mnLastMouseY; in ImplCallMouseMove()
3845 sal_uInt16 nMode = mpWindowImpl->mpFrameData->mnMouseMode; in ImplCallMouseMove()
3849 (nX >= mpWindowImpl->mpFrameWindow->mnOutWidth) || in ImplCallMouseMove()
3850 (nY >= mpWindowImpl->mpFrameWindow->mnOutHeight)) && in ImplCallMouseMove()
3858 …ImplHandleMouseEvent( mpWindowImpl->mpFrameWindow, EVENT_MOUSEMOVE, bLeave, nX, nY, nTime, nCode, … in ImplCallMouseMove()
3866 if ( !mpWindowImpl->mpFrameData->mnMouseMoveId ) in ImplGenerateMouseMove()
3867 …Application::PostUserEvent( mpWindowImpl->mpFrameData->mnMouseMoveId, LINK( mpWindowImpl->mpFrameW… in ImplGenerateMouseMove()
3874 mpWindowImpl->mpFrameData->mnMouseMoveId = 0; in IMPL_LINK()
3877 (pCaptureWin->mpWindowImpl && pCaptureWin->mpWindowImpl->mpFrame == mpWindowImpl->mpFrame) in IMPL_LINK()
3880 ImplCallMouseMove( mpWindowImpl->mpFrameData->mnMouseCode ); in IMPL_LINK()
3926 pSVData->maWinData.mpLastDeacWin->mpWindowImpl->mbActive = sal_False; in ImplCallFocusChangeActivate()
3930 pLastRealWindow->mpWindowImpl->mbActive = sal_True; in ImplCallFocusChangeActivate()
3940 if( pOldOverlapWindow->mpWindowImpl->mbActive ) in ImplCallFocusChangeActivate()
3942 pOldOverlapWindow->mpWindowImpl->mbActive = sal_False; in ImplCallFocusChangeActivate()
3947 if( pOldRealWindow->mpWindowImpl->mbActive ) in ImplCallFocusChangeActivate()
3949 pOldRealWindow->mpWindowImpl->mbActive = sal_False; in ImplCallFocusChangeActivate()
3954 if ( bCallActivate && ! pNewOverlapWindow->mpWindowImpl->mbActive ) in ImplCallFocusChangeActivate()
3956 if( ! pNewOverlapWindow->mpWindowImpl->mbActive ) in ImplCallFocusChangeActivate()
3958 pNewOverlapWindow->mpWindowImpl->mbActive = sal_True; in ImplCallFocusChangeActivate()
3963 if( ! pNewRealWindow->mpWindowImpl->mbActive ) in ImplCallFocusChangeActivate()
3965 pNewRealWindow->mpWindowImpl->mbActive = sal_True; in ImplCallFocusChangeActivate()
3990 if( mpWindowImpl->mbInDtor ) in ImplGrabFocus()
4002 if ( mpWindowImpl->mpClientWindow ) in ImplGrabFocus()
4007 if ( mpWindowImpl->mpLastFocusWindow && (mpWindowImpl->mpLastFocusWindow != this) && in ImplGrabFocus()
4008 !(mpWindowImpl->mnDlgCtrlFlags & WINDOW_DLGCTRL_WANTFOCUS) && in ImplGrabFocus()
4009 mpWindowImpl->mpLastFocusWindow->IsEnabled() && in ImplGrabFocus()
4010 mpWindowImpl->mpLastFocusWindow->IsInputEnabled() && in ImplGrabFocus()
4011 ! mpWindowImpl->mpLastFocusWindow->IsInModalMode() in ImplGrabFocus()
4013 mpWindowImpl->mpLastFocusWindow->GrabFocus(); in ImplGrabFocus()
4015 mpWindowImpl->mpClientWindow->GrabFocus(); in ImplGrabFocus()
4018 else if ( mpWindowImpl->mbFrame ) in ImplGrabFocus()
4023 if ( mpWindowImpl->mpLastFocusWindow && (mpWindowImpl->mpLastFocusWindow != this) && in ImplGrabFocus()
4024 !(mpWindowImpl->mnDlgCtrlFlags & WINDOW_DLGCTRL_WANTFOCUS) && in ImplGrabFocus()
4025 mpWindowImpl->mpLastFocusWindow->IsEnabled() && in ImplGrabFocus()
4026 mpWindowImpl->mpLastFocusWindow->IsInputEnabled() && in ImplGrabFocus()
4027 ! mpWindowImpl->mpLastFocusWindow->IsInModalMode() in ImplGrabFocus()
4030 mpWindowImpl->mpLastFocusWindow->GrabFocus(); in ImplGrabFocus()
4049 if( pFrame != mpWindowImpl->mpFrameWindow && pFrame->mpWindowImpl->mpFrameData->mnFocusId ) in ImplGrabFocus()
4054 pFrame = pFrame->mpWindowImpl->mpFrameData->mpNextFrame; in ImplGrabFocus()
4057 bool bHasFocus = IsWindowFocused(*mpWindowImpl); in ImplGrabFocus()
4067 …if( ( (pParent->mpWindowImpl->mbFloatWin && ((FloatingWindow*)pParent)->GrabsFocus()) || ( pParent… in ImplGrabFocus()
4072 pParent = pParent->mpWindowImpl->mpParent; in ImplGrabFocus()
4076 …if ( ( pSVData->maWinData.mpFocusWin != this && ! mpWindowImpl->mbInDtor ) || ( bAsyncFocusWaiting… in ImplGrabFocus()
4085 pOverlapWindow->mpWindowImpl->mpLastFocusWindow = this; in ImplGrabFocus()
4086 mpWindowImpl->mpFrameData->mpFocusWin = this; in ImplGrabFocus()
4099mpWindowImpl->mpFrame->ToTop( SAL_FRAME_TOTOP_GRABFOCUS | SAL_FRAME_TOTOP_GRABFOCUS_ONLY ); in ImplGrabFocus()
4112 if ( pOldFocusWindow->mpWindowImpl->mpCursor ) in ImplGrabFocus()
4113 pOldFocusWindow->mpWindowImpl->mpCursor->ImplHide( true ); in ImplGrabFocus()
4130 pNewOverlapWindow->mpWindowImpl->mbActive = sal_True; in ImplGrabFocus()
4134 pNewRealWindow->mpWindowImpl->mbActive = sal_True; in ImplGrabFocus()
4256 if ( mpWindowImpl->mpSysObj ) in ImplGrabFocus()
4258 mpWindowImpl->mpFrameData->mpFocusWin = this; in ImplGrabFocus()
4259 if ( !mpWindowImpl->mpFrameData->mbInSysObjFocusHdl ) in ImplGrabFocus()
4260 mpWindowImpl->mpSysObj->GrabFocus(); in ImplGrabFocus()
4265 if ( mpWindowImpl->mpCursor ) in ImplGrabFocus()
4266 mpWindowImpl->mpCursor->ImplShow(); in ImplGrabFocus()
4267 mpWindowImpl->mbInFocusHdl = sal_True; in ImplGrabFocus()
4268 mpWindowImpl->mnGetFocusFlags = nFlags; in ImplGrabFocus()
4275 mpWindowImpl->mnGetFocusFlags |= GETFOCUS_FLOATWIN_POPUPMODEEND_CANCEL; in ImplGrabFocus()
4283 mpWindowImpl->mnGetFocusFlags = 0; in ImplGrabFocus()
4284 mpWindowImpl->mbInFocusHdl = sal_False; in ImplGrabFocus()
4305 if ( rInputContext == pFocusWin->mpWindowImpl->mpFrameData->maOldInputContext ) in ImplNewInputContext()
4308 pFocusWin->mpWindowImpl->mpFrameData->maOldInputContext = rInputContext; in ImplNewInputContext()
4409 DBG_ASSERT( !mpWindowImpl->mbInDtor, "~Window - already in DTOR!" ); in ~Window()
4417 uno::Reference< rendering::XCanvas > xCanvas( mpWindowImpl->mxCanvas ); in ~Window()
4426 mpWindowImpl->mbInDtor = sal_True; in ~Window()
4431 if( !ImplIsAccessibleNativeFrame() && mpWindowImpl->mbReallyVisible ) in ~Window()
4440 if( (GetStyle() & WB_OWNERDRAWDECORATION) && mpWindowImpl->mbFrame ) in ~Window()
4450 …:uno::Reference < ::com::sun::star::lang::XComponent > xDnDComponent( mpWindowImpl->mxDNDListenerC… in ~Window()
4455 if( mpWindowImpl->mbFrame && mpWindowImpl->mpFrameData ) in ~Window()
4460 if( mpWindowImpl->mpFrameData->mxDropTargetListener.is() ) in ~Window()
4463 … uno::Reference< XDragGestureRecognizer > (mpWindowImpl->mpFrameData->mxDragSource, UNO_QUERY); in ~Window()
4467 …uno::Reference< XDragGestureListener > (mpWindowImpl->mpFrameData->mxDropTargetListener, UNO_QUERY… in ~Window()
4470mpWindowImpl->mpFrameData->mxDropTarget->removeDropTargetListener( mpWindowImpl->mpFrameData->mxDr… in ~Window()
4471 mpWindowImpl->mpFrameData->mxDropTargetListener.clear(); in ~Window()
4475 … uno::Reference< XComponent > xComponent( mpWindowImpl->mpFrameData->mxDropTarget, UNO_QUERY ); in ~Window()
4496 if ( mpWindowImpl->mxAccessible.is() ) in ~Window()
4498 …::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent> xC( mpWindowImpl->mxAccessib… in ~Window()
4529 Window* pTempWin = mpWindowImpl->mpFrameData->mpFirstOverlap; in ~Window()
4537 pTempWin = pTempWin->mpWindowImpl->mpNextOverlap; in ~Window()
4558 pTempWin = pTempWin->mpWindowImpl->mpFrameData->mpNextFrame; in ~Window()
4570 if ( mpWindowImpl->mpFirstChild ) in ~Window()
4575 pTempWin = mpWindowImpl->mpFirstChild; in ~Window()
4579 pTempWin = pTempWin->mpWindowImpl->mpNext; in ~Window()
4585 if ( mpWindowImpl->mpFirstOverlap ) in ~Window()
4590 pTempWin = mpWindowImpl->mpFirstOverlap; in ~Window()
4594 pTempWin = pTempWin->mpWindowImpl->mpNext; in ~Window()
4620 if( mpWindowImpl->mbIsInTaskPaneList ) in ~Window()
4681 if ( mpWindowImpl->mbFrame ) in ~Window()
4684 pOverlapWindow->mpWindowImpl->mpLastFocusWindow = NULL; in ~Window()
4690 Window* pBorderWindow = mpWindowImpl->mpBorderWindow; in ~Window()
4696 pParent = pBorderWindow->mpWindowImpl->mpOverlapWindow; in ~Window()
4699 pParent = mpWindowImpl->mpOverlapWindow; in ~Window()
4704 mpWindowImpl->mpFrameWindow->GrabFocus(); in ~Window()
4710 pOverlapWindow->mpWindowImpl->mpLastFocusWindow = NULL; in ~Window()
4717 if ( pOverlapWindow->mpWindowImpl->mpLastFocusWindow == this ) in ~Window()
4718 pOverlapWindow->mpWindowImpl->mpLastFocusWindow = NULL; in ~Window()
4725 if ( mpWindowImpl->mpFrameData->mpFocusWin == this ) in ~Window()
4726 mpWindowImpl->mpFrameData->mpFocusWin = NULL; in ~Window()
4727 if ( mpWindowImpl->mpFrameData->mpMouseMoveWin == this ) in ~Window()
4728 mpWindowImpl->mpFrameData->mpMouseMoveWin = NULL; in ~Window()
4729 if ( mpWindowImpl->mpFrameData->mpMouseDownWin == this ) in ~Window()
4730 mpWindowImpl->mpFrameData->mpMouseDownWin = NULL; in ~Window()
4736 if ( mpWindowImpl->mbFrame ) in ~Window()
4738 if ( mpWindowImpl->mpFrameData->mnFocusId ) in ~Window()
4739 Application::RemoveUserEvent( mpWindowImpl->mpFrameData->mnFocusId ); in ~Window()
4740 if ( mpWindowImpl->mpFrameData->mnMouseMoveId ) in ~Window()
4741 Application::RemoveUserEvent( mpWindowImpl->mpFrameData->mnMouseMoveId ); in ~Window()
4748 ImplDelData* pDelData = mpWindowImpl->mpFirstDel; in ~Window()
4760 if ( mpWindowImpl->mbFrame ) in ~Window()
4762 …sal_Bool bIsTopWindow = mpWindowImpl->mpWinData && ( mpWindowImpl->mpWinData->mnIsTopWindow == 1 ); in ~Window()
4763 if ( mpWindowImpl->mpRealParent && bIsTopWindow ) in ~Window()
4765 ImplWinData* pParentWinData = mpWindowImpl->mpRealParent->ImplGetWinData(); in ~Window()
4776 if ( mpWindowImpl->mpWinData ) in ~Window()
4778 if ( mpWindowImpl->mpWinData->mpExtOldText ) in ~Window()
4779 delete mpWindowImpl->mpWinData->mpExtOldText; in ~Window()
4780 if ( mpWindowImpl->mpWinData->mpExtOldAttrAry ) in ~Window()
4781 delete mpWindowImpl->mpWinData->mpExtOldAttrAry; in ~Window()
4782 if ( mpWindowImpl->mpWinData->mpCursorRect ) in ~Window()
4783 delete mpWindowImpl->mpWinData->mpCursorRect; in ~Window()
4784 if ( mpWindowImpl->mpWinData->mpFocusRect ) in ~Window()
4785 delete mpWindowImpl->mpWinData->mpFocusRect; in ~Window()
4786 if ( mpWindowImpl->mpWinData->mpTrackRect ) in ~Window()
4787 delete mpWindowImpl->mpWinData->mpTrackRect; in ~Window()
4789 delete mpWindowImpl->mpWinData; in ~Window()
4793 if ( mpWindowImpl->mpOverlapData ) in ~Window()
4794 delete mpWindowImpl->mpOverlapData; in ~Window()
4797 if ( mpWindowImpl->mpBorderWindow ) in ~Window()
4798 delete mpWindowImpl->mpBorderWindow; in ~Window()
4799 else if ( mpWindowImpl->mbFrame ) in ~Window()
4802 pSVData->maWinData.mpFirstFrame = mpWindowImpl->mpFrameData->mpNextFrame; in ~Window()
4806 while ( pSysWin->mpWindowImpl->mpFrameData->mpNextFrame != this ) in ~Window()
4807 pSysWin = pSysWin->mpWindowImpl->mpFrameData->mpNextFrame; in ~Window()
4808 … pSysWin->mpWindowImpl->mpFrameData->mpNextFrame = mpWindowImpl->mpFrameData->mpNextFrame; in ~Window()
4810 mpWindowImpl->mpFrame->SetCallback( NULL, NULL ); in ~Window()
4811 pSVData->mpDefInst->DestroyFrame( mpWindowImpl->mpFrame ); in ~Window()
4812 delete mpWindowImpl->mpFrameData; in ~Window()
4816 delete mpWindowImpl; mpWindowImpl = NULL; in ~Window()
4835 if( mpWindowImpl->mpSysObj ) in InterceptChildWindowKeyDown()
4836 mpWindowImpl->mpSysObj->InterceptChildWindowKeyDown( bIntercept ); in InterceptChildWindowKeyDown()
4849 mpWindowImpl->mbMouseMove = sal_True; in MouseMove()
4862 mpWindowImpl->mbMouseButtonDown = sal_True; in MouseButtonDown()
4875 mpWindowImpl->mbMouseButtonUp = sal_True; in MouseButtonUp()
4888 mpWindowImpl->mbKeyInput = sal_True; in KeyInput()
4901 mpWindowImpl->mbKeyUp = sal_True; in KeyUp()
4970 …if ( HasFocus() && mpWindowImpl->mpLastFocusWindow && !(mpWindowImpl->mnDlgCtrlFlags & WINDOW_DLGC… in GetFocus()
4973 mpWindowImpl->mpLastFocusWindow->GrabFocus(); in GetFocus()
5062 mpWindowImpl->mbCommand = sal_True; in Command()
5109 if ( mpWindowImpl->mbCompoundControl || ( rNEvt.GetWindow() == this ) ) in ImplNotifyKeyMouseCommandEventListeners()
5133 if ( mpWindowImpl->mbCompoundControl || ( rNEvt.GetWindow() == this ) ) in ImplNotifyKeyMouseCommandEventListeners()
5146 if ( mpWindowImpl->mbCompoundControl || ( rNEvt.GetWindow() == this ) ) in ImplNotifyKeyMouseCommandEventListeners()
5159 if ( mpWindowImpl->mbCompoundControl || ( rNEvt.GetWindow() == this ) ) in ImplNotifyKeyMouseCommandEventListeners()
5172 if ( mpWindowImpl->mbCompoundControl || ( rNEvt.GetWindow() == this ) ) in ImplNotifyKeyMouseCommandEventListeners()
5177 if ( mpWindowImpl->mbCompoundControl || ( rNEvt.GetWindow() == this ) ) in ImplNotifyKeyMouseCommandEventListeners()
5207 if ( mpWindowImpl->mpParent && !ImplIsOverlapWindow() ) in PreNotify()
5208 bDone = mpWindowImpl->mpParent->PreNotify( rNEvt ); in PreNotify()
5215 …if ( mpWindowImpl->mbCompoundControl && !mpWindowImpl->mbCompoundControlHasFocus && HasChildPathFo… in PreNotify()
5217 mpWindowImpl->mbCompoundControlHasFocus = sal_True; in PreNotify()
5227 …if ( mpWindowImpl->mbCompoundControl && mpWindowImpl->mbCompoundControlHasFocus && !HasChildPathFo… in PreNotify()
5229 mpWindowImpl->mbCompoundControlHasFocus = sal_False ; in PreNotify()
5381 … !(GetStyle() & WB_TABSTOP) && !(mpWindowImpl->mnDlgCtrlFlags & WINDOW_DLGCTRL_WANTFOCUS) ) in Notify()
5393 if ( mpWindowImpl->mpParent && !ImplIsOverlapWindow() ) in Notify()
5394 nRet = mpWindowImpl->mpParent->Notify( rNEvt ); in Notify()
5435 if ( !mpWindowImpl->maEventListeners.empty() ) in CallEventListeners()
5436 mpWindowImpl->maEventListeners.Call( &aEvent ); in CallEventListeners()
5448 if ( !pWindow->mpWindowImpl->maChildEventListeners.empty() ) in CallEventListeners()
5449 pWindow->mpWindowImpl->maChildEventListeners.Call( &aEvent ); in CallEventListeners()
5469 mpWindowImpl->maEventListeners.push_back( rEventListener ); in AddEventListener()
5476 mpWindowImpl->maEventListeners.remove( rEventListener ); in RemoveEventListener()
5483 mpWindowImpl->maChildEventListeners.push_back( rEventListener ); in AddChildEventListener()
5490 mpWindowImpl->maChildEventListeners.remove( rEventListener ); in RemoveChildEventListener()
5525 if ( mpWindowImpl->mpFrame->PostEvent( pSVEvent ) ) in PostUserEvent()
5550 if ( mpWindowImpl->mpFrame->PostEvent( pSVEvent ) ) in PostUserEvent()
5604 if ( mpWindowImpl->mnLockCount != 0 ) in IsLocked()
5607 if ( bChilds || mpWindowImpl->mbChildNotify ) in IsLocked()
5609 Window* pChild = mpWindowImpl->mpFirstChild; in IsLocked()
5614 pChild = pChild->mpWindowImpl->mpNext; in IsLocked()
5627 if ( mpWindowImpl->mnStyle != nStyle ) in SetStyle()
5629 mpWindowImpl->mnPrevStyle = mpWindowImpl->mnStyle; in SetStyle()
5630 mpWindowImpl->mnStyle = nStyle; in SetStyle()
5641 if ( mpWindowImpl->mnExtendedStyle != nExtendedStyle ) in SetExtendedStyle()
5646 if( pWindow->mpWindowImpl->mbFrame ) in SetExtendedStyle()
5656 mpWindowImpl->mnPrevExtendedStyle = mpWindowImpl->mnExtendedStyle; in SetExtendedStyle()
5657 mpWindowImpl->mnExtendedStyle = nExtendedStyle; in SetExtendedStyle()
5680 if ( mpWindowImpl->mpBorderWindow ) in SetBorderStyle()
5683 ! mpWindowImpl->mpBorderWindow->mpWindowImpl->mbFrame && in SetBorderStyle()
5684 mpWindowImpl->mpBorderWindow->mpWindowImpl->mpParent in SetBorderStyle()
5690 Window* pBorderWin = mpWindowImpl->mpBorderWindow; in SetBorderStyle()
5692 pBorderWin->mpWindowImpl->mpClientWindow = NULL; in SetBorderStyle()
5693 mpWindowImpl->mpBorderWindow = NULL; in SetBorderStyle()
5694 mpWindowImpl->mpRealParent = pBorderWin->mpWindowImpl->mpParent; in SetBorderStyle()
5696 SetParent( pBorderWin->mpWindowImpl->mpParent ); in SetBorderStyle()
5709 if ( mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW ) in SetBorderStyle()
5710 ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->SetBorderStyle( nBorderStyle ); in SetBorderStyle()
5712 mpWindowImpl->mpBorderWindow->SetBorderStyle( nBorderStyle ); in SetBorderStyle()
5723 if ( mpWindowImpl->mpBorderWindow ) in GetBorderStyle()
5725 if ( mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW ) in GetBorderStyle()
5726 return ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->GetBorderStyle(); in GetBorderStyle()
5728 return mpWindowImpl->mpBorderWindow->GetBorderStyle(); in GetBorderStyle()
5740 if ( mpWindowImpl->mpBorderWindow ) in CalcTitleWidth()
5742 if ( mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW ) in CalcTitleWidth()
5743 return ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->CalcTitleWidth(); in CalcTitleWidth()
5745 return mpWindowImpl->mpBorderWindow->CalcTitleWidth(); in CalcTitleWidth()
5747 else if ( mpWindowImpl->mbFrame && (mpWindowImpl->mnStyle & WB_MOVEABLE) ) in CalcTitleWidth()
5771 if ( mpWindowImpl->mpBorderWindow ) in EnableClipSiblings()
5772 mpWindowImpl->mpBorderWindow->EnableClipSiblings( bClipSiblings ); in EnableClipSiblings()
5774 mpWindowImpl->mbClipSiblings = bClipSiblings; in EnableClipSiblings()
5783 if ( mpWindowImpl->mpBorderWindow ) in SetMouseTransparent()
5784 mpWindowImpl->mpBorderWindow->SetMouseTransparent( bTransparent ); in SetMouseTransparent()
5786 if( mpWindowImpl->mpSysObj ) in SetMouseTransparent()
5787 mpWindowImpl->mpSysObj->SetMouseTransparent( bTransparent ); in SetMouseTransparent()
5789 mpWindowImpl->mbMouseTransparent = bTransparent; in SetMouseTransparent()
5799 if( bTransparent && mpWindowImpl->mbFrame ) in SetPaintTransparent()
5802 if ( mpWindowImpl->mpBorderWindow ) in SetPaintTransparent()
5803 mpWindowImpl->mpBorderWindow->SetPaintTransparent( bTransparent ); in SetPaintTransparent()
5805 mpWindowImpl->mbPaintTransparent = bTransparent; in SetPaintTransparent()
5814 mpWindowImpl->maInputContext = rInputContext; in SetInputContext()
5815 if ( !mpWindowImpl->mbInFocusHdl && HasFocus() ) in SetInputContext()
5825 if ( mpWindowImpl->mbExtTextInput ) in EndExtTextInput()
5886 if ( mpWindowImpl->mpBorderWindow ) in SetSettings()
5888 mpWindowImpl->mpBorderWindow->SetSettings( rSettings, sal_False ); in SetSettings()
5889 if ( (mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW) && in SetSettings()
5890 ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow ) in SetSettings()
5891 …((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow->SetSettings( rSettings, sal_Tr… in SetSettings()
5907 if ( bChild || mpWindowImpl->mbChildNotify ) in SetSettings()
5909 Window* pChild = mpWindowImpl->mpFirstChild; in SetSettings()
5913 pChild = pChild->mpWindowImpl->mpNext; in SetSettings()
5924 if ( mpWindowImpl->mpBorderWindow ) in UpdateSettings()
5926 mpWindowImpl->mpBorderWindow->UpdateSettings( rSettings, sal_False ); in UpdateSettings()
5927 if ( (mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW) && in UpdateSettings()
5928 ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow ) in UpdateSettings()
5929 …((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow->UpdateSettings( rSettings, sal… in UpdateSettings()
5957 if ( mpWindowImpl->mnStyle & WB_3DLOOK ) in UpdateSettings()
5972 if ( bChild || mpWindowImpl->mbChildNotify ) in UpdateSettings()
5974 Window* pChild = mpWindowImpl->mpFirstChild; in UpdateSettings()
5978 pChild = pChild->mpWindowImpl->mpNext; in UpdateSettings()
5991 Window* pChild = mpWindowImpl->mpFirstChild; in NotifyAllChilds()
5995 pChild = pChild->mpWindowImpl->mpNext; in NotifyAllChilds()
6028 nDPIX = mpWindowImpl->mpFrameData->mnDPIX; in GetFontResolution()
6029 nDPIY = mpWindowImpl->mpFrameData->mnDPIY; in GetFontResolution()
6038 if ( mpWindowImpl->mpBorderWindow ) in SetParentClipMode()
6039 mpWindowImpl->mpBorderWindow->SetParentClipMode( nMode ); in SetParentClipMode()
6044 mpWindowImpl->mnParentClipMode = nMode; in SetParentClipMode()
6046 mpWindowImpl->mpParent->mpWindowImpl->mbClipChildren = sal_True; in SetParentClipMode()
6057 if ( mpWindowImpl->mpBorderWindow ) in GetParentClipMode()
6058 return mpWindowImpl->mpBorderWindow->GetParentClipMode(); in GetParentClipMode()
6060 return mpWindowImpl->mnParentClipMode; in GetParentClipMode()
6069 if ( mpWindowImpl->mpBorderWindow ) in SetWindowRegionPixel()
6070 mpWindowImpl->mpBorderWindow->SetWindowRegionPixel(); in SetWindowRegionPixel()
6071 else if( mpWindowImpl->mbFrame ) in SetWindowRegionPixel()
6073 mpWindowImpl->maWinRegion = Region(true); in SetWindowRegionPixel()
6074 mpWindowImpl->mbWinRegion = sal_False; in SetWindowRegionPixel()
6075 mpWindowImpl->mpFrame->ResetClipRegion(); in SetWindowRegionPixel()
6079 if ( mpWindowImpl->mbWinRegion ) in SetWindowRegionPixel()
6081 mpWindowImpl->maWinRegion = Region(true); in SetWindowRegionPixel()
6082 mpWindowImpl->mbWinRegion = sal_False; in SetWindowRegionPixel()
6088 if ( mpWindowImpl->mpOverlapData && mpWindowImpl->mpOverlapData->mpSaveBackDev ) in SetWindowRegionPixel()
6090 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in SetWindowRegionPixel()
6106 if ( mpWindowImpl->mpBorderWindow ) in SetWindowRegionPixel()
6107 mpWindowImpl->mpBorderWindow->SetWindowRegionPixel( rRegion ); in SetWindowRegionPixel()
6108 else if( mpWindowImpl->mbFrame ) in SetWindowRegionPixel()
6112 mpWindowImpl->maWinRegion = rRegion; in SetWindowRegionPixel()
6113 mpWindowImpl->mbWinRegion = ! rRegion.IsEmpty(); in SetWindowRegionPixel()
6115 if( mpWindowImpl->mbWinRegion ) in SetWindowRegionPixel()
6119 mpWindowImpl->maWinRegion.GetRegionRectangles(aRectangles); in SetWindowRegionPixel()
6120 mpWindowImpl->mpFrame->BeginSetClipRegion(aRectangles.size()); in SetWindowRegionPixel()
6124 mpWindowImpl->mpFrame->UnionClipRegion( in SetWindowRegionPixel()
6131 mpWindowImpl->mpFrame->EndSetClipRegion(); in SetWindowRegionPixel()
6163 if ( mpWindowImpl->mbWinRegion ) in SetWindowRegionPixel()
6165 mpWindowImpl->maWinRegion = Region(true); in SetWindowRegionPixel()
6166 mpWindowImpl->mbWinRegion = sal_False; in SetWindowRegionPixel()
6173 mpWindowImpl->maWinRegion = rRegion; in SetWindowRegionPixel()
6174 mpWindowImpl->mbWinRegion = sal_True; in SetWindowRegionPixel()
6182 if ( mpWindowImpl->mpOverlapData && mpWindowImpl->mpOverlapData->mpSaveBackDev ) in SetWindowRegionPixel()
6184 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in SetWindowRegionPixel()
6199 if ( mpWindowImpl->mpBorderWindow ) in GetWindowRegionPixel()
6200 return mpWindowImpl->mpBorderWindow->GetWindowRegionPixel(); in GetWindowRegionPixel()
6202 return mpWindowImpl->maWinRegion; in GetWindowRegionPixel()
6211 if ( mpWindowImpl->mpBorderWindow ) in IsWindowRegionPixel()
6212 return mpWindowImpl->mpBorderWindow->IsWindowRegionPixel(); in IsWindowRegionPixel()
6214 return mpWindowImpl->mbWinRegion; in IsWindowRegionPixel()
6227 if ( mpWindowImpl->mbInitWinClipRegion ) in GetWindowClipRegionPixel()
6229 aWinClipRegion = mpWindowImpl->maWinClipRegion; in GetWindowClipRegionPixel()
6260 if ( mpWindowImpl->mpPaintRegion ) in GetPaintRegion()
6262 Region aRegion = *mpWindowImpl->mpPaintRegion; in GetPaintRegion()
6277 if( mpWindowImpl->mpPaintRegion ) in ExpandPaintClipRegion()
6289 mpWindowImpl->mpPaintRegion->Union( aDevPixRegion ); in ExpandPaintClipRegion()
6336 if( (GetStyle() & WB_OWNERDRAWDECORATION) && mpWindowImpl->mbFrame ) in SetParent()
6347 if ( mpWindowImpl->mpBorderWindow ) in SetParent()
6349 mpWindowImpl->mpRealParent = pNewParent; in SetParent()
6350 mpWindowImpl->mpBorderWindow->SetParent( pNewParent ); in SetParent()
6354 if ( mpWindowImpl->mpParent == pNewParent ) in SetParent()
6357 if ( mpWindowImpl->mbFrame ) in SetParent()
6358 mpWindowImpl->mpFrame->SetParent( pNewParent->mpWindowImpl->mpFrame ); in SetParent()
6371 if ( mpWindowImpl->mpOverlapWindow != pNewOverlapWindow ) in SetParent()
6372 pOldOverlapWindow = mpWindowImpl->mpOverlapWindow; in SetParent()
6380 sal_Bool bNewFrame = pNewParent->mpWindowImpl->mpFrameWindow != mpWindowImpl->mpFrameWindow; in SetParent()
6383 if ( mpWindowImpl->mpFrameData->mpFocusWin ) in SetParent()
6385 if ( IsWindowOrChild( mpWindowImpl->mpFrameData->mpFocusWin ) ) in SetParent()
6386 mpWindowImpl->mpFrameData->mpFocusWin = NULL; in SetParent()
6388 if ( mpWindowImpl->mpFrameData->mpMouseMoveWin ) in SetParent()
6390 if ( IsWindowOrChild( mpWindowImpl->mpFrameData->mpMouseMoveWin ) ) in SetParent()
6391 mpWindowImpl->mpFrameData->mpMouseMoveWin = NULL; in SetParent()
6393 if ( mpWindowImpl->mpFrameData->mpMouseDownWin ) in SetParent()
6395 if ( IsWindowOrChild( mpWindowImpl->mpFrameData->mpMouseDownWin ) ) in SetParent()
6396 mpWindowImpl->mpFrameData->mpMouseDownWin = NULL; in SetParent()
6401 if ( mpWindowImpl->mnParentClipMode & PARENTCLIPMODE_CLIP ) in SetParent()
6402 pNewParent->mpWindowImpl->mbClipChildren = sal_True; in SetParent()
6414 Window* pOverlapWindow = mpWindowImpl->mpFirstOverlap; in SetParent()
6417 Window* pNextOverlapWindow = pOverlapWindow->mpWindowImpl->mpNext; in SetParent()
6427 (pOldOverlapWindow->mpWindowImpl->mpLastFocusWindow && in SetParent()
6428 IsWindowOrChild( pOldOverlapWindow->mpWindowImpl->mpLastFocusWindow )) ) in SetParent()
6429 pOldOverlapWindow->mpWindowImpl->mpLastFocusWindow = NULL; in SetParent()
6431 Window* pOverlapWindow = pOldOverlapWindow->mpWindowImpl->mpFirstOverlap; in SetParent()
6434 Window* pNextOverlapWindow = pOverlapWindow->mpWindowImpl->mpNext; in SetParent()
6450 ((ImplBorderWindow*)this)->SetDisplayActive( mpWindowImpl->mpFrameData->mbHasFocus ); in SetParent()
6457 mpWindowImpl->mpFrameData->mpFocusWin = Application::GetFocusWindow(); in SetParent()
6458 if ( !mpWindowImpl->mpFrameData->mbHasFocus ) in SetParent()
6460 mpWindowImpl->mpFrame->ToTop( 0 ); in SetParent()
6473 if( (GetStyle() & WB_OWNERDRAWDECORATION) && mpWindowImpl->mbFrame ) in SetParent()
6486 if ( mpWindowImpl->mbVisible == bVisible ) in Show()
6492 mpWindowImpl->mbVisible = (bVisible != 0); in Show()
6500 if ( mpWindowImpl->mpBorderWindow ) in Show()
6502 sal_Bool bOldUpdate = mpWindowImpl->mpBorderWindow->mpWindowImpl->mbNoParentUpdate; in Show()
6503 if ( mpWindowImpl->mbNoParentUpdate ) in Show()
6504 mpWindowImpl->mpBorderWindow->mpWindowImpl->mbNoParentUpdate = sal_True; in Show()
6505 mpWindowImpl->mpBorderWindow->Show( sal_False, nFlags ); in Show()
6506 mpWindowImpl->mpBorderWindow->mpWindowImpl->mbNoParentUpdate = bOldUpdate; in Show()
6508 else if ( mpWindowImpl->mbFrame ) in Show()
6510 mpWindowImpl->mbSuppressAccessibilityEvents = sal_True; in Show()
6511 mpWindowImpl->mpFrame->Show( sal_False, sal_False ); in Show()
6516 if ( mpWindowImpl->mbReallyVisible ) in Show()
6521 if ( ImplIsOverlapWindow() && !mpWindowImpl->mbFrame ) in Show()
6529 if ( mpWindowImpl->mbInitWinClipRegion ) in Show()
6531 aInvRegion = mpWindowImpl->maWinClipRegion; in Show()
6537 bRealVisibilityChanged = mpWindowImpl->mbReallyVisible; in Show()
6541 if ( ImplIsOverlapWindow() && !mpWindowImpl->mbFrame ) in Show()
6546 if ( mpWindowImpl->mpOverlapWindow->IsEnabled() && in Show()
6547 mpWindowImpl->mpOverlapWindow->IsInputEnabled() && in Show()
6548 ! mpWindowImpl->mpOverlapWindow->IsInModalMode() in Show()
6550 mpWindowImpl->mpOverlapWindow->GrabFocus(); in Show()
6554 if ( !mpWindowImpl->mbFrame ) in Show()
6556 if( mpWindowImpl->mpWinData && mpWindowImpl->mpWinData->mbEnableNativeWidget ) in Show()
6573 if ( !mpWindowImpl->mbNoParentUpdate && !(nFlags & SHOW_NOPARENTUPDATE) ) in Show()
6587 if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() && in Show()
6591 if ( mpWindowImpl->mbCallMove ) in Show()
6595 if ( mpWindowImpl->mbCallResize ) in Show()
6604 pTestParent = mpWindowImpl->mpOverlapWindow; in Show()
6607 if ( mpWindowImpl->mbFrame || pTestParent->mpWindowImpl->mbReallyVisible ) in Show()
6623 if ( mpWindowImpl->mpOverlapData && mpWindowImpl->mpOverlapData->mbSaveBack ) in Show()
6626 bRealVisibilityChanged = !mpWindowImpl->mbReallyVisible; in Show()
6632 if ( !mpWindowImpl->mbFrame ) in Show()
6642 if ( mpWindowImpl->mpBorderWindow ) in Show()
6643 mpWindowImpl->mpBorderWindow->Show( sal_True, nFlags ); in Show()
6644 else if ( mpWindowImpl->mbFrame ) in Show()
6652 mpWindowImpl->mbSuppressAccessibilityEvents = sal_False; in Show()
6654 mpWindowImpl->mbPaintFrame = sal_True; in Show()
6656 mpWindowImpl->mpFrame->Show( sal_True, bNoActivate ); in Show()
6662 if ( mpWindowImpl->mbWaitSystemResize ) in Show()
6666 mpWindowImpl->mpFrame->GetClientSize( nOutWidth, nOutHeight ); in Show()
6687 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in Show()
6696 …ImplCallEventListeners( mpWindowImpl->mbVisible ? VCLEVENT_WINDOW_SHOW : VCLEVENT_WINDOW_HIDE, NUL… in Show()
6730 if( mpWindowImpl->mpFrameData->maResizeTimer.IsActive() ) in GetSizePixel()
6733 mpWindowImpl->mpFrameData->maResizeTimer.Stop(); in GetSizePixel()
6734 mpWindowImpl->mpFrameData->maResizeTimer.GetTimeoutHdl().Call( NULL ); in GetSizePixel()
6739 return Size( mnOutWidth+mpWindowImpl->mnLeftBorder+mpWindowImpl->mnRightBorder, in GetSizePixel()
6740 mnOutHeight+mpWindowImpl->mnTopBorder+mpWindowImpl->mnBottomBorder ); in GetSizePixel()
6746 rLeftBorder = mpWindowImpl->mnLeftBorder; in GetBorder()
6747 rTopBorder = mpWindowImpl->mnTopBorder; in GetBorder()
6748 rRightBorder = mpWindowImpl->mnRightBorder; in GetBorder()
6749 rBottomBorder = mpWindowImpl->mnBottomBorder; in GetBorder()
6775 if ( mpWindowImpl->mpBorderWindow ) in Enable()
6777 mpWindowImpl->mpBorderWindow->Enable( bEnable, sal_False ); in Enable()
6778 if ( (mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW) && in Enable()
6779 ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow ) in Enable()
6780 … ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow->Enable( bEnable, sal_True ); in Enable()
6788 mpWindowImpl->mpFrameData->mbHasFocus && in Enable()
6789 mpWindowImpl->mpFrameData->mpFocusWin == this ) in Enable()
6792 if ( mpWindowImpl->mbDisabled != !bEnable ) in Enable()
6794 mpWindowImpl->mbDisabled = !bEnable; in Enable()
6795 if ( mpWindowImpl->mpSysObj ) in Enable()
6796 mpWindowImpl->mpSysObj->Enable( bEnable && !mpWindowImpl->mbInputDisabled ); in Enable()
6804 if ( bChild || mpWindowImpl->mbChildNotify ) in Enable()
6806 Window* pChild = mpWindowImpl->mpFirstChild; in Enable()
6810 pChild = pChild->mpWindowImpl->mpNext; in Enable()
6822 mpWindowImpl->mbCallHandlersDuringInputDisabled = bCall ? sal_True : sal_False; in SetCallHandlersOnInputDisabled()
6824 Window* pChild = mpWindowImpl->mpFirstChild; in SetCallHandlersOnInputDisabled()
6828 pChild = pChild->mpWindowImpl->mpNext; in SetCallHandlersOnInputDisabled()
6836 return mpWindowImpl->mbCallHandlersDuringInputDisabled ? true : false; in IsCallHandlersOnInputDisabled()
6845 sal_Bool bNotify = (bEnable != mpWindowImpl->mbInputDisabled); in EnableInput()
6846 if ( mpWindowImpl->mpBorderWindow ) in EnableInput()
6848 mpWindowImpl->mpBorderWindow->EnableInput( bEnable, sal_False ); in EnableInput()
6849 if ( (mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW) && in EnableInput()
6850 ((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow ) in EnableInput()
6851 …((ImplBorderWindow*)mpWindowImpl->mpBorderWindow)->mpMenuBarWindow->EnableInput( bEnable, sal_True… in EnableInput()
6854 if ( (! bEnable && mpWindowImpl->meAlwaysInputMode != AlwaysInputEnabled) || in EnableInput()
6855 ( bEnable && mpWindowImpl->meAlwaysInputMode != AlwaysInputDisabled) ) in EnableInput()
6867 if ( mpWindowImpl->mbInputDisabled != !bEnable ) in EnableInput()
6869 mpWindowImpl->mbInputDisabled = !bEnable; in EnableInput()
6870 if ( mpWindowImpl->mpSysObj ) in EnableInput()
6871 mpWindowImpl->mpSysObj->Enable( !mpWindowImpl->mbDisabled && bEnable ); in EnableInput()
6882 mpWindowImpl->mpFrameData->mbHasFocus && in EnableInput()
6883 mpWindowImpl->mpFrameData->mpFocusWin == this ) in EnableInput()
6886 if ( bChild || mpWindowImpl->mbChildNotify ) in EnableInput()
6888 Window* pChild = mpWindowImpl->mpFirstChild; in EnableInput()
6892 pChild = pChild->mpWindowImpl->mpNext; in EnableInput()
6921 Window* pSysWin = mpWindowImpl->mpFrameWindow->mpWindowImpl->mpFrameData->mpFirstOverlap; in EnableInput()
6932 pSysWin = pSysWin->mpWindowImpl->mpNextOverlap; in EnableInput()
6950 pFrameWin = pFrameWin->mpWindowImpl->mpFrameData->mpNextFrame; in EnableInput()
6954 if( mpWindowImpl->mbFrame ) in EnableInput()
6956 ::std::vector< Window* >& rList = mpWindowImpl->mpFrameData->maOwnerDrawList; in EnableInput()
6980 if ( mpWindowImpl->mpBorderWindow ) in AlwaysEnableInput()
6981 mpWindowImpl->mpBorderWindow->AlwaysEnableInput( bAlways, sal_False ); in AlwaysEnableInput()
6983 if( bAlways && mpWindowImpl->meAlwaysInputMode != AlwaysInputEnabled ) in AlwaysEnableInput()
6985 mpWindowImpl->meAlwaysInputMode = AlwaysInputEnabled; in AlwaysEnableInput()
6990 else if( ! bAlways && mpWindowImpl->meAlwaysInputMode == AlwaysInputEnabled ) in AlwaysEnableInput()
6992 mpWindowImpl->meAlwaysInputMode = AlwaysInputNone; in AlwaysEnableInput()
6995 if ( bChild || mpWindowImpl->mbChildNotify ) in AlwaysEnableInput()
6997 Window* pChild = mpWindowImpl->mpFirstChild; in AlwaysEnableInput()
7001 pChild = pChild->mpWindowImpl->mpNext; in AlwaysEnableInput()
7012 if ( mpWindowImpl->mpBorderWindow ) in AlwaysDisableInput()
7013 mpWindowImpl->mpBorderWindow->AlwaysDisableInput( bAlways, sal_False ); in AlwaysDisableInput()
7015 if( bAlways && mpWindowImpl->meAlwaysInputMode != AlwaysInputDisabled ) in AlwaysDisableInput()
7017 mpWindowImpl->meAlwaysInputMode = AlwaysInputDisabled; in AlwaysDisableInput()
7022 else if( ! bAlways && mpWindowImpl->meAlwaysInputMode == AlwaysInputDisabled ) in AlwaysDisableInput()
7024 mpWindowImpl->meAlwaysInputMode = AlwaysInputNone; in AlwaysDisableInput()
7027 if ( bChild || mpWindowImpl->mbChildNotify ) in AlwaysDisableInput()
7029 Window* pChild = mpWindowImpl->mpFirstChild; in AlwaysDisableInput()
7033 pChild = pChild->mpWindowImpl->mpNext; in AlwaysDisableInput()
7044 if ( mpWindowImpl->mpBorderWindow ) in SetActivateMode()
7045 mpWindowImpl->mpBorderWindow->SetActivateMode( nMode ); in SetActivateMode()
7047 if ( mpWindowImpl->mnActivateMode != nMode ) in SetActivateMode()
7049 mpWindowImpl->mnActivateMode = nMode; in SetActivateMode()
7052 if ( mpWindowImpl->mnActivateMode ) in SetActivateMode()
7054 if ( (mpWindowImpl->mbActive || (GetType() == WINDOW_BORDERWINDOW)) && in SetActivateMode()
7057 mpWindowImpl->mbActive = sal_False; in SetActivateMode()
7063 if ( !mpWindowImpl->mbActive || (GetType() == WINDOW_BORDERWINDOW) ) in SetActivateMode()
7065 mpWindowImpl->mbActive = sal_True; in SetActivateMode()
7088 if ( mpWindowImpl->mpBorderWindow ) in SetZOrder()
7090 mpWindowImpl->mpBorderWindow->SetZOrder( pRefWindow, nFlags ); in SetZOrder()
7097 pRefWindow = mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap; in SetZOrder()
7099 pRefWindow = mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild; in SetZOrder()
7105 pRefWindow = mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap; in SetZOrder()
7107 pRefWindow = mpWindowImpl->mpParent->mpWindowImpl->mpLastChild; in SetZOrder()
7111 while ( pRefWindow->mpWindowImpl->mpBorderWindow ) in SetZOrder()
7112 pRefWindow = pRefWindow->mpWindowImpl->mpBorderWindow; in SetZOrder()
7113 if ( (pRefWindow == this) || mpWindowImpl->mbFrame ) in SetZOrder()
7116 …DBG_ASSERT( pRefWindow->mpWindowImpl->mpParent == mpWindowImpl->mpParent, "Window::SetZOrder() - p… in SetZOrder()
7119 if ( pRefWindow->mpWindowImpl->mpPrev == this ) in SetZOrder()
7124 if ( mpWindowImpl->mpPrev ) in SetZOrder()
7125 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in SetZOrder()
7127 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap = mpWindowImpl->mpNext; in SetZOrder()
7128 if ( mpWindowImpl->mpNext ) in SetZOrder()
7129 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in SetZOrder()
7131 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap = mpWindowImpl->mpPrev; in SetZOrder()
7132 if ( !pRefWindow->mpWindowImpl->mpPrev ) in SetZOrder()
7133 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap = this; in SetZOrder()
7137 if ( mpWindowImpl->mpPrev ) in SetZOrder()
7138 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in SetZOrder()
7140 mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild = mpWindowImpl->mpNext; in SetZOrder()
7141 if ( mpWindowImpl->mpNext ) in SetZOrder()
7142 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in SetZOrder()
7144 mpWindowImpl->mpParent->mpWindowImpl->mpLastChild = mpWindowImpl->mpPrev; in SetZOrder()
7145 if ( !pRefWindow->mpWindowImpl->mpPrev ) in SetZOrder()
7146 mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild = this; in SetZOrder()
7149 mpWindowImpl->mpPrev = pRefWindow->mpWindowImpl->mpPrev; in SetZOrder()
7150 mpWindowImpl->mpNext = pRefWindow; in SetZOrder()
7151 if ( mpWindowImpl->mpPrev ) in SetZOrder()
7152 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = this; in SetZOrder()
7153 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = this; in SetZOrder()
7157 if ( pRefWindow->mpWindowImpl->mpNext == this ) in SetZOrder()
7162 if ( mpWindowImpl->mpPrev ) in SetZOrder()
7163 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in SetZOrder()
7165 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap = mpWindowImpl->mpNext; in SetZOrder()
7166 if ( mpWindowImpl->mpNext ) in SetZOrder()
7167 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in SetZOrder()
7169 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap = mpWindowImpl->mpPrev; in SetZOrder()
7170 if ( !pRefWindow->mpWindowImpl->mpNext ) in SetZOrder()
7171 mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap = this; in SetZOrder()
7175 if ( mpWindowImpl->mpPrev ) in SetZOrder()
7176 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = mpWindowImpl->mpNext; in SetZOrder()
7178 mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild = mpWindowImpl->mpNext; in SetZOrder()
7179 if ( mpWindowImpl->mpNext ) in SetZOrder()
7180 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = mpWindowImpl->mpPrev; in SetZOrder()
7182 mpWindowImpl->mpParent->mpWindowImpl->mpLastChild = mpWindowImpl->mpPrev; in SetZOrder()
7183 if ( !pRefWindow->mpWindowImpl->mpNext ) in SetZOrder()
7184 mpWindowImpl->mpParent->mpWindowImpl->mpLastChild = this; in SetZOrder()
7187 mpWindowImpl->mpPrev = pRefWindow; in SetZOrder()
7188 mpWindowImpl->mpNext = pRefWindow->mpWindowImpl->mpNext; in SetZOrder()
7189 if ( mpWindowImpl->mpNext ) in SetZOrder()
7190 mpWindowImpl->mpNext->mpWindowImpl->mpPrev = this; in SetZOrder()
7191 mpWindowImpl->mpPrev->mpWindowImpl->mpNext = this; in SetZOrder()
7197 if ( mpWindowImpl->mpFrameData->mpFirstBackWin ) in SetZOrder()
7200 if ( mpWindowImpl->mbInitWinClipRegion || !mpWindowImpl->maWinClipRegion.IsEmpty() ) in SetZOrder()
7202 sal_Bool bInitWinClipRegion = mpWindowImpl->mbInitWinClipRegion; in SetZOrder()
7221 if ( mpWindowImpl->mpOverlapWindow ) in SetZOrder()
7222 pWindow = mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap; in SetZOrder()
7225 pWindow = ImplGetParent()->mpWindowImpl->mpFirstChild; in SetZOrder()
7236 pWindow = pWindow->mpWindowImpl->mpNext; in SetZOrder()
7252 pWindow = pWindow->mpWindowImpl->mpNext; in SetZOrder()
7265 mpWindowImpl->mbAlwaysOnTop = bEnable; in EnableAlwaysOnTop()
7267 if ( mpWindowImpl->mpBorderWindow ) in EnableAlwaysOnTop()
7268 mpWindowImpl->mpBorderWindow->EnableAlwaysOnTop( bEnable ); in EnableAlwaysOnTop()
7272 if ( mpWindowImpl->mbFrame ) in EnableAlwaysOnTop()
7273 mpWindowImpl->mpFrame->SetAlwaysOnTop( bEnable ); in EnableAlwaysOnTop()
7283 sal_Bool bHasValidSize = !mpWindowImpl->mbDefSize; in SetPosSizePixel()
7286 mpWindowImpl->mbDefPos = sal_False; in SetPosSizePixel()
7288 mpWindowImpl->mbDefSize = sal_False; in SetPosSizePixel()
7292 while ( pWindow->mpWindowImpl->mpBorderWindow ) in SetPosSizePixel()
7293 pWindow = pWindow->mpWindowImpl->mpBorderWindow; in SetPosSizePixel()
7295 if ( pWindow->mpWindowImpl->mbFrame ) in SetPosSizePixel()
7329 …if( !(nFlags & WINDOW_POSSIZE_X) && bHasValidSize && pWindow->mpWindowImpl->mpFrame->maGeometry.nW… in SetPosSizePixel()
7337 myWidth = mpWindowImpl->mpFrame->GetUnmirroredGeometry().nWidth; in SetPosSizePixel()
7342 …nX = mpWindowImpl->mpFrame->GetUnmirroredGeometry().nX - pWindow->GetParent()->mpWindowImpl->mpFra… in SetPosSizePixel()
7343 mpWindowImpl->mpFrame->GetUnmirroredGeometry().nLeftDecoration; in SetPosSizePixel()
7344 …nX = pWindow->GetParent()->mpWindowImpl->mpFrame->GetUnmirroredGeometry().nX - mpWindowImpl->mpFra… in SetPosSizePixel()
7345 …pWindow->GetParent()->mpWindowImpl->mpFrame->GetUnmirroredGeometry().nWidth - myWidth - 1 - mpWind… in SetPosSizePixel()
7350 …nY = mpWindowImpl->mpFrame->GetUnmirroredGeometry().nY - pWindow->GetParent()->mpWindowImpl->mpFra… in SetPosSizePixel()
7351 mpWindowImpl->mpFrame->GetUnmirroredGeometry().nTopDecoration; in SetPosSizePixel()
7387 pWindow->mpWindowImpl->mpFrame->SetPosSize( nX, nY, nWidth, nHeight, nSysFlags ); in SetPosSizePixel()
7407 return mpWindowImpl->maPos; in GetPosPixel()
7415 mpWindowImpl->mpFrameWindow->mpWindowImpl->mpFrame->GetWorkArea( rRect ); in GetDesktopRectPixel()
7443 …if( mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame && mpWindowImpl->mpPa… in ImplGetUnmirroredOutOffX()
7446 offx -= mpWindowImpl->mpParent->mnOutOffX; in ImplGetUnmirroredOutOffX()
7448 offx = mpWindowImpl->mpParent->mnOutWidth - mnOutWidth - offx; in ImplGetUnmirroredOutOffX()
7451 offx += mpWindowImpl->mpParent->mnOutOffX; in ImplGetUnmirroredOutOffX()
7479 SalFrameGeometry g = mpWindowImpl->mpFrame->GetGeometry(); in OutputToAbsoluteScreenPixel()
7491 SalFrameGeometry g = mpWindowImpl->mpFrame->GetGeometry(); in AbsoluteScreenToOutputPixel()
7503 SalFrameGeometry g = mpWindowImpl->mpFrame->GetUnmirroredGeometry(); in ImplOutputToUnmirroredAbsoluteScreenPixel()
7535 SalFrameGeometry g = mpWindowImpl->mpFrame->GetGeometry(); in ImplGetWindowExtentsRelative()
7538 …const Window *pWin = (!bClientOnly && mpWindowImpl->mpBorderWindow) ? mpWindowImpl->mpBorderWindow… in ImplGetWindowExtentsRelative()
7545 …if( !bClientOnly && (mpWindowImpl->mbFrame || (mpWindowImpl->mpBorderWindow && mpWindowImpl->mpBor… in ImplGetWindowExtentsRelative()
7555 … *pRelWin = (!bClientOnly && pRelativeWindow->mpWindowImpl->mpBorderWindow) ? pRelativeWindow->mpW… in ImplGetWindowExtentsRelative()
7687 if ( !mpWindowImpl->mbReallyVisible ) in HasPaintEvent()
7690 if ( mpWindowImpl->mpFrameWindow->mpWindowImpl->mbPaintFrame ) in HasPaintEvent()
7693 if ( mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINT ) in HasPaintEvent()
7702 …if ( pTempWindow->mpWindowImpl->mnPaintFlags & (IMPL_PAINT_PAINTCHILDS | IMPL_PAINT_PAINTALLCHILDS… in HasPaintEvent()
7717 if ( mpWindowImpl->mpBorderWindow ) in Update()
7719 mpWindowImpl->mpBorderWindow->Update(); in Update()
7723 if ( !mpWindowImpl->mbReallyVisible ) in Update()
7727 if ( mpWindowImpl->mpFrameWindow->mpWindowImpl->mbPaintFrame ) in Update()
7732 …if ( mpWindowImpl->mbFrame || (mpWindowImpl->mpBorderWindow && mpWindowImpl->mpBorderWindow->mpWin… in Update()
7742 if ( !pWindow->mpWindowImpl->mbPaintTransparent ) in Update()
7754 if ( pWindow->mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALLCHILDS ) in Update()
7763 if ( pUpdateWindow->mpWindowImpl->mnPaintFlags & (IMPL_PAINT_PAINT | IMPL_PAINT_PAINTCHILDS) ) in Update()
7767 Window* pUpdateOverlapWindow = ImplGetFirstOverlapWindow()->mpWindowImpl->mpFirstOverlap; in Update()
7771 pUpdateOverlapWindow = pUpdateOverlapWindow->mpWindowImpl->mpNext; in Update()
7774 pUpdateWindow->ImplCallPaint( NULL, pUpdateWindow->mpWindowImpl->mnPaintFlags ); in Update()
7788 mpWindowImpl->mpFrame->Flush( aWinRect ); in Flush()
7797 mpWindowImpl->mpFrame->Sync(); in Sync()
7806 mpWindowImpl->mbNoUpdate = !bUpdate; in SetUpdateMode()
7900 mpWindowImpl->mpFrame->CaptureMouse( sal_True ); in CaptureMouse()
7918 mpWindowImpl->mpFrame->CaptureMouse( sal_False ); in ReleaseMouse()
7938 if ( mpWindowImpl->maPointer == rPointer ) in SetPointer()
7941 mpWindowImpl->maPointer = rPointer; in SetPointer()
7944 if ( !mpWindowImpl->mpFrameData->mbInMouseMove && ImplTestMousePointerSet() ) in SetPointer()
7945 mpWindowImpl->mpFrame->SetPointer( ImplGetMousePointer() ); in SetPointer()
7954 if ( mpWindowImpl->mbChildPtrOverwrite == bOverwrite ) in EnableChildPointerOverwrite()
7957 mpWindowImpl->mbChildPtrOverwrite = bOverwrite; in EnableChildPointerOverwrite()
7960 if ( !mpWindowImpl->mpFrameData->mbInMouseMove && ImplTestMousePointerSet() ) in EnableChildPointerOverwrite()
7961 mpWindowImpl->mpFrame->SetPointer( ImplGetMousePointer() ); in EnableChildPointerOverwrite()
7985 mpWindowImpl->mpFrame->SetPointerPos( aPos.X(), aPos.Y() ); in SetPointerPosPixel()
7994 Point aPos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY ); in GetPointerPosPixel()
8009 …Point aPos( mpWindowImpl->mpFrameData->mnBeforeLastMouseX, mpWindowImpl->mpFrameData->mnBeforeLast… in GetLastPointerPosPixel()
8024 if ( mpWindowImpl->mbNoPtrVisible != !bVisible ) in ShowPointer()
8026 mpWindowImpl->mbNoPtrVisible = !bVisible; in ShowPointer()
8029 if ( !mpWindowImpl->mpFrameData->mbInMouseMove && ImplTestMousePointerSet() ) in ShowPointer()
8030 mpWindowImpl->mpFrame->SetPointer( ImplGetMousePointer() ); in ShowPointer()
8041 if (mpWindowImpl->mpFrame) in GetPointerState()
8045 aSalPointerState = mpWindowImpl->mpFrame->GetPointerState(); in GetPointerState()
8070 mpWindowImpl->mnWaitCount++; in EnterWait()
8072 if ( mpWindowImpl->mnWaitCount == 1 ) in EnterWait()
8075 if ( !mpWindowImpl->mpFrameData->mbInMouseMove && ImplTestMousePointerSet() ) in EnterWait()
8076 mpWindowImpl->mpFrame->SetPointer( ImplGetMousePointer() ); in EnterWait()
8086 if ( mpWindowImpl->mnWaitCount ) in LeaveWait()
8088 mpWindowImpl->mnWaitCount--; in LeaveWait()
8090 if ( !mpWindowImpl->mnWaitCount ) in LeaveWait()
8093 if ( !mpWindowImpl->mpFrameData->mbInMouseMove && ImplTestMousePointerSet() ) in LeaveWait()
8094 mpWindowImpl->mpFrame->SetPointer( ImplGetMousePointer() ); in LeaveWait()
8105 if ( mpWindowImpl->mpCursor != pCursor ) in SetCursor()
8107 if ( mpWindowImpl->mpCursor ) in SetCursor()
8108 mpWindowImpl->mpCursor->ImplHide( true ); in SetCursor()
8109 mpWindowImpl->mpCursor = pCursor; in SetCursor()
8121 String oldTitle( mpWindowImpl->maText ); in SetText()
8122 mpWindowImpl->maText = rStr; in SetText()
8124 if ( mpWindowImpl->mpBorderWindow ) in SetText()
8125 mpWindowImpl->mpBorderWindow->SetText( rStr ); in SetText()
8126 else if ( mpWindowImpl->mbFrame ) in SetText()
8127 mpWindowImpl->mpFrame->SetTitle( rStr ); in SetText()
8151 return mpWindowImpl->maText; in GetText()
8178 if( mpWindowImpl->mpParent ) in GetDisplayBackground()
8179 return mpWindowImpl->mpParent->GetDisplayBackground(); in GetDisplayBackground()
8186 mpWindowImpl->mpParent ) in GetDisplayBackground()
8187 return mpWindowImpl->mpParent->GetDisplayBackground(); in GetDisplayBackground()
8200 if ( !mpWindowImpl->maHelpText.Len() && bStrHelpId ) in GetHelpText()
8202 …if ( !IsDialog() && (mpWindowImpl->mnType != WINDOW_TABPAGE) && (mpWindowImpl->mnType != WINDOW_FL… in GetHelpText()
8207 ((Window*)this)->mpWindowImpl->maHelpText = pHelp->GetHelpText( aStrHelpId, this ); in GetHelpText()
8208 mpWindowImpl->mbHelpTextDynamic = sal_False; in GetHelpText()
8212 else if( mpWindowImpl->mbHelpTextDynamic && bStrHelpId ) in GetHelpText()
8217 rtl::OUStringBuffer aTxt( 64+mpWindowImpl->maHelpText.Len() ); in GetHelpText()
8218 aTxt.append( mpWindowImpl->maHelpText ); in GetHelpText()
8221 mpWindowImpl->maHelpText = aTxt.makeStringAndClear(); in GetHelpText()
8223 mpWindowImpl->mbHelpTextDynamic = sal_False; in GetHelpText()
8226 return mpWindowImpl->maHelpText; in GetHelpText()
8246 Window* pChild = mpWindowImpl->mpFirstChild; in GetChildCount()
8250 pChild = pChild->mpWindowImpl->mpNext; in GetChildCount()
8263 Window* pChild = mpWindowImpl->mpFirstChild; in GetChild()
8268 pChild = pChild->mpWindowImpl->mpNext; in GetChild()
8284 return mpWindowImpl->mpRealParent; in GetWindow()
8287 return mpWindowImpl->mpFirstChild; in GetWindow()
8290 return mpWindowImpl->mpLastChild; in GetWindow()
8293 return mpWindowImpl->mpPrev; in GetWindow()
8296 return mpWindowImpl->mpNext; in GetWindow()
8299 return mpWindowImpl->mpFirstOverlap; in GetWindow()
8302 return mpWindowImpl->mpLastOverlap; in GetWindow()
8308 return mpWindowImpl->mpOverlapWindow; in GetWindow()
8312 return mpWindowImpl->mpOverlapWindow; in GetWindow()
8314 return mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpOverlapWindow; in GetWindow()
8323 return mpWindowImpl->mpFrameWindow; in GetWindow()
8326 if ( mpWindowImpl->mpBorderWindow ) in GetWindow()
8327 return mpWindowImpl->mpBorderWindow->GetWindow( WINDOW_BORDER ); in GetWindow()
8338 if ( !mpWindowImpl->mpRealParent ) in GetWindow()
8340 …const ::std::list< Window* >& rTopWindows( mpWindowImpl->mpRealParent->ImplGetWinData()->maTopWind… in GetWindow()
8352 if ( !mpWindowImpl->mpRealParent ) in GetWindow()
8354 …const ::std::list< Window* >& rTopWindows( mpWindowImpl->mpRealParent->ImplGetWinData()->maTopWind… in GetWindow()
8407 return mpWindowImpl->mpFrame ? mpWindowImpl->mpFrame->GetSystemData() : NULL; in GetSystemData()
8428 mpWindowImpl->mxWindowPeer.clear(); in SetWindowPeer()
8429 mpWindowImpl->mxWindowPeer = xPeer; in SetWindowPeer()
8431 mpWindowImpl->mpVCLXWindow = pVCLXWindow; in SetWindowPeer()
8438 if ( !mpWindowImpl->mxWindowPeer.is() && bCreate ) in GetComponentInterface()
8442 mpWindowImpl->mxWindowPeer = pWrapper->GetWindowInterface( this, sal_True ); in GetComponentInterface()
8444 return mpWindowImpl->mxWindowPeer; in GetComponentInterface()
8471 …if ( ImplGetParent() && mpWindowImpl->mpFrameWindow == ImplGetParent()->mpWindowImpl->mpFrameWindo… in ImplCallDeactivateListeners()
8499 else if( (mpWindowImpl->mnStyle & WB_INTROWIN) == 0 ) in ImplCallActivateListeners()
8502 ImplGetSVData()->maWinData.mpActiveApplicationFrame = mpWindowImpl->mpFrameWindow; in ImplCallActivateListeners()
8513 if( mpWindowImpl->mpFrameData && mpWindowImpl->mpFrameData->mxDropTargetListener.is() ) in ImplStopDnd()
8516 mpWindowImpl->mpFrameData->mxDropTarget.clear(); in ImplStopDnd()
8517 mpWindowImpl->mpFrameData->mxDragSource.clear(); in ImplStopDnd()
8518 mpWindowImpl->mpFrameData->mxDropTargetListener.clear(); in ImplStopDnd()
8537 if( ! mpWindowImpl->mxDNDListenerContainer.is() ) in GetDropTarget()
8541 if( mpWindowImpl->mpFrameData ) in GetDropTarget()
8543 if( ! mpWindowImpl->mpFrameData->mxDropTarget.is() ) in GetDropTarget()
8549 if( mpWindowImpl->mpFrameData->mxDropTarget.is() ) in GetDropTarget()
8551 nDefaultActions = mpWindowImpl->mpFrameData->mxDropTarget->getDefaultActions(); in GetDropTarget()
8553 if( ! mpWindowImpl->mpFrameData->mxDropTargetListener.is() ) in GetDropTarget()
8555mpWindowImpl->mpFrameData->mxDropTargetListener = new DNDEventDispatcher( mpWindowImpl->mpFrameWin… in GetDropTarget()
8559mpWindowImpl->mpFrameData->mxDropTarget->addDropTargetListener( mpWindowImpl->mpFrameData->mxDropT… in GetDropTarget()
8563 … uno::Reference< XDragGestureRecognizer > (mpWindowImpl->mpFrameData->mxDragSource, UNO_QUERY); in GetDropTarget()
8568 …uno::Reference< XDragGestureListener > (mpWindowImpl->mpFrameData->mxDropTargetListener, UNO_QUERY… in GetDropTarget()
8571 mpWindowImpl->mpFrameData->mbInternalDragGestureRecognizer = sal_True; in GetDropTarget()
8578 mpWindowImpl->mpFrameData->mxDropTarget.clear(); in GetDropTarget()
8579 mpWindowImpl->mpFrameData->mxDragSource.clear(); in GetDropTarget()
8586mpWindowImpl->mxDNDListenerContainer = static_cast < XDropTarget * > ( new DNDListenerContainer( n… in GetDropTarget()
8590 return uno::Reference< XDropTarget > ( mpWindowImpl->mxDNDListenerContainer, UNO_QUERY ); in GetDropTarget()
8599 if( mpWindowImpl->mpFrameData ) in GetDragSource()
8601 if( ! mpWindowImpl->mpFrameData->mxDragSource.is() ) in GetDragSource()
8639mpWindowImpl->mpFrameData->mxDragSource = uno::Reference< XDragSource > ( xFactory->createInstance… in GetDragSource()
8642mpWindowImpl->mpFrameData->mxDropTarget = uno::Reference< XDropTarget > ( xFactory->createInstance… in GetDragSource()
8651 mpWindowImpl->mpFrameData->mxDropTarget.clear(); in GetDragSource()
8652 mpWindowImpl->mpFrameData->mxDragSource.clear(); in GetDragSource()
8656 return mpWindowImpl->mpFrameData->mxDragSource; in GetDragSource()
8667 if( mpWindowImpl->mpFrameData ) in GetDragSourceDropTarget()
8671 xDropTarget = mpWindowImpl->mpFrameData->mxDropTarget; in GetDragSourceDropTarget()
8693 if( mpWindowImpl->mpFrameData ) in GetClipboard()
8695 if( ! mpWindowImpl->mpFrameData->mxClipboard.is() ) in GetClipboard()
8703mpWindowImpl->mpFrameData->mxClipboard = uno::Reference< XClipboard >( xFactory->createInstance( O… in GetClipboard()
8705 if( !mpWindowImpl->mpFrameData->mxClipboard.is() ) in GetClipboard()
8706mpWindowImpl->mpFrameData->mxClipboard = uno::Reference< XClipboard >( xFactory->createInstance( O… in GetClipboard()
8709 if( mpWindowImpl->mpFrameData->mxClipboard.is() ) in GetClipboard()
8711 …ference< XInitialization > xInit = uno::Reference< XInitialization >( mpWindowImpl->mpFrameData->m… in GetClipboard()
8731 mpWindowImpl->mpFrameData->mxClipboard.clear(); in GetClipboard()
8735 return mpWindowImpl->mpFrameData->mxClipboard; in GetClipboard()
8747 if( mpWindowImpl->mpFrameData ) in GetPrimarySelection()
8749 if( ! mpWindowImpl->mpFrameData->mxSelection.is() ) in GetPrimarySelection()
8763mpWindowImpl->mpFrameData->mxSelection = uno::Reference< XClipboard >( xFactory->createInstanceWit… in GetPrimarySelection()
8774 mpWindowImpl->mpFrameData->mxSelection = s_xSelection; in GetPrimarySelection()
8783 mpWindowImpl->mpFrameData->mxSelection.clear(); in GetPrimarySelection()
8787 return mpWindowImpl->mpFrameData->mxSelection; in GetPrimarySelection()
8809 if ( !mpWindowImpl->mxAccessible.is() && bCreate ) in GetAccessible()
8810 mpWindowImpl->mxAccessible = CreateAccessible(); in GetAccessible()
8812 return mpWindowImpl->mxAccessible; in GetAccessible()
8823 mpWindowImpl->mxAccessible = x; in SetAccessible()
8829 if( !mpWindowImpl->mbBorderWin ) in ImplIsAccessibleCandidate()
8833 if( mpWindowImpl->mbFrame && mpWindowImpl->mnStyle & (WB_MOVEABLE | WB_SIZEABLE) ) in ImplIsAccessibleCandidate()
8841 if( mpWindowImpl->mbFrame ) in ImplIsAccessibleNativeFrame()
8843 if( (mpWindowImpl->mnStyle & (WB_MOVEABLE | WB_SIZEABLE)) ) in ImplIsAccessibleNativeFrame()
8861 pChild = pChild->mpWindowImpl->mpNext; in ImplGetAccessibleCandidateChildWindowCount()
8883 pChild = pChild->mpWindowImpl->mpNext; in ImplGetAccessibleCandidateChild()
8908 Window* pParent = mpWindowImpl->mpParent; in GetAccessibleParentWindow()
8912 Window *pWorkWin = GetParent()->mpWindowImpl->mpFirstChild; in GetAccessibleParentWindow()
8914 pWorkWin = pWorkWin->mpWindowImpl->mpNext; in GetAccessibleParentWindow()
8920 mpWindowImpl->mpBorderWindow && mpWindowImpl->mpBorderWindow->mpWindowImpl->mbFrame) in GetAccessibleParentWindow()
8922 pParent = mpWindowImpl->mpBorderWindow; in GetAccessibleParentWindow()
8926 pParent = pParent->mpWindowImpl->mpParent; in GetAccessibleParentWindow()
8947 Window* pChild = mpWindowImpl->mpFirstChild; in GetAccessibleChildWindowCount()
8952 pChild = pChild->mpWindowImpl->mpNext; in GetAccessibleChildWindowCount()
9023 Window* pChild = mpWindowImpl->mpFirstChild; in GetAccessibleChildWindow()
9032 pChild = pChild->mpWindowImpl->mpNext; in GetAccessibleChildWindow()
9037 do pChild = pChild->mpWindowImpl->mpNext; while( pChild && ! pChild->IsVisible() ); in GetAccessibleChildWindow()
9072 if ( !mpWindowImpl->mpAccessibleInfos ) in SetAccessibleRole()
9073 mpWindowImpl->mpAccessibleInfos = new ImplAccessibleInfos; in SetAccessibleRole()
9075 …DBG_ASSERT( mpWindowImpl->mpAccessibleInfos->nAccessibleRole == 0xFFFF, "AccessibleRole already se… in SetAccessibleRole()
9076 mpWindowImpl->mpAccessibleInfos->nAccessibleRole = nRole; in SetAccessibleRole()
9083 …sal_uInt16 nRole = mpWindowImpl->mpAccessibleInfos ? mpWindowImpl->mpAccessibleInfos->nAccessibleR… in GetAccessibleRole()
9187 …case WINDOW_SYSWINDOW: nRole = (mpWindowImpl->mbFrame) ? accessibility::AccessibleRole::FRAME… in GetAccessibleRole()
9190 case WINDOW_FLOATINGWINDOW: nRole = ( mpWindowImpl->mbFrame || in GetAccessibleRole()
9191 … (mpWindowImpl->mpBorderWindow && mpWindowImpl->mpBorderWindow->mpWindowImpl->mbFrame) || in GetAccessibleRole()
9226 if ( !mpWindowImpl->mpAccessibleInfos ) in SetAccessibleName()
9227 mpWindowImpl->mpAccessibleInfos = new ImplAccessibleInfos; in SetAccessibleName()
9230 delete mpWindowImpl->mpAccessibleInfos->pAccessibleName; in SetAccessibleName()
9231 mpWindowImpl->mpAccessibleInfos->pAccessibleName = new String( rName ); in SetAccessibleName()
9238 if ( mpWindowImpl->mpAccessibleInfos && mpWindowImpl->mpAccessibleInfos->pAccessibleName ) in GetAccessibleName()
9240 aAccessibleName = *mpWindowImpl->mpAccessibleInfos->pAccessibleName; in GetAccessibleName()
9300 aAccessibleName = mpWindowImpl->maText; in GetAccessibleName()
9315 if ( ! mpWindowImpl->mpAccessibleInfos ) in SetAccessibleDescription()
9316 mpWindowImpl->mpAccessibleInfos = new ImplAccessibleInfos; in SetAccessibleDescription()
9318 …DBG_ASSERT( !mpWindowImpl->mpAccessibleInfos->pAccessibleDescription, "AccessibleDescription alrea… in SetAccessibleDescription()
9319 delete mpWindowImpl->mpAccessibleInfos->pAccessibleDescription; in SetAccessibleDescription()
9320 mpWindowImpl->mpAccessibleInfos->pAccessibleDescription = new String( rDescription ); in SetAccessibleDescription()
9326 … if ( mpWindowImpl->mpAccessibleInfos && mpWindowImpl->mpAccessibleInfos->pAccessibleDescription ) in GetAccessibleDescription()
9328 aAccessibleDescription = *mpWindowImpl->mpAccessibleInfos->pAccessibleDescription; in GetAccessibleDescription()
9346 if ( !mpWindowImpl->mpAccessibleInfos ) in SetAccessibleRelationLabeledBy()
9347 mpWindowImpl->mpAccessibleInfos = new ImplAccessibleInfos; in SetAccessibleRelationLabeledBy()
9348 mpWindowImpl->mpAccessibleInfos->pLabeledByWindow = pLabeledBy; in SetAccessibleRelationLabeledBy()
9353 if ( !mpWindowImpl->mpAccessibleInfos ) in SetAccessibleRelationLabelFor()
9354 mpWindowImpl->mpAccessibleInfos = new ImplAccessibleInfos; in SetAccessibleRelationLabelFor()
9355 mpWindowImpl->mpAccessibleInfos->pLabelForWindow = pLabelFor; in SetAccessibleRelationLabelFor()
9360 if ( !mpWindowImpl->mpAccessibleInfos ) in SetAccessibleRelationMemberOf()
9361 mpWindowImpl->mpAccessibleInfos = new ImplAccessibleInfos; in SetAccessibleRelationMemberOf()
9362 mpWindowImpl->mpAccessibleInfos->pMemberOfWindow = pMemberOfWin; in SetAccessibleRelationMemberOf()
9368 return mpWindowImpl->mbSuppressAccessibilityEvents; in IsAccessibilityEventsSuppressed()
9372 while ( pParent && pParent->mpWindowImpl) in IsAccessibilityEventsSuppressed()
9374 if( pParent->mpWindowImpl->mbSuppressAccessibilityEvents ) in IsAccessibilityEventsSuppressed()
9377 …pParent = pParent->mpWindowImpl->mpParent; // do not use GetParent() to find borderwindows that ar… in IsAccessibilityEventsSuppressed()
9385 mpWindowImpl->mbSuppressAccessibilityEvents = bSuppressed; in SetAccessibilityEventsSuppressed()
9629 Window *pChild = mpWindowImpl->mpFirstChild; in IsScrollable()
9635 pChild = pChild->mpWindowImpl->mpNext; in IsScrollable()
9642 if ( mpWindowImpl->mbInDtor ) in IsTopWindow()
9646 …if( !mpWindowImpl->mbFrame && (!mpWindowImpl->mpBorderWindow || (mpWindowImpl->mpBorderWindow && ! in IsTopWindow()
9650 if( mpWindowImpl->mpWinData->mnIsTopWindow == (sal_uInt16)~0) // still uninitialized in IsTopWindow()
9655 pThisWin->mpWindowImpl->mpWinData->mnIsTopWindow = xTopWindow.is() ? 1 : 0; in IsTopWindow()
9657 return mpWindowImpl->mpWinData->mnIsTopWindow == 1 ? sal_True : sal_False; in IsTopWindow()
9662 pt.X() = mpWindowImpl->mpFrame->maGeometry.nWidth-1-pt.X(); in ImplMirrorFramePos()
9668 return (mpWindowImpl->mpFrameWindow->mpWindowImpl->mpFrameData->mnModalMode != 0); in IsInModalMode()
9672 Window* pFrameWindow = mpWindowImpl->mpFrameWindow; in ImplIncModalCount()
9676 pFrameWindow->mpWindowImpl->mpFrameData->mnModalMode++; in ImplIncModalCount()
9677 while( pParent && pParent->mpWindowImpl->mpFrameWindow == pFrameWindow ) in ImplIncModalCount()
9681 pFrameWindow = pParent ? pParent->mpWindowImpl->mpFrameWindow : NULL; in ImplIncModalCount()
9686 Window* pFrameWindow = mpWindowImpl->mpFrameWindow; in ImplDecModalCount()
9690 pFrameWindow->mpWindowImpl->mpFrameData->mnModalMode--; in ImplDecModalCount()
9691 while( pParent && pParent->mpWindowImpl->mpFrameWindow == pFrameWindow ) in ImplDecModalCount()
9695 pFrameWindow = pParent ? pParent->mpWindowImpl->mpFrameWindow : NULL; in ImplDecModalCount()
9700 return mpWindowImpl->mbIsInTaskPaneList; in ImplIsInTaskPaneList()
9704 mpWindowImpl->mbIsInTaskPaneList = mbIsInTaskList; in ImplIsInTaskPaneList()
9709mpWindowImpl->mpFrameWindow->ImplCallEventListeners( bIconified ? VCLEVENT_WINDOW_MINIMIZE : VCLEV… in ImplNotifyIconifiedState()
9711 …if( mpWindowImpl->mpFrameWindow->mpWindowImpl->mpClientWindow && mpWindowImpl->mpFrameWindow != mp… in ImplNotifyIconifiedState()
9712mpWindowImpl->mpFrameWindow->mpWindowImpl->mpClientWindow->ImplCallEventListeners( bIconified ? VC… in ImplNotifyIconifiedState()
9721 if( pFrameWin != mpWindowImpl->mpFrameWindow ) in HasActiveChildFrame()
9732 if( bDecorated || (pFrameWin->mpWindowImpl->mnStyle & (WB_MOVEABLE | WB_SIZEABLE) ) ) in HasActiveChildFrame()
9742 pFrameWin = pFrameWin->mpWindowImpl->mpFrameData->mpNextFrame; in HasActiveChildFrame()
9749 return mpWindowImpl->mpFrame->GetInputLanguage(); in GetInputLanguage()
9768 if( mpWindowImpl->mpBorderWindow ) in EnableNativeWidget()
9769 mpWindowImpl->mpBorderWindow->ImplGetWinData()->mbEnableNativeWidget = bEnable; in EnableNativeWidget()
9773 Window *pChild = mpWindowImpl->mpFirstChild; in EnableNativeWidget()
9777 pChild = pChild->mpWindowImpl->mpNext; in EnableNativeWidget()
9795 uno::Reference< rendering::XCanvas > xCanvas( mpWindowImpl->mxCanvas ); in ImplGetCanvas()
9833 aArg[ 3 ] = makeAny( mpWindowImpl->mbAlwaysOnTop ? sal_True : sal_False ); in ImplGetCanvas()
9860 … const sal_uInt32 nDisplay = static_cast< WinSalFrame* >( mpWindowImpl->mpFrame )->mnDisplay; in ImplGetCanvas()
9889 mpWindowImpl->mxCanvas = xCanvas; in ImplGetCanvas()
9918 sal_Bool bRVisible = mpWindowImpl->mbReallyVisible; in ImplPaintToDevice()
9919 mpWindowImpl->mbReallyVisible = mpWindowImpl->mbVisible; in ImplPaintToDevice()
9998 mpWindowImpl->mbReallyVisible = bRVisible; in ImplPaintToDevice()
10012 … for( Window* pChild = mpWindowImpl->mpFirstChild; pChild; pChild = pChild->mpWindowImpl->mpNext ) in ImplPaintToDevice()
10014 if( pChild->mpWindowImpl->mpFrame == mpWindowImpl->mpFrame && pChild->IsVisible() ) in ImplPaintToDevice()
10031 mpWindowImpl->mbReallyVisible = bRVisible; in ImplPaintToDevice()
10048 if( ! mpWindowImpl->mbVisible ) in PaintToDevice()
10060 sal_Bool bVisible = mpWindowImpl->mbVisible; in PaintToDevice()
10061 mpWindowImpl->mbVisible = sal_True; in PaintToDevice()
10063 if( mpWindowImpl->mpBorderWindow ) in PaintToDevice()
10064 mpWindowImpl->mpBorderWindow->ImplPaintToDevice( pDev, rPos ); in PaintToDevice()
10068 mpWindowImpl->mbVisible = bVisible; in PaintToDevice()