2 * Win32 5.1 Theme drawing
4 * Copyright (C) 2003 Kevin Koltzau
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 #include "uxthemedll.h"
33 #include "wine/debug.h"
35 WINE_DEFAULT_DEBUG_CHANNEL(uxtheme
);
37 /***********************************************************************
38 * EnableThemeDialogTexture (UXTHEME.@)
40 HRESULT WINAPI
EnableThemeDialogTexture(HWND hwnd
, DWORD dwFlags
)
42 FIXME("%p 0x%08lx: stub\n", hwnd
, dwFlags
);
43 return ERROR_CALL_NOT_IMPLEMENTED
;
46 /***********************************************************************
47 * IsThemeDialogTextureEnabled (UXTHEME.@)
49 BOOL WINAPI
IsThemeDialogTextureEnabled(void)
55 /***********************************************************************
56 * DrawThemeParentBackground (UXTHEME.@)
58 HRESULT WINAPI
DrawThemeParentBackground(HWND hwnd
, HDC hdc
, RECT
*prc
)
61 return ERROR_CALL_NOT_IMPLEMENTED
;
64 /***********************************************************************
65 * DrawThemeBackground (UXTHEME.@)
67 HRESULT WINAPI
DrawThemeBackground(HTHEME hTheme
, HDC hdc
, int iPartId
,
68 int iStateId
, const RECT
*pRect
,
69 const RECT
*pClipRect
)
71 FIXME("%d %d: stub\n", iPartId
, iStateId
);
74 return ERROR_CALL_NOT_IMPLEMENTED
;
77 /***********************************************************************
78 * DrawThemeBackgroundEx (UXTHEME.@)
80 HRESULT WINAPI
DrawThemeBackgroundEx(HTHEME hTheme
, HDC hdc
, int iPartId
,
81 int iStateId
, const RECT
*pRect
,
82 const DTBGOPTS
*pOptions
)
84 FIXME("%d %d: stub\n", iPartId
, iStateId
);
87 return ERROR_CALL_NOT_IMPLEMENTED
;
90 /***********************************************************************
91 * DrawThemeEdge (UXTHEME.@)
93 HRESULT WINAPI
DrawThemeEdge(HTHEME hTheme
, HDC hdc
, int iPartId
,
94 int iStateId
, const RECT
*pDestRect
, UINT uEdge
,
95 UINT uFlags
, RECT
*pContentRect
)
97 FIXME("%d %d 0x%08x 0x%08x: stub\n", iPartId
, iStateId
, uEdge
, uFlags
);
100 return ERROR_CALL_NOT_IMPLEMENTED
;
103 /***********************************************************************
104 * DrawThemeIcon (UXTHEME.@)
106 HRESULT WINAPI
DrawThemeIcon(HTHEME hTheme
, HDC hdc
, int iPartId
, int iStateId
,
107 const RECT
*pRect
, HIMAGELIST himl
, int iImageIndex
)
109 FIXME("%d %d: stub\n", iPartId
, iStateId
);
112 return ERROR_CALL_NOT_IMPLEMENTED
;
115 /***********************************************************************
116 * DrawThemeText (UXTHEME.@)
118 HRESULT WINAPI
DrawThemeText(HTHEME hTheme
, HDC hdc
, int iPartId
, int iStateId
,
119 LPCWSTR pszText
, int iCharCount
, DWORD dwTextFlags
,
120 DWORD dwTextFlags2
, const RECT
*pRect
)
122 FIXME("%d %d: stub\n", iPartId
, iStateId
);
125 return ERROR_CALL_NOT_IMPLEMENTED
;
128 /***********************************************************************
129 * GetThemeBackgroundContentRect (UXTHEME.@)
131 HRESULT WINAPI
GetThemeBackgroundContentRect(HTHEME hTheme
, HDC hdc
, int iPartId
,
133 const RECT
*pBoundingRect
,
136 FIXME("%d %d: stub\n", iPartId
, iStateId
);
139 return ERROR_CALL_NOT_IMPLEMENTED
;
142 /***********************************************************************
143 * GetThemeBackgroundExtent (UXTHEME.@)
145 HRESULT WINAPI
GetThemeBackgroundExtent(HTHEME hTheme
, HDC hdc
, int iPartId
,
146 int iStateId
, const RECT
*pContentRect
,
149 FIXME("%d %d: stub\n", iPartId
, iStateId
);
152 return ERROR_CALL_NOT_IMPLEMENTED
;
155 /***********************************************************************
156 * GetThemeBackgroundRegion (UXTHEME.@)
158 HRESULT WINAPI
GetThemeBackgroundRegion(HTHEME hTheme
, HDC hdc
, int iPartId
,
159 int iStateId
, const RECT
*pRect
,
162 FIXME("%d %d: stub\n", iPartId
, iStateId
);
165 return ERROR_CALL_NOT_IMPLEMENTED
;
168 /***********************************************************************
169 * GetThemePartSize (UXTHEME.@)
171 HRESULT WINAPI
GetThemePartSize(HTHEME hTheme
, HDC hdc
, int iPartId
,
172 int iStateId
, RECT
*prc
, THEMESIZE eSize
,
175 FIXME("%d %d %d: stub\n", iPartId
, iStateId
, eSize
);
178 return ERROR_CALL_NOT_IMPLEMENTED
;
182 /***********************************************************************
183 * GetThemeTextExtent (UXTHEME.@)
185 HRESULT WINAPI
GetThemeTextExtent(HTHEME hTheme
, HDC hdc
, int iPartId
,
186 int iStateId
, LPCWSTR pszText
, int iCharCount
,
187 DWORD dwTextFlags
, const RECT
*pBoundingRect
,
190 FIXME("%d %d: stub\n", iPartId
, iStateId
);
193 return ERROR_CALL_NOT_IMPLEMENTED
;
196 /***********************************************************************
197 * GetThemeTextMetrics (UXTHEME.@)
199 HRESULT WINAPI
GetThemeTextMetrics(HTHEME hTheme
, HDC hdc
, int iPartId
,
200 int iStateId
, TEXTMETRICW
*ptm
)
202 FIXME("%d %d: stub\n", iPartId
, iStateId
);
205 return ERROR_CALL_NOT_IMPLEMENTED
;
208 /***********************************************************************
209 * IsThemeBackgroundPartiallyTransparent (UXTHEME.@)
211 BOOL WINAPI
IsThemeBackgroundPartiallyTransparent(HTHEME hTheme
, int iPartId
,
214 FIXME("%d %d: stub\n", iPartId
, iStateId
);