Lines Matching refs:rc

342 sal_Bool ImplDrawTheme( HTHEME hTheme, HDC hDC, int iPart, int iState, RECT rc, const OUString& aSt…  in ImplDrawTheme()  argument
344 HRESULT hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawTheme()
349 hr = vsAPI.GetThemeBackgroundContentRect( hTheme, hDC, iPart, iState, &rc, &rcContent); in ImplDrawTheme()
362 RECT rc; in ImplGetThemeRect() local
363 rc.left = aRect.nLeft; in ImplGetThemeRect()
364 rc.right = aRect.nRight; in ImplGetThemeRect()
365 rc.top = aRect.nTop; in ImplGetThemeRect()
366 rc.bottom = aRect.nBottom; in ImplGetThemeRect()
437 sal_Bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc, in ImplDrawNativeControl() argument
474 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
488 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
502 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
516 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
536 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
538 if( ( (nPart == PART_THUMB_VERT) && (rc.bottom-rc.top > 12) ) || in ImplDrawNativeControl()
539 ( (nPart == PART_THUMB_HORZ) && (rc.right-rc.left > 12) ) ) in ImplDrawNativeControl()
543 vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
565 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
664 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
679 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
698 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
718 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
746 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
761 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
769 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
776 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
791 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
797 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
803 rc.bottom--; in ImplDrawNativeControl()
811 rc.right--; in ImplDrawNativeControl()
825 rc.left-=2; in ImplDrawNativeControl()
829 rc.right+=2; in ImplDrawNativeControl()
831 rc.right+=1; in ImplDrawNativeControl()
833 rc.top-=2; in ImplDrawNativeControl()
834 rc.bottom+=2; in ImplDrawNativeControl()
842 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
862 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
877 rc.top = 0; // extend potential gradient to cover menu bar as well in ImplDrawNativeControl()
879 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
890rc.bottom += pValue->maTopDockingAreaHeight; // extend potential gradient to cover docking area… in ImplDrawNativeControl()
892 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
900 return ImplDrawTheme( hTheme, hDC, MENU_BARITEM, iState, rc, aCaption ); in ImplDrawNativeControl()
909 if( ! ImplDrawTheme( hTheme, hDC, PP_BAR, iState, rc, aCaption) ) in ImplDrawNativeControl()
911 RECT aProgressRect = rc; in ImplDrawNativeControl()
912 …if( vsAPI.GetThemeBackgroundContentRect( hTheme, hDC, PP_BAR, iState, &rc, &aProgressRect) != S_OK… in ImplDrawNativeControl()
917 nProgressWidth /= (rc.right - rc.left); in ImplDrawNativeControl()
932 RECT aTRect = rc; in ImplDrawNativeControl()
936 aTRect.top += (rc.bottom - rc.top - nH)/2; in ImplDrawNativeControl()
942 aTRect.left += (rc.right - rc.left - nW)/2; in ImplDrawNativeControl()
977 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption ); in ImplDrawNativeControl()
986 RECT aGutterRC = rc; in ImplDrawNativeControl()
990 ImplDrawTheme( hTheme, hDC, MENU_POPUPBACKGROUND, 0, rc, aCaption ) && in ImplDrawNativeControl()
1000 return ImplDrawTheme( hTheme, hDC, MENU_POPUPITEM, iState, rc, aCaption ); in ImplDrawNativeControl()
1006 RECT aBGRect = rc; in ImplDrawNativeControl()
1024 return ImplDrawTheme( hTheme, hDC, MENU_POPUPCHECK, iState, rc, aCaption ); in ImplDrawNativeControl()
1031 rc.left += aValue.getNumericVal(); // adjust for gutter position in ImplDrawNativeControl()
1033 MENU_POPUPSEPARATOR, 0, Rectangle( rc.left, rc.top, rc.right, rc.bottom ) ) ); in ImplDrawNativeControl()
1035 long nDY = ((rc.bottom - rc.top + 1) - aRect.GetHeight()) / 2; in ImplDrawNativeControl()
1036 rc.top += nDY; in ImplDrawNativeControl()
1037 rc.bottom = rc.top+aRect.GetHeight()-1; in ImplDrawNativeControl()
1038 return ImplDrawTheme( hTheme, hDC, MENU_POPUPSEPARATOR, 0, rc, aCaption ); in ImplDrawNativeControl()
1153 RECT rc; in drawNativeControl() local
1154 rc.left = buttonRect.Left(); in drawNativeControl()
1155 rc.right = buttonRect.Right()+1; in drawNativeControl()
1156 rc.top = buttonRect.Top(); in drawNativeControl()
1157 rc.bottom = buttonRect.Bottom()+1; in drawNativeControl()
1163 bOk = ImplDrawNativeControl(getHDC(), hTheme, rc, in drawNativeControl()