ReactOS  0.4.14-dev-115-g4576127
tmschema.h
Go to the documentation of this file.
1 #ifndef _TMSCHEMA_H
2 #define _TMSCHEMA_H
3 
4 #include <schemadef.h>
5 
6 BEGIN_TM_SCHEMA(ThemeMgrSchema)
7 
8 
9 /***** ENUMERATIONS *****/
10 
11 /* BGTYPE Enum */
13  TM_ENUM(0, BT, IMAGEFILE)
14  TM_ENUM(1, BT, BORDERFILL)
15  TM_ENUM(2, BT, NONE)
17 
18 /* IMAGELAYOUT Enum */
20  TM_ENUM(0, IL, VERTICAL)
21  TM_ENUM(1, IL, HORIZONTAL)
23 
24 /* BORDERTYPE Enum */
26  TM_ENUM(0, BT, RECT)
27  TM_ENUM(1, BT, ROUNDRECT)
28  TM_ENUM(2, BT, ELLIPSE)
30 
31 /* FILLTYPE Enum */
33  TM_ENUM(0, FT, SOLID)
34  TM_ENUM(1, FT, VERTGRADIENT)
35  TM_ENUM(2, FT, HORZGRADIENT)
36  TM_ENUM(3, FT, RADIALGRADIENT)
37  TM_ENUM(4, FT, TILEIMAGE)
39 
40 /* SIZINGTYPE Enum */
42  TM_ENUM(0, ST, TRUESIZE)
43  TM_ENUM(1, ST, STRETCH)
44  TM_ENUM(2, ST, TILE)
46 
47 /* HALIGN Enum */
49  TM_ENUM(0, HA, LEFT)
50  TM_ENUM(1, HA, CENTER)
51  TM_ENUM(2, HA, RIGHT)
53 
54 /* CONTENTALIGNMENT Enum */
56  TM_ENUM(0, CA, LEFT)
57  TM_ENUM(1, CA, CENTER)
58  TM_ENUM(2, CA, RIGHT)
60 
61 /* VALIGN Enum */
63  TM_ENUM(0, VA, TOP)
64  TM_ENUM(1, VA, CENTER)
65  TM_ENUM(2, VA, BOTTOM)
67 
68 /* OFFSETTYPE Enum */
70  TM_ENUM(0, OT, TOPLEFT)
71  TM_ENUM(1, OT, TOPRIGHT)
72  TM_ENUM(2, OT, TOPMIDDLE)
73  TM_ENUM(3, OT, BOTTOMLEFT)
74  TM_ENUM(4, OT, BOTTOMRIGHT)
75  TM_ENUM(5, OT, BOTTOMMIDDLE)
76  TM_ENUM(6, OT, MIDDLELEFT)
77  TM_ENUM(7, OT, MIDDLERIGHT)
78  TM_ENUM(8, OT, LEFTOFCAPTION)
79  TM_ENUM(9, OT, RIGHTOFCAPTION)
80  TM_ENUM(10, OT, LEFTOFLASTBUTTON)
81  TM_ENUM(11, OT, RIGHTOFLASTBUTTON)
82  TM_ENUM(12, OT, ABOVELASTBUTTON)
83  TM_ENUM(13, OT, BELOWLASTBUTTON)
85 
86 /* ICONEFFECT Enum */
88  TM_ENUM(0, ICE, NONE)
89  TM_ENUM(1, ICE, GLOW)
90  TM_ENUM(2, ICE, SHADOW)
91  TM_ENUM(3, ICE, PULSE)
92  TM_ENUM(4, ICE, ALPHA)
94 
95 /* TEXTSHADOWTYPE Enum */
97  TM_ENUM(0, TST, NONE)
98  TM_ENUM(1, TST, SINGLE)
99  TM_ENUM(2, TST, CONTINUOUS)
100 END_TM_ENUM()
101 
102 /* GLYPHTYPE Enum */
104  TM_ENUM(0, GT, NONE)
105  TM_ENUM(1, GT, IMAGEGLYPH)
106  TM_ENUM(2, GT, FONTGLYPH)
107 END_TM_ENUM()
108 
109 /* IMAGESELECTTYPE Enum */
111  TM_ENUM(0, IST, NONE)
112  TM_ENUM(1, IST, SIZE)
113  TM_ENUM(2, IST, DPI)
114 END_TM_ENUM()
115 
116 /* TRUESIZESCALINGTYPE Enum */
118  TM_ENUM(0, TSST, NONE)
119  TM_ENUM(1, TSST, SIZE)
120  TM_ENUM(2, TSST, DPI)
121 END_TM_ENUM()
122 
123 /* GLYPHFONTSIZINGTYPE Enum */
125  TM_ENUM(0, GFST, NONE)
126  TM_ENUM(1, GFST, SIZE)
127  TM_ENUM(2, GFST, DPI)
128 END_TM_ENUM()
129 
130 
131 /***** PROPERTIES *****/
133 
134  /* Primitive types */
135  TM_PROP(201, TMT, STRING, STRING)
136  TM_PROP(202, TMT, INT, INT)
137  TM_PROP(203, TMT, BOOL, BOOL)
138  TM_PROP(204, TMT, COLOR, COLOR)
139  TM_PROP(205, TMT, MARGINS, MARGINS)
140  TM_PROP(206, TMT, FILENAME, FILENAME)
141  TM_PROP(207, TMT, SIZE, SIZE)
142  TM_PROP(208, TMT, POSITION, POSITION)
143  TM_PROP(209, TMT, RECT, RECT)
144  TM_PROP(210, TMT, FONT, FONT)
145  TM_PROP(211, TMT, INTLIST, INTLIST)
146  /* we should have ENUM around here */
147 
148  /* Misc properties */
149  TM_PROP(401, TMT, COLORSCHEMES, STRING)
150  TM_PROP(402, TMT, SIZES, STRING)
151  TM_PROP(403, TMT, CHARSET, INT)
152 
153  /* Documentation properties */
154  TM_PROP(601, TMT, DISPLAYNAME, STRING)
155  TM_PROP(602, TMT, TOOLTIP, STRING)
156  TM_PROP(603, TMT, COMPANY, STRING)
157  TM_PROP(604, TMT, AUTHOR, STRING)
158  TM_PROP(605, TMT, COPYRIGHT, STRING)
159  TM_PROP(606, TMT, URL, STRING)
160  TM_PROP(607, TMT, VERSION, STRING)
161  TM_PROP(608, TMT, DESCRIPTION, STRING)
162 # define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME
163 # define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION
164 
165  /* Font theme metric properties */
166  TM_PROP(801, TMT, CAPTIONFONT, FONT)
167  TM_PROP(802, TMT, SMALLCAPTIONFONT, FONT)
168  TM_PROP(803, TMT, MENUFONT, FONT)
169  TM_PROP(804, TMT, STATUSFONT, FONT)
170  TM_PROP(805, TMT, MSGBOXFONT, FONT)
171  TM_PROP(806, TMT, ICONTITLEFONT, FONT)
172 # define TMT_FIRSTFONT TMT_CAPTIONFONT
173 # define TMT_LASTFONT TMT_ICONTITLEFONT
174 
175  /* Bool theme metric properties */
176  TM_PROP(1001, TMT, FLATMENUS, BOOL)
177 # define TMT_FIRSTBOOL TMT_FLATMENUS
178 # define TMT_LASTBOOL TMT_FLATMENUS
179 
180  /* Size theme metric properties */
181  TM_PROP(1201, TMT, SIZINGBORDERWIDTH, SIZE)
182  TM_PROP(1202, TMT, SCROLLBARWIDTH, SIZE)
183  TM_PROP(1203, TMT, SCROLLBARHEIGHT, SIZE)
184  TM_PROP(1204, TMT, CAPTIONBARWIDTH, SIZE)
185  TM_PROP(1205, TMT, CAPTIONBARHEIGHT, SIZE)
186  TM_PROP(1206, TMT, SMCAPTIONBARWIDTH, SIZE)
187  TM_PROP(1207, TMT, SMCAPTIONBARHEIGHT, SIZE)
188  TM_PROP(1208, TMT, MENUBARWIDTH, SIZE)
189  TM_PROP(1209, TMT, MENUBARHEIGHT, SIZE)
190 # define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH
191 # define TMT_LASTSIZE TMT_MENUBARHEIGHT
192 
193  /* Int theme metric properties */
194  TM_PROP(1301, TMT, MINCOLORDEPTH, INT)
195 # define TMT_FIRSTINT TMT_MINCOLORDEPTH
196 # define TMT_LASTINT TMT_MINCOLORDEPTH
197 
198  /* String theme metric properties */
199  TM_PROP(1401, TMT, CSSNAME, STRING)
200  TM_PROP(1402, TMT, XMLNAME, STRING)
201 # define TMT_FIRSTSTRING TMT_CSSNAME
202 # define TMT_LASTSTRING TMT_XMLNAME
203 
204  /* Color theme metric properties */
205  TM_PROP(1601, TMT, SCROLLBAR, COLOR)
206  TM_PROP(1602, TMT, BACKGROUND, COLOR)
207  TM_PROP(1603, TMT, ACTIVECAPTION, COLOR)
208  TM_PROP(1604, TMT, INACTIVECAPTION, COLOR)
209  TM_PROP(1605, TMT, MENU, COLOR)
210  TM_PROP(1606, TMT, WINDOW, COLOR)
211  TM_PROP(1607, TMT, WINDOWFRAME, COLOR)
212  TM_PROP(1608, TMT, MENUTEXT, COLOR)
213  TM_PROP(1609, TMT, WINDOWTEXT, COLOR)
214  TM_PROP(1610, TMT, CAPTIONTEXT, COLOR)
215  TM_PROP(1611, TMT, ACTIVEBORDER, COLOR)
216  TM_PROP(1612, TMT, INACTIVEBORDER, COLOR)
217  TM_PROP(1613, TMT, APPWORKSPACE, COLOR)
218  TM_PROP(1614, TMT, HIGHLIGHT, COLOR)
219  TM_PROP(1615, TMT, HIGHLIGHTTEXT, COLOR)
220  TM_PROP(1616, TMT, BTNFACE, COLOR)
221  TM_PROP(1617, TMT, BTNSHADOW, COLOR)
222  TM_PROP(1618, TMT, GRAYTEXT, COLOR)
223  TM_PROP(1619, TMT, BTNTEXT, COLOR)
224  TM_PROP(1620, TMT, INACTIVECAPTIONTEXT, COLOR)
225  TM_PROP(1621, TMT, BTNHIGHLIGHT, COLOR)
226  TM_PROP(1622, TMT, DKSHADOW3D, COLOR)
227  TM_PROP(1623, TMT, LIGHT3D, COLOR)
228  TM_PROP(1624, TMT, INFOTEXT, COLOR)
229  TM_PROP(1625, TMT, INFOBK, COLOR)
230  TM_PROP(1626, TMT, BUTTONALTERNATEFACE, COLOR)
231  TM_PROP(1627, TMT, HOTTRACKING, COLOR)
232  TM_PROP(1628, TMT, GRADIENTACTIVECAPTION, COLOR)
233  TM_PROP(1629, TMT, GRADIENTINACTIVECAPTION, COLOR)
234  TM_PROP(1630, TMT, MENUHILIGHT, COLOR)
235  TM_PROP(1631, TMT, MENUBAR, COLOR)
236 # define TMT_FIRSTCOLOR TMT_SCROLLBAR
237 # define TMT_LASTCOLOR TMT_MENUBAR
238 
239  /* hue substitutions */
240  TM_PROP(1801, TMT, FROMHUE1, INT)
241  TM_PROP(1802, TMT, FROMHUE2, INT)
242  TM_PROP(1803, TMT, FROMHUE3, INT)
243  TM_PROP(1804, TMT, FROMHUE4, INT)
244  TM_PROP(1805, TMT, FROMHUE5, INT)
245  TM_PROP(1806, TMT, TOHUE1, INT)
246  TM_PROP(1807, TMT, TOHUE2, INT)
247  TM_PROP(1808, TMT, TOHUE3, INT)
248  TM_PROP(1809, TMT, TOHUE4, INT)
249  TM_PROP(1810, TMT, TOHUE5, INT)
250 
251  /* color substitutions */
252  TM_PROP(2001, TMT, FROMCOLOR1, COLOR)
253  TM_PROP(2002, TMT, FROMCOLOR2, COLOR)
254  TM_PROP(2003, TMT, FROMCOLOR3, COLOR)
255  TM_PROP(2004, TMT, FROMCOLOR4, COLOR)
256  TM_PROP(2005, TMT, FROMCOLOR5, COLOR)
257  TM_PROP(2006, TMT, TOCOLOR1, COLOR)
258  TM_PROP(2007, TMT, TOCOLOR2, COLOR)
259  TM_PROP(2008, TMT, TOCOLOR3, COLOR)
260  TM_PROP(2009, TMT, TOCOLOR4, COLOR)
261  TM_PROP(2010, TMT, TOCOLOR5, COLOR)
262 
263  /* Bool rendering properties */
264  TM_PROP(2201, TMT, TRANSPARENT, BOOL)
265  TM_PROP(2202, TMT, AUTOSIZE, BOOL)
266  TM_PROP(2203, TMT, BORDERONLY, BOOL)
267  TM_PROP(2204, TMT, COMPOSITED, BOOL)
268  TM_PROP(2205, TMT, BGFILL, BOOL)
269  TM_PROP(2206, TMT, GLYPHTRANSPARENT, BOOL)
270  TM_PROP(2207, TMT, GLYPHONLY, BOOL)
271  TM_PROP(2208, TMT, ALWAYSSHOWSIZINGBAR, BOOL)
272  TM_PROP(2209, TMT, MIRRORIMAGE, BOOL)
273  TM_PROP(2210, TMT, UNIFORMSIZING, BOOL)
274  TM_PROP(2211, TMT, INTEGRALSIZING, BOOL)
275  TM_PROP(2212, TMT, SOURCEGROW, BOOL)
276  TM_PROP(2213, TMT, SOURCESHRINK, BOOL)
277 
278  /* Int rendering properties */
279  TM_PROP(2401, TMT, IMAGECOUNT, INT)
280  TM_PROP(2402, TMT, ALPHALEVEL, INT)
281  TM_PROP(2403, TMT, BORDERSIZE, INT)
282  TM_PROP(2404, TMT, ROUNDCORNERWIDTH, INT)
283  TM_PROP(2405, TMT, ROUNDCORNERHEIGHT, INT)
284  TM_PROP(2406, TMT, GRADIENTRATIO1, INT)
285  TM_PROP(2407, TMT, GRADIENTRATIO2, INT)
286  TM_PROP(2408, TMT, GRADIENTRATIO3, INT)
287  TM_PROP(2409, TMT, GRADIENTRATIO4, INT)
288  TM_PROP(2410, TMT, GRADIENTRATIO5, INT)
289  TM_PROP(2411, TMT, PROGRESSCHUNKSIZE, INT)
290  TM_PROP(2412, TMT, PROGRESSSPACESIZE, INT)
291  TM_PROP(2413, TMT, SATURATION, INT)
292  TM_PROP(2414, TMT, TEXTBORDERSIZE, INT)
293  TM_PROP(2415, TMT, ALPHATHRESHOLD, INT)
294  TM_PROP(2416, TMT, WIDTH, SIZE)
295  TM_PROP(2417, TMT, HEIGHT, SIZE)
296  TM_PROP(2418, TMT, GLYPHINDEX, INT)
297  TM_PROP(2419, TMT, TRUESIZESTRETCHMARK, INT)
298  TM_PROP(2420, TMT, MINDPI1, INT)
299  TM_PROP(2421, TMT, MINDPI2, INT)
300  TM_PROP(2422, TMT, MINDPI3, INT)
301  TM_PROP(2423, TMT, MINDPI4, INT)
302  TM_PROP(2424, TMT, MINDPI5, INT)
303 
304  /* Font rendering properties */
305  TM_PROP(2601, TMT, GLYPHFONT, FONT)
306 
307  /* Filename rendering properties */
308  TM_PROP(3001, TMT, IMAGEFILE, FILENAME)
309  TM_PROP(3002, TMT, IMAGEFILE1, FILENAME)
310  TM_PROP(3003, TMT, IMAGEFILE2, FILENAME)
311  TM_PROP(3004, TMT, IMAGEFILE3, FILENAME)
312  TM_PROP(3005, TMT, IMAGEFILE4, FILENAME)
313  TM_PROP(3006, TMT, IMAGEFILE5, FILENAME)
314  TM_PROP(3007, TMT, STOCKIMAGEFILE, FILENAME)
315  TM_PROP(3008, TMT, GLYPHIMAGEFILE, FILENAME)
316 
317  /* String rendering properties */
318  TM_PROP(3201, TMT, TEXT, STRING)
319 
320  /* Position rendering properties */
321  TM_PROP(3401, TMT, OFFSET, POSITION)
322  TM_PROP(3402, TMT, TEXTSHADOWOFFSET, POSITION)
323  TM_PROP(3403, TMT, MINSIZE, POSITION)
324  TM_PROP(3404, TMT, MINSIZE1, POSITION)
325  TM_PROP(3405, TMT, MINSIZE2, POSITION)
326  TM_PROP(3406, TMT, MINSIZE3, POSITION)
327  TM_PROP(3407, TMT, MINSIZE4, POSITION)
328  TM_PROP(3408, TMT, MINSIZE5, POSITION)
329  TM_PROP(3409, TMT, NORMALSIZE, POSITION)
330 
331  /* Margin rendering properties */
332  TM_PROP(3601, TMT, SIZINGMARGINS, MARGINS)
333  TM_PROP(3602, TMT, CONTENTMARGINS, MARGINS)
334  TM_PROP(3603, TMT, CAPTIONMARGINS, MARGINS)
335 
336  /* Color rendering properties */
337  TM_PROP(3801, TMT, BORDERCOLOR, COLOR)
338  TM_PROP(3802, TMT, FILLCOLOR, COLOR)
339  TM_PROP(3803, TMT, TEXTCOLOR, COLOR)
340  TM_PROP(3804, TMT, EDGELIGHTCOLOR, COLOR)
341  TM_PROP(3805, TMT, EDGEHIGHLIGHTCOLOR, COLOR)
342  TM_PROP(3806, TMT, EDGESHADOWCOLOR, COLOR)
343  TM_PROP(3807, TMT, EDGEDKSHADOWCOLOR, COLOR)
344  TM_PROP(3808, TMT, EDGEFILLCOLOR, COLOR)
345  TM_PROP(3809, TMT, TRANSPARENTCOLOR, COLOR)
346  TM_PROP(3810, TMT, GRADIENTCOLOR1, COLOR)
347  TM_PROP(3811, TMT, GRADIENTCOLOR2, COLOR)
348  TM_PROP(3812, TMT, GRADIENTCOLOR3, COLOR)
349  TM_PROP(3813, TMT, GRADIENTCOLOR4, COLOR)
350  TM_PROP(3814, TMT, GRADIENTCOLOR5, COLOR)
351  TM_PROP(3815, TMT, SHADOWCOLOR, COLOR)
352  TM_PROP(3816, TMT, GLOWCOLOR, COLOR)
353  TM_PROP(3817, TMT, TEXTBORDERCOLOR, COLOR)
354  TM_PROP(3818, TMT, TEXTSHADOWCOLOR, COLOR)
355  TM_PROP(3819, TMT, GLYPHTEXTCOLOR, COLOR)
356  TM_PROP(3820, TMT, GLYPHTRANSPARENTCOLOR, COLOR)
357  TM_PROP(3821, TMT, FILLCOLORHINT, COLOR)
358  TM_PROP(3822, TMT, BORDERCOLORHINT, COLOR)
359  TM_PROP(3823, TMT, ACCENTCOLORHINT, COLOR)
360 
361  /* Enum rendering properties */
362  TM_PROP(4001, TMT, BGTYPE, ENUM)
363  TM_PROP(4002, TMT, BORDERTYPE, ENUM)
364  TM_PROP(4003, TMT, FILLTYPE, ENUM)
365  TM_PROP(4004, TMT, SIZINGTYPE, ENUM)
366  TM_PROP(4005, TMT, HALIGN, ENUM)
367  TM_PROP(4006, TMT, CONTENTALIGNMENT, ENUM)
368  TM_PROP(4007, TMT, VALIGN, ENUM)
369  TM_PROP(4008, TMT, OFFSETTYPE, ENUM)
370  TM_PROP(4009, TMT, ICONEFFECT, ENUM)
371  TM_PROP(4010, TMT, TEXTSHADOWTYPE, ENUM)
372  TM_PROP(4011, TMT, IMAGELAYOUT, ENUM)
373  TM_PROP(4012, TMT, GLYPHTYPE, ENUM)
374  TM_PROP(4013, TMT, IMAGESELECTTYPE, ENUM)
375  TM_PROP(4014, TMT, GLYPHFONTSIZINGTYPE, ENUM)
376  TM_PROP(4015, TMT, TRUESIZESCALINGTYPE, ENUM)
377 
378  /* custom properties */
379  TM_PROP(5001, TMT, USERPICTURE, BOOL)
380  TM_PROP(5002, TMT, DEFAULTPANESIZE, RECT)
381  TM_PROP(5003, TMT, BLENDCOLOR, COLOR)
382 
383 END_TM_PROPS()
384 
385 
386 /***** PARTS & STATES *****/
387 
388 /* BUTTON parts */
390  TM_PART(1, BP, PUSHBUTTON)
391  TM_PART(2, BP, RADIOBUTTON)
392  TM_PART(3, BP, CHECKBOX)
393  TM_PART(4, BP, GROUPBOX)
394  TM_PART(5, BP, USERBUTTON)
396 
397 /* BUTTON - PUSHBUTTON states */
398 BEGIN_TM_PART_STATES(PUSHBUTTON)
399  TM_STATE(1, PBS, NORMAL)
400  TM_STATE(2, PBS, HOT)
401  TM_STATE(3, PBS, PRESSED)
402  TM_STATE(4, PBS, DISABLED)
403  TM_STATE(5, PBS, DEFAULTED)
405 
406 /* BUTTON - RADIOBUTTON states */
407 BEGIN_TM_PART_STATES(RADIOBUTTON)
408  TM_STATE(1, RBS, UNCHECKEDNORMAL)
409  TM_STATE(2, RBS, UNCHECKEDHOT)
410  TM_STATE(3, RBS, UNCHECKEDPRESSED)
411  TM_STATE(4, RBS, UNCHECKEDDISABLED)
412  TM_STATE(5, RBS, CHECKEDNORMAL)
413  TM_STATE(6, RBS, CHECKEDHOT)
414  TM_STATE(7, RBS, CHECKEDPRESSED)
415  TM_STATE(8, RBS, CHECKEDDISABLED)
417 
418 /* BUTTON - CHECKBOX states */
419 BEGIN_TM_PART_STATES(CHECKBOX)
420  TM_STATE(1, CBS, UNCHECKEDNORMAL)
421  TM_STATE(2, CBS, UNCHECKEDHOT)
422  TM_STATE(3, CBS, UNCHECKEDPRESSED)
423  TM_STATE(4, CBS, UNCHECKEDDISABLED)
424  TM_STATE(5, CBS, CHECKEDNORMAL)
425  TM_STATE(6, CBS, CHECKEDHOT)
426  TM_STATE(7, CBS, CHECKEDPRESSED)
427  TM_STATE(8, CBS, CHECKEDDISABLED)
428  TM_STATE(9, CBS, MIXEDNORMAL)
429  TM_STATE(10, CBS, MIXEDHOT)
430  TM_STATE(11, CBS, MIXEDPRESSED)
431  TM_STATE(12, CBS, MIXEDDISABLED)
433 
434 /* BUTTON - GROUPBOX states */
435 BEGIN_TM_PART_STATES(GROUPBOX)
436  TM_STATE(1, GBS, NORMAL)
437  TM_STATE(2, GBS, DISABLED)
439 
440 /* CLOCK parts */
442  TM_PART(1, CLP, TIME)
444 
445 /* CLOCK states */
447  TM_STATE(1, CLS, NORMAL)
449 
450 /* COMBOBOX parts */
452  TM_PART(1, CP, DROPDOWNBUTTON)
454 
455 /* COMBOBOX states */
457  TM_STATE(1, CBXS, NORMAL)
458  TM_STATE(2, CBXS, HOT)
459  TM_STATE(3, CBXS, PRESSED)
460  TM_STATE(4, CBXS, DISABLED)
462 
463 /* EDIT parts */
465  TM_PART(1, EP, EDITTEXT)
466  TM_PART(2, EP, CARET)
468 
469 /* EDIT - EDITTEXT states */
470 BEGIN_TM_PART_STATES(EDITTEXT)
471  TM_STATE(1, ETS, NORMAL)
472  TM_STATE(2, ETS, HOT)
473  TM_STATE(3, ETS, SELECTED)
474  TM_STATE(4, ETS, DISABLED)
475  TM_STATE(5, ETS, FOCUSED)
476  TM_STATE(6, ETS, READONLY)
477  TM_STATE(7, ETS, ASSIST)
479 
480 /* EXPLORERBAR parts */
481 BEGIN_TM_CLASS_PARTS(EXPLORERBAR)
482  TM_PART(1, EBP, HEADERBACKGROUND)
483  TM_PART(2, EBP, HEADERCLOSE)
484  TM_PART(3, EBP, HEADERPIN)
485  TM_PART(4, EBP, IEBARMENU)
486  TM_PART(5, EBP, NORMALGROUPBACKGROUND)
487  TM_PART(6, EBP, NORMALGROUPCOLLAPSE)
488  TM_PART(7, EBP, NORMALGROUPEXPAND)
489  TM_PART(8, EBP, NORMALGROUPHEAD)
490  TM_PART(9, EBP, SPECIALGROUPBACKGROUND)
491  TM_PART(10, EBP, SPECIALGROUPCOLLAPSE)
492  TM_PART(11, EBP, SPECIALGROUPEXPAND)
493  TM_PART(12, EBP, SPECIALGROUPHEAD)
495 
496 /* EXPLORERBAR - HEADERCLOSE states */
497 BEGIN_TM_PART_STATES(HEADERCLOSE)
498  TM_STATE(1, EBHC, NORMAL)
499  TM_STATE(2, EBHC, HOT)
500  TM_STATE(3, EBHC, PRESSED)
502 
503 /* EXPLORERBAR - HEADERPIN states */
504 BEGIN_TM_PART_STATES(HEADERPIN)
505  TM_STATE(1, EBHP, NORMAL)
506  TM_STATE(2, EBHP, HOT)
507  TM_STATE(3, EBHP, PRESSED)
508  TM_STATE(4, EBHP, SELECTEDNORMAL)
509  TM_STATE(5, EBHP, SELECTEDHOT)
510  TM_STATE(6, EBHP, SELECTEDPRESSED)
512 
513 /* EXPLORERBAR - IEBARMENU states */
514 BEGIN_TM_PART_STATES(IEBARMENU)
515  TM_STATE(1, EBM, NORMAL)
516  TM_STATE(2, EBM, HOT)
517  TM_STATE(3, EBM, PRESSED)
519 
520 /* EXPLORERBAR - NORMALGROUPCOLLAPSE states */
521 BEGIN_TM_PART_STATES(NORMALGROUPCOLLAPSE)
522  TM_STATE(1, EBNGC, NORMAL)
523  TM_STATE(2, EBNGC, HOT)
524  TM_STATE(3, EBNGC, PRESSED)
526 
527 /* EXPLORERBAR - NORMALGROUPEXPAND states */
528 BEGIN_TM_PART_STATES(NORMALGROUPEXPAND)
529  TM_STATE(1, EBNGE, NORMAL)
530  TM_STATE(2, EBNGE, HOT)
531  TM_STATE(3, EBNGE, PRESSED)
533 
534 /* EXPLORERBAR - SPECIALGROUPCOLLAPSE states */
535 BEGIN_TM_PART_STATES(SPECIALGROUPCOLLAPSE)
536  TM_STATE(1, EBSGC, NORMAL)
537  TM_STATE(2, EBSGC, HOT)
538  TM_STATE(3, EBSGC, PRESSED)
540 
541 /* EXPLORERBAR - SPECIALGROUPEXPAND states */
542 BEGIN_TM_PART_STATES(SPECIALGROUPEXPAND)
543  TM_STATE(1, EBSGE, NORMAL)
544  TM_STATE(2, EBSGE, HOT)
545  TM_STATE(3, EBSGE, PRESSED)
547 
548 /* GLOBALS parts */
550  TM_PART(1, GP, BORDER)
551  TM_PART(2, GP, LINEHORZ)
552  TM_PART(3, GP, LINEVERT)
554 
555 /* GLOBALS - BORDER states */
556 BEGIN_TM_PART_STATES(BORDER)
557  TM_STATE(1, BSS, FLAT)
558  TM_STATE(2, BSS, RAISED)
559  TM_STATE(3, BSS, SUNKEN)
561 
562 /* GLOBALS - LINEHORZ states */
563 BEGIN_TM_PART_STATES(LINEHORZ)
564  TM_STATE(1, LHS, FLAT)
565  TM_STATE(2, LHS, RAISED)
566  TM_STATE(3, LHS, SUNKEN)
568 
569 /* GLOBAL - LINEVERT states */
570 BEGIN_TM_PART_STATES(LINEVERT)
571  TM_STATE(1, LVS, FLAT)
572  TM_STATE(2, LVS, RAISED)
573  TM_STATE(3, LVS, SUNKEN)
575 
576 /* HEADER parts */
578  TM_PART(1, HP, HEADERITEM)
579  TM_PART(2, HP, HEADERITEMLEFT)
580  TM_PART(3, HP, HEADERITEMRIGHT)
581  TM_PART(4, HP, HEADERSORTARROW)
583 
584 /* HEADER - HEADERITEM states */
585 BEGIN_TM_PART_STATES(HEADERITEM)
586  TM_STATE(1, HIS, NORMAL)
587  TM_STATE(2, HIS, HOT)
588  TM_STATE(3, HIS, PRESSED)
590 
591 /* HEADER - HEADERITEMLEFT states */
592 BEGIN_TM_PART_STATES(HEADERITEMLEFT)
593  TM_STATE(1, HILS, NORMAL)
594  TM_STATE(2, HILS, HOT)
595  TM_STATE(3, HILS, PRESSED)
597 
598 /* HEADER - HEADERITEMRIGHT states */
599 BEGIN_TM_PART_STATES(HEADERITEMRIGHT)
600  TM_STATE(1, HIRS, NORMAL)
601  TM_STATE(2, HIRS, HOT)
602  TM_STATE(3, HIRS, PRESSED)
604 
605 /* HEADER - HEADERSORTARROW states */
606 BEGIN_TM_PART_STATES(HEADERSORTARROW)
607  TM_STATE(1, HSAS, SORTEDUP)
608  TM_STATE(2, HSAS, SORTEDDOWN)
610 
611 /* LISTVIEW parts */
612 BEGIN_TM_CLASS_PARTS(LISTVIEW)
613  TM_PART(1, LVP, LISTITEM)
614  TM_PART(2, LVP, LISTGROUP)
615  TM_PART(3, LVP, LISTDETAIL)
616  TM_PART(4, LVP, LISTSORTEDDETAIL)
617  TM_PART(5, LVP, EMPTYTEXT)
619 
620 /* LISTVIEW - LISTITEM states */
621 BEGIN_TM_PART_STATES(LISTITEM)
622  TM_STATE(1, LIS, NORMAL)
623  TM_STATE(2, LIS, HOT)
624  TM_STATE(3, LIS, SELECTED)
625  TM_STATE(4, LIS, DISABLED)
626  TM_STATE(5, LIS, SELECTEDNOTFOCUS)
628 
629 /* MENU parts */
631  TM_PART(1, MP, MENUITEM)
632  TM_PART(2, MP, MENUDROPDOWN)
633  TM_PART(3, MP, MENUBARITEM)
634  TM_PART(4, MP, MENUBARDROPDOWN)
635  TM_PART(5, MP, CHEVRON)
636  TM_PART(6, MP, SEPARATOR)
638 
639 /* MENU - * states */
641  TM_STATE(1, MS, NORMAL)
642  TM_STATE(2, MS, SELECTED)
643  TM_STATE(3, MS, DEMOTED)
645 
646 /* MENUBAND parts */
647 BEGIN_TM_CLASS_PARTS(MENUBAND)
648  TM_PART(1, MDP, NEWAPPBUTTON)
649 /* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
650  TM_PART(2, MDP, SEPERATOR)
652 
653 /* MENUBAND states */
654 BEGIN_TM_PART_STATES(MENUBAND)
655  TM_STATE(1, MDS, NORMAL)
656  TM_STATE(2, MDS, HOT)
657  TM_STATE(3, MDS, PRESSED)
658  TM_STATE(4, MDS, DISABLED)
659  TM_STATE(5, MDS, CHECKED)
660  TM_STATE(6, MDS, HOTCHECKED)
662 
663 /* PAGE parts */
665  TM_PART(1, PGRP, UP)
666  TM_PART(2, PGRP, DOWN)
667  TM_PART(3, PGRP, UPHORZ)
668  TM_PART(4, PGRP, DOWNHORZ)
670 
671 /* PAGE - UP states */
673  TM_STATE(1, UPS, NORMAL)
674  TM_STATE(2, UPS, HOT)
675  TM_STATE(3, UPS, PRESSED)
676  TM_STATE(4, UPS, DISABLED)
678 
679 /* PAGE - DOWN states */
681  TM_STATE(1, DNS, NORMAL)
682  TM_STATE(2, DNS, HOT)
683  TM_STATE(3, DNS, PRESSED)
684  TM_STATE(4, DNS, DISABLED)
686 
687 /* PAGE - UPHORZ states */
688 BEGIN_TM_PART_STATES(UPHORZ)
689  TM_STATE(1, UPHZS, NORMAL)
690  TM_STATE(2, UPHZS, HOT)
691  TM_STATE(3, UPHZS, PRESSED)
692  TM_STATE(4, UPHZS, DISABLED)
694 
695 /* PAGE - DOWNHORZ states */
696 BEGIN_TM_PART_STATES(DOWNHORZ)
697  TM_STATE(1, DNHZS, NORMAL)
698  TM_STATE(2, DNHZS, HOT)
699  TM_STATE(3, DNHZS, PRESSED)
700  TM_STATE(4, DNHZS, DISABLED)
702 
703 /* PROGRESS parts */
705  TM_PART(1, PP, BAR)
706  TM_PART(2, PP, BARVERT)
707  TM_PART(3, PP, CHUNK)
708  TM_PART(4, PP, CHUNKVERT)
710 
711 /* REBAR parts */
713  TM_PART(1, RP, GRIPPER)
714  TM_PART(2, RP, GRIPPERVERT)
715  TM_PART(3, RP, BAND)
716  TM_PART(4, RP, CHEVRON)
717  TM_PART(5, RP, CHEVRONVERT)
719 
720 /* REBAR - CHEVRON states */
721 BEGIN_TM_PART_STATES(CHEVRON)
722  TM_STATE(1, CHEVS, NORMAL)
723  TM_STATE(2, CHEVS, HOT)
724  TM_STATE(3, CHEVS, PRESSED)
726 
727 /* SCROLLBAR parts */
729  TM_PART(1, SBP, ARROWBTN)
730  TM_PART(2, SBP, THUMBBTNHORZ)
731  TM_PART(3, SBP, THUMBBTNVERT)
732  TM_PART(4, SBP, LOWERTRACKHORZ)
733  TM_PART(5, SBP, UPPERTRACKHORZ)
734  TM_PART(6, SBP, LOWERTRACKVERT)
735  TM_PART(7, SBP, UPPERTRACKVERT)
736  TM_PART(8, SBP, GRIPPERHORZ)
737  TM_PART(9, SBP, GRIPPERVERT)
738  TM_PART(10, SBP, SIZEBOX)
740 
741 /* SCROLLBAR - ARROWBTN states */
742 BEGIN_TM_PART_STATES(ARROWBTN)
743  TM_STATE(1, ABS, UPNORMAL)
744  TM_STATE(2, ABS, UPHOT)
745  TM_STATE(3, ABS, UPPRESSED)
746  TM_STATE(4, ABS, UPDISABLED)
747  TM_STATE(5, ABS, DOWNNORMAL)
748  TM_STATE(6, ABS, DOWNHOT)
749  TM_STATE(7, ABS, DOWNPRESSED)
750  TM_STATE(8, ABS, DOWNDISABLED)
751  TM_STATE(9, ABS, LEFTNORMAL)
752  TM_STATE(10, ABS, LEFTHOT)
753  TM_STATE(11, ABS, LEFTPRESSED)
754  TM_STATE(12, ABS, LEFTDISABLED)
755  TM_STATE(13, ABS, RIGHTNORMAL)
756  TM_STATE(14, ABS, RIGHTHOT)
757  TM_STATE(15, ABS, RIGHTPRESSED)
758  TM_STATE(16, ABS, RIGHTDISABLED)
760 
761 /* SCROLLBAR - LOWER* / THUMB* / UPPER* states */
763  TM_STATE(1, SCRBS, NORMAL)
764  TM_STATE(2, SCRBS, HOT)
765  TM_STATE(3, SCRBS, PRESSED)
766  TM_STATE(4, SCRBS, DISABLED)
768 
769 /* SCROLLBAR - SIZEBOX states */
770 BEGIN_TM_PART_STATES(SIZEBOX)
771  TM_STATE(1, SZB, RIGHTALIGN)
772  TM_STATE(2, SZB, LEFTALIGN)
774 
775 /* SPIN parts */
777  TM_PART(1, SPNP, UP)
778  TM_PART(2, SPNP, DOWN)
779  TM_PART(3, SPNP, UPHORZ)
780  TM_PART(4, SPNP, DOWNHORZ)
782 
783 /* SPIN * states */
784 /* See PAGE states */
785 
786 /* STARTPANEL parts */
787 BEGIN_TM_CLASS_PARTS(STARTPANEL)
788  TM_PART(1, SPP, USERPANE)
789  TM_PART(2, SPP, MOREPROGRAMS)
790  TM_PART(3, SPP, MOREPROGRAMSARROW)
791  TM_PART(4, SPP, PROGLIST)
792  TM_PART(5, SPP, PROGLISTSEPARATOR)
793  TM_PART(6, SPP, PLACESLIST)
794  TM_PART(7, SPP, PLACESLISTSEPARATOR)
795  TM_PART(8, SPP, LOGOFF)
796  TM_PART(9, SPP, LOGOFFBUTTONS)
797  TM_PART(10, SPP, USERPICTURE)
798  TM_PART(11, SPP, PREVIEW)
800 
801 /* STARTPANEL - MOREPROGRAMSARROW states */
802 BEGIN_TM_PART_STATES(MOREPROGRAMSARROW)
803  TM_STATE(1, SPS, NORMAL)
804  TM_STATE(2, SPS, HOT)
805  TM_STATE(3, SPS, PRESSED)
807 
808 /* STARTPANEL - LOGOFFBUTTONS states */
809 BEGIN_TM_PART_STATES(LOGOFFBUTTONS)
810  TM_STATE(1, SPLS, NORMAL)
811  TM_STATE(2, SPLS, HOT)
812  TM_STATE(3, SPLS, PRESSED)
814 
815 /* STATUS parts */
817  TM_PART(1, SP, PANE)
818  TM_PART(2, SP, GRIPPERPANE)
819  TM_PART(3, SP, GRIPPER)
821 
822 /* TAB parts */
824  TM_PART(1, TABP, TABITEM)
825  TM_PART(2, TABP, TABITEMLEFTEDGE)
826  TM_PART(3, TABP, TABITEMRIGHTEDGE)
827  TM_PART(4, TABP, TABITEMBOTHEDGE)
828  TM_PART(5, TABP, TOPTABITEM)
829  TM_PART(6, TABP, TOPTABITEMLEFTEDGE)
830  TM_PART(7, TABP, TOPTABITEMRIGHTEDGE)
831  TM_PART(8, TABP, TOPTABITEMBOTHEDGE)
832  TM_PART(9, TABP, PANE)
833  TM_PART(10, TABP, BODY)
835 
836 /* TAB - TABITEM states */
837 BEGIN_TM_PART_STATES(TABITEM)
838  TM_STATE(1, TIS, NORMAL)
839  TM_STATE(2, TIS, HOT)
840  TM_STATE(3, TIS, SELECTED)
841  TM_STATE(4, TIS, DISABLED)
842  TM_STATE(5, TIS, FOCUSED)
844 
845 /* TAB - TABITEMLEFTEDGE states */
846 BEGIN_TM_PART_STATES(TABITEMLEFTEDGE)
847  TM_STATE(1, TILES, NORMAL)
848  TM_STATE(2, TILES, HOT)
849  TM_STATE(3, TILES, SELECTED)
850  TM_STATE(4, TILES, DISABLED)
851  TM_STATE(5, TILES, FOCUSED)
853 
854 /* TAB - TABITEMRIGHTEDGE states */
855 BEGIN_TM_PART_STATES(TABITEMRIGHTEDGE)
856  TM_STATE(1, TIRES, NORMAL)
857  TM_STATE(2, TIRES, HOT)
858  TM_STATE(3, TIRES, SELECTED)
859  TM_STATE(4, TIRES, DISABLED)
860  TM_STATE(5, TIRES, FOCUSED)
862 
863 /* TAB - TABITEMBOTHEDGES states */
864 BEGIN_TM_PART_STATES(TABITEMBOTHEDGES)
865  TM_STATE(1, TIBES, NORMAL)
866  TM_STATE(2, TIBES, HOT)
867  TM_STATE(3, TIBES, SELECTED)
868  TM_STATE(4, TIBES, DISABLED)
869  TM_STATE(5, TIBES, FOCUSED)
871 
872 /* TAB - TOPTABITEM states */
873 BEGIN_TM_PART_STATES(TOPTABITEM)
874  TM_STATE(1, TTIS, NORMAL)
875  TM_STATE(2, TTIS, HOT)
876  TM_STATE(3, TTIS, SELECTED)
877  TM_STATE(4, TTIS, DISABLED)
878  TM_STATE(5, TTIS, FOCUSED)
880 
881 /* TAB - TOPTABITEMLEFTEDGE states */
882 BEGIN_TM_PART_STATES(TOPTABITEMLEFTEDGE)
883  TM_STATE(1, TTILES, NORMAL)
884  TM_STATE(2, TTILES, HOT)
885  TM_STATE(3, TTILES, SELECTED)
886  TM_STATE(4, TTILES, DISABLED)
887  TM_STATE(5, TTILES, FOCUSED)
889 
890 /* TAB - TOPTABITEMRIGHTEDGE states */
891 BEGIN_TM_PART_STATES(TOPTABITEMRIGHTEDGE)
892  TM_STATE(1, TTIRES, NORMAL)
893  TM_STATE(2, TTIRES, HOT)
894  TM_STATE(3, TTIRES, SELECTED)
895  TM_STATE(4, TTIRES, DISABLED)
896  TM_STATE(5, TTIRES, FOCUSED)
898 
899 /* TAB - TOPTABITEMBOTHEDGES states */
900 BEGIN_TM_PART_STATES(TOPTABITEMBOTHEDGES)
901  TM_STATE(1, TTIBES, NORMAL)
902  TM_STATE(2, TTIBES, HOT)
903  TM_STATE(3, TTIBES, SELECTED)
904  TM_STATE(4, TTIBES, DISABLED)
905  TM_STATE(5, TTIBES, FOCUSED)
907 
908 /* TASKBAND parts */
909 BEGIN_TM_CLASS_PARTS(TASKBAND)
910  TM_PART(1, TDP, GROUPCOUNT)
911  TM_PART(2, TDP, FLASHBUTTON)
912  TM_PART(3, TDP, FLASHBUTTONGROUPMENU)
914 
915 /* TASKBAR parts */
916 BEGIN_TM_CLASS_PARTS(TASKBAR)
917  TM_PART(1, TBP, BACKGROUNDBOTTOM)
918  TM_PART(2, TBP, BACKGROUNDRIGHT)
919  TM_PART(3, TBP, BACKGROUNDTOP)
920  TM_PART(4, TBP, BACKGROUNDLEFT)
921  TM_PART(5, TBP, SIZINGBARBOTTOM)
922  TM_PART(6, TBP, SIZINGBARRIGHT)
923  TM_PART(7, TBP, SIZINGBARTOP)
924  TM_PART(8, TBP, SIZINGBARLEFT)
926 
927 /* TOOLBAR parts */
928 BEGIN_TM_CLASS_PARTS(TOOLBAR)
929  TM_PART(1, TP, BUTTON)
930  TM_PART(2, TP, DROPDOWNBUTTON)
931  TM_PART(3, TP, SPLITBUTTON)
932  TM_PART(4, TP, SPLITBUTTONDROPDOWN)
933  TM_PART(5, TP, SEPARATOR)
934  TM_PART(6, TP, SEPARATORVERT)
936 
937 /* TOOLBAR - * states */
938 BEGIN_TM_PART_STATES(TOOLBAR)
939  TM_STATE(1, TS, NORMAL)
940  TM_STATE(2, TS, HOT)
941  TM_STATE(3, TS, PRESSED)
942  TM_STATE(4, TS, DISABLED)
943  TM_STATE(5, TS, CHECKED)
944  TM_STATE(6, TS, HOTCHECKED)
946 
947 /* TOOLTIP parts */
948 BEGIN_TM_CLASS_PARTS(TOOLTIP)
949  TM_PART(1, TTP, STANDARD)
950  TM_PART(2, TTP, STANDARDTITLE)
951  TM_PART(3, TTP, BALLOON)
952  TM_PART(4, TTP, BALLOONTITLE)
953  TM_PART(5, TTP, CLOSE)
955 
956 /* TOOLTIP - STANDARD states */
957 BEGIN_TM_PART_STATES(STANDARD)
958  TM_STATE(1, TTSS, NORMAL)
959  TM_STATE(2, TTSS, LINK)
961 
962 /* TOOLTIP - STANDARDTITLE states */
963 /* See TOOLTIP STANDARD */
964 
965 /* TOOLTIP - BALLOON states */
966 BEGIN_TM_PART_STATES(BALLOON)
967  TM_STATE(1, TTBS, NORMAL)
968  TM_STATE(2, TTBS, LINK)
970 
971 /* TOOLTIP - BALLOONTITLE states */
972 /* See TOOLTIP BALLOON */
973 
974 /* TOOLTIP - CLOSE states */
976  TM_STATE(1, TTCS, NORMAL)
977  TM_STATE(2, TTCS, HOT)
978  TM_STATE(3, TTCS, PRESSED)
980 
981 /* TRACKBAR parts */
982 BEGIN_TM_CLASS_PARTS(TRACKBAR)
983  TM_PART(1, TKP, TRACK)
984  TM_PART(2, TKP, TRACKVERT)
985  TM_PART(3, TKP, THUMB)
986  TM_PART(4, TKP, THUMBBOTTOM)
987  TM_PART(5, TKP, THUMBTOP)
988  TM_PART(6, TKP, THUMBVERT)
989  TM_PART(7, TKP, THUMBLEFT)
990  TM_PART(8, TKP, THUMBRIGHT)
991  TM_PART(9, TKP, TICS)
992  TM_PART(10, TKP, TICSVERT)
994 
995 /* TRACKBAR states */
996 BEGIN_TM_PART_STATES(TRACKBAR)
997  TM_STATE(1, TKS, NORMAL)
999 
1000 /* TRACKBAR - TRACK states */
1001 BEGIN_TM_PART_STATES(TRACK)
1002  TM_STATE(1, TRS, NORMAL)
1004 
1005 /* TRACKBAR - TRACKVERT states */
1006 BEGIN_TM_PART_STATES(TRACKVERT)
1007  TM_STATE(1, TRVS, NORMAL)
1009 
1010 /* TRACKBAR - THUMB states */
1011 BEGIN_TM_PART_STATES(THUMB)
1012  TM_STATE(1, TUS, NORMAL)
1013  TM_STATE(2, TUS, HOT)
1014  TM_STATE(3, TUS, PRESSED)
1015  TM_STATE(4, TUS, FOCUSED)
1016  TM_STATE(5, TUS, DISABLED)
1018 
1019 /* TRACKBAR - THUMBBOTTOM states */
1020 BEGIN_TM_PART_STATES(THUMBBOTTOM)
1021  TM_STATE(1, TUBS, NORMAL)
1022  TM_STATE(2, TUBS, HOT)
1023  TM_STATE(3, TUBS, PRESSED)
1024  TM_STATE(4, TUBS, FOCUSED)
1025  TM_STATE(5, TUBS, DISABLED)
1027 
1028 /* TRACKBAR - THUMBTOP states */
1029 BEGIN_TM_PART_STATES(THUMBTOP)
1030  TM_STATE(1, TUTS, NORMAL)
1031  TM_STATE(2, TUTS, HOT)
1032  TM_STATE(3, TUTS, PRESSED)
1033  TM_STATE(4, TUTS, FOCUSED)
1034  TM_STATE(5, TUTS, DISABLED)
1036 
1037 /* TRACKBAR - THUMBVERT states */
1038 BEGIN_TM_PART_STATES(THUMBVERT)
1039  TM_STATE(1, TUVS, NORMAL)
1040  TM_STATE(2, TUVS, HOT)
1041  TM_STATE(3, TUVS, PRESSED)
1042  TM_STATE(4, TUVS, FOCUSED)
1043  TM_STATE(5, TUVS, DISABLED)
1045 
1046 /* TRACKBAR - THUMBLEFT states */
1047 BEGIN_TM_PART_STATES(THUMBLEFT)
1048  TM_STATE(1, TUVLS, NORMAL)
1049  TM_STATE(2, TUVLS, HOT)
1050  TM_STATE(3, TUVLS, PRESSED)
1051  TM_STATE(4, TUVLS, FOCUSED)
1052  TM_STATE(5, TUVLS, DISABLED)
1054 
1055 /* TRACKBAR - THUMBRIGHT states */
1056 BEGIN_TM_PART_STATES(THUMBRIGHT)
1057  TM_STATE(1, TUVRS, NORMAL)
1058  TM_STATE(2, TUVRS, HOT)
1059  TM_STATE(3, TUVRS, PRESSED)
1060  TM_STATE(4, TUVRS, FOCUSED)
1061  TM_STATE(5, TUVRS, DISABLED)
1063 
1064 /* TRACKBAR - TICS states */
1066  TM_STATE(1, TSS, NORMAL)
1068 
1069 /* TRACKBAR - TICSVERT states */
1070 BEGIN_TM_PART_STATES(TICSVERT)
1071  TM_STATE(1, TSVS, NORMAL)
1073 
1074 /* TRAYNOTIFY parts */
1075 BEGIN_TM_CLASS_PARTS(TRAYNOTIFY)
1076  TM_PART(1, TNP, BACKGROUND)
1077  TM_PART(2, TNP, ANIMBACKGROUND)
1079 
1080 /* TREEVIEW parts */
1081 BEGIN_TM_CLASS_PARTS(TREEVIEW)
1082  TM_PART(1, TVP, TREEITEM)
1083  TM_PART(2, TVP, GLYPH)
1084  TM_PART(3, TVP, BRANCH)
1086 
1087 /* TREEVIEW - TREEITEM states */
1088 BEGIN_TM_PART_STATES(TREEITEM)
1089  TM_STATE(1, TREIS, NORMAL)
1090  TM_STATE(2, TREIS, HOT)
1091  TM_STATE(3, TREIS, SELECTED)
1092  TM_STATE(4, TREIS, DISABLED)
1093  TM_STATE(5, TREIS, SELECTEDNOTFOCUS)
1095 
1096 /* TREEVIEW - GLYPH states */
1098  TM_STATE(1, GLPS, CLOSED)
1099  TM_STATE(2, GLPS, OPENED)
1101 
1102 /* WINDOW parts */
1104  TM_PART(1, WP, CAPTION)
1105  TM_PART(2, WP, SMALLCAPTION)
1106  TM_PART(3, WP, MINCAPTION)
1107  TM_PART(4, WP, SMALLMINCAPTION)
1108  TM_PART(5, WP, MAXCAPTION)
1109  TM_PART(6, WP, SMALLMAXCAPTION)
1110  TM_PART(7, WP, FRAMELEFT)
1111  TM_PART(8, WP, FRAMERIGHT)
1112  TM_PART(9, WP, FRAMEBOTTOM)
1113  TM_PART(10, WP, SMALLFRAMELEFT)
1114  TM_PART(11, WP, SMALLFRAMERIGHT)
1115  TM_PART(12, WP, SMALLFRAMEBOTTOM)
1116  TM_PART(13, WP, SYSBUTTON)
1117  TM_PART(14, WP, MDISYSBUTTON)
1118  TM_PART(15, WP, MINBUTTON)
1119  TM_PART(16, WP, MDIMINBUTTON)
1120  TM_PART(17, WP, MAXBUTTON)
1121  TM_PART(18, WP, CLOSEBUTTON)
1122  TM_PART(19, WP, SMALLCLOSEBUTTON)
1123  TM_PART(20, WP, MDICLOSEBUTTON)
1124  TM_PART(21, WP, RESTOREBUTTON)
1125  TM_PART(22, WP, MDIRESTOREBUTTON)
1126  TM_PART(23, WP, HELPBUTTON)
1127  TM_PART(24, WP, MDIHELPBUTTON)
1128  TM_PART(25, WP, HORZSCROLL)
1129  TM_PART(26, WP, HORZTHUMB)
1130  TM_PART(27, WP, VERTSCROLL)
1131  TM_PART(28, WP, VERTTHUMB)
1132  TM_PART(29, WP, DIALOG)
1133  TM_PART(30, WP, CAPTIONSIZINGTEMPLATE)
1134  TM_PART(31, WP, SMALLCAPTIONSIZINGTEMPLATE)
1135  TM_PART(32, WP, FRAMELEFTSIZINGTEMPLATE)
1136  TM_PART(33, WP, SMALLFRAMELEFTSIZINGTEMPLATE)
1137  TM_PART(34, WP, FRAMERIGHTSIZINGTEMPLATE)
1138  TM_PART(35, WP, SMALLFRAMERIGHTSIZINGTEMPLATE)
1139  TM_PART(36, WP, FRAMEBOTTOMSIZINGTEMPLATE)
1140  TM_PART(37, WP, SMALLFRAMEBOTTOMSIZINGTEMPLATE)
1142 
1143 /* WINDOW - CAPTION / SMALLCAPTION states */
1144 BEGIN_TM_PART_STATES(CAPTION)
1145  TM_STATE(1, CS, ACTIVE)
1146  TM_STATE(2, CS, INACTIVE)
1147  TM_STATE(3, CS, DISABLED)
1149 
1150 /* WINDOW - MINCAPTION / SMALLMINCAPTION states */
1151 BEGIN_TM_PART_STATES(MINCAPTION)
1152  TM_STATE(1, MNCS, ACTIVE)
1153  TM_STATE(2, MNCS, INACTIVE)
1154  TM_STATE(3, MNCS, DISABLED)
1156 
1157 /* WINDOW - MAXCAPTION / SMALLMAXCAPTION states */
1158 BEGIN_TM_PART_STATES(MAXCAPTION)
1159  TM_STATE(1, MXCS, ACTIVE)
1160  TM_STATE(2, MXCS, INACTIVE)
1161  TM_STATE(3, MXCS, DISABLED)
1163 
1164 /* WINDOW - FRAME* / SMALLFRAME* states */
1166  TM_STATE(1, FS, ACTIVE)
1167  TM_STATE(2, FS, INACTIVE)
1169 
1170 /* WINDOW - SYSBUTTON / MDISYSBUTTON states */
1171 BEGIN_TM_PART_STATES(SYSBUTTON)
1172  TM_STATE(1, SBS, NORMAL)
1173  TM_STATE(2, SBS, HOT)
1174  TM_STATE(3, SBS, PUSHED)
1175  TM_STATE(4, SBS, DISABLED)
1177 
1178 /* WINDOW - MINBUTTON / MDIMINBUTTON states */
1180  TM_STATE(1, MINBS, NORMAL)
1181  TM_STATE(2, MINBS, HOT)
1182  TM_STATE(3, MINBS, PUSHED)
1183  TM_STATE(4, MINBS, DISABLED)
1185 
1186 /* WINDOW - MAXBUTTON states */
1188  TM_STATE(1, MAXBS, NORMAL)
1189  TM_STATE(2, MAXBS, HOT)
1190  TM_STATE(3, MAXBS, PUSHED)
1191  TM_STATE(4, MAXBS, DISABLED)
1193 
1194 /* WINDOW - CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON states */
1196  TM_STATE(1, CBS, NORMAL)
1197  TM_STATE(2, CBS, HOT)
1198  TM_STATE(3, CBS, PUSHED)
1199  TM_STATE(4, CBS, DISABLED)
1201 
1202 /* WINDOW - RESTOREBUTTON / MDIRESTOREBUTTON states */
1203 BEGIN_TM_PART_STATES(RESTOREBUTTON)
1204  TM_STATE(1, RBS, NORMAL)
1205  TM_STATE(2, RBS, HOT)
1206  TM_STATE(3, RBS, PUSHED)
1207  TM_STATE(4, RBS, DISABLED)
1209 
1210 /* WINDOW - HELPBUTTON / MDIHELPBUTTON states */
1212  TM_STATE(1, HBS, NORMAL)
1213  TM_STATE(2, HBS, HOT)
1214  TM_STATE(3, HBS, PUSHED)
1215  TM_STATE(4, HBS, DISABLED)
1217 
1218 /* WINDOW - HORZSCROLL states */
1219 BEGIN_TM_PART_STATES(HORZSCROLL)
1220  TM_STATE(1, HSS, NORMAL)
1221  TM_STATE(2, HSS, HOT)
1222  TM_STATE(3, HSS, PUSHED)
1223  TM_STATE(4, HSS, DISABLED)
1225 
1226 /* WINDOW - HORZTHUMB states */
1227 BEGIN_TM_PART_STATES(HORZTHUMB)
1228  TM_STATE(1, HTS, NORMAL)
1229  TM_STATE(2, HTS, HOT)
1230  TM_STATE(3, HTS, PUSHED)
1231  TM_STATE(4, HTS, DISABLED)
1233 
1234 /* WINDOW - VERTSCROLL states */
1235 BEGIN_TM_PART_STATES(VERTSCROLL)
1236  TM_STATE(1, VSS, NORMAL)
1237  TM_STATE(2, VSS, HOT)
1238  TM_STATE(3, VSS, PUSHED)
1239  TM_STATE(4, VSS, DISABLED)
1241 
1242 /* WINDOW - VERTTHUMB states */
1243 BEGIN_TM_PART_STATES(VERTTHUMB)
1244  TM_STATE(1, VTS, NORMAL)
1245  TM_STATE(2, VTS, HOT)
1246  TM_STATE(3, VTS, PUSHED)
1247  TM_STATE(4, VTS, DISABLED)
1249 
1250 END_TM_SCHEMA(ThemeMgrSchema)
1251 
1252 #endif
#define LEFT
Definition: sprintf.c:26
IMAGELAYOUT
Definition: vssym32.h:31
static const WCHAR CA[]
Definition: oid.c:73
#define HEADER(x)
Definition: genincdata.c:50
BGTYPE
Definition: vssym32.h:25
#define CHECKED
Definition: pedump.c:505
__int64 TIME
Definition: ms-dtyp.idl:32
#define BEGIN_TM_SCHEMA(name)
Definition: schemadef.h:23
#define OPENED
#define END_TM_SCHEMA(name)
Definition: schemadef.h:24
TRUESIZESCALINGTYPE
Definition: vssym32.h:117
#define TM_ENUM(value, prefix, name)
Definition: schemadef.h:27
#define TS(x)
Definition: error.h:11
Definition: fmifs.h:68
#define INACTIVE
Definition: pedump.c:502
#define BEGIN_TM_ENUM(name)
Definition: schemadef.h:26
unsigned short GLYPH
Definition: matrix.h:18
VALIGN
Definition: vssym32.h:68
Definition: parse.h:75
GLYPHFONTSIZINGTYPE
Definition: vssym32.h:123
#define TM_STATE(value, prefix, name)
Definition: schemadef.h:42
#define END_TM_ENUM()
Definition: schemadef.h:28
BORDERTYPE
Definition: vssym32.h:36
int32_t INT
Definition: typedefs.h:56
Definition: misc.c:279
const char SEPARATOR
Definition: arp.c:45
Definition: bidi.c:77
#define RAISED
Definition: PathResolve.cpp:78
HALIGN
Definition: vssym32.h:56
unsigned int BOOL
Definition: ntddk_ex.h:94
#define BEGIN_TM_PART_STATES(name)
Definition: schemadef.h:40
Definition: icm.h:104
#define TAB
Definition: text.c:109
#define TRANSPARENT
Definition: wingdi.h:949
CONTENTALIGNMENT
Definition: vssym32.h:62
TEXTSHADOWTYPE
Definition: vssym32.h:99
Definition: ntuser.h:533
Definition: cdmake.c:189
#define MS
Definition: i386-dis.c:442
ULONG OFFSET
Definition: nettypes.h:28
OFFSETTYPE
Definition: vssym32.h:74
#define COMBOBOX
Definition: pedump.c:586
IMAGESELECTTYPE
Definition: vssym32.h:111
GLYPHTYPE
Definition: vssym32.h:105
Definition: i386_sup.c:15
#define BEGIN_TM_CLASS_PARTS(name)
Definition: schemadef.h:35
#define BEGIN_TM_PROPS()
Definition: schemadef.h:30
#define STATUS
Definition: blue.h:128
#define END_TM_PART_STATES()
Definition: schemadef.h:43
#define END_TM_CLASS_PARTS()
Definition: schemadef.h:38
FILLTYPE
Definition: vssym32.h:42
std::wstring STRING
Definition: fontsub.cpp:33
ICONEFFECT
Definition: vssym32.h:91
#define SCROLLBAR
Definition: pedump.c:585
#define CP
Definition: debug.h:64
#define TEXT(s)
Definition: k32.h:26
#define BUTTON
Definition: pedump.c:581
#define EDIT
Definition: pedump.c:582
Definition: gs_support.c:34
#define DNS
Definition: options.h:36
#define TM_PART(value, prefix, name)
Definition: schemadef.h:37
#define HEIGHT
Definition: d3dtest.c:14
#define WIDTH
Definition: d3dtest.c:13
struct _ACPI_EFI_SYSTEM_TABLE * ST
#define END_TM_PROPS()
Definition: schemadef.h:33
#define ABS(a)
Definition: Base.h:710
#define COPYRIGHT
Definition: ver.h:24
#define GT(x, y)
Definition: priorityq.c:87
static const WCHAR MP[]
#define TM_PROP(value, prefix, name, type)
Definition: schemadef.h:32
Definition: i386_sup.c:12
#define VERSION
Definition: rdesktop.h:45
SIZINGTYPE
Definition: vssym32.h:50
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 NONE
Definition: afscript.h:258
#define BSS
Definition: mangle.h:153
Definition: i386bug.c:6