Lines Matching refs:pWindow

296 void ImplDelData::AttachToWindow( const Window* pWindow )  in AttachToWindow()  argument
298 if( pWindow ) in AttachToWindow()
299 const_cast<Window*>(pWindow)->ImplAddDel( this ); in AttachToWindow()
324 const Window* pWindow = (Window*)pObj; in ImplDbgCheckWindow() local
326 if ( (pWindow->GetType() < WINDOW_FIRST) || (pWindow->GetType() > WINDOW_LAST) ) in ImplDbgCheckWindow()
330 Window* pChild = pWindow->mpWindowImpl->mpFirstChild; in ImplDbgCheckWindow()
333 if ( pChild->mpWindowImpl->mpParent != pWindow ) in ImplDbgCheckWindow()
344 void Window::ImplInitAppFontData( Window* pWindow ) in ImplInitAppFontData() argument
347 long nTextHeight = pWindow->GetTextHeight(); in ImplInitAppFontData()
348 … long nTextWidth = pWindow->GetTextWidth( XubString( RTL_CONSTASCII_USTRINGPARAM( "aemnnxEM" ) ) ); in ImplInitAppFontData()
372 if( pWindow->GetNativeControlRegion( CTRL_EDITBOX, PART_ENTIRE_CONTROL, aCtrlRegion, in ImplInitAppFontData()
1433 sal_Bool Window::ImplIsRealParentPath( const Window* pWindow ) const in ImplIsRealParentPath()
1435 pWindow = pWindow->GetParent(); in ImplIsRealParentPath()
1436 while ( pWindow ) in ImplIsRealParentPath()
1438 if ( pWindow == this ) in ImplIsRealParentPath()
1440 pWindow = pWindow->GetParent(); in ImplIsRealParentPath()
1448 sal_Bool Window::ImplIsChild( const Window* pWindow, sal_Bool bSystemWindow ) const in ImplIsChild() argument
1452 if ( !bSystemWindow && pWindow->ImplIsOverlapWindow() ) in ImplIsChild()
1455 pWindow = pWindow->ImplGetParent(); in ImplIsChild()
1457 if ( pWindow == this ) in ImplIsChild()
1460 while ( pWindow ); in ImplIsChild()
1467 sal_Bool Window::ImplIsWindowOrChild( const Window* pWindow, sal_Bool bSystemWindow ) const in ImplIsWindowOrChild() argument
1469 if ( this == pWindow ) in ImplIsWindowOrChild()
1471 return ImplIsChild( pWindow, bSystemWindow ); in ImplIsWindowOrChild()
1476 Window* Window::ImplGetSameParent( const Window* pWindow ) const in ImplGetSameParent()
1478 if ( mpWindowImpl->mpFrameWindow != pWindow->mpWindowImpl->mpFrameWindow ) in ImplGetSameParent()
1482 if ( pWindow->ImplIsChild( this ) ) in ImplGetSameParent()
1483 return (Window*)pWindow; in ImplGetSameParent()
1487 while ( (pTestWindow == pWindow) || pTestWindow->ImplIsChild( pWindow ) ) in ImplGetSameParent()
1523 const Window* pWindow = this; in ImplGetMousePointer() local
1528 if ( pWindow->mpWindowImpl->mbNoPtrVisible ) in ImplGetMousePointer()
1533 if ( pWindow->mpWindowImpl->mnWaitCount ) in ImplGetMousePointer()
1540 if ( pWindow->mpWindowImpl->mbChildPtrOverwrite ) in ImplGetMousePointer()
1541 ePointerStyle = pWindow->GetPointer().GetStyle(); in ImplGetMousePointer()
1545 if ( pWindow->ImplIsOverlapWindow() ) in ImplGetMousePointer()
1548 pWindow = pWindow->ImplGetParent(); in ImplGetMousePointer()
1550 while ( pWindow ); in ImplGetMousePointer()
1574 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplResetReallyVisible() local
1575 while ( pWindow ) in ImplResetReallyVisible()
1577 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplResetReallyVisible()
1578 pWindow->ImplResetReallyVisible(); in ImplResetReallyVisible()
1579 pWindow = pWindow->mpWindowImpl->mpNext; in ImplResetReallyVisible()
1582 pWindow = mpWindowImpl->mpFirstChild; in ImplResetReallyVisible()
1583 while ( pWindow ) in ImplResetReallyVisible()
1585 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplResetReallyVisible()
1586 pWindow->ImplResetReallyVisible(); in ImplResetReallyVisible()
1587 pWindow = pWindow->mpWindowImpl->mpNext; in ImplResetReallyVisible()
1617 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplSetReallyVisible() local
1618 while ( pWindow ) in ImplSetReallyVisible()
1620 if ( pWindow->mpWindowImpl->mbVisible ) in ImplSetReallyVisible()
1621 pWindow->ImplSetReallyVisible(); in ImplSetReallyVisible()
1622 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetReallyVisible()
1625 pWindow = mpWindowImpl->mpFirstChild; in ImplSetReallyVisible()
1626 while ( pWindow ) in ImplSetReallyVisible()
1628 if ( pWindow->mpWindowImpl->mbVisible ) in ImplSetReallyVisible()
1629 pWindow->ImplSetReallyVisible(); in ImplSetReallyVisible()
1630 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetReallyVisible()
1643 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplCallInitShow() local
1644 while ( pWindow ) in ImplCallInitShow()
1646 if ( pWindow->mpWindowImpl->mbVisible ) in ImplCallInitShow()
1647 pWindow->ImplCallInitShow(); in ImplCallInitShow()
1648 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCallInitShow()
1651 pWindow = mpWindowImpl->mpFirstChild; in ImplCallInitShow()
1652 while ( pWindow ) in ImplCallInitShow()
1654 if ( pWindow->mpWindowImpl->mbVisible ) in ImplCallInitShow()
1655 pWindow->ImplCallInitShow(); in ImplCallInitShow()
1656 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCallInitShow()
1868 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplUpdateSysObjChildsClip() local
1869 while ( pWindow ) in ImplUpdateSysObjChildsClip()
1871 pWindow->ImplUpdateSysObjChildsClip(); in ImplUpdateSysObjChildsClip()
1872 pWindow = pWindow->mpWindowImpl->mpNext; in ImplUpdateSysObjChildsClip()
1882 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplUpdateSysObjOverlapsClip() local
1883 while ( pWindow ) in ImplUpdateSysObjOverlapsClip()
1885 pWindow->ImplUpdateSysObjOverlapsClip(); in ImplUpdateSysObjOverlapsClip()
1886 pWindow = pWindow->mpWindowImpl->mpNext; in ImplUpdateSysObjOverlapsClip()
1901 Window* pWindow = mpWindowImpl->mpNext; in ImplUpdateSysObjClip() local
1902 while ( pWindow ) in ImplUpdateSysObjClip()
1904 pWindow->ImplUpdateSysObjChildsClip(); in ImplUpdateSysObjClip()
1905 pWindow = pWindow->mpWindowImpl->mpNext; in ImplUpdateSysObjClip()
1927 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplSetClipFlagChilds() local
1928 while ( pWindow ) in ImplSetClipFlagChilds()
1930 if ( !pWindow->ImplSetClipFlagChilds( bSysObjOnlySmaller ) ) in ImplSetClipFlagChilds()
1932 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlagChilds()
1950 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplSetClipFlagChilds() local
1951 while ( pWindow ) in ImplSetClipFlagChilds()
1953 if ( !pWindow->ImplSetClipFlagChilds( bSysObjOnlySmaller ) ) in ImplSetClipFlagChilds()
1955 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlagChilds()
1967 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplSetClipFlagOverlapWindows() local
1968 while ( pWindow ) in ImplSetClipFlagOverlapWindows()
1970 if ( !pWindow->ImplSetClipFlagOverlapWindows( bSysObjOnlySmaller ) ) in ImplSetClipFlagOverlapWindows()
1972 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlagOverlapWindows()
1997 Window* pWindow = mpWindowImpl->mpNext; in ImplSetClipFlag() local
1998 while ( pWindow ) in ImplSetClipFlag()
2000 if ( !pWindow->ImplSetClipFlagChilds( bSysObjOnlySmaller ) ) in ImplSetClipFlag()
2002 pWindow = pWindow->mpWindowImpl->mpNext; in ImplSetClipFlag()
2056 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplExcludeOverlapWindows() local
2057 while ( pWindow ) in ImplExcludeOverlapWindows()
2059 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplExcludeOverlapWindows()
2061 pWindow->ImplExcludeWindowRegion( rRegion ); in ImplExcludeOverlapWindows()
2062 pWindow->ImplExcludeOverlapWindows( rRegion ); in ImplExcludeOverlapWindows()
2065 pWindow = pWindow->mpWindowImpl->mpNext; in ImplExcludeOverlapWindows()
2119 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplClipChilds() local
2120 while ( pWindow ) in ImplClipChilds()
2122 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplClipChilds()
2125 sal_uInt16 nClipMode = pWindow->GetParentClipMode(); in ImplClipChilds()
2128 pWindow->ImplExcludeWindowRegion( rRegion ); in ImplClipChilds()
2133 pWindow = pWindow->mpWindowImpl->mpNext; in ImplClipChilds()
2143 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplClipAllChilds() local
2144 while ( pWindow ) in ImplClipAllChilds()
2146 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplClipAllChilds()
2147 pWindow->ImplExcludeWindowRegion( rRegion ); in ImplClipAllChilds()
2148 pWindow = pWindow->mpWindowImpl->mpNext; in ImplClipAllChilds()
2156 Window* pWindow = ImplGetParent()->mpWindowImpl->mpFirstChild; in ImplClipSiblings() local
2157 while ( pWindow ) in ImplClipSiblings()
2159 if ( pWindow == this ) in ImplClipSiblings()
2162 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplClipSiblings()
2163 pWindow->ImplExcludeWindowRegion( rRegion ); in ImplClipSiblings()
2165 pWindow = pWindow->mpWindowImpl->mpNext; in ImplClipSiblings()
2236 Window* pWindow = mpWindowImpl->mpFirstOverlap; in ImplIntersectAndUnionOverlapWindows() local
2237 while ( pWindow ) in ImplIntersectAndUnionOverlapWindows()
2239 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplIntersectAndUnionOverlapWindows()
2242 pWindow->ImplIntersectWindowRegion( aTempRegion ); in ImplIntersectAndUnionOverlapWindows()
2244 pWindow->ImplIntersectAndUnionOverlapWindows( rInterRegion, rRegion ); in ImplIntersectAndUnionOverlapWindows()
2247 pWindow = pWindow->mpWindowImpl->mpNext; in ImplIntersectAndUnionOverlapWindows()
2302 Window* pWindow; in ImplCalcOverlapRegion() local
2309 pWindow = this; in ImplCalcOverlapRegion()
2312 pWindow = ImplGetParent(); in ImplCalcOverlapRegion()
2316 pWindow->ImplExcludeWindowRegion( aTempRegion ); in ImplCalcOverlapRegion()
2318 if ( pWindow->ImplIsOverlapWindow() ) in ImplCalcOverlapRegion()
2320 pWindow = pWindow->ImplGetParent(); in ImplCalcOverlapRegion()
2322 while ( pWindow ); in ImplCalcOverlapRegion()
2324 if ( !pWindow->mpWindowImpl->mbFrame ) in ImplCalcOverlapRegion()
2335 pWindow = mpWindowImpl->mpParent->mpWindowImpl->mpFirstChild; in ImplCalcOverlapRegion()
2338 if ( pWindow->mpWindowImpl->mbReallyVisible && (pWindow != this) ) in ImplCalcOverlapRegion()
2341 pWindow->ImplIntersectWindowRegion( aTempRegion ); in ImplCalcOverlapRegion()
2344 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCalcOverlapRegion()
2346 while ( pWindow ); in ImplCalcOverlapRegion()
2352 pWindow = mpWindowImpl->mpFirstChild; in ImplCalcOverlapRegion()
2353 while ( pWindow ) in ImplCalcOverlapRegion()
2355 if ( pWindow->mpWindowImpl->mbReallyVisible ) in ImplCalcOverlapRegion()
2358 pWindow->ImplIntersectWindowRegion( aTempRegion ); in ImplCalcOverlapRegion()
2361 pWindow = pWindow->mpWindowImpl->mpNext; in ImplCalcOverlapRegion()
2782 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplMoveInvalidateRegion() local
2783 while ( pWindow ) in ImplMoveInvalidateRegion()
2785 pWindow->ImplMoveInvalidateRegion( rRect, nHorzScroll, nVertScroll, sal_True ); in ImplMoveInvalidateRegion()
2786 pWindow = pWindow->mpWindowImpl->mpNext; in ImplMoveInvalidateRegion()
3068 Window* pWindow = mpWindowImpl->mpFirstChild; in ImplScroll() local
3069 while ( pWindow ) in ImplScroll()
3071 Point aPos = pWindow->GetPosPixel(); in ImplScroll()
3073 pWindow->SetPosPixel( aPos ); in ImplScroll()
3075 pWindow = pWindow->mpWindowImpl->mpNext; in ImplScroll()
3106 Window* pWindow = ImplGetFirstOverlapWindow(); in ImplUpdateAll() local
3108 pWindow->ImplCallOverlapPaint(); in ImplUpdateAll()
3111 if ( pWindow->mpWindowImpl->mnPaintFlags & (IMPL_PAINT_PAINT | IMPL_PAINT_PAINTCHILDS) ) in ImplUpdateAll()
3112 pWindow->ImplCallPaint( NULL, pWindow->mpWindowImpl->mnPaintFlags ); in ImplUpdateAll()
3121 void Window::ImplUpdateWindowPtr( Window* pWindow ) in ImplUpdateWindowPtr() argument
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()
3132 if ( pWindow->ImplIsOverlapWindow() ) in ImplUpdateWindowPtr()
3133 mpWindowImpl->mpOverlapWindow = pWindow; in ImplUpdateWindowPtr()
3135 mpWindowImpl->mpOverlapWindow = pWindow->mpWindowImpl->mpOverlapWindow; in ImplUpdateWindowPtr()
3140 pChild->ImplUpdateWindowPtr( pWindow ); in ImplUpdateWindowPtr()
4386 const Window* pWindow( &i_rWindow ); in lcl_appendWindowInfo() local
4387 while ( pWindow && ( pWindow->GetType() == WINDOW_BORDERWINDOW ) ) in lcl_appendWindowInfo()
4388 pWindow = pWindow->GetWindow( WINDOW_FIRSTCHILD ); in lcl_appendWindowInfo()
4389 if ( !pWindow ) in lcl_appendWindowInfo()
4390 pWindow = &i_rWindow; in lcl_appendWindowInfo()
4393 io_rErrorString += typeid( *pWindow ).name(); in lcl_appendWindowInfo()
4395 io_rErrorString += ByteString( pWindow->GetText(), RTL_TEXTENCODING_UTF8 ); in lcl_appendWindowInfo()
5334 Window* pWindow = rNEvt.GetWindow(); in Notify() local
5335 if ( pWindow != this ) in Notify()
5337 aPos = pWindow->OutputToScreenPixel( aPos ); in Notify()
5443 Window* pWindow = this; in CallEventListeners() local
5444 while ( pWindow ) in CallEventListeners()
5446 pWindow->ImplAddDel( &aDelData ); in CallEventListeners()
5448 if ( !pWindow->mpWindowImpl->maChildEventListeners.empty() ) in CallEventListeners()
5449 pWindow->mpWindowImpl->maChildEventListeners.Call( &aEvent ); in CallEventListeners()
5454 pWindow->ImplRemoveDel( &aDelData ); in CallEventListeners()
5456 pWindow = pWindow->GetParent(); in CallEventListeners()
5643 Window* pWindow = ImplGetBorderWindow(); in SetExtendedStyle() local
5644 if( ! pWindow ) in SetExtendedStyle()
5645 pWindow = this; in SetExtendedStyle()
5646 if( pWindow->mpWindowImpl->mbFrame ) in SetExtendedStyle()
5654 pWindow->ImplGetFrame()->SetExtendedFrameStyle( nExt ); in SetExtendedStyle()
7218 Window* pWindow = NULL; in SetZOrder() local
7222 pWindow = mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap; in SetZOrder()
7225 pWindow = ImplGetParent()->mpWindowImpl->mpFirstChild; in SetZOrder()
7228 while ( pWindow ) in SetZOrder()
7230 if ( pWindow == this ) in SetZOrder()
7232 Rectangle aCompRect( Point( pWindow->mnOutOffX, pWindow->mnOutOffY ), in SetZOrder()
7233 Size( pWindow->mnOutWidth, pWindow->mnOutHeight ) ); in SetZOrder()
7235 pWindow->Invalidate( INVALIDATE_CHILDREN | INVALIDATE_NOTRANSPARENT ); in SetZOrder()
7236 pWindow = pWindow->mpWindowImpl->mpNext; in SetZOrder()
7240 while ( pWindow ) in SetZOrder()
7242 if ( pWindow != this ) in SetZOrder()
7244 Rectangle aCompRect( Point( pWindow->mnOutOffX, pWindow->mnOutOffY ), in SetZOrder()
7245 Size( pWindow->mnOutWidth, pWindow->mnOutHeight ) ); in SetZOrder()
7252 pWindow = pWindow->mpWindowImpl->mpNext; in SetZOrder()
7291 Window* pWindow = this; in SetPosSizePixel() local
7292 while ( pWindow->mpWindowImpl->mpBorderWindow ) in SetPosSizePixel()
7293 pWindow = pWindow->mpWindowImpl->mpBorderWindow; in SetPosSizePixel()
7295 if ( pWindow->mpWindowImpl->mbFrame ) in SetPosSizePixel()
7300 long nOldWidth = pWindow->mnOutWidth; in SetPosSizePixel()
7303 nWidth = pWindow->mnOutWidth; in SetPosSizePixel()
7305 nHeight = pWindow->mnOutHeight; in SetPosSizePixel()
7316 if( pWindow->GetParent() && (pWindow->GetStyle() & WB_SYSTEMCHILDWINDOW) ) in SetPosSizePixel()
7318 Window* pParent = pWindow->GetParent(); in SetPosSizePixel()
7329 …if( !(nFlags & WINDOW_POSSIZE_X) && bHasValidSize && pWindow->mpWindowImpl->mpFrame->maGeometry.nW… in SetPosSizePixel()
7333 if( pWindow->GetParent() && pWindow->GetParent()->ImplHasMirroredGraphics() ) in SetPosSizePixel()
7342 …nX = mpWindowImpl->mpFrame->GetUnmirroredGeometry().nX - pWindow->GetParent()->mpWindowImpl->mpFra… in SetPosSizePixel()
7344 …nX = pWindow->GetParent()->mpWindowImpl->mpFrame->GetUnmirroredGeometry().nX - mpWindowImpl->mpFra… in SetPosSizePixel()
7345pWindow->GetParent()->mpWindowImpl->mpFrame->GetUnmirroredGeometry().nWidth - myWidth - 1 - mpWind… in SetPosSizePixel()
7350 …nY = mpWindowImpl->mpFrame->GetUnmirroredGeometry().nY - pWindow->GetParent()->mpWindowImpl->mpFra… in SetPosSizePixel()
7358 if( pWindow->GetParent() && (pWindow->GetStyle() & WB_SYSTEMCHILDWINDOW) ) in SetPosSizePixel()
7360 Window* pParent = pWindow->GetParent(); in SetPosSizePixel()
7370 SystemWindow *pSystemWindow = dynamic_cast< SystemWindow* >( pWindow ); in SetPosSizePixel()
7387 pWindow->mpWindowImpl->mpFrame->SetPosSize( nX, nY, nWidth, nHeight, nSysFlags ); in SetPosSizePixel()
7393 ImplHandleResize( pWindow, nWidth, nHeight ); in SetPosSizePixel()
7397 pWindow->ImplPosSizeWindow( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel()
7739 Window* pWindow = pUpdateWindow; in Update() local
7740 while ( !pWindow->ImplIsOverlapWindow() ) in Update()
7742 if ( !pWindow->mpWindowImpl->mbPaintTransparent ) in Update()
7744 pUpdateWindow = pWindow; in Update()
7747 pWindow = pWindow->ImplGetParent(); in Update()
7751 pWindow = pUpdateWindow; in Update()
7754 if ( pWindow->mpWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALLCHILDS ) in Update()
7755 pUpdateWindow = pWindow; in Update()
7756 if ( pWindow->ImplIsOverlapWindow() ) in Update()
7758 pWindow = pWindow->ImplGetParent(); in Update()
7760 while ( pWindow ); in Update()
8137 Window* pWindow = GetAccessibleRelationLabelFor(); in SetText() local
8138 if ( pWindow && pWindow != this ) in SetText()
8139 pWindow->ImplCallEventListeners( VCLEVENT_WINDOW_FRAMETITLECHANGED, &oldTitle ); in SetText()
8369 sal_Bool Window::IsChild( const Window* pWindow, sal_Bool bSystemWindow ) const in IsChild() argument
8372 DBG_CHKOBJ( pWindow, Window, ImplDbgCheckWindow ); in IsChild()
8376 if ( !bSystemWindow && pWindow->ImplIsOverlapWindow() ) in IsChild()
8379 pWindow = pWindow->ImplGetParent(); in IsChild()
8381 if ( pWindow == this ) in IsChild()
8384 while ( pWindow ); in IsChild()
8391 sal_Bool Window::IsWindowOrChild( const Window* pWindow, sal_Bool bSystemWindow ) const in IsWindowOrChild() argument
8394 DBG_CHKOBJ( pWindow, Window, ImplDbgCheckWindow ); in IsWindowOrChild()
8396 if ( this == pWindow ) in IsWindowOrChild()
8398 return ImplIsChild( pWindow, bSystemWindow ); in IsWindowOrChild()