diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/thmutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/thmutil.h | 44 |
1 files changed, 31 insertions, 13 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h b/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h index 2a7cabb9..d21c3e17 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h | |||
@@ -188,12 +188,38 @@ struct THEME_CONTROL | |||
188 | LPWSTR sczVisibleCondition; | 188 | LPWSTR sczVisibleCondition; |
189 | BOOL fDisableVariableFunctionality; | 189 | BOOL fDisableVariableFunctionality; |
190 | 190 | ||
191 | THEME_IMAGE_REFERENCE imageRef; | 191 | union |
192 | HBITMAP hImage; | 192 | { |
193 | HICON hIcon; | 193 | struct |
194 | { | ||
195 | THEME_IMAGE_REFERENCE rgImageRef[4]; | ||
196 | } Button; | ||
197 | struct | ||
198 | { | ||
199 | HBITMAP hImage; | ||
200 | HICON hIcon; | ||
201 | |||
202 | DWORD cConditionalNotes; | ||
203 | THEME_CONDITIONAL_TEXT* rgConditionalNotes; | ||
204 | } CommandLink; | ||
205 | struct | ||
206 | { | ||
207 | THEME_IMAGE_REFERENCE imageRef; | ||
208 | } Image; | ||
209 | struct | ||
210 | { | ||
211 | // Don't free these; it's just a handle to the central image lists stored in THEME. The handle is freed once, there. | ||
212 | HIMAGELIST rghImageList[4]; | ||
194 | 213 | ||
195 | // Don't free these; it's just a handle to the central image lists stored in THEME. The handle is freed once, there. | 214 | THEME_COLUMN* ptcColumns; |
196 | HIMAGELIST rghImageList[4]; | 215 | DWORD cColumns; |
216 | } ListView; | ||
217 | struct | ||
218 | { | ||
219 | DWORD cImageRef; | ||
220 | THEME_IMAGE_REFERENCE* rgImageRef; | ||
221 | } ProgressBar; | ||
222 | }; | ||
197 | 223 | ||
198 | DWORD dwStyle; | 224 | DWORD dwStyle; |
199 | DWORD dwExtendedStyle; | 225 | DWORD dwExtendedStyle; |
@@ -218,10 +244,6 @@ struct THEME_CONTROL | |||
218 | DWORD dwFontHoverId; | 244 | DWORD dwFontHoverId; |
219 | DWORD dwFontSelectedId; | 245 | DWORD dwFontSelectedId; |
220 | 246 | ||
221 | // Used by listview controls | ||
222 | THEME_COLUMN *ptcColumns; | ||
223 | DWORD cColumns; | ||
224 | |||
225 | // Used by radio button controls | 247 | // Used by radio button controls |
226 | BOOL fLastRadioButton; | 248 | BOOL fLastRadioButton; |
227 | LPWSTR sczValue; | 249 | LPWSTR sczValue; |
@@ -235,10 +257,6 @@ struct THEME_CONTROL | |||
235 | DWORD cConditionalText; | 257 | DWORD cConditionalText; |
236 | THEME_CONDITIONAL_TEXT* rgConditionalText; | 258 | THEME_CONDITIONAL_TEXT* rgConditionalText; |
237 | 259 | ||
238 | // Used by command link controls | ||
239 | DWORD cConditionalNotes; | ||
240 | THEME_CONDITIONAL_TEXT* rgConditionalNotes; | ||
241 | |||
242 | // state variables that should be ignored | 260 | // state variables that should be ignored |
243 | HWND hWnd; | 261 | HWND hWnd; |
244 | DWORD dwData; // type specific data | 262 | DWORD dwData; // type specific data |