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
)
325 TM_PROP(2433, TMT
, MINDPI6
, INT
)
326 TM_PROP(2434, TMT
, MINDPI7
, INT
)
328 /* Font rendering properties */
329 TM_PROP(2601, TMT
, GLYPHFONT
, FONT
)
331 /* Filename rendering properties */
332 TM_PROP(3001, TMT
, IMAGEFILE
, FILENAME
)
333 TM_PROP(3002, TMT
, IMAGEFILE1
, FILENAME
)
334 TM_PROP(3003, TMT
, IMAGEFILE2
, FILENAME
)
335 TM_PROP(3004, TMT
, IMAGEFILE3
, FILENAME
)
336 TM_PROP(3005, TMT
, IMAGEFILE4
, FILENAME
)
337 TM_PROP(3006, TMT
, IMAGEFILE5
, FILENAME
)
338 TM_PROP(3007, TMT
, STOCKIMAGEFILE
, FILENAME
)
339 TM_PROP(3008, TMT
, GLYPHIMAGEFILE
, FILENAME
)
340 TM_PROP(3009, TMT
, IMAGEFILE6
, FILENAME
)
341 TM_PROP(3010, TMT
, IMAGEFILE7
, FILENAME
)
343 /* String rendering properties */
344 TM_PROP(3201, TMT
, TEXT
, STRING
)
346 /* Position rendering properties */
347 TM_PROP(3401, TMT
, OFFSET
, POSITION
)
348 TM_PROP(3402, TMT
, TEXTSHADOWOFFSET
, POSITION
)
349 TM_PROP(3403, TMT
, MINSIZE
, POSITION
)
350 TM_PROP(3404, TMT
, MINSIZE1
, POSITION
)
351 TM_PROP(3405, TMT
, MINSIZE2
, POSITION
)
352 TM_PROP(3406, TMT
, MINSIZE3
, POSITION
)
353 TM_PROP(3407, TMT
, MINSIZE4
, POSITION
)
354 TM_PROP(3408, TMT
, MINSIZE5
, POSITION
)
355 TM_PROP(3409, TMT
, NORMALSIZE
, POSITION
)
356 TM_PROP(3410, TMT
, MINSIZE6
, POSITION
)
357 TM_PROP(3411, TMT
, MINSIZE7
, POSITION
)
359 /* Margin rendering properties */
360 TM_PROP(3601, TMT
, SIZINGMARGINS
, MARGINS
)
361 TM_PROP(3602, TMT
, CONTENTMARGINS
, MARGINS
)
362 TM_PROP(3603, TMT
, CAPTIONMARGINS
, MARGINS
)
364 /* Color rendering properties */
365 TM_PROP(3801, TMT
, BORDERCOLOR
, COLOR
)
366 TM_PROP(3802, TMT
, FILLCOLOR
, COLOR
)
367 TM_PROP(3803, TMT
, TEXTCOLOR
, COLOR
)
368 TM_PROP(3804, TMT
, EDGELIGHTCOLOR
, COLOR
)
369 TM_PROP(3805, TMT
, EDGEHIGHLIGHTCOLOR
, COLOR
)
370 TM_PROP(3806, TMT
, EDGESHADOWCOLOR
, COLOR
)
371 TM_PROP(3807, TMT
, EDGEDKSHADOWCOLOR
, COLOR
)
372 TM_PROP(3808, TMT
, EDGEFILLCOLOR
, COLOR
)
373 TM_PROP(3809, TMT
, TRANSPARENTCOLOR
, COLOR
)
374 TM_PROP(3810, TMT
, GRADIENTCOLOR1
, COLOR
)
375 TM_PROP(3811, TMT
, GRADIENTCOLOR2
, COLOR
)
376 TM_PROP(3812, TMT
, GRADIENTCOLOR3
, COLOR
)
377 TM_PROP(3813, TMT
, GRADIENTCOLOR4
, COLOR
)
378 TM_PROP(3814, TMT
, GRADIENTCOLOR5
, COLOR
)
379 TM_PROP(3815, TMT
, SHADOWCOLOR
, COLOR
)
380 TM_PROP(3816, TMT
, GLOWCOLOR
, COLOR
)
381 TM_PROP(3817, TMT
, TEXTBORDERCOLOR
, COLOR
)
382 TM_PROP(3818, TMT
, TEXTSHADOWCOLOR
, COLOR
)
383 TM_PROP(3819, TMT
, GLYPHTEXTCOLOR
, COLOR
)
384 TM_PROP(3820, TMT
, GLYPHTRANSPARENTCOLOR
, COLOR
)
385 TM_PROP(3821, TMT
, FILLCOLORHINT
, COLOR
)
386 TM_PROP(3822, TMT
, BORDERCOLORHINT
, COLOR
)
387 TM_PROP(3823, TMT
, ACCENTCOLORHINT
, COLOR
)
389 /* Enum rendering properties */
390 TM_PROP(4001, TMT
, BGTYPE
, ENUM
)
391 TM_PROP(4002, TMT
, BORDERTYPE
, ENUM
)
392 TM_PROP(4003, TMT
, FILLTYPE
, ENUM
)
393 TM_PROP(4004, TMT
, SIZINGTYPE
, ENUM
)
394 TM_PROP(4005, TMT
, HALIGN
, ENUM
)
395 TM_PROP(4006, TMT
, CONTENTALIGNMENT
, ENUM
)
396 TM_PROP(4007, TMT
, VALIGN
, ENUM
)
397 TM_PROP(4008, TMT
, OFFSETTYPE
, ENUM
)
398 TM_PROP(4009, TMT
, ICONEFFECT
, ENUM
)
399 TM_PROP(4010, TMT
, TEXTSHADOWTYPE
, ENUM
)
400 TM_PROP(4011, TMT
, IMAGELAYOUT
, ENUM
)
401 TM_PROP(4012, TMT
, GLYPHTYPE
, ENUM
)
402 TM_PROP(4013, TMT
, IMAGESELECTTYPE
, ENUM
)
403 TM_PROP(4014, TMT
, GLYPHFONTSIZINGTYPE
, ENUM
)
404 TM_PROP(4015, TMT
, TRUESIZESCALINGTYPE
, ENUM
)
406 /* custom properties */
407 TM_PROP(5001, TMT
, USERPICTURE
, BOOL
)
408 TM_PROP(5002, TMT
, DEFAULTPANESIZE
, RECT
)
409 TM_PROP(5003, TMT
, BLENDCOLOR
, COLOR
)
414 /***** PARTS & STATES *****/
417 BEGIN_TM_CLASS_PARTS(BUTTON
)
418 TM_PART(1, BP
, PUSHBUTTON
)
419 TM_PART(2, BP
, RADIOBUTTON
)
420 TM_PART(3, BP
, CHECKBOX
)
421 TM_PART(4, BP
, GROUPBOX
)
422 TM_PART(5, BP
, USERBUTTON
)
423 TM_PART(6, BP
, COMMANDLINK
)
424 TM_PART(7, BP
, COMMANDLINKGLYPH
)
427 /* BUTTON - PUSHBUTTON states */
428 BEGIN_TM_PART_STATES(PUSHBUTTON
)
429 TM_STATE(1, PBS
, NORMAL
)
430 TM_STATE(2, PBS
, HOT
)
431 TM_STATE(3, PBS
, PRESSED
)
432 TM_STATE(4, PBS
, DISABLED
)
433 TM_STATE(5, PBS
, DEFAULTED
)
436 /* BUTTON - RADIOBUTTON states */
437 BEGIN_TM_PART_STATES(RADIOBUTTON
)
438 TM_STATE(1, RBS
, UNCHECKEDNORMAL
)
439 TM_STATE(2, RBS
, UNCHECKEDHOT
)
440 TM_STATE(3, RBS
, UNCHECKEDPRESSED
)
441 TM_STATE(4, RBS
, UNCHECKEDDISABLED
)
442 TM_STATE(5, RBS
, CHECKEDNORMAL
)
443 TM_STATE(6, RBS
, CHECKEDHOT
)
444 TM_STATE(7, RBS
, CHECKEDPRESSED
)
445 TM_STATE(8, RBS
, CHECKEDDISABLED
)
448 /* BUTTON - CHECKBOX states */
449 BEGIN_TM_PART_STATES(CHECKBOX
)
450 TM_STATE(1, CBS
, UNCHECKEDNORMAL
)
451 TM_STATE(2, CBS
, UNCHECKEDHOT
)
452 TM_STATE(3, CBS
, UNCHECKEDPRESSED
)
453 TM_STATE(4, CBS
, UNCHECKEDDISABLED
)
454 TM_STATE(5, CBS
, CHECKEDNORMAL
)
455 TM_STATE(6, CBS
, CHECKEDHOT
)
456 TM_STATE(7, CBS
, CHECKEDPRESSED
)
457 TM_STATE(8, CBS
, CHECKEDDISABLED
)
458 TM_STATE(9, CBS
, MIXEDNORMAL
)
459 TM_STATE(10, CBS
, MIXEDHOT
)
460 TM_STATE(11, CBS
, MIXEDPRESSED
)
461 TM_STATE(12, CBS
, MIXEDDISABLED
)
464 /* BUTTON - GROUPBOX states */
465 BEGIN_TM_PART_STATES(GROUPBOX
)
466 TM_STATE(1, GBS
, NORMAL
)
467 TM_STATE(2, GBS
, DISABLED
)
470 /* BUTTON - COMMANDLINK states */
471 BEGIN_TM_PART_STATES(COMMANDLINK
)
472 TM_STATE(1, CMDLS
, NORMAL
)
473 TM_STATE(2, CMDLS
, HOT
)
474 TM_STATE(3, CMDLS
, PRESSED
)
475 TM_STATE(4, CMDLS
, DISABLED
)
476 TM_STATE(5, CMDLS
, DEFAULTED
)
477 TM_STATE(6, CMDLS
, DEFAULTED_ANIMATING
)
480 /* BUTTON - COMMANDLINKGLYPH states */
481 BEGIN_TM_PART_STATES(COMMANDLINKGLYPH
)
482 TM_STATE(1, CMDLGS
, NORMAL
)
483 TM_STATE(2, CMDLGS
, HOT
)
484 TM_STATE(3, CMDLGS
, PRESSED
)
485 TM_STATE(4, CMDLGS
, DISABLED
)
486 TM_STATE(5, CMDLGS
, DEFAULTED
)
490 BEGIN_TM_CLASS_PARTS(CLOCK
)
491 TM_PART(1, CLP
, TIME
)
495 BEGIN_TM_PART_STATES(CLOCK
)
496 TM_STATE(1, CLS
, NORMAL
)
500 BEGIN_TM_CLASS_PARTS(COMBOBOX
)
501 TM_PART(1, CP
, DROPDOWNBUTTON
)
504 /* COMBOBOX states */
505 BEGIN_TM_PART_STATES(COMBOBOX
)
506 TM_STATE(1, CBXS
, NORMAL
)
507 TM_STATE(2, CBXS
, HOT
)
508 TM_STATE(3, CBXS
, PRESSED
)
509 TM_STATE(4, CBXS
, DISABLED
)
513 BEGIN_TM_CLASS_PARTS(EDIT
)
514 TM_PART(1, EP
, EDITTEXT
)
515 TM_PART(2, EP
, CARET
)
518 /* EDIT - EDITTEXT states */
519 BEGIN_TM_PART_STATES(EDITTEXT
)
520 TM_STATE(1, ETS
, NORMAL
)
521 TM_STATE(2, ETS
, HOT
)
522 TM_STATE(3, ETS
, SELECTED
)
523 TM_STATE(4, ETS
, DISABLED
)
524 TM_STATE(5, ETS
, FOCUSED
)
525 TM_STATE(6, ETS
, READONLY
)
526 TM_STATE(7, ETS
, ASSIST
)
529 /* EXPLORERBAR parts */
530 BEGIN_TM_CLASS_PARTS(EXPLORERBAR
)
531 TM_PART(1, EBP
, HEADERBACKGROUND
)
532 TM_PART(2, EBP
, HEADERCLOSE
)
533 TM_PART(3, EBP
, HEADERPIN
)
534 TM_PART(4, EBP
, IEBARMENU
)
535 TM_PART(5, EBP
, NORMALGROUPBACKGROUND
)
536 TM_PART(6, EBP
, NORMALGROUPCOLLAPSE
)
537 TM_PART(7, EBP
, NORMALGROUPEXPAND
)
538 TM_PART(8, EBP
, NORMALGROUPHEAD
)
539 TM_PART(9, EBP
, SPECIALGROUPBACKGROUND
)
540 TM_PART(10, EBP
, SPECIALGROUPCOLLAPSE
)
541 TM_PART(11, EBP
, SPECIALGROUPEXPAND
)
542 TM_PART(12, EBP
, SPECIALGROUPHEAD
)
545 /* EXPLORERBAR - HEADERCLOSE states */
546 BEGIN_TM_PART_STATES(HEADERCLOSE
)
547 TM_STATE(1, EBHC
, NORMAL
)
548 TM_STATE(2, EBHC
, HOT
)
549 TM_STATE(3, EBHC
, PRESSED
)
552 /* EXPLORERBAR - HEADERPIN states */
553 BEGIN_TM_PART_STATES(HEADERPIN
)
554 TM_STATE(1, EBHP
, NORMAL
)
555 TM_STATE(2, EBHP
, HOT
)
556 TM_STATE(3, EBHP
, PRESSED
)
557 TM_STATE(4, EBHP
, SELECTEDNORMAL
)
558 TM_STATE(5, EBHP
, SELECTEDHOT
)
559 TM_STATE(6, EBHP
, SELECTEDPRESSED
)
562 /* EXPLORERBAR - IEBARMENU states */
563 BEGIN_TM_PART_STATES(IEBARMENU
)
564 TM_STATE(1, EBM
, NORMAL
)
565 TM_STATE(2, EBM
, HOT
)
566 TM_STATE(3, EBM
, PRESSED
)
569 /* EXPLORERBAR - NORMALGROUPCOLLAPSE states */
570 BEGIN_TM_PART_STATES(NORMALGROUPCOLLAPSE
)
571 TM_STATE(1, EBNGC
, NORMAL
)
572 TM_STATE(2, EBNGC
, HOT
)
573 TM_STATE(3, EBNGC
, PRESSED
)
576 /* EXPLORERBAR - NORMALGROUPEXPAND states */
577 BEGIN_TM_PART_STATES(NORMALGROUPEXPAND
)
578 TM_STATE(1, EBNGE
, NORMAL
)
579 TM_STATE(2, EBNGE
, HOT
)
580 TM_STATE(3, EBNGE
, PRESSED
)
583 /* EXPLORERBAR - SPECIALGROUPCOLLAPSE states */
584 BEGIN_TM_PART_STATES(SPECIALGROUPCOLLAPSE
)
585 TM_STATE(1, EBSGC
, NORMAL
)
586 TM_STATE(2, EBSGC
, HOT
)
587 TM_STATE(3, EBSGC
, PRESSED
)
590 /* EXPLORERBAR - SPECIALGROUPEXPAND states */
591 BEGIN_TM_PART_STATES(SPECIALGROUPEXPAND
)
592 TM_STATE(1, EBSGE
, NORMAL
)
593 TM_STATE(2, EBSGE
, HOT
)
594 TM_STATE(3, EBSGE
, PRESSED
)
598 BEGIN_TM_CLASS_PARTS(GLOBALS
)
599 TM_PART(1, GP
, BORDER
)
600 TM_PART(2, GP
, LINEHORZ
)
601 TM_PART(3, GP
, LINEVERT
)
604 /* GLOBALS - BORDER states */
605 BEGIN_TM_PART_STATES(BORDER
)
606 TM_STATE(1, BSS
, FLAT
)
607 TM_STATE(2, BSS
, RAISED
)
608 TM_STATE(3, BSS
, SUNKEN
)
611 /* GLOBALS - LINEHORZ states */
612 BEGIN_TM_PART_STATES(LINEHORZ
)
613 TM_STATE(1, LHS
, FLAT
)
614 TM_STATE(2, LHS
, RAISED
)
615 TM_STATE(3, LHS
, SUNKEN
)
618 /* GLOBAL - LINEVERT states */
619 BEGIN_TM_PART_STATES(LINEVERT
)
620 TM_STATE(1, LVS
, FLAT
)
621 TM_STATE(2, LVS
, RAISED
)
622 TM_STATE(3, LVS
, SUNKEN
)
626 BEGIN_TM_CLASS_PARTS(HEADER
)
627 TM_PART(1, HP
, HEADERITEM
)
628 TM_PART(2, HP
, HEADERITEMLEFT
)
629 TM_PART(3, HP
, HEADERITEMRIGHT
)
630 TM_PART(4, HP
, HEADERSORTARROW
)
633 /* HEADER - HEADERITEM states */
634 BEGIN_TM_PART_STATES(HEADERITEM
)
635 TM_STATE(1, HIS
, NORMAL
)
636 TM_STATE(2, HIS
, HOT
)
637 TM_STATE(3, HIS
, PRESSED
)
640 /* HEADER - HEADERITEMLEFT states */
641 BEGIN_TM_PART_STATES(HEADERITEMLEFT
)
642 TM_STATE(1, HILS
, NORMAL
)
643 TM_STATE(2, HILS
, HOT
)
644 TM_STATE(3, HILS
, PRESSED
)
647 /* HEADER - HEADERITEMRIGHT states */
648 BEGIN_TM_PART_STATES(HEADERITEMRIGHT
)
649 TM_STATE(1, HIRS
, NORMAL
)
650 TM_STATE(2, HIRS
, HOT
)
651 TM_STATE(3, HIRS
, PRESSED
)
654 /* HEADER - HEADERSORTARROW states */
655 BEGIN_TM_PART_STATES(HEADERSORTARROW
)
656 TM_STATE(1, HSAS
, SORTEDUP
)
657 TM_STATE(2, HSAS
, SORTEDDOWN
)
661 BEGIN_TM_CLASS_PARTS(LISTVIEW
)
662 TM_PART(1, LVP
, LISTITEM
)
663 TM_PART(2, LVP
, LISTGROUP
)
664 TM_PART(3, LVP
, LISTDETAIL
)
665 TM_PART(4, LVP
, LISTSORTEDDETAIL
)
666 TM_PART(5, LVP
, EMPTYTEXT
)
669 /* LISTVIEW - LISTITEM states */
670 BEGIN_TM_PART_STATES(LISTITEM
)
671 TM_STATE(1, LIS
, NORMAL
)
672 TM_STATE(2, LIS
, HOT
)
673 TM_STATE(3, LIS
, SELECTED
)
674 TM_STATE(4, LIS
, DISABLED
)
675 TM_STATE(5, LIS
, SELECTEDNOTFOCUS
)
679 BEGIN_TM_CLASS_PARTS(MENU
)
680 TM_PART(1, MP
, MENUITEM
)
681 TM_PART(2, MP
, MENUDROPDOWN
)
682 TM_PART(3, MP
, MENUBARITEM
)
683 TM_PART(4, MP
, MENUBARDROPDOWN
)
684 TM_PART(5, MP
, CHEVRON
)
685 TM_PART(6, MP
, SEPARATOR
)
688 /* MENU - * states */
689 BEGIN_TM_PART_STATES(MENU
)
690 TM_STATE(1, MS
, NORMAL
)
691 TM_STATE(2, MS
, SELECTED
)
692 TM_STATE(3, MS
, DEMOTED
)
696 BEGIN_TM_CLASS_PARTS(MENUBAND
)
697 TM_PART(1, MDP
, NEWAPPBUTTON
)
698 /* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
699 TM_PART(2, MDP
, SEPERATOR
)
702 /* MENUBAND states */
703 BEGIN_TM_PART_STATES(MENUBAND
)
704 TM_STATE(1, MDS
, NORMAL
)
705 TM_STATE(2, MDS
, HOT
)
706 TM_STATE(3, MDS
, PRESSED
)
707 TM_STATE(4, MDS
, DISABLED
)
708 TM_STATE(5, MDS
, CHECKED
)
709 TM_STATE(6, MDS
, HOTCHECKED
)
713 BEGIN_TM_CLASS_PARTS(PAGE
)
715 TM_PART(2, PGRP
, DOWN
)
716 TM_PART(3, PGRP
, UPHORZ
)
717 TM_PART(4, PGRP
, DOWNHORZ
)
720 /* PAGE - UP states */
721 BEGIN_TM_PART_STATES(UP
)
722 TM_STATE(1, UPS
, NORMAL
)
723 TM_STATE(2, UPS
, HOT
)
724 TM_STATE(3, UPS
, PRESSED
)
725 TM_STATE(4, UPS
, DISABLED
)
728 /* PAGE - DOWN states */
729 BEGIN_TM_PART_STATES(DOWN
)
730 TM_STATE(1, DNS
, NORMAL
)
731 TM_STATE(2, DNS
, HOT
)
732 TM_STATE(3, DNS
, PRESSED
)
733 TM_STATE(4, DNS
, DISABLED
)
736 /* PAGE - UPHORZ states */
737 BEGIN_TM_PART_STATES(UPHORZ
)
738 TM_STATE(1, UPHZS
, NORMAL
)
739 TM_STATE(2, UPHZS
, HOT
)
740 TM_STATE(3, UPHZS
, PRESSED
)
741 TM_STATE(4, UPHZS
, DISABLED
)
744 /* PAGE - DOWNHORZ states */
745 BEGIN_TM_PART_STATES(DOWNHORZ
)
746 TM_STATE(1, DNHZS
, NORMAL
)
747 TM_STATE(2, DNHZS
, HOT
)
748 TM_STATE(3, DNHZS
, PRESSED
)
749 TM_STATE(4, DNHZS
, DISABLED
)
753 BEGIN_TM_CLASS_PARTS(PROGRESS
)
755 TM_PART(2, PP
, BARVERT
)
756 TM_PART(3, PP
, CHUNK
)
757 TM_PART(4, PP
, CHUNKVERT
)
761 BEGIN_TM_CLASS_PARTS(REBAR
)
762 TM_PART(1, RP
, GRIPPER
)
763 TM_PART(2, RP
, GRIPPERVERT
)
765 TM_PART(4, RP
, CHEVRON
)
766 TM_PART(5, RP
, CHEVRONVERT
)
769 /* REBAR - CHEVRON states */
770 BEGIN_TM_PART_STATES(CHEVRON
)
771 TM_STATE(1, CHEVS
, NORMAL
)
772 TM_STATE(2, CHEVS
, HOT
)
773 TM_STATE(3, CHEVS
, PRESSED
)
776 /* SCROLLBAR parts */
777 BEGIN_TM_CLASS_PARTS(SCROLLBAR
)
778 TM_PART(1, SBP
, ARROWBTN
)
779 TM_PART(2, SBP
, THUMBBTNHORZ
)
780 TM_PART(3, SBP
, THUMBBTNVERT
)
781 TM_PART(4, SBP
, LOWERTRACKHORZ
)
782 TM_PART(5, SBP
, UPPERTRACKHORZ
)
783 TM_PART(6, SBP
, LOWERTRACKVERT
)
784 TM_PART(7, SBP
, UPPERTRACKVERT
)
785 TM_PART(8, SBP
, GRIPPERHORZ
)
786 TM_PART(9, SBP
, GRIPPERVERT
)
787 TM_PART(10, SBP
, SIZEBOX
)
790 /* SCROLLBAR - ARROWBTN states */
791 BEGIN_TM_PART_STATES(ARROWBTN
)
792 TM_STATE(1, ABS
, UPNORMAL
)
793 TM_STATE(2, ABS
, UPHOT
)
794 TM_STATE(3, ABS
, UPPRESSED
)
795 TM_STATE(4, ABS
, UPDISABLED
)
796 TM_STATE(5, ABS
, DOWNNORMAL
)
797 TM_STATE(6, ABS
, DOWNHOT
)
798 TM_STATE(7, ABS
, DOWNPRESSED
)
799 TM_STATE(8, ABS
, DOWNDISABLED
)
800 TM_STATE(9, ABS
, LEFTNORMAL
)
801 TM_STATE(10, ABS
, LEFTHOT
)
802 TM_STATE(11, ABS
, LEFTPRESSED
)
803 TM_STATE(12, ABS
, LEFTDISABLED
)
804 TM_STATE(13, ABS
, RIGHTNORMAL
)
805 TM_STATE(14, ABS
, RIGHTHOT
)
806 TM_STATE(15, ABS
, RIGHTPRESSED
)
807 TM_STATE(16, ABS
, RIGHTDISABLED
)
810 /* SCROLLBAR - LOWER* / THUMB* / UPPER* states */
811 BEGIN_TM_PART_STATES(SCROLLBAR
)
812 TM_STATE(1, SCRBS
, NORMAL
)
813 TM_STATE(2, SCRBS
, HOT
)
814 TM_STATE(3, SCRBS
, PRESSED
)
815 TM_STATE(4, SCRBS
, DISABLED
)
818 /* SCROLLBAR - SIZEBOX states */
819 BEGIN_TM_PART_STATES(SIZEBOX
)
820 TM_STATE(1, SZB
, RIGHTALIGN
)
821 TM_STATE(2, SZB
, LEFTALIGN
)
825 BEGIN_TM_CLASS_PARTS(SPIN
)
827 TM_PART(2, SPNP
, DOWN
)
828 TM_PART(3, SPNP
, UPHORZ
)
829 TM_PART(4, SPNP
, DOWNHORZ
)
833 /* See PAGE states */
835 /* STARTPANEL parts */
836 BEGIN_TM_CLASS_PARTS(STARTPANEL
)
837 TM_PART(1, SPP
, USERPANE
)
838 TM_PART(2, SPP
, MOREPROGRAMS
)
839 TM_PART(3, SPP
, MOREPROGRAMSARROW
)
840 TM_PART(4, SPP
, PROGLIST
)
841 TM_PART(5, SPP
, PROGLISTSEPARATOR
)
842 TM_PART(6, SPP
, PLACESLIST
)
843 TM_PART(7, SPP
, PLACESLISTSEPARATOR
)
844 TM_PART(8, SPP
, LOGOFF
)
845 TM_PART(9, SPP
, LOGOFFBUTTONS
)
846 TM_PART(10, SPP
, USERPICTURE
)
847 TM_PART(11, SPP
, PREVIEW
)
850 /* STARTPANEL - MOREPROGRAMSARROW states */
851 BEGIN_TM_PART_STATES(MOREPROGRAMSARROW
)
852 TM_STATE(1, SPS
, NORMAL
)
853 TM_STATE(2, SPS
, HOT
)
854 TM_STATE(3, SPS
, PRESSED
)
857 /* STARTPANEL - LOGOFFBUTTONS states */
858 BEGIN_TM_PART_STATES(LOGOFFBUTTONS
)
859 TM_STATE(1, SPLS
, NORMAL
)
860 TM_STATE(2, SPLS
, HOT
)
861 TM_STATE(3, SPLS
, PRESSED
)
865 BEGIN_TM_CLASS_PARTS(STATUS
)
867 TM_PART(2, SP
, GRIPPERPANE
)
868 TM_PART(3, SP
, GRIPPER
)
872 BEGIN_TM_CLASS_PARTS(TAB
)
873 TM_PART(1, TABP
, TABITEM
)
874 TM_PART(2, TABP
, TABITEMLEFTEDGE
)
875 TM_PART(3, TABP
, TABITEMRIGHTEDGE
)
876 TM_PART(4, TABP
, TABITEMBOTHEDGE
)
877 TM_PART(5, TABP
, TOPTABITEM
)
878 TM_PART(6, TABP
, TOPTABITEMLEFTEDGE
)
879 TM_PART(7, TABP
, TOPTABITEMRIGHTEDGE
)
880 TM_PART(8, TABP
, TOPTABITEMBOTHEDGE
)
881 TM_PART(9, TABP
, PANE
)
882 TM_PART(10, TABP
, BODY
)
885 /* TAB - TABITEM states */
886 BEGIN_TM_PART_STATES(TABITEM
)
887 TM_STATE(1, TIS
, NORMAL
)
888 TM_STATE(2, TIS
, HOT
)
889 TM_STATE(3, TIS
, SELECTED
)
890 TM_STATE(4, TIS
, DISABLED
)
891 TM_STATE(5, TIS
, FOCUSED
)
894 /* TAB - TABITEMLEFTEDGE states */
895 BEGIN_TM_PART_STATES(TABITEMLEFTEDGE
)
896 TM_STATE(1, TILES
, NORMAL
)
897 TM_STATE(2, TILES
, HOT
)
898 TM_STATE(3, TILES
, SELECTED
)
899 TM_STATE(4, TILES
, DISABLED
)
900 TM_STATE(5, TILES
, FOCUSED
)
903 /* TAB - TABITEMRIGHTEDGE states */
904 BEGIN_TM_PART_STATES(TABITEMRIGHTEDGE
)
905 TM_STATE(1, TIRES
, NORMAL
)
906 TM_STATE(2, TIRES
, HOT
)
907 TM_STATE(3, TIRES
, SELECTED
)
908 TM_STATE(4, TIRES
, DISABLED
)
909 TM_STATE(5, TIRES
, FOCUSED
)
912 /* TAB - TABITEMBOTHEDGES states */
913 BEGIN_TM_PART_STATES(TABITEMBOTHEDGES
)
914 TM_STATE(1, TIBES
, NORMAL
)
915 TM_STATE(2, TIBES
, HOT
)
916 TM_STATE(3, TIBES
, SELECTED
)
917 TM_STATE(4, TIBES
, DISABLED
)
918 TM_STATE(5, TIBES
, FOCUSED
)
921 /* TAB - TOPTABITEM states */
922 BEGIN_TM_PART_STATES(TOPTABITEM
)
923 TM_STATE(1, TTIS
, NORMAL
)
924 TM_STATE(2, TTIS
, HOT
)
925 TM_STATE(3, TTIS
, SELECTED
)
926 TM_STATE(4, TTIS
, DISABLED
)
927 TM_STATE(5, TTIS
, FOCUSED
)
930 /* TAB - TOPTABITEMLEFTEDGE states */
931 BEGIN_TM_PART_STATES(TOPTABITEMLEFTEDGE
)
932 TM_STATE(1, TTILES
, NORMAL
)
933 TM_STATE(2, TTILES
, HOT
)
934 TM_STATE(3, TTILES
, SELECTED
)
935 TM_STATE(4, TTILES
, DISABLED
)
936 TM_STATE(5, TTILES
, FOCUSED
)
939 /* TAB - TOPTABITEMRIGHTEDGE states */
940 BEGIN_TM_PART_STATES(TOPTABITEMRIGHTEDGE
)
941 TM_STATE(1, TTIRES
, NORMAL
)
942 TM_STATE(2, TTIRES
, HOT
)
943 TM_STATE(3, TTIRES
, SELECTED
)
944 TM_STATE(4, TTIRES
, DISABLED
)
945 TM_STATE(5, TTIRES
, FOCUSED
)
948 /* TAB - TOPTABITEMBOTHEDGES states */
949 BEGIN_TM_PART_STATES(TOPTABITEMBOTHEDGES
)
950 TM_STATE(1, TTIBES
, NORMAL
)
951 TM_STATE(2, TTIBES
, HOT
)
952 TM_STATE(3, TTIBES
, SELECTED
)
953 TM_STATE(4, TTIBES
, DISABLED
)
954 TM_STATE(5, TTIBES
, FOCUSED
)
958 BEGIN_TM_CLASS_PARTS(TASKBAND
)
959 TM_PART(1, TDP
, GROUPCOUNT
)
960 TM_PART(2, TDP
, FLASHBUTTON
)
961 TM_PART(3, TDP
, FLASHBUTTONGROUPMENU
)
965 BEGIN_TM_CLASS_PARTS(TASKBAR
)
966 TM_PART(1, TBP
, BACKGROUNDBOTTOM
)
967 TM_PART(2, TBP
, BACKGROUNDRIGHT
)
968 TM_PART(3, TBP
, BACKGROUNDTOP
)
969 TM_PART(4, TBP
, BACKGROUNDLEFT
)
970 TM_PART(5, TBP
, SIZINGBARBOTTOM
)
971 TM_PART(6, TBP
, SIZINGBARRIGHT
)
972 TM_PART(7, TBP
, SIZINGBARTOP
)
973 TM_PART(8, TBP
, SIZINGBARLEFT
)
977 BEGIN_TM_CLASS_PARTS(TOOLBAR
)
978 TM_PART(1, TP
, BUTTON
)
979 TM_PART(2, TP
, DROPDOWNBUTTON
)
980 TM_PART(3, TP
, SPLITBUTTON
)
981 TM_PART(4, TP
, SPLITBUTTONDROPDOWN
)
982 TM_PART(5, TP
, SEPARATOR
)
983 TM_PART(6, TP
, SEPARATORVERT
)
986 /* TOOLBAR - * states */
987 BEGIN_TM_PART_STATES(TOOLBAR
)
988 TM_STATE(1, TS
, NORMAL
)
990 TM_STATE(3, TS
, PRESSED
)
991 TM_STATE(4, TS
, DISABLED
)
992 TM_STATE(5, TS
, CHECKED
)
993 TM_STATE(6, TS
, HOTCHECKED
)
997 BEGIN_TM_CLASS_PARTS(TOOLTIP
)
998 TM_PART(1, TTP
, STANDARD
)
999 TM_PART(2, TTP
, STANDARDTITLE
)
1000 TM_PART(3, TTP
, BALLOON
)
1001 TM_PART(4, TTP
, BALLOONTITLE
)
1002 TM_PART(5, TTP
, CLOSE
)
1003 END_TM_CLASS_PARTS()
1005 /* TOOLTIP - STANDARD states */
1006 BEGIN_TM_PART_STATES(STANDARD
)
1007 TM_STATE(1, TTSS
, NORMAL
)
1008 TM_STATE(2, TTSS
, LINK
)
1009 END_TM_PART_STATES()
1011 /* TOOLTIP - STANDARDTITLE states */
1012 /* See TOOLTIP STANDARD */
1014 /* TOOLTIP - BALLOON states */
1015 BEGIN_TM_PART_STATES(BALLOON
)
1016 TM_STATE(1, TTBS
, NORMAL
)
1017 TM_STATE(2, TTBS
, LINK
)
1018 END_TM_PART_STATES()
1020 /* TOOLTIP - BALLOONTITLE states */
1021 /* See TOOLTIP BALLOON */
1023 /* TOOLTIP - CLOSE states */
1024 BEGIN_TM_PART_STATES(CLOSE
)
1025 TM_STATE(1, TTCS
, NORMAL
)
1026 TM_STATE(2, TTCS
, HOT
)
1027 TM_STATE(3, TTCS
, PRESSED
)
1028 END_TM_PART_STATES()
1030 /* TRACKBAR parts */
1031 BEGIN_TM_CLASS_PARTS(TRACKBAR
)
1032 TM_PART(1, TKP
, TRACK
)
1033 TM_PART(2, TKP
, TRACKVERT
)
1034 TM_PART(3, TKP
, THUMB
)
1035 TM_PART(4, TKP
, THUMBBOTTOM
)
1036 TM_PART(5, TKP
, THUMBTOP
)
1037 TM_PART(6, TKP
, THUMBVERT
)
1038 TM_PART(7, TKP
, THUMBLEFT
)
1039 TM_PART(8, TKP
, THUMBRIGHT
)
1040 TM_PART(9, TKP
, TICS
)
1041 TM_PART(10, TKP
, TICSVERT
)
1042 END_TM_CLASS_PARTS()
1044 /* TRACKBAR states */
1045 BEGIN_TM_PART_STATES(TRACKBAR
)
1046 TM_STATE(1, TKS
, NORMAL
)
1047 END_TM_PART_STATES()
1049 /* TRACKBAR - TRACK states */
1050 BEGIN_TM_PART_STATES(TRACK
)
1051 TM_STATE(1, TRS
, NORMAL
)
1052 END_TM_PART_STATES()
1054 /* TRACKBAR - TRACKVERT states */
1055 BEGIN_TM_PART_STATES(TRACKVERT
)
1056 TM_STATE(1, TRVS
, NORMAL
)
1057 END_TM_PART_STATES()
1059 /* TRACKBAR - THUMB states */
1060 BEGIN_TM_PART_STATES(THUMB
)
1061 TM_STATE(1, TUS
, NORMAL
)
1062 TM_STATE(2, TUS
, HOT
)
1063 TM_STATE(3, TUS
, PRESSED
)
1064 TM_STATE(4, TUS
, FOCUSED
)
1065 TM_STATE(5, TUS
, DISABLED
)
1066 END_TM_PART_STATES()
1068 /* TRACKBAR - THUMBBOTTOM states */
1069 BEGIN_TM_PART_STATES(THUMBBOTTOM
)
1070 TM_STATE(1, TUBS
, NORMAL
)
1071 TM_STATE(2, TUBS
, HOT
)
1072 TM_STATE(3, TUBS
, PRESSED
)
1073 TM_STATE(4, TUBS
, FOCUSED
)
1074 TM_STATE(5, TUBS
, DISABLED
)
1075 END_TM_PART_STATES()
1077 /* TRACKBAR - THUMBTOP states */
1078 BEGIN_TM_PART_STATES(THUMBTOP
)
1079 TM_STATE(1, TUTS
, NORMAL
)
1080 TM_STATE(2, TUTS
, HOT
)
1081 TM_STATE(3, TUTS
, PRESSED
)
1082 TM_STATE(4, TUTS
, FOCUSED
)
1083 TM_STATE(5, TUTS
, DISABLED
)
1084 END_TM_PART_STATES()
1086 /* TRACKBAR - THUMBVERT states */
1087 BEGIN_TM_PART_STATES(THUMBVERT
)
1088 TM_STATE(1, TUVS
, NORMAL
)
1089 TM_STATE(2, TUVS
, HOT
)
1090 TM_STATE(3, TUVS
, PRESSED
)
1091 TM_STATE(4, TUVS
, FOCUSED
)
1092 TM_STATE(5, TUVS
, DISABLED
)
1093 END_TM_PART_STATES()
1095 /* TRACKBAR - THUMBLEFT states */
1096 BEGIN_TM_PART_STATES(THUMBLEFT
)
1097 TM_STATE(1, TUVLS
, NORMAL
)
1098 TM_STATE(2, TUVLS
, HOT
)
1099 TM_STATE(3, TUVLS
, PRESSED
)
1100 TM_STATE(4, TUVLS
, FOCUSED
)
1101 TM_STATE(5, TUVLS
, DISABLED
)
1102 END_TM_PART_STATES()
1104 /* TRACKBAR - THUMBRIGHT states */
1105 BEGIN_TM_PART_STATES(THUMBRIGHT
)
1106 TM_STATE(1, TUVRS
, NORMAL
)
1107 TM_STATE(2, TUVRS
, HOT
)
1108 TM_STATE(3, TUVRS
, PRESSED
)
1109 TM_STATE(4, TUVRS
, FOCUSED
)
1110 TM_STATE(5, TUVRS
, DISABLED
)
1111 END_TM_PART_STATES()
1113 /* TRACKBAR - TICS states */
1114 BEGIN_TM_PART_STATES(TICS
)
1115 TM_STATE(1, TSS
, NORMAL
)
1116 END_TM_PART_STATES()
1118 /* TRACKBAR - TICSVERT states */
1119 BEGIN_TM_PART_STATES(TICSVERT
)
1120 TM_STATE(1, TSVS
, NORMAL
)
1121 END_TM_PART_STATES()
1123 /* TRAYNOTIFY parts */
1124 BEGIN_TM_CLASS_PARTS(TRAYNOTIFY
)
1125 TM_PART(1, TNP
, BACKGROUND
)
1126 TM_PART(2, TNP
, ANIMBACKGROUND
)
1127 END_TM_CLASS_PARTS()
1129 /* TREEVIEW parts */
1130 BEGIN_TM_CLASS_PARTS(TREEVIEW
)
1131 TM_PART(1, TVP
, TREEITEM
)
1132 TM_PART(2, TVP
, GLYPH
)
1133 TM_PART(3, TVP
, BRANCH
)
1134 END_TM_CLASS_PARTS()
1136 /* TREEVIEW - TREEITEM states */
1137 BEGIN_TM_PART_STATES(TREEITEM
)
1138 TM_STATE(1, TREIS
, NORMAL
)
1139 TM_STATE(2, TREIS
, HOT
)
1140 TM_STATE(3, TREIS
, SELECTED
)
1141 TM_STATE(4, TREIS
, DISABLED
)
1142 TM_STATE(5, TREIS
, SELECTEDNOTFOCUS
)
1143 END_TM_PART_STATES()
1145 /* TREEVIEW - GLYPH states */
1146 BEGIN_TM_PART_STATES(GLYPH
)
1147 TM_STATE(1, GLPS
, CLOSED
)
1148 TM_STATE(2, GLPS
, OPENED
)
1149 END_TM_PART_STATES()
1152 BEGIN_TM_CLASS_PARTS(WINDOW
)
1153 TM_PART(1, WP
, CAPTION
)
1154 TM_PART(2, WP
, SMALLCAPTION
)
1155 TM_PART(3, WP
, MINCAPTION
)
1156 TM_PART(4, WP
, SMALLMINCAPTION
)
1157 TM_PART(5, WP
, MAXCAPTION
)
1158 TM_PART(6, WP
, SMALLMAXCAPTION
)
1159 TM_PART(7, WP
, FRAMELEFT
)
1160 TM_PART(8, WP
, FRAMERIGHT
)
1161 TM_PART(9, WP
, FRAMEBOTTOM
)
1162 TM_PART(10, WP
, SMALLFRAMELEFT
)
1163 TM_PART(11, WP
, SMALLFRAMERIGHT
)
1164 TM_PART(12, WP
, SMALLFRAMEBOTTOM
)
1165 TM_PART(13, WP
, SYSBUTTON
)
1166 TM_PART(14, WP
, MDISYSBUTTON
)
1167 TM_PART(15, WP
, MINBUTTON
)
1168 TM_PART(16, WP
, MDIMINBUTTON
)
1169 TM_PART(17, WP
, MAXBUTTON
)
1170 TM_PART(18, WP
, CLOSEBUTTON
)
1171 TM_PART(19, WP
, SMALLCLOSEBUTTON
)
1172 TM_PART(20, WP
, MDICLOSEBUTTON
)
1173 TM_PART(21, WP
, RESTOREBUTTON
)
1174 TM_PART(22, WP
, MDIRESTOREBUTTON
)
1175 TM_PART(23, WP
, HELPBUTTON
)
1176 TM_PART(24, WP
, MDIHELPBUTTON
)
1177 TM_PART(25, WP
, HORZSCROLL
)
1178 TM_PART(26, WP
, HORZTHUMB
)
1179 TM_PART(27, WP
, VERTSCROLL
)
1180 TM_PART(28, WP
, VERTTHUMB
)
1181 TM_PART(29, WP
, DIALOG
)
1182 TM_PART(30, WP
, CAPTIONSIZINGTEMPLATE
)
1183 TM_PART(31, WP
, SMALLCAPTIONSIZINGTEMPLATE
)
1184 TM_PART(32, WP
, FRAMELEFTSIZINGTEMPLATE
)
1185 TM_PART(33, WP
, SMALLFRAMELEFTSIZINGTEMPLATE
)
1186 TM_PART(34, WP
, FRAMERIGHTSIZINGTEMPLATE
)
1187 TM_PART(35, WP
, SMALLFRAMERIGHTSIZINGTEMPLATE
)
1188 TM_PART(36, WP
, FRAMEBOTTOMSIZINGTEMPLATE
)
1189 TM_PART(37, WP
, SMALLFRAMEBOTTOMSIZINGTEMPLATE
)
1190 END_TM_CLASS_PARTS()
1192 /* WINDOW - CAPTION / SMALLCAPTION states */
1193 BEGIN_TM_PART_STATES(CAPTION
)
1194 TM_STATE(1, CS
, ACTIVE
)
1195 TM_STATE(2, CS
, INACTIVE
)
1196 TM_STATE(3, CS
, DISABLED
)
1197 END_TM_PART_STATES()
1199 /* WINDOW - MINCAPTION / SMALLMINCAPTION states */
1200 BEGIN_TM_PART_STATES(MINCAPTION
)
1201 TM_STATE(1, MNCS
, ACTIVE
)
1202 TM_STATE(2, MNCS
, INACTIVE
)
1203 TM_STATE(3, MNCS
, DISABLED
)
1204 END_TM_PART_STATES()
1206 /* WINDOW - MAXCAPTION / SMALLMAXCAPTION states */
1207 BEGIN_TM_PART_STATES(MAXCAPTION
)
1208 TM_STATE(1, MXCS
, ACTIVE
)
1209 TM_STATE(2, MXCS
, INACTIVE
)
1210 TM_STATE(3, MXCS
, DISABLED
)
1211 END_TM_PART_STATES()
1213 /* WINDOW - FRAME* / SMALLFRAME* states */
1214 BEGIN_TM_PART_STATES(FRAME
)
1215 TM_STATE(1, FS
, ACTIVE
)
1216 TM_STATE(2, FS
, INACTIVE
)
1217 END_TM_PART_STATES()
1219 /* WINDOW - SYSBUTTON / MDISYSBUTTON states */
1220 BEGIN_TM_PART_STATES(SYSBUTTON
)
1221 TM_STATE(1, SBS
, NORMAL
)
1222 TM_STATE(2, SBS
, HOT
)
1223 TM_STATE(3, SBS
, PUSHED
)
1224 TM_STATE(4, SBS
, DISABLED
)
1225 END_TM_PART_STATES()
1227 /* WINDOW - MINBUTTON / MDIMINBUTTON states */
1228 BEGIN_TM_PART_STATES(MINBUTTON
)
1229 TM_STATE(1, MINBS
, NORMAL
)
1230 TM_STATE(2, MINBS
, HOT
)
1231 TM_STATE(3, MINBS
, PUSHED
)
1232 TM_STATE(4, MINBS
, DISABLED
)
1233 END_TM_PART_STATES()
1235 /* WINDOW - MAXBUTTON states */
1236 BEGIN_TM_PART_STATES(MAXBUTTON
)
1237 TM_STATE(1, MAXBS
, NORMAL
)
1238 TM_STATE(2, MAXBS
, HOT
)
1239 TM_STATE(3, MAXBS
, PUSHED
)
1240 TM_STATE(4, MAXBS
, DISABLED
)
1241 END_TM_PART_STATES()
1243 /* WINDOW - CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON states */
1244 BEGIN_TM_PART_STATES(CLOSEBUTTON
)
1245 TM_STATE(1, CBS
, NORMAL
)
1246 TM_STATE(2, CBS
, HOT
)
1247 TM_STATE(3, CBS
, PUSHED
)
1248 TM_STATE(4, CBS
, DISABLED
)
1249 END_TM_PART_STATES()
1251 /* WINDOW - RESTOREBUTTON / MDIRESTOREBUTTON states */
1252 BEGIN_TM_PART_STATES(RESTOREBUTTON
)
1253 TM_STATE(1, RBS
, NORMAL
)
1254 TM_STATE(2, RBS
, HOT
)
1255 TM_STATE(3, RBS
, PUSHED
)
1256 TM_STATE(4, RBS
, DISABLED
)
1257 END_TM_PART_STATES()
1259 /* WINDOW - HELPBUTTON / MDIHELPBUTTON states */
1260 BEGIN_TM_PART_STATES(HELPBUTTON
)
1261 TM_STATE(1, HBS
, NORMAL
)
1262 TM_STATE(2, HBS
, HOT
)
1263 TM_STATE(3, HBS
, PUSHED
)
1264 TM_STATE(4, HBS
, DISABLED
)
1265 END_TM_PART_STATES()
1267 /* WINDOW - HORZSCROLL states */
1268 BEGIN_TM_PART_STATES(HORZSCROLL
)
1269 TM_STATE(1, HSS
, NORMAL
)
1270 TM_STATE(2, HSS
, HOT
)
1271 TM_STATE(3, HSS
, PUSHED
)
1272 TM_STATE(4, HSS
, DISABLED
)
1273 END_TM_PART_STATES()
1275 /* WINDOW - HORZTHUMB states */
1276 BEGIN_TM_PART_STATES(HORZTHUMB
)
1277 TM_STATE(1, HTS
, NORMAL
)
1278 TM_STATE(2, HTS
, HOT
)
1279 TM_STATE(3, HTS
, PUSHED
)
1280 TM_STATE(4, HTS
, DISABLED
)
1281 END_TM_PART_STATES()
1283 /* WINDOW - VERTSCROLL states */
1284 BEGIN_TM_PART_STATES(VERTSCROLL
)
1285 TM_STATE(1, VSS
, NORMAL
)
1286 TM_STATE(2, VSS
, HOT
)
1287 TM_STATE(3, VSS
, PUSHED
)
1288 TM_STATE(4, VSS
, DISABLED
)
1289 END_TM_PART_STATES()
1291 /* WINDOW - VERTTHUMB states */
1292 BEGIN_TM_PART_STATES(VERTTHUMB
)
1293 TM_STATE(1, VTS
, NORMAL
)
1294 TM_STATE(2, VTS
, HOT
)
1295 TM_STATE(3, VTS
, PUSHED
)
1296 TM_STATE(4, VTS
, DISABLED
)
1297 END_TM_PART_STATES()
1299 END_TM_SCHEMA(ThemeMgrSchema
)