Lines Matching refs:hTheme

61     typedef HRESULT (WINAPI * CloseThemeData_Proc_T) ( HTHEME hTheme );
62 …typedef HRESULT (WINAPI * GetThemeBackgroundContentRect_Proc_T) ( HTHEME hTheme, HDC hdc, int iPar…
63 …typedef HRESULT (WINAPI * DrawThemeBackground_Proc_T) ( HTHEME hTheme, HDC hdc, int iPartId, int i…
64 …typedef HRESULT (WINAPI * DrawThemeText_Proc_T) ( HTHEME hTheme, HDC hdc, int iPartId, int iStateI…
65 …typedef HRESULT (WINAPI * GetThemePartSize_Proc_T) ( HTHEME hTheme, HDC hdc, int iPartId, int iSta…
82 HRESULT CloseThemeData( HTHEME hTheme );
83 …HRESULT GetThemeBackgroundContentRect( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RE…
84 …HRESULT DrawThemeBackground( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect,…
85 …HRESULT DrawThemeText( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCh…
86 …HRESULT GetThemePartSize( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, RECT *prc, THEMESIZE …
127 HRESULT VisualStylesAPI::CloseThemeData( HTHEME hTheme ) in CloseThemeData() argument
130 return (*lpfnCloseThemeData) (hTheme); in CloseThemeData()
134 HRESULT VisualStylesAPI::GetThemeBackgroundContentRect( HTHEME hTheme, HDC hdc, int iPartId, int iS… in GetThemeBackgroundContentRect() argument
137 …return (*lpfnGetThemeBackgroundContentRect) ( hTheme, hdc, iPartId, iStateId, pBoundingRect, pCont… in GetThemeBackgroundContentRect()
141 HRESULT VisualStylesAPI::DrawThemeBackground( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, co… in DrawThemeBackground() argument
144 return (*lpfnDrawThemeBackground) (hTheme, hdc, iPartId, iStateId, pRect, pClipRect); in DrawThemeBackground()
148 HRESULT VisualStylesAPI::DrawThemeText( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR … in DrawThemeText() argument
151 …return (*lpfnDrawThemeText) (hTheme, hdc, iPartId, iStateId, pszText, iCharCount, dwTextFlags, dwT… in DrawThemeText()
155 HRESULT VisualStylesAPI::GetThemePartSize( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, RECT … in GetThemePartSize() argument
158 return (*lpfnGetThemePartSize) (hTheme, hdc, iPartId, iStateId, prc, eSize, psz); in GetThemePartSize()
205 HTHEME hTheme = vsAPI.OpenThemeData( hWnd, name ); in getThemeHandle() local
206 if( hTheme != NULL ) in getThemeHandle()
207 aThemeMap[name] = hTheme; in getThemeHandle()
208 return hTheme; in getThemeHandle()
219 HTHEME hTheme = NULL; in IsNativeControlSupported() local
227 hTheme = getThemeHandle( mhWnd, L"Button"); in IsNativeControlSupported()
233 hTheme = getThemeHandle( mhWnd, L"Scrollbar"); in IsNativeControlSupported()
239 hTheme = getThemeHandle( mhWnd, L"Edit"); in IsNativeControlSupported()
241 hTheme = getThemeHandle( mhWnd, L"Combobox"); in IsNativeControlSupported()
245 hTheme = getThemeHandle( mhWnd, L"Edit"); in IsNativeControlSupported()
249 hTheme = getThemeHandle( mhWnd, L"Spin"); in IsNativeControlSupported()
253 hTheme = getThemeHandle( mhWnd, L"Spin"); in IsNativeControlSupported()
261 hTheme = getThemeHandle( mhWnd, L"Edit"); in IsNativeControlSupported()
267 hTheme = getThemeHandle( mhWnd, L"Listview"); in IsNativeControlSupported()
269 hTheme = getThemeHandle( mhWnd, L"Combobox"); in IsNativeControlSupported()
276 hTheme = getThemeHandle( mhWnd, L"Tab"); in IsNativeControlSupported()
280 hTheme = getThemeHandle( mhWnd, L"Toolbar"); in IsNativeControlSupported()
283 hTheme = getThemeHandle( mhWnd, L"Rebar"); in IsNativeControlSupported()
287 hTheme = getThemeHandle( mhWnd, L"Rebar"); in IsNativeControlSupported()
291 hTheme = getThemeHandle( mhWnd, L"Menu" ); in IsNativeControlSupported()
302 hTheme = getThemeHandle( mhWnd, L"Menu" ); in IsNativeControlSupported()
307 hTheme = getThemeHandle( mhWnd, L"Progress"); in IsNativeControlSupported()
311 hTheme = getThemeHandle( mhWnd, L"Trackbar" ); in IsNativeControlSupported()
315 hTheme = getThemeHandle( mhWnd, L"TreeView" ); in IsNativeControlSupported()
318 hTheme = NULL; in IsNativeControlSupported()
322 return (hTheme != NULL); in IsNativeControlSupported()
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()
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()
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()
543 vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
565 hr = vsAPI.DrawThemeBackground( hTheme, hDC, iPart, iState, &rc, 0); in ImplDrawNativeControl()
578 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); in ImplDrawNativeControl()
583 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); in ImplDrawNativeControl()
603 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); in ImplDrawNativeControl()
608 bOk = ImplDrawTheme( hTheme, hDC, iPart, iState, rect, aCaption); 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()
842 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); 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()
900 return ImplDrawTheme( hTheme, hDC, MENU_BARITEM, iState, rc, aCaption ); in ImplDrawNativeControl()
909 if( ! ImplDrawTheme( hTheme, hDC, PP_BAR, iState, rc, aCaption) ) in ImplDrawNativeControl()
912 …if( vsAPI.GetThemeBackgroundContentRect( hTheme, hDC, PP_BAR, iState, &rc, &aProgressRect) != S_OK… in ImplDrawNativeControl()
923 return ImplDrawTheme( hTheme, hDC, PP_CHUNK, iState, aProgressRect, aCaption ); in ImplDrawNativeControl()
931 Rectangle aTrackRect = ImplGetThemeRect( hTheme, hDC, iPart, iState, Rectangle() ); in ImplDrawNativeControl()
945 ImplDrawTheme( hTheme, hDC, iPart, iState, aTRect, aCaption ); in ImplDrawNativeControl()
956 return ImplDrawTheme( hTheme, hDC, iPart, iState, aThumbRect, aCaption ); in ImplDrawNativeControl()
977 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption ); in ImplDrawNativeControl()
990 ImplDrawTheme( hTheme, hDC, MENU_POPUPBACKGROUND, 0, rc, aCaption ) && in ImplDrawNativeControl()
991 ImplDrawTheme( hTheme, hDC, MENU_POPUPGUTTER, 0, aGutterRC, aCaption ) in ImplDrawNativeControl()
1000 return ImplDrawTheme( hTheme, hDC, MENU_POPUPITEM, iState, rc, aCaption ); in ImplDrawNativeControl()
1019 … ImplDrawTheme( hTheme, hDC, MENU_POPUPCHECKBACKGROUND, iState, aBGRect, aCaption ); in ImplDrawNativeControl()
1024 return ImplDrawTheme( hTheme, hDC, MENU_POPUPCHECK, iState, rc, aCaption ); in ImplDrawNativeControl()
1032 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, in ImplDrawNativeControl()
1038 return ImplDrawTheme( hTheme, hDC, MENU_POPUPSEPARATOR, 0, rc, aCaption ); in ImplDrawNativeControl()
1063 HTHEME hTheme = NULL; in drawNativeControl() local
1070 hTheme = getThemeHandle( mhWnd, L"Button"); in drawNativeControl()
1073 hTheme = getThemeHandle( mhWnd, L"Scrollbar"); in drawNativeControl()
1077 hTheme = getThemeHandle( mhWnd, L"Edit"); in drawNativeControl()
1079 hTheme = getThemeHandle( mhWnd, L"Combobox"); in drawNativeControl()
1083 hTheme = getThemeHandle( mhWnd, L"Edit"); in drawNativeControl()
1085 hTheme = getThemeHandle( mhWnd, L"Spin"); in drawNativeControl()
1088 hTheme = getThemeHandle( mhWnd, L"Spin"); in drawNativeControl()
1092 hTheme = getThemeHandle( mhWnd, L"Edit"); in drawNativeControl()
1096 hTheme = getThemeHandle( mhWnd, L"Listview"); in drawNativeControl()
1098 hTheme = getThemeHandle( mhWnd, L"Combobox"); in drawNativeControl()
1104 hTheme = getThemeHandle( mhWnd, L"Tab"); in drawNativeControl()
1108 hTheme = getThemeHandle( mhWnd, L"Toolbar"); in drawNativeControl()
1111 hTheme = getThemeHandle( mhWnd, L"Rebar"); in drawNativeControl()
1115 hTheme = getThemeHandle( mhWnd, L"Rebar"); in drawNativeControl()
1119 hTheme = getThemeHandle( mhWnd, L"Menu" ); in drawNativeControl()
1124 hTheme = getThemeHandle( mhWnd, L"Progress"); in drawNativeControl()
1128 hTheme = getThemeHandle( mhWnd, L"TreeView"); in drawNativeControl()
1132 hTheme = getThemeHandle( mhWnd, L"Trackbar" ); in drawNativeControl()
1141 hTheme = getThemeHandle( mhWnd, L"Menu" ); in drawNativeControl()
1145 hTheme = NULL; in drawNativeControl()
1149 if( !hTheme ) in drawNativeControl()
1163 bOk = ImplDrawNativeControl(getHDC(), hTheme, rc, in drawNativeControl()
1251 HTHEME hTheme = getThemeHandle( mhWnd, L"Toolbar"); in getNativeControlRegion() local
1252 if( hTheme ) in getNativeControlRegion()
1254 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, TP_SPLITBUTTONDROPDOWN, in getNativeControlRegion()
1265 HTHEME hTheme = getThemeHandle( mhWnd, L"Progress"); in getNativeControlRegion() local
1266 if( hTheme ) in getNativeControlRegion()
1268 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, PP_BAR, in getNativeControlRegion()
1278 HTHEME hTheme = getThemeHandle( mhWnd, L"Combobox"); in getNativeControlRegion() local
1279 if( hTheme ) in getNativeControlRegion()
1282 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, CP_DROPDOWNBUTTON, in getNativeControlRegion()
1297 HTHEME hTheme = getThemeHandle( mhWnd, L"Edit"); in getNativeControlRegion() local
1298 if( hTheme ) in getNativeControlRegion()
1302 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, EP_BACKGROUNDWITHBORDER, in getNativeControlRegion()
1336 HTHEME hTheme = getThemeHandle( mhWnd, L"Menu"); in getNativeControlRegion() local
1338 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, in getNativeControlRegion()
1354 HTHEME hTheme = getThemeHandle( mhWnd, L"Trackbar"); in getNativeControlRegion() local
1355 if( hTheme ) in getNativeControlRegion()
1359 Rectangle aThumbRect = ImplGetThemeRect( hTheme, hDC, iPart, iState, Rectangle() ); in getNativeControlRegion()