Lines Matching refs:pWin
866 …Window *pWin = pWindow->ImplGetFrameWindow()->GetWindow( WINDOW_FIRSTCHILD); //mpWindowImpl->mpFir… in ImplGetTopDockingAreaHeight() local
867 while( pWin && !bDone ) in ImplGetTopDockingAreaHeight()
869 if( pWin->IsSystemWindow() ) in ImplGetTopDockingAreaHeight()
871 pWin = pWin->GetWindow( WINDOW_FIRSTCHILD); //mpWindowImpl->mpFirstChild; in ImplGetTopDockingAreaHeight()
872 while( pWin && !bDone ) in ImplGetTopDockingAreaHeight()
874 DockingAreaWindow *pDockingArea = dynamic_cast< DockingAreaWindow* >( pWin ); in ImplGetTopDockingAreaHeight()
882 pWin = pWin->GetWindow( WINDOW_NEXT ); //mpWindowImpl->mpNext; in ImplGetTopDockingAreaHeight()
887 pWin = pWin->GetWindow( WINDOW_NEXT ); //mpWindowImpl->mpNext; in ImplGetTopDockingAreaHeight()
1251 Window* pWin = ImplGetWindow(); in InsertItem() local
1253 if ( pWin ) in InsertItem()
1255 ImplCalcSize( pWin ); in InsertItem()
1256 if ( pWin->IsVisible() ) in InsertItem()
1257 pWin->Invalidate(); in InsertItem()
1419 Window* pWin = ImplGetWindow(); in RemoveItem() local
1420 if ( pWin ) in RemoveItem()
1422 ImplCalcSize( pWin ); in RemoveItem()
1423 if ( pWin->IsVisible() ) in RemoveItem()
1424 pWin->Invalidate(); in RemoveItem()
1815 Window* pWin = ImplGetWindow(); in EnableItem() local
1816 if ( pWin && pWin->IsVisible() ) in EnableItem()
1826 … pWin->Invalidate( Rectangle( Point( nX, 0 ), Size( pData->aSz.Width(), pData->aSz.Height() ) ) ); in EnableItem()
1859 Window* pWin = ImplGetWindow(); in ShowItem() local
1860 if ( pWin && pWin->IsVisible() ) in ShowItem()
1891 Window* pWin = ImplGetWindow(); in SetItemText() local
1893 if ( pWin && IsMenuBar() ) in SetItemText()
1895 ImplCalcSize( pWin ); in SetItemText()
1896 if ( pWin->IsVisible() ) in SetItemText()
1897 pWin->Invalidate(); in SetItemText()
2296 long Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, long& rRadioHeight, lo… in ImplGetNativeCheckAndRadioSize() argument
2307 if( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, PART_MENU_ITEM_CHECK_MARK ) ) in ImplGetNativeCheckAndRadioSize()
2309 if( pWin->GetNativeControlRegion( ControlType(CTRL_MENU_POPUP), in ImplGetNativeCheckAndRadioSize()
2323 if( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, PART_MENU_ITEM_RADIO_MARK ) ) in ImplGetNativeCheckAndRadioSize()
2325 if( pWin->GetNativeControlRegion( ControlType(CTRL_MENU_POPUP), in ImplGetNativeCheckAndRadioSize()
2379 Size Menu::ImplCalcSize( Window* pWin ) in ImplCalcSize() argument
2384 long nFontHeight = pWin->GetTextHeight(); in ImplCalcSize()
2394 long nMax = ImplGetNativeCheckAndRadioSize( pWin, nCheckHeight, nRadioHeight, nMaxCheckWidth ); in ImplCalcSize()
2398 const StyleSettings& rSettings = pWin->GetSettings().GetStyleSettings(); in ImplCalcSize()
2464 long nTextWidth = pWin->GetCtrlTextWidth( pData->aText ); in ImplCalcSize()
2465 long nTextHeight = pWin->GetTextHeight(); in ImplCalcSize()
2488 long nAccWidth = pWin->GetTextWidth( aName ); in ImplCalcSize()
2519 unsigned int nScreenNumber = pWin->ImplGetWindowImpl()->mpFrame->maGeometry.nScreenNumber; in ImplCalcSize()
2638 void Menu::ImplPaint( Window* pWin, sal_uInt16 nBorder, long nStartY, MenuItemData* pThisItemOnly, … in ImplPaint() argument
2641 long nFontHeight = pWin->GetTextHeight(); in ImplPaint()
2645 ImplGetNativeCheckAndRadioSize( pWin, nCheckHeight, nRadioHeight, nMaxCheckWidth ); in ImplPaint()
2647 DecorationView aDecoView( pWin ); in ImplPaint()
2648 const StyleSettings& rSettings = pWin->GetSettings().GetStyleSettings(); in ImplPaint()
2663 Size aOutSz = pWin->GetOutputSizePixel(); in ImplPaint()
2673 pWin->SetTextColor( rSettings.GetMenuHighlightTextColor() ); in ImplPaint()
2702 if( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, in ImplPaint()
2714 bNativeOk = pWin->DrawNativeControl( CTRL_MENU_POPUP, PART_MENU_SEPARATOR, in ImplPaint()
2724 pWin->SetLineColor( rSettings.GetShadowColor() ); in ImplPaint()
2725 … pWin->DrawLine( aTmpPos, Point( aOutSz.Width() - 3 - 2*nOuterSpace, aTmpPos.Y() ) ); in ImplPaint()
2727 pWin->SetLineColor( rSettings.GetLightColor() ); in ImplPaint()
2728 … pWin->DrawLine( aTmpPos, Point( aOutSz.Width() - 3 - 2*nOuterSpace, aTmpPos.Y() ) ); in ImplPaint()
2729 pWin->SetLineColor(); in ImplPaint()
2750 if ( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, in ImplPaint()
2776 pWin->DrawNativeControl( CTRL_MENU_POPUP, nPart, in ImplPaint()
2784 … ImplPaintCheckBackground( pWin, aOuterCheckRect, pThisItemOnly && bHighlighted ); in ImplPaint()
2801 … aDecoView.DrawSymbol( aRect, eSymbol, pWin->GetTextColor(), nSymbolStyle ); in ImplPaint()
2813 … ImplPaintCheckBackground( pWin, aOuterCheckRect, pThisItemOnly && bHighlighted ); in ImplPaint()
2817 pWin->DrawImage( aTmpPos, pData->aImage, nImageStyle ); in ImplPaint()
2843 …bool bSetTmpBackground = !pWin->IsBackground() && pWin->IsNativeControlSupported( CTRL_MENU_POPUP,… in ImplPaint()
2847 pWin->GetSettings().GetStyleSettings().GetMenuBarColor() : in ImplPaint()
2848 pWin->GetSettings().GetStyleSettings().GetMenuColor(); in ImplPaint()
2849 pWin->SetBackground( Wallpaper( aBg ) ); in ImplPaint()
2856 nMaxItemTextWidth -= pWin->GetTextWidth( aAccText ) + 3*nExtra; in ImplPaint()
2862 String aItemText( getShortenedString( pData->aText, pWin, nMaxItemTextWidth ) ); in ImplPaint()
2863 … pWin->DrawCtrlText( aTmpPos, aItemText, 0, aItemText.Len(), nStyle, pVector, pDisplayText ); in ImplPaint()
2865 pWin->SetBackground(); in ImplPaint()
2872 aTmpPos.X() = aOutSz.Width() - pWin->GetTextWidth( aAccText ); in ImplPaint()
2878 pWin->DrawCtrlText( aTmpPos, aAccText, 0, aAccText.Len(), nTextStyle ); in ImplPaint()
2890 pWin->SetTextColor( rSettings.GetMenuTextColor() ); in ImplPaint()
2898 SYMBOL_SPIN_RIGHT, pWin->GetTextColor(), nSymbolStyle ); in ImplPaint()
2906 pWin->SetTextColor( rSettings.GetMenuBarTextColor() ); in ImplPaint()
2908 pWin->SetTextColor( rSettings.GetMenuTextColor() ); in ImplPaint()
2935 if ( pWin->GetColorCount() >= 256 ) in ImplPaint()
2940 pWin->DrawGradient( aRect, aGrad ); in ImplPaint()
2944 pWin->SetFillColor( pLogo->aStartColor ); in ImplPaint()
2945 pWin->DrawRect( aRect ); in ImplPaint()
2949 pLogo->aBitmap.Draw( pWin, aLogoPos ); in ImplPaint()
3434 Window* pWin = ImplGetWindow(); in ImplHandleKeyEvent() local
3435 if ( pWin && pWin->IsEnabled() && pWin->IsInputEnabled() && ! pWin->IsInModalMode() ) in ImplHandleKeyEvent()
3436 bDone = ((MenuBarWindow*)pWin)->ImplHandleKeyEvent( rKEvent, bFromMenu ); in ImplHandleKeyEvent()
3771 MenuFloatingWindow* pWin = new MenuFloatingWindow( this, pW, nStyle | WB_SYSTEMWINDOW ); in ImplExecute() local
3773 pWin->SetBorderStyle( WINDOW_BORDER_NOBORDER ); in ImplExecute()
3775 pWin->SetBorderStyle( pWin->GetBorderStyle() | WINDOW_BORDER_MENU ); in ImplExecute()
3776 pWindow = pWin; in ImplExecute()
3778 Size aSz = ImplCalcSize( pWin ); in ImplExecute()
3780 long nMaxHeight = pWin->GetDesktopRectPixel().GetHeight(); in ImplExecute()
3798 pWin->EnableScrollMenu( sal_True ); in ImplExecute()
3804 pWin->SetFocusId( nFocusId ); in ImplExecute()
3805 pWin->SetOutputSizePixel( aSz ); in ImplExecute()
3815 …if( pMenu && bRealExecute && pMenu->ShowNativePopupMenu( pWin, aRect, nPopupModeFlags | FLOATWIN_P… in ImplExecute()
3817 pWin->StopExecute(0); in ImplExecute()
3818 pWin->doShutdown(); in ImplExecute()
3825 pWin->StartPopupMode( aRect, nPopupModeFlags | FLOATWIN_POPUPMODE_GRABFOCUS ); in ImplExecute()
3835 pWin->SetPosInParent( aPos ); // store position to be sent in SUBMENUDEACTIVATE in ImplExecute()
3848 pWin->ChangeHighlightItem( n, sal_False ); in ImplExecute()
3855 pWin->ImplAddDel( &aDelData ); in ImplExecute()
3861 pWin->Execute(); in ImplExecute()
3868 pWin->ImplRemoveDel( &aDelData ); in ImplExecute()
3874 nFocusId = pWin->GetFocusId(); in ImplExecute()
3877 pWin->SetFocusId( 0 ); in ImplExecute()
3880 pWin->ImplEndPopupMode( 0, nFocusId ); in ImplExecute()
3884 PopupMenu* pSub = pWin->GetActivePopup(); in ImplExecute()
3891 pWin->doShutdown(); in ImplExecute()
3958 static void ImplInitMenuWindow( Window* pWin, sal_Bool bFont, sal_Bool bMenuBar ) in ImplInitMenuWindow() argument
3960 const StyleSettings& rStyleSettings = pWin->GetSettings().GetStyleSettings(); in ImplInitMenuWindow()
3963 pWin->SetPointFont( rStyleSettings.GetMenuFont() ); in ImplInitMenuWindow()
3966 if( pWin->IsNativeControlSupported( CTRL_MENUBAR, PART_ENTIRE_CONTROL ) ) in ImplInitMenuWindow()
3968 pWin->SetBackground(); // background will be drawn by NWF in ImplInitMenuWindow()
3974 pWin->SetBackground( aWallpaper ); in ImplInitMenuWindow()
3975 pWin->SetPaintTransparent( sal_False ); in ImplInitMenuWindow()
3976 pWin->SetParentClipMode( 0 ); in ImplInitMenuWindow()
3981 if( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, PART_ENTIRE_CONTROL ) ) in ImplInitMenuWindow()
3983 pWin->SetBackground(); // background will be drawn by NWF in ImplInitMenuWindow()
3986 pWin->SetBackground( Wallpaper( rStyleSettings.GetMenuColor() ) ); in ImplInitMenuWindow()
3990 pWin->SetTextColor( rStyleSettings.GetMenuBarTextColor() ); in ImplInitMenuWindow()
3992 pWin->SetTextColor( rStyleSettings.GetMenuTextColor() ); in ImplInitMenuWindow()
3993 pWin->SetTextFillColor(); in ImplInitMenuWindow()
3994 pWin->SetLineColor(); in ImplInitMenuWindow()
4330 MenuFloatingWindow* pWin = (MenuFloatingWindow*) pMenu->pStartedFrom->GetWindow(); in IMPL_LINK() local
4331 if( pWin ) in IMPL_LINK()
4332 pWin->KillActivePopup(); in IMPL_LINK()
4447 MenuFloatingWindow* pWin = this; in EndExecute() local
4448 while ( pWin && !pWin->bInExecute && in EndExecute()
4449 pWin->pMenu->pStartedFrom && !pWin->pMenu->pStartedFrom->bIsMenuBar ) in EndExecute()
4451 pWin = ((PopupMenu*)pWin->pMenu->pStartedFrom)->ImplGetFloatingWindow(); in EndExecute()
4453 if ( pWin ) in EndExecute()
4454 pCleanUpFrom = pWin; in EndExecute()