2 * Copyright (C) 2003 Kevin Koltzau
3 * Copyright (C) 2004 Francois Gouget
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_TMSCHEMA_H
21 #define __WINE_TMSCHEMA_H
23 #include <schemadef.h>
25 BEGIN_TM_SCHEMA(ThemeMgrSchema
)
28 /***** ENUMERATIONS *****/
32 TM_ENUM(0, BT
, IMAGEFILE
)
33 TM_ENUM(1, BT
, BORDERFILL
)
37 /* IMAGELAYOUT Enum */
38 BEGIN_TM_ENUM(IMAGELAYOUT
)
39 TM_ENUM(0, IL
, VERTICAL
)
40 TM_ENUM(1, IL
, HORIZONTAL
)
44 BEGIN_TM_ENUM(BORDERTYPE
)
46 TM_ENUM(1, BT
, ROUNDRECT
)
47 TM_ENUM(2, BT
, ELLIPSE
)
51 BEGIN_TM_ENUM(FILLTYPE
)
53 TM_ENUM(1, FT
, VERTGRADIENT
)
54 TM_ENUM(2, FT
, HORZGRADIENT
)
55 TM_ENUM(3, FT
, RADIALGRADIENT
)
56 TM_ENUM(4, FT
, TILEIMAGE
)
60 BEGIN_TM_ENUM(SIZINGTYPE
)
61 TM_ENUM(0, ST
, TRUESIZE
)
62 TM_ENUM(1, ST
, STRETCH
)
69 TM_ENUM(1, HA
, CENTER
)
73 /* CONTENTALIGNMENT Enum */
74 BEGIN_TM_ENUM(CONTENTALIGNMENT
)
76 TM_ENUM(1, CA
, CENTER
)
83 TM_ENUM(1, VA
, CENTER
)
84 TM_ENUM(2, VA
, BOTTOM
)
88 BEGIN_TM_ENUM(OFFSETTYPE
)
89 TM_ENUM(0, OT
, TOPLEFT
)
90 TM_ENUM(1, OT
, TOPRIGHT
)
91 TM_ENUM(2, OT
, TOPMIDDLE
)
92 TM_ENUM(3, OT
, BOTTOMLEFT
)
93 TM_ENUM(4, OT
, BOTTOMRIGHT
)
94 TM_ENUM(5, OT
, BOTTOMMIDDLE
)
95 TM_ENUM(6, OT
, MIDDLELEFT
)
96 TM_ENUM(7, OT
, MIDDLERIGHT
)
97 TM_ENUM(8, OT
, LEFTOFCAPTION
)
98 TM_ENUM(9, OT
, RIGHTOFCAPTION
)
99 TM_ENUM(10, OT
, LEFTOFLASTBUTTON
)
100 TM_ENUM(11, OT
, RIGHTOFLASTBUTTON
)
101 TM_ENUM(12, OT
, ABOVELASTBUTTON
)
102 TM_ENUM(13, OT
, BELOWLASTBUTTON
)
105 /* ICONEFFECT Enum */
106 BEGIN_TM_ENUM(ICONEFFECT
)
107 TM_ENUM(0, ICE
, NONE
)
108 TM_ENUM(1, ICE
, GLOW
)
109 TM_ENUM(2, ICE
, SHADOW
)
110 TM_ENUM(3, ICE
, PULSE
)
111 TM_ENUM(4, ICE
, ALPHA
)
114 /* TEXTSHADOWTYPE Enum */
115 BEGIN_TM_ENUM(TEXTSHADOWTYPE
)
116 TM_ENUM(0, TST
, NONE
)
117 TM_ENUM(1, TST
, SINGLE
)
118 TM_ENUM(2, TST
, CONTINUOUS
)
122 BEGIN_TM_ENUM(GLYPHTYPE
)
124 TM_ENUM(1, GT
, IMAGEGLYPH
)
125 TM_ENUM(2, GT
, FONTGLYPH
)
128 /* IMAGESELECTTYPE Enum */
129 BEGIN_TM_ENUM(IMAGESELECTTYPE
)
130 TM_ENUM(0, IST
, NONE
)
131 TM_ENUM(1, IST
, SIZE
)
135 /* TRUESIZESCALINGTYPE Enum */
136 BEGIN_TM_ENUM(TRUESIZESCALINGTYPE
)
137 TM_ENUM(0, TSST
, NONE
)
138 TM_ENUM(1, TSST
, SIZE
)
139 TM_ENUM(2, TSST
, DPI
)
142 /* GLYPHFONTSIZINGTYPE Enum */
143 BEGIN_TM_ENUM(GLYPHFONTSIZINGTYPE
)
144 TM_ENUM(0, GFST
, NONE
)
145 TM_ENUM(1, GFST
, SIZE
)
146 TM_ENUM(2, GFST
, DPI
)
150 /***** PROPERTIES *****/
153 /* Primitive types */
154 TM_PROP(201, TMT
, STRING
, STRING
)
155 TM_PROP(202, TMT
, INT
, INT
)
156 TM_PROP(203, TMT
, BOOL
, BOOL
)
157 TM_PROP(204, TMT
, COLOR
, COLOR
)
158 TM_PROP(205, TMT
, MARGINS
, MARGINS
)
159 TM_PROP(206, TMT
, FILENAME
, FILENAME
)
160 TM_PROP(207, TMT
, SIZE
, SIZE
)
161 TM_PROP(208, TMT
, POSITION
, POSITION
)
162 TM_PROP(209, TMT
, RECT
, RECT
)
163 TM_PROP(210, TMT
, FONT
, FONT
)
164 TM_PROP(211, TMT
, INTLIST
, INTLIST
)
165 /* we should have ENUM around here */
167 /* Misc properties */
168 TM_PROP(401, TMT
, COLORSCHEMES
, STRING
)
169 TM_PROP(402, TMT
, SIZES
, STRING
)
170 TM_PROP(403, TMT
, CHARSET
, INT
)
172 /* Documentation properties */
173 TM_PROP(601, TMT
, DISPLAYNAME
, STRING
)
174 TM_PROP(602, TMT
, TOOLTIP
, STRING
)
175 TM_PROP(603, TMT
, COMPANY
, STRING
)
176 TM_PROP(604, TMT
, AUTHOR
, STRING
)
177 TM_PROP(605, TMT
, COPYRIGHT
, STRING
)
178 TM_PROP(606, TMT
, URL
, STRING
)
179 TM_PROP(607, TMT
, VERSION
, STRING
)
180 TM_PROP(608, TMT
, DESCRIPTION
, STRING
)
181 # define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME
182 # define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION
184 /* Font theme metric properties */
185 TM_PROP(801, TMT
, CAPTIONFONT
, FONT
)
186 TM_PROP(802, TMT
, SMALLCAPTIONFONT
, FONT
)
187 TM_PROP(803, TMT
, MENUFONT
, FONT
)
188 TM_PROP(804, TMT
, STATUSFONT
, FONT
)
189 TM_PROP(805, TMT
, MSGBOXFONT
, FONT
)
190 TM_PROP(806, TMT
, ICONTITLEFONT
, FONT
)
191 TM_PROP(807, TMT
, HEADING1FONT
, FONT
)
192 TM_PROP(808, TMT
, HEADING2FONT
, FONT
)
193 TM_PROP(809, TMT
, BODYFONT
, FONT
)
194 # define TMT_FIRSTFONT TMT_CAPTIONFONT
195 # define TMT_LASTFONT TMT_BODYFONT
197 /* Bool theme metric properties */
198 TM_PROP(1001, TMT
, FLATMENUS
, BOOL
)
199 # define TMT_FIRSTBOOL TMT_FLATMENUS
200 # define TMT_LASTBOOL TMT_FLATMENUS
202 /* Size theme metric properties */
203 TM_PROP(1201, TMT
, SIZINGBORDERWIDTH
, SIZE
)
204 TM_PROP(1202, TMT
, SCROLLBARWIDTH
, SIZE
)
205 TM_PROP(1203, TMT
, SCROLLBARHEIGHT
, SIZE
)
206 TM_PROP(1204, TMT
, CAPTIONBARWIDTH
, SIZE
)
207 TM_PROP(1205, TMT
, CAPTIONBARHEIGHT
, SIZE
)
208 TM_PROP(1206, TMT
, SMCAPTIONBARWIDTH
, SIZE
)
209 TM_PROP(1207, TMT
, SMCAPTIONBARHEIGHT
, SIZE
)
210 TM_PROP(1208, TMT
, MENUBARWIDTH
, SIZE
)
211 TM_PROP(1209, TMT
, MENUBARHEIGHT
, SIZE
)
212 # define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH
213 # define TMT_LASTSIZE TMT_MENUBARHEIGHT
215 /* Int theme metric properties */
216 TM_PROP(1301, TMT
, MINCOLORDEPTH
, INT
)
217 # define TMT_FIRSTINT TMT_MINCOLORDEPTH
218 # define TMT_LASTINT TMT_MINCOLORDEPTH
220 /* String theme metric properties */
221 TM_PROP(1401, TMT
, CSSNAME
, STRING
)
222 TM_PROP(1402, TMT
, XMLNAME
, STRING
)
223 # define TMT_FIRSTSTRING TMT_CSSNAME
224 # define TMT_LASTSTRING TMT_XMLNAME
226 /* Color theme metric properties */
227 TM_PROP(1601, TMT
, SCROLLBAR
, COLOR
)
228 TM_PROP(1602, TMT
, BACKGROUND
, COLOR
)
229 TM_PROP(1603, TMT
, ACTIVECAPTION
, COLOR
)
230 TM_PROP(1604, TMT
, INACTIVECAPTION
, COLOR
)
231 TM_PROP(1605, TMT
, MENU
, COLOR
)
232 TM_PROP(1606, TMT
, WINDOW
, COLOR
)
233 TM_PROP(1607, TMT
, WINDOWFRAME
, COLOR
)
234 TM_PROP(1608, TMT
, MENUTEXT
, COLOR
)
235 TM_PROP(1609, TMT
, WINDOWTEXT
, COLOR
)
236 TM_PROP(1610, TMT
, CAPTIONTEXT
, COLOR
)
237 TM_PROP(1611, TMT
, ACTIVEBORDER
, COLOR
)
238 TM_PROP(1612, TMT
, INACTIVEBORDER
, COLOR
)
239 TM_PROP(1613, TMT
, APPWORKSPACE
, COLOR
)
240 TM_PROP(1614, TMT
, HIGHLIGHT
, COLOR
)
241 TM_PROP(1615, TMT
, HIGHLIGHTTEXT
, COLOR
)
242 TM_PROP(1616, TMT
, BTNFACE
, COLOR
)
243 TM_PROP(1617, TMT
, BTNSHADOW
, COLOR
)
244 TM_PROP(1618, TMT
, GRAYTEXT
, COLOR
)
245 TM_PROP(1619, TMT
, BTNTEXT
, COLOR
)
246 TM_PROP(1620, TMT
, INACTIVECAPTIONTEXT
, COLOR
)
247 TM_PROP(1621, TMT
, BTNHIGHLIGHT
, COLOR
)
248 TM_PROP(1622, TMT
, DKSHADOW3D
, COLOR
)
249 TM_PROP(1623, TMT
, LIGHT3D
, COLOR
)
250 TM_PROP(1624, TMT
, INFOTEXT
, COLOR
)
251 TM_PROP(1625, TMT
, INFOBK
, COLOR
)
252 TM_PROP(1626, TMT
, BUTTONALTERNATEFACE
, COLOR
)
253 TM_PROP(1627, TMT
, HOTTRACKING
, COLOR
)
254 TM_PROP(1628, TMT
, GRADIENTACTIVECAPTION
, COLOR
)
255 TM_PROP(1629, TMT
, GRADIENTINACTIVECAPTION
, COLOR
)
256 TM_PROP(1630, TMT
, MENUHILIGHT
, COLOR
)
257 TM_PROP(1631, TMT
, MENUBAR
, COLOR
)
258 # define TMT_FIRSTCOLOR TMT_SCROLLBAR
259 # define TMT_LASTCOLOR TMT_MENUBAR
261 /* hue substitutions */
262 TM_PROP(1801, TMT
, FROMHUE1
, INT
)
263 TM_PROP(1802, TMT
, FROMHUE2
, INT
)
264 TM_PROP(1803, TMT
, FROMHUE3
, INT
)
265 TM_PROP(1804, TMT
, FROMHUE4
, INT
)
266 TM_PROP(1805, TMT
, FROMHUE5
, INT
)
267 TM_PROP(1806, TMT
, TOHUE1
, INT
)
268 TM_PROP(1807, TMT
, TOHUE2
, INT
)
269 TM_PROP(1808, TMT
, TOHUE3
, INT
)
270 TM_PROP(1809, TMT
, TOHUE4
, INT
)
271 TM_PROP(1810, TMT
, TOHUE5
, INT
)
273 /* color substitutions */
274 TM_PROP(2001, TMT
, FROMCOLOR1
, COLOR
)
275 TM_PROP(2002, TMT
, FROMCOLOR2
, COLOR
)
276 TM_PROP(2003, TMT
, FROMCOLOR3
, COLOR
)
277 TM_PROP(2004, TMT
, FROMCOLOR4
, COLOR
)
278 TM_PROP(2005, TMT
, FROMCOLOR5
, COLOR
)
279 TM_PROP(2006, TMT
, TOCOLOR1
, COLOR
)
280 TM_PROP(2007, TMT
, TOCOLOR2
, COLOR
)
281 TM_PROP(2008, TMT
, TOCOLOR3
, COLOR
)
282 TM_PROP(2009, TMT
, TOCOLOR4
, COLOR
)
283 TM_PROP(2010, TMT
, TOCOLOR5
, COLOR
)
285 /* Bool rendering properties */
286 TM_PROP(2201, TMT
, TRANSPARENT
, BOOL
)
287 TM_PROP(2202, TMT
, AUTOSIZE
, BOOL
)
288 TM_PROP(2203, TMT
, BORDERONLY
, BOOL
)
289 TM_PROP(2204, TMT
, COMPOSITED
, BOOL
)
290 TM_PROP(2205, TMT
, BGFILL
, BOOL
)
291 TM_PROP(2206, TMT
, GLYPHTRANSPARENT
, BOOL
)
292 TM_PROP(2207, TMT
, GLYPHONLY
, BOOL
)
293 TM_PROP(2208, TMT
, ALWAYSSHOWSIZINGBAR
, BOOL
)
294 TM_PROP(2209, TMT
, MIRRORIMAGE
, BOOL
)
295 TM_PROP(2210, TMT
, UNIFORMSIZING
, BOOL
)
296 TM_PROP(2211, TMT
, INTEGRALSIZING
, BOOL
)
297 TM_PROP(2212, TMT
, SOURCEGROW
, BOOL
)
298 TM_PROP(2213, TMT
, SOURCESHRINK
, BOOL
)
300 /* Int rendering properties */
301 TM_PROP(2401, TMT
, IMAGECOUNT
, INT
)
302 TM_PROP(2402, TMT
, ALPHALEVEL
, INT
)
303 TM_PROP(2403, TMT
, BORDERSIZE
, INT
)
304 TM_PROP(2404, TMT
, ROUNDCORNERWIDTH
, INT
)
305 TM_PROP(2405, TMT
, ROUNDCORNERHEIGHT
, INT
)
306 TM_PROP(2406, TMT
, GRADIENTRATIO1
, INT
)
307 TM_PROP(2407, TMT
, GRADIENTRATIO2
, INT
)
308 TM_PROP(2408, TMT
, GRADIENTRATIO3
, INT
)
309 TM_PROP(2409, TMT
, GRADIENTRATIO4
, INT
)
310 TM_PROP(2410, TMT
, GRADIENTRATIO5
, INT
)
311 TM_PROP(2411, TMT
, PROGRESSCHUNKSIZE
, INT
)
312 TM_PROP(2412, TMT
, PROGRESSSPACESIZE
, INT
)
313 TM_PROP(2413, TMT
, SATURATION
, INT
)
314 TM_PROP(2414, TMT
, TEXTBORDERSIZE
, INT
)
315 TM_PROP(2415, TMT
, ALPHATHRESHOLD
, INT
)
316 TM_PROP(2416, TMT
, WIDTH
, SIZE
)
317 TM_PROP(2417, TMT
, HEIGHT
, SIZE
)
318 TM_PROP(2418, TMT
, GLYPHINDEX
, INT
)
319 TM_PROP(2419, TMT
, TRUESIZESTRETCHMARK
, INT
)
320 TM_PROP(2420, TMT
, MINDPI1
, INT
)
321 TM_PROP(2421, TMT
, MINDPI2
, INT
)
322 TM_PROP(2422, TMT
, MINDPI3
, INT
)
323 TM_PROP(2423, TMT
, MINDPI4
, INT
)
324 TM_PROP(2424, TMT
, MINDPI5
, INT
)
326 /* Font rendering properties */
327 TM_PROP(2601, TMT
, GLYPHFONT
, FONT
)
329 /* Filename rendering properties */
330 TM_PROP(3001, TMT
, IMAGEFILE
, FILENAME
)
331 TM_PROP(3002, TMT
, IMAGEFILE1
, FILENAME
)
332 TM_PROP(3003, TMT
, IMAGEFILE2
, FILENAME
)
333 TM_PROP(3004, TMT
, IMAGEFILE3
, FILENAME
)
334 TM_PROP(3005, TMT
, IMAGEFILE4
, FILENAME
)
335 TM_PROP(3006, TMT
, IMAGEFILE5
, FILENAME
)
336 TM_PROP(3007, TMT
, STOCKIMAGEFILE
, FILENAME
)
337 TM_PROP(3008, TMT
, GLYPHIMAGEFILE
, FILENAME
)
339 /* String rendering properties */
340 TM_PROP(3201, TMT
, TEXT
, STRING
)
342 /* Position rendering properties */
343 TM_PROP(3401, TMT
, OFFSET
, POSITION
)
344 TM_PROP(3402, TMT
, TEXTSHADOWOFFSET
, POSITION
)
345 TM_PROP(3403, TMT
, MINSIZE
, POSITION
)
346 TM_PROP(3404, TMT
, MINSIZE1
, POSITION
)
347 TM_PROP(3405, TMT
, MINSIZE2
, POSITION
)
348 TM_PROP(3406, TMT
, MINSIZE3
, POSITION
)
349 TM_PROP(3407, TMT
, MINSIZE4
, POSITION
)
350 TM_PROP(3408, TMT
, MINSIZE5
, POSITION
)
351 TM_PROP(3409, TMT
, NORMALSIZE
, POSITION
)
353 /* Margin rendering properties */
354 TM_PROP(3601, TMT
, SIZINGMARGINS
, MARGINS
)
355 TM_PROP(3602, TMT
, CONTENTMARGINS
, MARGINS
)
356 TM_PROP(3603, TMT
, CAPTIONMARGINS
, MARGINS
)
358 /* Color rendering properties */
359 TM_PROP(3801, TMT
, BORDERCOLOR
, COLOR
)
360 TM_PROP(3802, TMT
, FILLCOLOR
, COLOR
)
361 TM_PROP(3803, TMT
, TEXTCOLOR
, COLOR
)
362 TM_PROP(3804, TMT
, EDGELIGHTCOLOR
, COLOR
)
363 TM_PROP(3805, TMT
, EDGEHIGHLIGHTCOLOR
, COLOR
)
364 TM_PROP(3806, TMT
, EDGESHADOWCOLOR
, COLOR
)
365 TM_PROP(3807, TMT
, EDGEDKSHADOWCOLOR
, COLOR
)
366 TM_PROP(3808, TMT
, EDGEFILLCOLOR
, COLOR
)
367 TM_PROP(3809, TMT
, TRANSPARENTCOLOR
, COLOR
)
368 TM_PROP(3810, TMT
, GRADIENTCOLOR1
, COLOR
)
369 TM_PROP(3811, TMT
, GRADIENTCOLOR2
, COLOR
)
370 TM_PROP(3812, TMT
, GRADIENTCOLOR3
, COLOR
)
371 TM_PROP(3813, TMT
, GRADIENTCOLOR4
, COLOR
)
372 TM_PROP(3814, TMT
, GRADIENTCOLOR5
, COLOR
)
373 TM_PROP(3815, TMT
, SHADOWCOLOR
, COLOR
)
374 TM_PROP(3816, TMT
, GLOWCOLOR
, COLOR
)
375 TM_PROP(3817, TMT
, TEXTBORDERCOLOR
, COLOR
)
376 TM_PROP(3818, TMT
, TEXTSHADOWCOLOR
, COLOR
)
377 TM_PROP(3819, TMT
, GLYPHTEXTCOLOR
, COLOR
)
378 TM_PROP(3820, TMT
, GLYPHTRANSPARENTCOLOR
, COLOR
)
379 TM_PROP(3821, TMT
, FILLCOLORHINT
, COLOR
)
380 TM_PROP(3822, TMT
, BORDERCOLORHINT
, COLOR
)
381 TM_PROP(3823, TMT
, ACCENTCOLORHINT
, COLOR
)
383 /* Enum rendering properties */
384 TM_PROP(4001, TMT
, BGTYPE
, ENUM
)
385 TM_PROP(4002, TMT
, BORDERTYPE
, ENUM
)
386 TM_PROP(4003, TMT
, FILLTYPE
, ENUM
)
387 TM_PROP(4004, TMT
, SIZINGTYPE
, ENUM
)
388 TM_PROP(4005, TMT
, HALIGN
, ENUM
)
389 TM_PROP(4006, TMT
, CONTENTALIGNMENT
, ENUM
)
390 TM_PROP(4007, TMT
, VALIGN
, ENUM
)
391 TM_PROP(4008, TMT
, OFFSETTYPE
, ENUM
)
392 TM_PROP(4009, TMT
, ICONEFFECT
, ENUM
)
393 TM_PROP(4010, TMT
, TEXTSHADOWTYPE
, ENUM
)
394 TM_PROP(4011, TMT
, IMAGELAYOUT
, ENUM
)
395 TM_PROP(4012, TMT
, GLYPHTYPE
, ENUM
)
396 TM_PROP(4013, TMT
, IMAGESELECTTYPE
, ENUM
)
397 TM_PROP(4014, TMT
, GLYPHFONTSIZINGTYPE
, ENUM
)
398 TM_PROP(4015, TMT
, TRUESIZESCALINGTYPE
, ENUM
)
400 /* custom properties */
401 TM_PROP(5001, TMT
, USERPICTURE
, BOOL
)
402 TM_PROP(5002, TMT
, DEFAULTPANESIZE
, RECT
)
403 TM_PROP(5003, TMT
, BLENDCOLOR
, COLOR
)
408 /***** PARTS & STATES *****/
411 BEGIN_TM_CLASS_PARTS(BUTTON
)
412 TM_PART(1, BP
, PUSHBUTTON
)
413 TM_PART(2, BP
, RADIOBUTTON
)
414 TM_PART(3, BP
, CHECKBOX
)
415 TM_PART(4, BP
, GROUPBOX
)
416 TM_PART(5, BP
, USERBUTTON
)
417 TM_PART(6, BP
, COMMANDLINK
)
418 TM_PART(7, BP
, COMMANDLINKGLYPH
)
421 /* BUTTON - PUSHBUTTON states */
422 BEGIN_TM_PART_STATES(PUSHBUTTON
)
423 TM_STATE(1, PBS
, NORMAL
)
424 TM_STATE(2, PBS
, HOT
)
425 TM_STATE(3, PBS
, PRESSED
)
426 TM_STATE(4, PBS
, DISABLED
)
427 TM_STATE(5, PBS
, DEFAULTED
)
430 /* BUTTON - RADIOBUTTON states */
431 BEGIN_TM_PART_STATES(RADIOBUTTON
)
432 TM_STATE(1, RBS
, UNCHECKEDNORMAL
)
433 TM_STATE(2, RBS
, UNCHECKEDHOT
)
434 TM_STATE(3, RBS
, UNCHECKEDPRESSED
)
435 TM_STATE(4, RBS
, UNCHECKEDDISABLED
)
436 TM_STATE(5, RBS
, CHECKEDNORMAL
)
437 TM_STATE(6, RBS
, CHECKEDHOT
)
438 TM_STATE(7, RBS
, CHECKEDPRESSED
)
439 TM_STATE(8, RBS
, CHECKEDDISABLED
)
442 /* BUTTON - CHECKBOX states */
443 BEGIN_TM_PART_STATES(CHECKBOX
)
444 TM_STATE(1, CBS
, UNCHECKEDNORMAL
)
445 TM_STATE(2, CBS
, UNCHECKEDHOT
)
446 TM_STATE(3, CBS
, UNCHECKEDPRESSED
)
447 TM_STATE(4, CBS
, UNCHECKEDDISABLED
)
448 TM_STATE(5, CBS
, CHECKEDNORMAL
)
449 TM_STATE(6, CBS
, CHECKEDHOT
)
450 TM_STATE(7, CBS
, CHECKEDPRESSED
)
451 TM_STATE(8, CBS
, CHECKEDDISABLED
)
452 TM_STATE(9, CBS
, MIXEDNORMAL
)
453 TM_STATE(10, CBS
, MIXEDHOT
)
454 TM_STATE(11, CBS
, MIXEDPRESSED
)
455 TM_STATE(12, CBS
, MIXEDDISABLED
)
458 /* BUTTON - GROUPBOX states */
459 BEGIN_TM_PART_STATES(GROUPBOX
)
460 TM_STATE(1, GBS
, NORMAL
)
461 TM_STATE(2, GBS
, DISABLED
)
464 /* BUTTON - COMMANDLINK states */
465 BEGIN_TM_PART_STATES(COMMANDLINK
)
466 TM_STATE(1, CMDLS
, NORMAL
)
467 TM_STATE(2, CMDLS
, HOT
)
468 TM_STATE(3, CMDLS
, PRESSED
)
469 TM_STATE(4, CMDLS
, DISABLED
)
470 TM_STATE(5, CMDLS
, DEFAULTED
)
471 TM_STATE(6, CMDLS
, DEFAULTED_ANIMATING
)
474 /* BUTTON - COMMANDLINKGLYPH states */
475 BEGIN_TM_PART_STATES(COMMANDLINKGLYPH
)
476 TM_STATE(1, CMDLGS
, NORMAL
)
477 TM_STATE(2, CMDLGS
, HOT
)
478 TM_STATE(3, CMDLGS
, PRESSED
)
479 TM_STATE(4, CMDLGS
, DISABLED
)
480 TM_STATE(5, CMDLGS
, DEFAULTED
)
484 BEGIN_TM_CLASS_PARTS(CLOCK
)
485 TM_PART(1, CLP
, TIME
)
489 BEGIN_TM_PART_STATES(CLOCK
)
490 TM_STATE(1, CLS
, NORMAL
)
494 BEGIN_TM_CLASS_PARTS(COMBOBOX
)
495 TM_PART(1, CP
, DROPDOWNBUTTON
)
498 /* COMBOBOX states */
499 BEGIN_TM_PART_STATES(COMBOBOX
)
500 TM_STATE(1, CBXS
, NORMAL
)
501 TM_STATE(2, CBXS
, HOT
)
502 TM_STATE(3, CBXS
, PRESSED
)
503 TM_STATE(4, CBXS
, DISABLED
)
507 BEGIN_TM_CLASS_PARTS(EDIT
)
508 TM_PART(1, EP
, EDITTEXT
)
509 TM_PART(2, EP
, CARET
)
512 /* EDIT - EDITTEXT states */
513 BEGIN_TM_PART_STATES(EDITTEXT
)
514 TM_STATE(1, ETS
, NORMAL
)
515 TM_STATE(2, ETS
, HOT
)
516 TM_STATE(3, ETS
, SELECTED
)
517 TM_STATE(4, ETS
, DISABLED
)
518 TM_STATE(5, ETS
, FOCUSED
)
519 TM_STATE(6, ETS
, READONLY
)
520 TM_STATE(7, ETS
, ASSIST
)
523 /* EXPLORERBAR parts */
524 BEGIN_TM_CLASS_PARTS(EXPLORERBAR
)
525 TM_PART(1, EBP
, HEADERBACKGROUND
)
526 TM_PART(2, EBP
, HEADERCLOSE
)
527 TM_PART(3, EBP
, HEADERPIN
)
528 TM_PART(4, EBP
, IEBARMENU
)
529 TM_PART(5, EBP
, NORMALGROUPBACKGROUND
)
530 TM_PART(6, EBP
, NORMALGROUPCOLLAPSE
)
531 TM_PART(7, EBP
, NORMALGROUPEXPAND
)
532 TM_PART(8, EBP
, NORMALGROUPHEAD
)
533 TM_PART(9, EBP
, SPECIALGROUPBACKGROUND
)
534 TM_PART(10, EBP
, SPECIALGROUPCOLLAPSE
)
535 TM_PART(11, EBP
, SPECIALGROUPEXPAND
)
536 TM_PART(12, EBP
, SPECIALGROUPHEAD
)
539 /* EXPLORERBAR - HEADERCLOSE states */
540 BEGIN_TM_PART_STATES(HEADERCLOSE
)
541 TM_STATE(1, EBHC
, NORMAL
)
542 TM_STATE(2, EBHC
, HOT
)
543 TM_STATE(3, EBHC
, PRESSED
)
546 /* EXPLORERBAR - HEADERPIN states */
547 BEGIN_TM_PART_STATES(HEADERPIN
)
548 TM_STATE(1, EBHP
, NORMAL
)
549 TM_STATE(2, EBHP
, HOT
)
550 TM_STATE(3, EBHP
, PRESSED
)
551 TM_STATE(4, EBHP
, SELECTEDNORMAL
)
552 TM_STATE(5, EBHP
, SELECTEDHOT
)
553 TM_STATE(6, EBHP
, SELECTEDPRESSED
)
556 /* EXPLORERBAR - IEBARMENU states */
557 BEGIN_TM_PART_STATES(IEBARMENU
)
558 TM_STATE(1, EBM
, NORMAL
)
559 TM_STATE(2, EBM
, HOT
)
560 TM_STATE(3, EBM
, PRESSED
)
563 /* EXPLORERBAR - NORMALGROUPCOLLAPSE states */
564 BEGIN_TM_PART_STATES(NORMALGROUPCOLLAPSE
)
565 TM_STATE(1, EBNGC
, NORMAL
)
566 TM_STATE(2, EBNGC
, HOT
)
567 TM_STATE(3, EBNGC
, PRESSED
)
570 /* EXPLORERBAR - NORMALGROUPEXPAND states */
571 BEGIN_TM_PART_STATES(NORMALGROUPEXPAND
)
572 TM_STATE(1, EBNGE
, NORMAL
)
573 TM_STATE(2, EBNGE
, HOT
)
574 TM_STATE(3, EBNGE
, PRESSED
)
577 /* EXPLORERBAR - SPECIALGROUPCOLLAPSE states */
578 BEGIN_TM_PART_STATES(SPECIALGROUPCOLLAPSE
)
579 TM_STATE(1, EBSGC
, NORMAL
)
580 TM_STATE(2, EBSGC
, HOT
)
581 TM_STATE(3, EBSGC
, PRESSED
)
584 /* EXPLORERBAR - SPECIALGROUPEXPAND states */
585 BEGIN_TM_PART_STATES(SPECIALGROUPEXPAND
)
586 TM_STATE(1, EBSGE
, NORMAL
)
587 TM_STATE(2, EBSGE
, HOT
)
588 TM_STATE(3, EBSGE
, PRESSED
)
592 BEGIN_TM_CLASS_PARTS(GLOBALS
)
593 TM_PART(1, GP
, BORDER
)
594 TM_PART(2, GP
, LINEHORZ
)
595 TM_PART(3, GP
, LINEVERT
)
598 /* GLOBALS - BORDER states */
599 BEGIN_TM_PART_STATES(BORDER
)
600 TM_STATE(1, BSS
, FLAT
)
601 TM_STATE(2, BSS
, RAISED
)
602 TM_STATE(3, BSS
, SUNKEN
)
605 /* GLOBALS - LINEHORZ states */
606 BEGIN_TM_PART_STATES(LINEHORZ
)
607 TM_STATE(1, LHS
, FLAT
)
608 TM_STATE(2, LHS
, RAISED
)
609 TM_STATE(3, LHS
, SUNKEN
)
612 /* GLOBAL - LINEVERT states */
613 BEGIN_TM_PART_STATES(LINEVERT
)
614 TM_STATE(1, LVS
, FLAT
)
615 TM_STATE(2, LVS
, RAISED
)
616 TM_STATE(3, LVS
, SUNKEN
)
620 BEGIN_TM_CLASS_PARTS(HEADER
)
621 TM_PART(1, HP
, HEADERITEM
)
622 TM_PART(2, HP
, HEADERITEMLEFT
)
623 TM_PART(3, HP
, HEADERITEMRIGHT
)
624 TM_PART(4, HP
, HEADERSORTARROW
)
627 /* HEADER - HEADERITEM states */
628 BEGIN_TM_PART_STATES(HEADERITEM
)
629 TM_STATE(1, HIS
, NORMAL
)
630 TM_STATE(2, HIS
, HOT
)
631 TM_STATE(3, HIS
, PRESSED
)
634 /* HEADER - HEADERITEMLEFT states */
635 BEGIN_TM_PART_STATES(HEADERITEMLEFT
)
636 TM_STATE(1, HILS
, NORMAL
)
637 TM_STATE(2, HILS
, HOT
)
638 TM_STATE(3, HILS
, PRESSED
)
641 /* HEADER - HEADERITEMRIGHT states */
642 BEGIN_TM_PART_STATES(HEADERITEMRIGHT
)
643 TM_STATE(1, HIRS
, NORMAL
)
644 TM_STATE(2, HIRS
, HOT
)
645 TM_STATE(3, HIRS
, PRESSED
)
648 /* HEADER - HEADERSORTARROW states */
649 BEGIN_TM_PART_STATES(HEADERSORTARROW
)
650 TM_STATE(1, HSAS
, SORTEDUP
)
651 TM_STATE(2, HSAS
, SORTEDDOWN
)
655 BEGIN_TM_CLASS_PARTS(LISTVIEW
)
656 TM_PART(1, LVP
, LISTITEM
)
657 TM_PART(2, LVP
, LISTGROUP
)
658 TM_PART(3, LVP
, LISTDETAIL
)
659 TM_PART(4, LVP
, LISTSORTEDDETAIL
)
660 TM_PART(5, LVP
, EMPTYTEXT
)
663 /* LISTVIEW - LISTITEM states */
664 BEGIN_TM_PART_STATES(LISTITEM
)
665 TM_STATE(1, LIS
, NORMAL
)
666 TM_STATE(2, LIS
, HOT
)
667 TM_STATE(3, LIS
, SELECTED
)
668 TM_STATE(4, LIS
, DISABLED
)
669 TM_STATE(5, LIS
, SELECTEDNOTFOCUS
)
673 BEGIN_TM_CLASS_PARTS(MENU
)
674 TM_PART(1, MP
, MENUITEM
)
675 TM_PART(2, MP
, MENUDROPDOWN
)
676 TM_PART(3, MP
, MENUBARITEM
)
677 TM_PART(4, MP
, MENUBARDROPDOWN
)
678 TM_PART(5, MP
, CHEVRON
)
679 TM_PART(6, MP
, SEPARATOR
)
682 /* MENU - * states */
683 BEGIN_TM_PART_STATES(MENU
)
684 TM_STATE(1, MS
, NORMAL
)
685 TM_STATE(2, MS
, SELECTED
)
686 TM_STATE(3, MS
, DEMOTED
)
690 BEGIN_TM_CLASS_PARTS(MENUBAND
)
691 TM_PART(1, MDP
, NEWAPPBUTTON
)
692 /* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
693 TM_PART(2, MDP
, SEPERATOR
)
696 /* MENUBAND states */
697 BEGIN_TM_PART_STATES(MENUBAND
)
698 TM_STATE(1, MDS
, NORMAL
)
699 TM_STATE(2, MDS
, HOT
)
700 TM_STATE(3, MDS
, PRESSED
)
701 TM_STATE(4, MDS
, DISABLED
)
702 TM_STATE(5, MDS
, CHECKED
)
703 TM_STATE(6, MDS
, HOTCHECKED
)
707 BEGIN_TM_CLASS_PARTS(PAGE
)
709 TM_PART(2, PGRP
, DOWN
)
710 TM_PART(3, PGRP
, UPHORZ
)
711 TM_PART(4, PGRP
, DOWNHORZ
)
714 /* PAGE - UP states */
715 BEGIN_TM_PART_STATES(UP
)
716 TM_STATE(1, UPS
, NORMAL
)
717 TM_STATE(2, UPS
, HOT
)
718 TM_STATE(3, UPS
, PRESSED
)
719 TM_STATE(4, UPS
, DISABLED
)
722 /* PAGE - DOWN states */
723 BEGIN_TM_PART_STATES(DOWN
)
724 TM_STATE(1, DNS
, NORMAL
)
725 TM_STATE(2, DNS
, HOT
)
726 TM_STATE(3, DNS
, PRESSED
)
727 TM_STATE(4, DNS
, DISABLED
)
730 /* PAGE - UPHORZ states */
731 BEGIN_TM_PART_STATES(UPHORZ
)
732 TM_STATE(1, UPHZS
, NORMAL
)
733 TM_STATE(2, UPHZS
, HOT
)
734 TM_STATE(3, UPHZS
, PRESSED
)
735 TM_STATE(4, UPHZS
, DISABLED
)
738 /* PAGE - DOWNHORZ states */
739 BEGIN_TM_PART_STATES(DOWNHORZ
)
740 TM_STATE(1, DNHZS
, NORMAL
)
741 TM_STATE(2, DNHZS
, HOT
)
742 TM_STATE(3, DNHZS
, PRESSED
)
743 TM_STATE(4, DNHZS
, DISABLED
)
747 BEGIN_TM_CLASS_PARTS(PROGRESS
)
749 TM_PART(2, PP
, BARVERT
)
750 TM_PART(3, PP
, CHUNK
)
751 TM_PART(4, PP
, CHUNKVERT
)
755 BEGIN_TM_CLASS_PARTS(REBAR
)
756 TM_PART(1, RP
, GRIPPER
)
757 TM_PART(2, RP
, GRIPPERVERT
)
759 TM_PART(4, RP
, CHEVRON
)
760 TM_PART(5, RP
, CHEVRONVERT
)
763 /* REBAR - CHEVRON states */
764 BEGIN_TM_PART_STATES(CHEVRON
)
765 TM_STATE(1, CHEVS
, NORMAL
)
766 TM_STATE(2, CHEVS
, HOT
)
767 TM_STATE(3, CHEVS
, PRESSED
)
770 /* SCROLLBAR parts */
771 BEGIN_TM_CLASS_PARTS(SCROLLBAR
)
772 TM_PART(1, SBP
, ARROWBTN
)
773 TM_PART(2, SBP
, THUMBBTNHORZ
)
774 TM_PART(3, SBP
, THUMBBTNVERT
)
775 TM_PART(4, SBP
, LOWERTRACKHORZ
)
776 TM_PART(5, SBP
, UPPERTRACKHORZ
)
777 TM_PART(6, SBP
, LOWERTRACKVERT
)
778 TM_PART(7, SBP
, UPPERTRACKVERT
)
779 TM_PART(8, SBP
, GRIPPERHORZ
)
780 TM_PART(9, SBP
, GRIPPERVERT
)
781 TM_PART(10, SBP
, SIZEBOX
)
784 /* SCROLLBAR - ARROWBTN states */
785 BEGIN_TM_PART_STATES(ARROWBTN
)
786 TM_STATE(1, ABS
, UPNORMAL
)
787 TM_STATE(2, ABS
, UPHOT
)
788 TM_STATE(3, ABS
, UPPRESSED
)
789 TM_STATE(4, ABS
, UPDISABLED
)
790 TM_STATE(5, ABS
, DOWNNORMAL
)
791 TM_STATE(6, ABS
, DOWNHOT
)
792 TM_STATE(7, ABS
, DOWNPRESSED
)
793 TM_STATE(8, ABS
, DOWNDISABLED
)
794 TM_STATE(9, ABS
, LEFTNORMAL
)
795 TM_STATE(10, ABS
, LEFTHOT
)
796 TM_STATE(11, ABS
, LEFTPRESSED
)
797 TM_STATE(12, ABS
, LEFTDISABLED
)
798 TM_STATE(13, ABS
, RIGHTNORMAL
)
799 TM_STATE(14, ABS
, RIGHTHOT
)
800 TM_STATE(15, ABS
, RIGHTPRESSED
)
801 TM_STATE(16, ABS
, RIGHTDISABLED
)
804 /* SCROLLBAR - LOWER* / THUMB* / UPPER* states */
805 BEGIN_TM_PART_STATES(SCROLLBAR
)
806 TM_STATE(1, SCRBS
, NORMAL
)
807 TM_STATE(2, SCRBS
, HOT
)
808 TM_STATE(3, SCRBS
, PRESSED
)
809 TM_STATE(4, SCRBS
, DISABLED
)
812 /* SCROLLBAR - SIZEBOX states */
813 BEGIN_TM_PART_STATES(SIZEBOX
)
814 TM_STATE(1, SZB
, RIGHTALIGN
)
815 TM_STATE(2, SZB
, LEFTALIGN
)
819 BEGIN_TM_CLASS_PARTS(SPIN
)
821 TM_PART(2, SPNP
, DOWN
)
822 TM_PART(3, SPNP
, UPHORZ
)
823 TM_PART(4, SPNP
, DOWNHORZ
)
827 /* See PAGE states */
829 /* STARTPANEL parts */
830 BEGIN_TM_CLASS_PARTS(STARTPANEL
)
831 TM_PART(1, SPP
, USERPANE
)
832 TM_PART(2, SPP
, MOREPROGRAMS
)
833 TM_PART(3, SPP
, MOREPROGRAMSARROW
)
834 TM_PART(4, SPP
, PROGLIST
)
835 TM_PART(5, SPP
, PROGLISTSEPARATOR
)
836 TM_PART(6, SPP
, PLACESLIST
)
837 TM_PART(7, SPP
, PLACESLISTSEPARATOR
)
838 TM_PART(8, SPP
, LOGOFF
)
839 TM_PART(9, SPP
, LOGOFFBUTTONS
)
840 TM_PART(10, SPP
, USERPICTURE
)
841 TM_PART(11, SPP
, PREVIEW
)
844 /* STARTPANEL - MOREPROGRAMSARROW states */
845 BEGIN_TM_PART_STATES(MOREPROGRAMSARROW
)
846 TM_STATE(1, SPS
, NORMAL
)
847 TM_STATE(2, SPS
, HOT
)
848 TM_STATE(3, SPS
, PRESSED
)
851 /* STARTPANEL - LOGOFFBUTTONS states */
852 BEGIN_TM_PART_STATES(LOGOFFBUTTONS
)
853 TM_STATE(1, SPLS
, NORMAL
)
854 TM_STATE(2, SPLS
, HOT
)
855 TM_STATE(3, SPLS
, PRESSED
)
859 BEGIN_TM_CLASS_PARTS(STATUS
)
861 TM_PART(2, SP
, GRIPPERPANE
)
862 TM_PART(3, SP
, GRIPPER
)
866 BEGIN_TM_CLASS_PARTS(TAB
)
867 TM_PART(1, TABP
, TABITEM
)
868 TM_PART(2, TABP
, TABITEMLEFTEDGE
)
869 TM_PART(3, TABP
, TABITEMRIGHTEDGE
)
870 TM_PART(4, TABP
, TABITEMBOTHEDGE
)
871 TM_PART(5, TABP
, TOPTABITEM
)
872 TM_PART(6, TABP
, TOPTABITEMLEFTEDGE
)
873 TM_PART(7, TABP
, TOPTABITEMRIGHTEDGE
)
874 TM_PART(8, TABP
, TOPTABITEMBOTHEDGE
)
875 TM_PART(9, TABP
, PANE
)
876 TM_PART(10, TABP
, BODY
)
879 /* TAB - TABITEM states */
880 BEGIN_TM_PART_STATES(TABITEM
)
881 TM_STATE(1, TIS
, NORMAL
)
882 TM_STATE(2, TIS
, HOT
)
883 TM_STATE(3, TIS
, SELECTED
)
884 TM_STATE(4, TIS
, DISABLED
)
885 TM_STATE(5, TIS
, FOCUSED
)
888 /* TAB - TABITEMLEFTEDGE states */
889 BEGIN_TM_PART_STATES(TABITEMLEFTEDGE
)
890 TM_STATE(1, TILES
, NORMAL
)
891 TM_STATE(2, TILES
, HOT
)
892 TM_STATE(3, TILES
, SELECTED
)
893 TM_STATE(4, TILES
, DISABLED
)
894 TM_STATE(5, TILES
, FOCUSED
)
897 /* TAB - TABITEMRIGHTEDGE states */
898 BEGIN_TM_PART_STATES(TABITEMRIGHTEDGE
)
899 TM_STATE(1, TIRES
, NORMAL
)
900 TM_STATE(2, TIRES
, HOT
)
901 TM_STATE(3, TIRES
, SELECTED
)
902 TM_STATE(4, TIRES
, DISABLED
)
903 TM_STATE(5, TIRES
, FOCUSED
)
906 /* TAB - TABITEMBOTHEDGES states */
907 BEGIN_TM_PART_STATES(TABITEMBOTHEDGES
)
908 TM_STATE(1, TIBES
, NORMAL
)
909 TM_STATE(2, TIBES
, HOT
)
910 TM_STATE(3, TIBES
, SELECTED
)
911 TM_STATE(4, TIBES
, DISABLED
)
912 TM_STATE(5, TIBES
, FOCUSED
)
915 /* TAB - TOPTABITEM states */
916 BEGIN_TM_PART_STATES(TOPTABITEM
)
917 TM_STATE(1, TTIS
, NORMAL
)
918 TM_STATE(2, TTIS
, HOT
)
919 TM_STATE(3, TTIS
, SELECTED
)
920 TM_STATE(4, TTIS
, DISABLED
)
921 TM_STATE(5, TTIS
, FOCUSED
)
924 /* TAB - TOPTABITEMLEFTEDGE states */
925 BEGIN_TM_PART_STATES(TOPTABITEMLEFTEDGE
)
926 TM_STATE(1, TTILES
, NORMAL
)
927 TM_STATE(2, TTILES
, HOT
)
928 TM_STATE(3, TTILES
, SELECTED
)
929 TM_STATE(4, TTILES
, DISABLED
)
930 TM_STATE(5, TTILES
, FOCUSED
)
933 /* TAB - TOPTABITEMRIGHTEDGE states */
934 BEGIN_TM_PART_STATES(TOPTABITEMRIGHTEDGE
)
935 TM_STATE(1, TTIRES
, NORMAL
)
936 TM_STATE(2, TTIRES
, HOT
)
937 TM_STATE(3, TTIRES
, SELECTED
)
938 TM_STATE(4, TTIRES
, DISABLED
)
939 TM_STATE(5, TTIRES
, FOCUSED
)
942 /* TAB - TOPTABITEMBOTHEDGES states */
943 BEGIN_TM_PART_STATES(TOPTABITEMBOTHEDGES
)
944 TM_STATE(1, TTIBES
, NORMAL
)
945 TM_STATE(2, TTIBES
, HOT
)
946 TM_STATE(3, TTIBES
, SELECTED
)
947 TM_STATE(4, TTIBES
, DISABLED
)
948 TM_STATE(5, TTIBES
, FOCUSED
)
952 BEGIN_TM_CLASS_PARTS(TASKBAND
)
953 TM_PART(1, TDP
, GROUPCOUNT
)
954 TM_PART(2, TDP
, FLASHBUTTON
)
955 TM_PART(3, TDP
, FLASHBUTTONGROUPMENU
)
959 BEGIN_TM_CLASS_PARTS(TASKBAR
)
960 TM_PART(1, TBP
, BACKGROUNDBOTTOM
)
961 TM_PART(2, TBP
, BACKGROUNDRIGHT
)
962 TM_PART(3, TBP
, BACKGROUNDTOP
)
963 TM_PART(4, TBP
, BACKGROUNDLEFT
)
964 TM_PART(5, TBP
, SIZINGBARBOTTOM
)
965 TM_PART(6, TBP
, SIZINGBARRIGHT
)
966 TM_PART(7, TBP
, SIZINGBARTOP
)
967 TM_PART(8, TBP
, SIZINGBARLEFT
)
971 BEGIN_TM_CLASS_PARTS(TOOLBAR
)
972 TM_PART(1, TP
, BUTTON
)
973 TM_PART(2, TP
, DROPDOWNBUTTON
)
974 TM_PART(3, TP
, SPLITBUTTON
)
975 TM_PART(4, TP
, SPLITBUTTONDROPDOWN
)
976 TM_PART(5, TP
, SEPARATOR
)
977 TM_PART(6, TP
, SEPARATORVERT
)
980 /* TOOLBAR - * states */
981 BEGIN_TM_PART_STATES(TOOLBAR
)
982 TM_STATE(1, TS
, NORMAL
)
984 TM_STATE(3, TS
, PRESSED
)
985 TM_STATE(4, TS
, DISABLED
)
986 TM_STATE(5, TS
, CHECKED
)
987 TM_STATE(6, TS
, HOTCHECKED
)
991 BEGIN_TM_CLASS_PARTS(TOOLTIP
)
992 TM_PART(1, TTP
, STANDARD
)
993 TM_PART(2, TTP
, STANDARDTITLE
)
994 TM_PART(3, TTP
, BALLOON
)
995 TM_PART(4, TTP
, BALLOONTITLE
)
996 TM_PART(5, TTP
, CLOSE
)
999 /* TOOLTIP - STANDARD states */
1000 BEGIN_TM_PART_STATES(STANDARD
)
1001 TM_STATE(1, TTSS
, NORMAL
)
1002 TM_STATE(2, TTSS
, LINK
)
1003 END_TM_PART_STATES()
1005 /* TOOLTIP - STANDARDTITLE states */
1006 /* See TOOLTIP STANDARD */
1008 /* TOOLTIP - BALLOON states */
1009 BEGIN_TM_PART_STATES(BALLOON
)
1010 TM_STATE(1, TTBS
, NORMAL
)
1011 TM_STATE(2, TTBS
, LINK
)
1012 END_TM_PART_STATES()
1014 /* TOOLTIP - BALLOONTITLE states */
1015 /* See TOOLTIP BALLOON */
1017 /* TOOLTIP - CLOSE states */
1018 BEGIN_TM_PART_STATES(CLOSE
)
1019 TM_STATE(1, TTCS
, NORMAL
)
1020 TM_STATE(2, TTCS
, HOT
)
1021 TM_STATE(3, TTCS
, PRESSED
)
1022 END_TM_PART_STATES()
1024 /* TRACKBAR parts */
1025 BEGIN_TM_CLASS_PARTS(TRACKBAR
)
1026 TM_PART(1, TKP
, TRACK
)
1027 TM_PART(2, TKP
, TRACKVERT
)
1028 TM_PART(3, TKP
, THUMB
)
1029 TM_PART(4, TKP
, THUMBBOTTOM
)
1030 TM_PART(5, TKP
, THUMBTOP
)
1031 TM_PART(6, TKP
, THUMBVERT
)
1032 TM_PART(7, TKP
, THUMBLEFT
)
1033 TM_PART(8, TKP
, THUMBRIGHT
)
1034 TM_PART(9, TKP
, TICS
)
1035 TM_PART(10, TKP
, TICSVERT
)
1036 END_TM_CLASS_PARTS()
1038 /* TRACKBAR states */
1039 BEGIN_TM_PART_STATES(TRACKBAR
)
1040 TM_STATE(1, TKS
, NORMAL
)
1041 END_TM_PART_STATES()
1043 /* TRACKBAR - TRACK states */
1044 BEGIN_TM_PART_STATES(TRACK
)
1045 TM_STATE(1, TRS
, NORMAL
)
1046 END_TM_PART_STATES()
1048 /* TRACKBAR - TRACKVERT states */
1049 BEGIN_TM_PART_STATES(TRACKVERT
)
1050 TM_STATE(1, TRVS
, NORMAL
)
1051 END_TM_PART_STATES()
1053 /* TRACKBAR - THUMB states */
1054 BEGIN_TM_PART_STATES(THUMB
)
1055 TM_STATE(1, TUS
, NORMAL
)
1056 TM_STATE(2, TUS
, HOT
)
1057 TM_STATE(3, TUS
, PRESSED
)
1058 TM_STATE(4, TUS
, FOCUSED
)
1059 TM_STATE(5, TUS
, DISABLED
)
1060 END_TM_PART_STATES()
1062 /* TRACKBAR - THUMBBOTTOM states */
1063 BEGIN_TM_PART_STATES(THUMBBOTTOM
)
1064 TM_STATE(1, TUBS
, NORMAL
)
1065 TM_STATE(2, TUBS
, HOT
)
1066 TM_STATE(3, TUBS
, PRESSED
)
1067 TM_STATE(4, TUBS
, FOCUSED
)
1068 TM_STATE(5, TUBS
, DISABLED
)
1069 END_TM_PART_STATES()
1071 /* TRACKBAR - THUMBTOP states */
1072 BEGIN_TM_PART_STATES(THUMBTOP
)
1073 TM_STATE(1, TUTS
, NORMAL
)
1074 TM_STATE(2, TUTS
, HOT
)
1075 TM_STATE(3, TUTS
, PRESSED
)
1076 TM_STATE(4, TUTS
, FOCUSED
)
1077 TM_STATE(5, TUTS
, DISABLED
)
1078 END_TM_PART_STATES()
1080 /* TRACKBAR - THUMBVERT states */
1081 BEGIN_TM_PART_STATES(THUMBVERT
)
1082 TM_STATE(1, TUVS
, NORMAL
)
1083 TM_STATE(2, TUVS
, HOT
)
1084 TM_STATE(3, TUVS
, PRESSED
)
1085 TM_STATE(4, TUVS
, FOCUSED
)
1086 TM_STATE(5, TUVS
, DISABLED
)
1087 END_TM_PART_STATES()
1089 /* TRACKBAR - THUMBLEFT states */
1090 BEGIN_TM_PART_STATES(THUMBLEFT
)
1091 TM_STATE(1, TUVLS
, NORMAL
)
1092 TM_STATE(2, TUVLS
, HOT
)
1093 TM_STATE(3, TUVLS
, PRESSED
)
1094 TM_STATE(4, TUVLS
, FOCUSED
)
1095 TM_STATE(5, TUVLS
, DISABLED
)
1096 END_TM_PART_STATES()
1098 /* TRACKBAR - THUMBRIGHT states */
1099 BEGIN_TM_PART_STATES(THUMBRIGHT
)
1100 TM_STATE(1, TUVRS
, NORMAL
)
1101 TM_STATE(2, TUVRS
, HOT
)
1102 TM_STATE(3, TUVRS
, PRESSED
)
1103 TM_STATE(4, TUVRS
, FOCUSED
)
1104 TM_STATE(5, TUVRS
, DISABLED
)
1105 END_TM_PART_STATES()
1107 /* TRACKBAR - TICS states */
1108 BEGIN_TM_PART_STATES(TICS
)
1109 TM_STATE(1, TSS
, NORMAL
)
1110 END_TM_PART_STATES()
1112 /* TRACKBAR - TICSVERT states */
1113 BEGIN_TM_PART_STATES(TICSVERT
)
1114 TM_STATE(1, TSVS
, NORMAL
)
1115 END_TM_PART_STATES()
1117 /* TRAYNOTIFY parts */
1118 BEGIN_TM_CLASS_PARTS(TRAYNOTIFY
)
1119 TM_PART(1, TNP
, BACKGROUND
)
1120 TM_PART(2, TNP
, ANIMBACKGROUND
)
1121 END_TM_CLASS_PARTS()
1123 /* TREEVIEW parts */
1124 BEGIN_TM_CLASS_PARTS(TREEVIEW
)
1125 TM_PART(1, TVP
, TREEITEM
)
1126 TM_PART(2, TVP
, GLYPH
)
1127 TM_PART(3, TVP
, BRANCH
)
1128 END_TM_CLASS_PARTS()
1130 /* TREEVIEW - TREEITEM states */
1131 BEGIN_TM_PART_STATES(TREEITEM
)
1132 TM_STATE(1, TREIS
, NORMAL
)
1133 TM_STATE(2, TREIS
, HOT
)
1134 TM_STATE(3, TREIS
, SELECTED
)
1135 TM_STATE(4, TREIS
, DISABLED
)
1136 TM_STATE(5, TREIS
, SELECTEDNOTFOCUS
)
1137 END_TM_PART_STATES()
1139 /* TREEVIEW - GLYPH states */
1140 BEGIN_TM_PART_STATES(GLYPH
)
1141 TM_STATE(1, GLPS
, CLOSED
)
1142 TM_STATE(2, GLPS
, OPENED
)
1143 END_TM_PART_STATES()
1146 BEGIN_TM_CLASS_PARTS(WINDOW
)
1147 TM_PART(1, WP
, CAPTION
)
1148 TM_PART(2, WP
, SMALLCAPTION
)
1149 TM_PART(3, WP
, MINCAPTION
)
1150 TM_PART(4, WP
, SMALLMINCAPTION
)
1151 TM_PART(5, WP
, MAXCAPTION
)
1152 TM_PART(6, WP
, SMALLMAXCAPTION
)
1153 TM_PART(7, WP
, FRAMELEFT
)
1154 TM_PART(8, WP
, FRAMERIGHT
)
1155 TM_PART(9, WP
, FRAMEBOTTOM
)
1156 TM_PART(10, WP
, SMALLFRAMELEFT
)
1157 TM_PART(11, WP
, SMALLFRAMERIGHT
)
1158 TM_PART(12, WP
, SMALLFRAMEBOTTOM
)
1159 TM_PART(13, WP
, SYSBUTTON
)
1160 TM_PART(14, WP
, MDISYSBUTTON
)
1161 TM_PART(15, WP
, MINBUTTON
)
1162 TM_PART(16, WP
, MDIMINBUTTON
)
1163 TM_PART(17, WP
, MAXBUTTON
)
1164 TM_PART(18, WP
, CLOSEBUTTON
)
1165 TM_PART(19, WP
, SMALLCLOSEBUTTON
)
1166 TM_PART(20, WP
, MDICLOSEBUTTON
)
1167 TM_PART(21, WP
, RESTOREBUTTON
)
1168 TM_PART(22, WP
, MDIRESTOREBUTTON
)
1169 TM_PART(23, WP
, HELPBUTTON
)
1170 TM_PART(24, WP
, MDIHELPBUTTON
)
1171 TM_PART(25, WP
, HORZSCROLL
)
1172 TM_PART(26, WP
, HORZTHUMB
)
1173 TM_PART(27, WP
, VERTSCROLL
)
1174 TM_PART(28, WP
, VERTTHUMB
)
1175 TM_PART(29, WP
, DIALOG
)
1176 TM_PART(30, WP
, CAPTIONSIZINGTEMPLATE
)
1177 TM_PART(31, WP
, SMALLCAPTIONSIZINGTEMPLATE
)
1178 TM_PART(32, WP
, FRAMELEFTSIZINGTEMPLATE
)
1179 TM_PART(33, WP
, SMALLFRAMELEFTSIZINGTEMPLATE
)
1180 TM_PART(34, WP
, FRAMERIGHTSIZINGTEMPLATE
)
1181 TM_PART(35, WP
, SMALLFRAMERIGHTSIZINGTEMPLATE
)
1182 TM_PART(36, WP
, FRAMEBOTTOMSIZINGTEMPLATE
)
1183 TM_PART(37, WP
, SMALLFRAMEBOTTOMSIZINGTEMPLATE
)
1184 END_TM_CLASS_PARTS()
1186 /* WINDOW - CAPTION / SMALLCAPTION states */
1187 BEGIN_TM_PART_STATES(CAPTION
)
1188 TM_STATE(1, CS
, ACTIVE
)
1189 TM_STATE(2, CS
, INACTIVE
)
1190 TM_STATE(3, CS
, DISABLED
)
1191 END_TM_PART_STATES()
1193 /* WINDOW - MINCAPTION / SMALLMINCAPTION states */
1194 BEGIN_TM_PART_STATES(MINCAPTION
)
1195 TM_STATE(1, MNCS
, ACTIVE
)
1196 TM_STATE(2, MNCS
, INACTIVE
)
1197 TM_STATE(3, MNCS
, DISABLED
)
1198 END_TM_PART_STATES()
1200 /* WINDOW - MAXCAPTION / SMALLMAXCAPTION states */
1201 BEGIN_TM_PART_STATES(MAXCAPTION
)
1202 TM_STATE(1, MXCS
, ACTIVE
)
1203 TM_STATE(2, MXCS
, INACTIVE
)
1204 TM_STATE(3, MXCS
, DISABLED
)
1205 END_TM_PART_STATES()
1207 /* WINDOW - FRAME* / SMALLFRAME* states */
1208 BEGIN_TM_PART_STATES(FRAME
)
1209 TM_STATE(1, FS
, ACTIVE
)
1210 TM_STATE(2, FS
, INACTIVE
)
1211 END_TM_PART_STATES()
1213 /* WINDOW - SYSBUTTON / MDISYSBUTTON states */
1214 BEGIN_TM_PART_STATES(SYSBUTTON
)
1215 TM_STATE(1, SBS
, NORMAL
)
1216 TM_STATE(2, SBS
, HOT
)
1217 TM_STATE(3, SBS
, PUSHED
)
1218 TM_STATE(4, SBS
, DISABLED
)
1219 END_TM_PART_STATES()
1221 /* WINDOW - MINBUTTON / MDIMINBUTTON states */
1222 BEGIN_TM_PART_STATES(MINBUTTON
)
1223 TM_STATE(1, MINBS
, NORMAL
)
1224 TM_STATE(2, MINBS
, HOT
)
1225 TM_STATE(3, MINBS
, PUSHED
)
1226 TM_STATE(4, MINBS
, DISABLED
)
1227 END_TM_PART_STATES()
1229 /* WINDOW - MAXBUTTON states */
1230 BEGIN_TM_PART_STATES(MAXBUTTON
)
1231 TM_STATE(1, MAXBS
, NORMAL
)
1232 TM_STATE(2, MAXBS
, HOT
)
1233 TM_STATE(3, MAXBS
, PUSHED
)
1234 TM_STATE(4, MAXBS
, DISABLED
)
1235 END_TM_PART_STATES()
1237 /* WINDOW - CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON states */
1238 BEGIN_TM_PART_STATES(CLOSEBUTTON
)
1239 TM_STATE(1, CBS
, NORMAL
)
1240 TM_STATE(2, CBS
, HOT
)
1241 TM_STATE(3, CBS
, PUSHED
)
1242 TM_STATE(4, CBS
, DISABLED
)
1243 END_TM_PART_STATES()
1245 /* WINDOW - RESTOREBUTTON / MDIRESTOREBUTTON states */
1246 BEGIN_TM_PART_STATES(RESTOREBUTTON
)
1247 TM_STATE(1, RBS
, NORMAL
)
1248 TM_STATE(2, RBS
, HOT
)
1249 TM_STATE(3, RBS
, PUSHED
)
1250 TM_STATE(4, RBS
, DISABLED
)
1251 END_TM_PART_STATES()
1253 /* WINDOW - HELPBUTTON / MDIHELPBUTTON states */
1254 BEGIN_TM_PART_STATES(HELPBUTTON
)
1255 TM_STATE(1, HBS
, NORMAL
)
1256 TM_STATE(2, HBS
, HOT
)
1257 TM_STATE(3, HBS
, PUSHED
)
1258 TM_STATE(4, HBS
, DISABLED
)
1259 END_TM_PART_STATES()
1261 /* WINDOW - HORZSCROLL states */
1262 BEGIN_TM_PART_STATES(HORZSCROLL
)
1263 TM_STATE(1, HSS
, NORMAL
)
1264 TM_STATE(2, HSS
, HOT
)
1265 TM_STATE(3, HSS
, PUSHED
)
1266 TM_STATE(4, HSS
, DISABLED
)
1267 END_TM_PART_STATES()
1269 /* WINDOW - HORZTHUMB states */
1270 BEGIN_TM_PART_STATES(HORZTHUMB
)
1271 TM_STATE(1, HTS
, NORMAL
)
1272 TM_STATE(2, HTS
, HOT
)
1273 TM_STATE(3, HTS
, PUSHED
)
1274 TM_STATE(4, HTS
, DISABLED
)
1275 END_TM_PART_STATES()
1277 /* WINDOW - VERTSCROLL states */
1278 BEGIN_TM_PART_STATES(VERTSCROLL
)
1279 TM_STATE(1, VSS
, NORMAL
)
1280 TM_STATE(2, VSS
, HOT
)
1281 TM_STATE(3, VSS
, PUSHED
)
1282 TM_STATE(4, VSS
, DISABLED
)
1283 END_TM_PART_STATES()
1285 /* WINDOW - VERTTHUMB states */
1286 BEGIN_TM_PART_STATES(VERTTHUMB
)
1287 TM_STATE(1, VTS
, NORMAL
)
1288 TM_STATE(2, VTS
, HOT
)
1289 TM_STATE(3, VTS
, PUSHED
)
1290 TM_STATE(4, VTS
, DISABLED
)
1291 END_TM_PART_STATES()
1293 END_TM_SCHEMA(ThemeMgrSchema
)