diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/thmutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/thmutil.h | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h b/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h index 32382793..2a7cabb9 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h | |||
@@ -75,6 +75,13 @@ typedef enum THEME_CONTROL_TYPE | |||
75 | THEME_CONTROL_TYPE_TAB, | 75 | THEME_CONTROL_TYPE_TAB, |
76 | } THEME_CONTROL_TYPE; | 76 | } THEME_CONTROL_TYPE; |
77 | 77 | ||
78 | typedef enum THEME_IMAGE_REFERENCE_TYPE | ||
79 | { | ||
80 | THEME_IMAGE_REFERENCE_TYPE_NONE, | ||
81 | THEME_IMAGE_REFERENCE_TYPE_PARTIAL, | ||
82 | THEME_IMAGE_REFERENCE_TYPE_COMPLETE, | ||
83 | } THEME_IMAGE_REFERENCE_TYPE; | ||
84 | |||
78 | typedef enum THEME_SHOW_PAGE_REASON | 85 | typedef enum THEME_SHOW_PAGE_REASON |
79 | { | 86 | { |
80 | THEME_SHOW_PAGE_REASON_DEFAULT, | 87 | THEME_SHOW_PAGE_REASON_DEFAULT, |
@@ -100,6 +107,22 @@ struct THEME_COLUMN | |||
100 | }; | 107 | }; |
101 | 108 | ||
102 | 109 | ||
110 | struct THEME_IMAGE_REFERENCE | ||
111 | { | ||
112 | THEME_IMAGE_REFERENCE_TYPE type; | ||
113 | DWORD dwImageInstanceIndex; | ||
114 | int nX; | ||
115 | int nY; | ||
116 | int nHeight; | ||
117 | int nWidth; | ||
118 | }; | ||
119 | |||
120 | struct THEME_IMAGE_INSTANCE | ||
121 | { | ||
122 | Gdiplus::Bitmap* pBitmap; | ||
123 | }; | ||
124 | |||
125 | |||
103 | struct THEME_TAB | 126 | struct THEME_TAB |
104 | { | 127 | { |
105 | LPWSTR pszName; | 128 | LPWSTR pszName; |
@@ -159,15 +182,13 @@ struct THEME_CONTROL | |||
159 | int nY; | 182 | int nY; |
160 | int nHeight; | 183 | int nHeight; |
161 | int nWidth; | 184 | int nWidth; |
162 | int nSourceX; | ||
163 | int nSourceY; | ||
164 | UINT uStringId; | 185 | UINT uStringId; |
165 | 186 | ||
166 | LPWSTR sczEnableCondition; | 187 | LPWSTR sczEnableCondition; |
167 | LPWSTR sczVisibleCondition; | 188 | LPWSTR sczVisibleCondition; |
168 | BOOL fDisableVariableFunctionality; | 189 | BOOL fDisableVariableFunctionality; |
169 | 190 | ||
170 | Gdiplus::Bitmap* pBitmap; | 191 | THEME_IMAGE_REFERENCE imageRef; |
171 | HBITMAP hImage; | 192 | HBITMAP hImage; |
172 | HICON hIcon; | 193 | HICON hIcon; |
173 | 194 | ||
@@ -293,15 +314,17 @@ struct THEME | |||
293 | int nMinimumWidth; | 314 | int nMinimumWidth; |
294 | int nWindowHeight; | 315 | int nWindowHeight; |
295 | int nWindowWidth; | 316 | int nWindowWidth; |
296 | int nSourceX; | ||
297 | int nSourceY; | ||
298 | UINT uStringId; | 317 | UINT uStringId; |
299 | 318 | ||
300 | Gdiplus::Bitmap* pBitmap; | 319 | DWORD dwSourceImageInstanceIndex; |
320 | THEME_IMAGE_REFERENCE windowImageRef; | ||
301 | 321 | ||
302 | DWORD cFonts; | 322 | DWORD cFonts; |
303 | THEME_FONT* rgFonts; | 323 | THEME_FONT* rgFonts; |
304 | 324 | ||
325 | DWORD cStandaloneImages; | ||
326 | THEME_IMAGE_INSTANCE* rgStandaloneImages; | ||
327 | |||
305 | DWORD cPages; | 328 | DWORD cPages; |
306 | THEME_PAGE* rgPages; | 329 | THEME_PAGE* rgPages; |
307 | 330 | ||