Lines Matching refs:iPart

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()
350 hr = vsAPI.DrawThemeText( hTheme, hDC, iPart, iState, in ImplDrawTheme()
359 Rectangle ImplGetThemeRect( HTHEME hTheme, HDC hDC, int iPart, int iState, const Rectangle& aRect, … in ImplGetThemeRect() argument
367 …HRESULT hr = vsAPI.GetThemePartSize( hTheme, hDC, iPart, iState, NULL, eTS, &aSz ); // TS_TRUE ret… in ImplGetThemeRect()
459 int iPart(0), iState(0); in ImplDrawNativeControl() local
465 iPart = SBP_ARROWBTN; in ImplDrawNativeControl()
474 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
479 iPart = SBP_ARROWBTN; in ImplDrawNativeControl()
488 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
493 iPart = SBP_ARROWBTN; in ImplDrawNativeControl()
502 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
507 iPart = SBP_ARROWBTN; in ImplDrawNativeControl()
516 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
521 iPart = (nPart == PART_THUMB_HORZ) ? SBP_THUMBBTNHORZ : SBP_THUMBBTNVERT; in ImplDrawNativeControl()
532 vsAPI.GetThemePartSize(hTheme, hDC, iPart, iState, NULL, TS_MIN, &sz); in ImplDrawNativeControl()
533 vsAPI.GetThemePartSize(hTheme, hDC, iPart, iState, NULL, TS_TRUE, &sz); in ImplDrawNativeControl()
534 vsAPI.GetThemePartSize(hTheme, hDC, iPart, iState, NULL, TS_DRAW, &sz); in ImplDrawNativeControl()
536 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
541 iPart = (nPart == PART_THUMB_HORZ) ? SBP_GRIPPERHORZ : SBP_GRIPPERVERT; in ImplDrawNativeControl()
543 vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
551 case PART_TRACK_HORZ_LEFT: iPart = SBP_UPPERTRACKHORZ; break; in ImplDrawNativeControl()
552 case PART_TRACK_HORZ_RIGHT: iPart = SBP_LOWERTRACKHORZ; break; in ImplDrawNativeControl()
553 case PART_TRACK_VERT_UPPER: iPart = SBP_UPPERTRACKVERT; break; in ImplDrawNativeControl()
554 case PART_TRACK_VERT_LOWER: iPart = SBP_LOWERTRACKVERT; break; in ImplDrawNativeControl()
565 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
577 …onValues( pValue->mnUpperPart, pValue->mnUpperState, pValue->maUpperRect, &iPart, &iState, &rect ); in ImplDrawNativeControl()
578 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); in ImplDrawNativeControl()
582 …onValues( pValue->mnLowerPart, pValue->mnLowerState, pValue->maLowerRect, &iPart, &iState, &rect ); in ImplDrawNativeControl()
583 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); in ImplDrawNativeControl()
602 …onValues( pValue->mnUpperPart, pValue->mnUpperState, pValue->maUpperRect, &iPart, &iState, &rect ); in ImplDrawNativeControl()
603 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); in ImplDrawNativeControl()
607 …onValues( pValue->mnLowerPart, pValue->mnLowerState, pValue->maLowerRect, &iPart, &iState, &rect ); in ImplDrawNativeControl()
608 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); in ImplDrawNativeControl()
617 iPart = SPNP_DOWN; in ImplDrawNativeControl()
629 iPart = SPNP_UP; in ImplDrawNativeControl()
641 iPart = SPNP_DOWNHORZ; in ImplDrawNativeControl()
653 iPart = SPNP_UPHORZ; in ImplDrawNativeControl()
664 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
670 iPart = CP_DROPDOWNBUTTON; in ImplDrawNativeControl()
679 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
684 iPart = BP_PUSHBUTTON; in ImplDrawNativeControl()
698 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
703 iPart = BP_RADIOBUTTON; in ImplDrawNativeControl()
718 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
723 iPart = BP_CHECKBOX; in ImplDrawNativeControl()
746 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
751 iPart = EP_EDITTEXT; in ImplDrawNativeControl()
761 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
768 iPart = LVP_EMPTYTEXT; // ??? no idea which part to choose here in ImplDrawNativeControl()
769 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
775 iPart = TABP_PANE; in ImplDrawNativeControl()
776 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
790 iPart = TABP_PANE; in ImplDrawNativeControl()
791 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
796 iPart = TABP_BODY; in ImplDrawNativeControl()
797 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
802 iPart = TABP_TABITEMLEFTEDGE; in ImplDrawNativeControl()
810 iPart = TABP_TABITEMLEFTEDGE; in ImplDrawNativeControl()
814 iPart = TABP_TABITEMLEFTEDGE; in ImplDrawNativeControl()
816 iPart = TABP_TABITEMRIGHTEDGE; in ImplDrawNativeControl()
817 else iPart = TABP_TABITEM; in ImplDrawNativeControl()
842 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
849 iPart = TP_BUTTON; in ImplDrawNativeControl()
862 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
879 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
892 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
928 iPart = (nPart == PART_TRACK_HORZ_AREA) ? TKP_TRACK : TKP_TRACKVERT; in ImplDrawNativeControl()
931 Rectangle aTrackRect = ImplGetThemeRect( hTheme, hDC, iPart, iState, Rectangle() ); in ImplDrawNativeControl()
945 ImplDrawTheme( hTheme, hDC, iPart, iState, aTRect, aCaption ); in ImplDrawNativeControl()
954 iPart = (nPart == PART_TRACK_HORZ_AREA) ? TKP_THUMB : TKP_THUMBVERT; in ImplDrawNativeControl()
956 return ImplDrawTheme( hTheme, hDC, iPart, iState, aThumbRect, aCaption ); in ImplDrawNativeControl()
965 iPart = TVP_GLYPH; in ImplDrawNativeControl()
977 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption ); in ImplDrawNativeControl()
1357 int iPart = (nPart == PART_THUMB_HORZ) ? TKP_THUMB : TKP_THUMBVERT; in getNativeControlRegion() local
1359 Rectangle aThumbRect = ImplGetThemeRect( hTheme, hDC, iPart, iState, Rectangle() ); in getNativeControlRegion()