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(HEADER
)
599 TM_PART(1, HP
, HEADERITEM
)
600 TM_PART(2, HP
, HEADERITEMLEFT
)
601 TM_PART(3, HP
, HEADERITEMRIGHT
)
602 TM_PART(4, HP
, HEADERSORTARROW
)
605 /* HEADER - HEADERITEM states */
606 BEGIN_TM_PART_STATES(HEADERITEM
)
607 TM_STATE(1, HIS
, NORMAL
)
608 TM_STATE(2, HIS
, HOT
)
609 TM_STATE(3, HIS
, PRESSED
)
612 /* HEADER - HEADERITEMLEFT states */
613 BEGIN_TM_PART_STATES(HEADERITEMLEFT
)
614 TM_STATE(1, HILS
, NORMAL
)
615 TM_STATE(2, HILS
, HOT
)
616 TM_STATE(3, HILS
, PRESSED
)
619 /* HEADER - HEADERITEMRIGHT states */
620 BEGIN_TM_PART_STATES(HEADERITEMRIGHT
)
621 TM_STATE(1, HIRS
, NORMAL
)
622 TM_STATE(2, HIRS
, HOT
)
623 TM_STATE(3, HIRS
, PRESSED
)
626 /* HEADER - HEADERSORTARROW states */
627 BEGIN_TM_PART_STATES(HEADERSORTARROW
)
628 TM_STATE(1, HSAS
, SORTEDUP
)
629 TM_STATE(2, HSAS
, SORTEDDOWN
)
633 BEGIN_TM_CLASS_PARTS(LISTVIEW
)
634 TM_PART(1, LVP
, LISTITEM
)
635 TM_PART(2, LVP
, LISTGROUP
)
636 TM_PART(3, LVP
, LISTDETAIL
)
637 TM_PART(4, LVP
, LISTSORTEDDETAIL
)
638 TM_PART(5, LVP
, EMPTYTEXT
)
641 /* LISTVIEW - LISTITEM states */
642 BEGIN_TM_PART_STATES(LISTITEM
)
643 TM_STATE(1, LIS
, NORMAL
)
644 TM_STATE(2, LIS
, HOT
)
645 TM_STATE(3, LIS
, SELECTED
)
646 TM_STATE(4, LIS
, DISABLED
)
647 TM_STATE(5, LIS
, SELECTEDNOTFOCUS
)
651 BEGIN_TM_CLASS_PARTS(MENU
)
652 TM_PART(1, MP
, MENUITEM
)
653 TM_PART(2, MP
, MENUDROPDOWN
)
654 TM_PART(3, MP
, MENUBARITEM
)
655 TM_PART(4, MP
, MENUBARDROPDOWN
)
656 TM_PART(5, MP
, CHEVRON
)
657 TM_PART(6, MP
, SEPARATOR
)
660 /* MENU - * states */
661 BEGIN_TM_PART_STATES(MENU
)
662 TM_STATE(1, MS
, NORMAL
)
663 TM_STATE(2, MS
, SELECTED
)
664 TM_STATE(3, MS
, DEMOTED
)
668 BEGIN_TM_CLASS_PARTS(MENUBAND
)
669 TM_PART(1, MDP
, NEWAPPBUTTON
)
670 /* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
671 TM_PART(2, MDP
, SEPERATOR
)
674 /* MENUBAND states */
675 BEGIN_TM_PART_STATES(MENUBAND
)
676 TM_STATE(1, MDS
, NORMAL
)
677 TM_STATE(2, MDS
, HOT
)
678 TM_STATE(3, MDS
, PRESSED
)
679 TM_STATE(4, MDS
, DISABLED
)
680 TM_STATE(5, MDS
, CHECKED
)
681 TM_STATE(6, MDS
, HOTCHECKED
)
685 BEGIN_TM_CLASS_PARTS(PAGE
)
687 TM_PART(2, PGRP
, DOWN
)
688 TM_PART(3, PGRP
, UPHORZ
)
689 TM_PART(4, PGRP
, DOWNHORZ
)
692 /* PAGE - UP states */
693 BEGIN_TM_PART_STATES(UP
)
694 TM_STATE(1, UPS
, NORMAL
)
695 TM_STATE(2, UPS
, HOT
)
696 TM_STATE(3, UPS
, PRESSED
)
697 TM_STATE(4, UPS
, DISABLED
)
700 /* PAGE - DOWN states */
701 BEGIN_TM_PART_STATES(DOWN
)
702 TM_STATE(1, DNS
, NORMAL
)
703 TM_STATE(2, DNS
, HOT
)
704 TM_STATE(3, DNS
, PRESSED
)
705 TM_STATE(4, DNS
, DISABLED
)
708 /* PAGE - UPHORZ states */
709 BEGIN_TM_PART_STATES(UPHORZ
)
710 TM_STATE(1, UPHZS
, NORMAL
)
711 TM_STATE(2, UPHZS
, HOT
)
712 TM_STATE(3, UPHZS
, PRESSED
)
713 TM_STATE(4, UPHZS
, DISABLED
)
716 /* PAGE - DOWNHORZ states */
717 BEGIN_TM_PART_STATES(DOWNHORZ
)
718 TM_STATE(1, DNHZS
, NORMAL
)
719 TM_STATE(2, DNHZS
, HOT
)
720 TM_STATE(3, DNHZS
, PRESSED
)
721 TM_STATE(4, DNHZS
, DISABLED
)
725 BEGIN_TM_CLASS_PARTS(PROGRESS
)
727 TM_PART(2, PP
, BARVERT
)
728 TM_PART(3, PP
, CHUNK
)
729 TM_PART(4, PP
, CHUNKVERT
)
733 BEGIN_TM_CLASS_PARTS(REBAR
)
734 TM_PART(1, RP
, GRIPPER
)
735 TM_PART(2, RP
, GRIPPERVERT
)
737 TM_PART(4, RP
, CHEVRON
)
738 TM_PART(5, RP
, CHEVRONVERT
)
741 /* REBAR - CHEVRON states */
742 BEGIN_TM_PART_STATES(CHEVRON
)
743 TM_STATE(1, CHEVS
, NORMAL
)
744 TM_STATE(2, CHEVS
, HOT
)
745 TM_STATE(3, CHEVS
, PRESSED
)
748 /* SCROLLBAR parts */
749 BEGIN_TM_CLASS_PARTS(SCROLLBAR
)
750 TM_PART(1, SBP
, ARROWBTN
)
751 TM_PART(2, SBP
, THUMBBTNHORZ
)
752 TM_PART(3, SBP
, THUMBBTNVERT
)
753 TM_PART(4, SBP
, LOWERTRACKHORZ
)
754 TM_PART(5, SBP
, UPPERTRACKHORZ
)
755 TM_PART(6, SBP
, LOWERTRACKVERT
)
756 TM_PART(7, SBP
, UPPERTRACKVERT
)
757 TM_PART(8, SBP
, GRIPPERHORZ
)
758 TM_PART(9, SBP
, GRIPPERVERT
)
759 TM_PART(10, SBP
, SIZEBOX
)
762 /* SCROLLBAR - ARROWBTN states */
763 BEGIN_TM_PART_STATES(ARROWBTN
)
764 TM_STATE(1, ABS
, UPNORMAL
)
765 TM_STATE(2, ABS
, UPHOT
)
766 TM_STATE(3, ABS
, UPPRESSED
)
767 TM_STATE(4, ABS
, UPDISABLED
)
768 TM_STATE(5, ABS
, DOWNNORMAL
)
769 TM_STATE(6, ABS
, DOWNHOT
)
770 TM_STATE(7, ABS
, DOWNPRESSED
)
771 TM_STATE(8, ABS
, DOWNDISABLED
)
772 TM_STATE(9, ABS
, LEFTNORMAL
)
773 TM_STATE(10, ABS
, LEFTHOT
)
774 TM_STATE(11, ABS
, LEFTPRESSED
)
775 TM_STATE(12, ABS
, LEFTDISABLED
)
776 TM_STATE(13, ABS
, RIGHTNORMAL
)
777 TM_STATE(14, ABS
, RIGHTHOT
)
778 TM_STATE(15, ABS
, RIGHTPRESSED
)
779 TM_STATE(16, ABS
, RIGHTDISABLED
)
782 /* SCROLLBAR - LOWER* / THUMB* / UPPER* states */
783 BEGIN_TM_PART_STATES(SCROLLBAR
)
784 TM_STATE(1, SCRBS
, NORMAL
)
785 TM_STATE(2, SCRBS
, HOT
)
786 TM_STATE(3, SCRBS
, PRESSED
)
787 TM_STATE(4, SCRBS
, DISABLED
)
790 /* SCROLLBAR - SIZEBOX states */
791 BEGIN_TM_PART_STATES(SIZEBOX
)
792 TM_STATE(1, SZB
, RIGHTALIGN
)
793 TM_STATE(2, SZB
, LEFTALIGN
)
797 BEGIN_TM_CLASS_PARTS(SPIN
)
799 TM_PART(2, SPNP
, DOWN
)
800 TM_PART(3, SPNP
, UPHORZ
)
801 TM_PART(4, SPNP
, DOWNHORZ
)
805 /* See PAGE states */
807 /* STARTPANEL parts */
808 BEGIN_TM_CLASS_PARTS(STARTPANEL
)
809 TM_PART(1, SPP
, USERPANE
)
810 TM_PART(2, SPP
, MOREPROGRAMS
)
811 TM_PART(3, SPP
, MOREPROGRAMSARROW
)
812 TM_PART(4, SPP
, PROGLIST
)
813 TM_PART(5, SPP
, PROGLISTSEPARATOR
)
814 TM_PART(6, SPP
, PLACESLIST
)
815 TM_PART(7, SPP
, PLACESLISTSEPARATOR
)
816 TM_PART(8, SPP
, LOGOFF
)
817 TM_PART(9, SPP
, LOGOFFBUTTONS
)
818 TM_PART(10, SPP
, USERPICTURE
)
819 TM_PART(11, SPP
, PREVIEW
)
822 /* STARTPANEL - MOREPROGRAMSARROW states */
823 BEGIN_TM_PART_STATES(MOREPROGRAMSARROW
)
824 TM_STATE(1, SPS
, NORMAL
)
825 TM_STATE(2, SPS
, HOT
)
826 TM_STATE(3, SPS
, PRESSED
)
829 /* STARTPANEL - LOGOFFBUTTONS states */
830 BEGIN_TM_PART_STATES(LOGOFFBUTTONS
)
831 TM_STATE(1, SPLS
, NORMAL
)
832 TM_STATE(2, SPLS
, HOT
)
833 TM_STATE(3, SPLS
, PRESSED
)
837 BEGIN_TM_CLASS_PARTS(STATUS
)
839 TM_PART(2, SP
, GRIPPERPANE
)
840 TM_PART(3, SP
, GRIPPER
)
844 BEGIN_TM_CLASS_PARTS(TAB
)
845 TM_PART(1, TABP
, TABITEM
)
846 TM_PART(2, TABP
, TABITEMLEFTEDGE
)
847 TM_PART(3, TABP
, TABITEMRIGHTEDGE
)
848 TM_PART(4, TABP
, TABITEMBOTHEDGE
)
849 TM_PART(5, TABP
, TOPTABITEM
)
850 TM_PART(6, TABP
, TOPTABITEMLEFTEDGE
)
851 TM_PART(7, TABP
, TOPTABITEMRIGHTEDGE
)
852 TM_PART(8, TABP
, TOPTABITEMBOTHEDGE
)
853 TM_PART(9, TABP
, PANE
)
854 TM_PART(10, TABP
, BODY
)
857 /* TAB - TABITEM states */
858 BEGIN_TM_PART_STATES(TABITEM
)
859 TM_STATE(1, TIS
, NORMAL
)
860 TM_STATE(2, TIS
, HOT
)
861 TM_STATE(3, TIS
, SELECTED
)
862 TM_STATE(4, TIS
, DISABLED
)
863 TM_STATE(5, TIS
, FOCUSED
)
866 /* TAB - TABITEMLEFTEDGE states */
867 BEGIN_TM_PART_STATES(TABITEMLEFTEDGE
)
868 TM_STATE(1, TILES
, NORMAL
)
869 TM_STATE(2, TILES
, HOT
)
870 TM_STATE(3, TILES
, SELECTED
)
871 TM_STATE(4, TILES
, DISABLED
)
872 TM_STATE(5, TILES
, FOCUSED
)
875 /* TAB - TABITEMRIGHTEDGE states */
876 BEGIN_TM_PART_STATES(TABITEMRIGHTEDGE
)
877 TM_STATE(1, TIRES
, NORMAL
)
878 TM_STATE(2, TIRES
, HOT
)
879 TM_STATE(3, TIRES
, SELECTED
)
880 TM_STATE(4, TIRES
, DISABLED
)
881 TM_STATE(5, TIRES
, FOCUSED
)
884 /* TAB - TABITEMBOTHEDGES states */
885 BEGIN_TM_PART_STATES(TABITEMBOTHEDGES
)
886 TM_STATE(1, TIBES
, NORMAL
)
887 TM_STATE(2, TIBES
, HOT
)
888 TM_STATE(3, TIBES
, SELECTED
)
889 TM_STATE(4, TIBES
, DISABLED
)
890 TM_STATE(5, TIBES
, FOCUSED
)
893 /* TAB - TOPTABITEM states */
894 BEGIN_TM_PART_STATES(TOPTABITEM
)
895 TM_STATE(1, TTIS
, NORMAL
)
896 TM_STATE(2, TTIS
, HOT
)
897 TM_STATE(3, TTIS
, SELECTED
)
898 TM_STATE(4, TTIS
, DISABLED
)
899 TM_STATE(5, TTIS
, FOCUSED
)
902 /* TAB - TOPTABITEMLEFTEDGE states */
903 BEGIN_TM_PART_STATES(TOPTABITEMLEFTEDGE
)
904 TM_STATE(1, TTILES
, NORMAL
)
905 TM_STATE(2, TTILES
, HOT
)
906 TM_STATE(3, TTILES
, SELECTED
)
907 TM_STATE(4, TTILES
, DISABLED
)
908 TM_STATE(5, TTILES
, FOCUSED
)
911 /* TAB - TOPTABITEMRIGHTEDGE states */
912 BEGIN_TM_PART_STATES(TOPTABITEMRIGHTEDGE
)
913 TM_STATE(1, TTIRES
, NORMAL
)
914 TM_STATE(2, TTIRES
, HOT
)
915 TM_STATE(3, TTIRES
, SELECTED
)
916 TM_STATE(4, TTIRES
, DISABLED
)
917 TM_STATE(5, TTIRES
, FOCUSED
)
920 /* TAB - TOPTABITEMBOTHEDGES states */
921 BEGIN_TM_PART_STATES(TOPTABITEMBOTHEDGES
)
922 TM_STATE(1, TTIBES
, NORMAL
)
923 TM_STATE(2, TTIBES
, HOT
)
924 TM_STATE(3, TTIBES
, SELECTED
)
925 TM_STATE(4, TTIBES
, DISABLED
)
926 TM_STATE(5, TTIBES
, FOCUSED
)
930 BEGIN_TM_CLASS_PARTS(TASKBAND
)
931 TM_PART(1, TDP
, GROUPCOUNT
)
932 TM_PART(2, TDP
, FLASHBUTTON
)
933 TM_PART(3, TDP
, FLASHBUTTONGROUPMENU
)
937 BEGIN_TM_CLASS_PARTS(TASKBAR
)
938 TM_PART(1, TBP
, BACKGROUNDBOTTOM
)
939 TM_PART(2, TBP
, BACKGROUNDRIGHT
)
940 TM_PART(3, TBP
, BACKGROUNDTOP
)
941 TM_PART(4, TBP
, BACKGROUNDLEFT
)
942 TM_PART(5, TBP
, SIZINGBARBOTTOM
)
943 TM_PART(6, TBP
, SIZINGBARRIGHT
)
944 TM_PART(7, TBP
, SIZINGBARTOP
)
945 TM_PART(8, TBP
, SIZINGBARLEFT
)
949 BEGIN_TM_CLASS_PARTS(TOOLBAR
)
950 TM_PART(1, TP
, BUTTON
)
951 TM_PART(2, TP
, DROPDOWNBUTTON
)
952 TM_PART(3, TP
, SPLITBUTTON
)
953 TM_PART(4, TP
, SPLITBUTTONDROPDOWN
)
954 TM_PART(5, TP
, SEPARATOR
)
955 TM_PART(6, TP
, SEPARATORVERT
)
958 /* TOOLBAR - * states */
959 BEGIN_TM_PART_STATES(TOOLBAR
)
960 TM_STATE(1, TS
, NORMAL
)
962 TM_STATE(3, TS
, PRESSED
)
963 TM_STATE(4, TS
, DISABLED
)
964 TM_STATE(5, TS
, CHECKED
)
965 TM_STATE(6, TS
, HOTCHECKED
)
969 BEGIN_TM_CLASS_PARTS(TOOLTIP
)
970 TM_PART(1, TTP
, STANDARD
)
971 TM_PART(2, TTP
, STANDARDTITLE
)
972 TM_PART(3, TTP
, BALLOON
)
973 TM_PART(4, TTP
, BALLOONTITLE
)
974 TM_PART(5, TTP
, CLOSE
)
977 /* TOOLTIP - STANDARD states */
978 BEGIN_TM_PART_STATES(STANDARD
)
979 TM_STATE(1, TTSS
, NORMAL
)
980 TM_STATE(2, TTSS
, LINK
)
983 /* TOOLTIP - STANDARDTITLE states */
984 /* See TOOLTIP STANDARD */
986 /* TOOLTIP - BALLOON states */
987 BEGIN_TM_PART_STATES(BALLOON
)
988 TM_STATE(1, TTBS
, NORMAL
)
989 TM_STATE(2, TTBS
, LINK
)
992 /* TOOLTIP - BALLOONTITLE states */
993 /* See TOOLTIP BALLOON */
995 /* TOOLTIP - CLOSE states */
996 BEGIN_TM_PART_STATES(CLOSE
)
997 TM_STATE(1, TTCS
, NORMAL
)
998 TM_STATE(2, TTCS
, HOT
)
999 TM_STATE(3, TTCS
, PRESSED
)
1000 END_TM_PART_STATES()
1002 /* TRACKBAR parts */
1003 BEGIN_TM_CLASS_PARTS(TRACKBAR
)
1004 TM_PART(1, TKP
, TRACK
)
1005 TM_PART(2, TKP
, TRACKVERT
)
1006 TM_PART(3, TKP
, THUMB
)
1007 TM_PART(4, TKP
, THUMBBOTTOM
)
1008 TM_PART(5, TKP
, THUMBTOP
)
1009 TM_PART(6, TKP
, THUMBVERT
)
1010 TM_PART(7, TKP
, THUMBLEFT
)
1011 TM_PART(8, TKP
, THUMBRIGHT
)
1012 TM_PART(9, TKP
, TICS
)
1013 TM_PART(10, TKP
, TICSVERT
)
1014 END_TM_CLASS_PARTS()
1016 /* TRACKBAR states */
1017 BEGIN_TM_PART_STATES(TRACKBAR
)
1018 TM_STATE(1, TKS
, NORMAL
)
1019 END_TM_PART_STATES()
1021 /* TRACKBAR - TRACK states */
1022 BEGIN_TM_PART_STATES(TRACK
)
1023 TM_STATE(1, TRS
, NORMAL
)
1024 END_TM_PART_STATES()
1026 /* TRACKBAR - TRACKVERT states */
1027 BEGIN_TM_PART_STATES(TRACKVERT
)
1028 TM_STATE(1, TRVS
, NORMAL
)
1029 END_TM_PART_STATES()
1031 /* TRACKBAR - THUMB states */
1032 BEGIN_TM_PART_STATES(THUMB
)
1033 TM_STATE(1, TUS
, NORMAL
)
1034 TM_STATE(2, TUS
, HOT
)
1035 TM_STATE(3, TUS
, PRESSED
)
1036 TM_STATE(4, TUS
, FOCUSED
)
1037 TM_STATE(5, TUS
, DISABLED
)
1038 END_TM_PART_STATES()
1040 /* TRACKBAR - THUMBBOTTOM states */
1041 BEGIN_TM_PART_STATES(THUMBBOTTOM
)
1042 TM_STATE(1, TUBS
, NORMAL
)
1043 TM_STATE(2, TUBS
, HOT
)
1044 TM_STATE(3, TUBS
, PRESSED
)
1045 TM_STATE(4, TUBS
, FOCUSED
)
1046 TM_STATE(5, TUBS
, DISABLED
)
1047 END_TM_PART_STATES()
1049 /* TRACKBAR - THUMBTOP states */
1050 BEGIN_TM_PART_STATES(THUMBTOP
)
1051 TM_STATE(1, TUTS
, NORMAL
)
1052 TM_STATE(2, TUTS
, HOT
)
1053 TM_STATE(3, TUTS
, PRESSED
)
1054 TM_STATE(4, TUTS
, FOCUSED
)
1055 TM_STATE(5, TUTS
, DISABLED
)
1056 END_TM_PART_STATES()
1058 /* TRACKBAR - THUMBVERT states */
1059 BEGIN_TM_PART_STATES(THUMBVERT
)
1060 TM_STATE(1, TUVS
, NORMAL
)
1061 TM_STATE(2, TUVS
, HOT
)
1062 TM_STATE(3, TUVS
, PRESSED
)
1063 TM_STATE(4, TUVS
, FOCUSED
)
1064 TM_STATE(5, TUVS
, DISABLED
)
1065 END_TM_PART_STATES()
1067 /* TRACKBAR - THUMBLEFT states */
1068 BEGIN_TM_PART_STATES(THUMBLEFT
)
1069 TM_STATE(1, TUVLS
, NORMAL
)
1070 TM_STATE(2, TUVLS
, HOT
)
1071 TM_STATE(3, TUVLS
, PRESSED
)
1072 TM_STATE(4, TUVLS
, FOCUSED
)
1073 TM_STATE(5, TUVLS
, DISABLED
)
1074 END_TM_PART_STATES()
1076 /* TRACKBAR - THUMBRIGHT states */
1077 BEGIN_TM_PART_STATES(THUMBRIGHT
)
1078 TM_STATE(1, TUVRS
, NORMAL
)
1079 TM_STATE(2, TUVRS
, HOT
)
1080 TM_STATE(3, TUVRS
, PRESSED
)
1081 TM_STATE(4, TUVRS
, FOCUSED
)
1082 TM_STATE(5, TUVRS
, DISABLED
)
1083 END_TM_PART_STATES()
1085 /* TRACKBAR - TICS states */
1086 BEGIN_TM_PART_STATES(TICS
)
1087 TM_STATE(1, TSS
, NORMAL
)
1088 END_TM_PART_STATES()
1090 /* TRACKBAR - TICSVERT states */
1091 BEGIN_TM_PART_STATES(TICSVERT
)
1092 TM_STATE(1, TSVS
, NORMAL
)
1093 END_TM_PART_STATES()
1095 /* TRAYNOTIFY parts */
1096 BEGIN_TM_CLASS_PARTS(TRAYNOTIFY
)
1097 TM_PART(1, TNP
, BACKGROUND
)
1098 TM_PART(2, TNP
, ANIMBACKGROUND
)
1099 END_TM_CLASS_PARTS()
1101 /* TREEVIEW parts */
1102 BEGIN_TM_CLASS_PARTS(TREEVIEW
)
1103 TM_PART(1, TVP
, TREEITEM
)
1104 TM_PART(2, TVP
, GLYPH
)
1105 TM_PART(3, TVP
, BRANCH
)
1106 END_TM_CLASS_PARTS()
1108 /* TREEVIEW - TREEITEM states */
1109 BEGIN_TM_PART_STATES(TREEITEM
)
1110 TM_STATE(1, TREIS
, NORMAL
)
1111 TM_STATE(2, TREIS
, HOT
)
1112 TM_STATE(3, TREIS
, SELECTED
)
1113 TM_STATE(4, TREIS
, DISABLED
)
1114 TM_STATE(5, TREIS
, SELECTEDNOTFOCUS
)
1115 END_TM_PART_STATES()
1117 /* TREEVIEW - GLYPH states */
1118 BEGIN_TM_PART_STATES(GLYPH
)
1119 TM_STATE(1, GLPS
, CLOSED
)
1120 TM_STATE(2, GLPS
, OPENED
)
1121 END_TM_PART_STATES()
1124 BEGIN_TM_CLASS_PARTS(WINDOW
)
1125 TM_PART(1, WP
, CAPTION
)
1126 TM_PART(2, WP
, SMALLCAPTION
)
1127 TM_PART(3, WP
, MINCAPTION
)
1128 TM_PART(4, WP
, SMALLMINCAPTION
)
1129 TM_PART(5, WP
, MAXCAPTION
)
1130 TM_PART(6, WP
, SMALLMAXCAPTION
)
1131 TM_PART(7, WP
, FRAMELEFT
)
1132 TM_PART(8, WP
, FRAMERIGHT
)
1133 TM_PART(9, WP
, FRAMEBOTTOM
)
1134 TM_PART(10, WP
, SMALLFRAMELEFT
)
1135 TM_PART(11, WP
, SMALLFRAMERIGHT
)
1136 TM_PART(12, WP
, SMALLFRAMEBOTTOM
)
1137 TM_PART(13, WP
, SYSBUTTON
)
1138 TM_PART(14, WP
, MDISYSBUTTON
)
1139 TM_PART(15, WP
, MINBUTTON
)
1140 TM_PART(16, WP
, MDIMINBUTTON
)
1141 TM_PART(17, WP
, MAXBUTTON
)
1142 TM_PART(18, WP
, CLOSEBUTTON
)
1143 TM_PART(19, WP
, SMALLCLOSEBUTTON
)
1144 TM_PART(20, WP
, MDICLOSEBUTTON
)
1145 TM_PART(21, WP
, RESTOREBUTTON
)
1146 TM_PART(22, WP
, MDIRESTOREBUTTON
)
1147 TM_PART(23, WP
, HELPBUTTON
)
1148 TM_PART(24, WP
, MDIHELPBUTTON
)
1149 TM_PART(25, WP
, HORZSCROLL
)
1150 TM_PART(26, WP
, HORZTHUMB
)
1151 TM_PART(27, WP
, VERTSCROLL
)
1152 TM_PART(28, WP
, VERTTHUMB
)
1153 TM_PART(29, WP
, DIALOG
)
1154 TM_PART(30, WP
, CAPTIONSIZINGTEMPLATE
)
1155 TM_PART(31, WP
, SMALLCAPTIONSIZINGTEMPLATE
)
1156 TM_PART(32, WP
, FRAMELEFTSIZINGTEMPLATE
)
1157 TM_PART(33, WP
, SMALLFRAMELEFTSIZINGTEMPLATE
)
1158 TM_PART(34, WP
, FRAMERIGHTSIZINGTEMPLATE
)
1159 TM_PART(35, WP
, SMALLFRAMERIGHTSIZINGTEMPLATE
)
1160 TM_PART(36, WP
, FRAMEBOTTOMSIZINGTEMPLATE
)
1161 TM_PART(37, WP
, SMALLFRAMEBOTTOMSIZINGTEMPLATE
)
1162 END_TM_CLASS_PARTS()
1164 /* WINDOW - CAPTION / SMALLCAPTION states */
1165 BEGIN_TM_PART_STATES(CAPTION
)
1166 TM_STATE(1, CS
, ACTIVE
)
1167 TM_STATE(2, CS
, INACTIVE
)
1168 TM_STATE(3, CS
, DISABLED
)
1169 END_TM_PART_STATES()
1171 /* WINDOW - MINCAPTION / SMALLMINCAPTION states */
1172 BEGIN_TM_PART_STATES(MINCAPTION
)
1173 TM_STATE(1, MNCS
, ACTIVE
)
1174 TM_STATE(2, MNCS
, INACTIVE
)
1175 TM_STATE(3, MNCS
, DISABLED
)
1176 END_TM_PART_STATES()
1178 /* WINDOW - MAXCAPTION / SMALLMAXCAPTION states */
1179 BEGIN_TM_PART_STATES(MAXCAPTION
)
1180 TM_STATE(1, MXCS
, ACTIVE
)
1181 TM_STATE(2, MXCS
, INACTIVE
)
1182 TM_STATE(3, MXCS
, DISABLED
)
1183 END_TM_PART_STATES()
1185 /* WINDOW - FRAME* / SMALLFRAME* states */
1186 BEGIN_TM_PART_STATES(FRAME
)
1187 TM_STATE(1, FS
, ACTIVE
)
1188 TM_STATE(2, FS
, INACTIVE
)
1189 END_TM_PART_STATES()
1191 /* WINDOW - SYSBUTTON / MDISYSBUTTON states */
1192 BEGIN_TM_PART_STATES(SYSBUTTON
)
1193 TM_STATE(1, SBS
, NORMAL
)
1194 TM_STATE(2, SBS
, HOT
)
1195 TM_STATE(3, SBS
, PUSHED
)
1196 TM_STATE(4, SBS
, DISABLED
)
1197 END_TM_PART_STATES()
1199 /* WINDOW - MINBUTTON / MDIMINBUTTON states */
1200 BEGIN_TM_PART_STATES(MINBUTTON
)
1201 TM_STATE(1, MINBS
, NORMAL
)
1202 TM_STATE(2, MINBS
, HOT
)
1203 TM_STATE(3, MINBS
, PUSHED
)
1204 TM_STATE(4, MINBS
, DISABLED
)
1205 END_TM_PART_STATES()
1207 /* WINDOW - MAXBUTTON states */
1208 BEGIN_TM_PART_STATES(MAXBUTTON
)
1209 TM_STATE(1, MAXBS
, NORMAL
)
1210 TM_STATE(2, MAXBS
, HOT
)
1211 TM_STATE(3, MAXBS
, PUSHED
)
1212 TM_STATE(4, MAXBS
, DISABLED
)
1213 END_TM_PART_STATES()
1215 /* WINDOW - CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON states */
1216 BEGIN_TM_PART_STATES(CLOSEBUTTON
)
1217 TM_STATE(1, CBS
, NORMAL
)
1218 TM_STATE(2, CBS
, HOT
)
1219 TM_STATE(3, CBS
, PUSHED
)
1220 TM_STATE(4, CBS
, DISABLED
)
1221 END_TM_PART_STATES()
1223 /* WINDOW - RESTOREBUTTON / MDIRESTOREBUTTON states */
1224 BEGIN_TM_PART_STATES(RESTOREBUTTON
)
1225 TM_STATE(1, RBS
, NORMAL
)
1226 TM_STATE(2, RBS
, HOT
)
1227 TM_STATE(3, RBS
, PUSHED
)
1228 TM_STATE(4, RBS
, DISABLED
)
1229 END_TM_PART_STATES()
1231 /* WINDOW - HELPBUTTON / MDIHELPBUTTON states */
1232 BEGIN_TM_PART_STATES(HELPBUTTON
)
1233 TM_STATE(1, HBS
, NORMAL
)
1234 TM_STATE(2, HBS
, HOT
)
1235 TM_STATE(3, HBS
, PUSHED
)
1236 TM_STATE(4, HBS
, DISABLED
)
1237 END_TM_PART_STATES()
1239 /* WINDOW - HORZSCROLL states */
1240 BEGIN_TM_PART_STATES(HORZSCROLL
)
1241 TM_STATE(1, HSS
, NORMAL
)
1242 TM_STATE(2, HSS
, HOT
)
1243 TM_STATE(3, HSS
, PUSHED
)
1244 TM_STATE(4, HSS
, DISABLED
)
1245 END_TM_PART_STATES()
1247 /* WINDOW - HORZTHUMB states */
1248 BEGIN_TM_PART_STATES(HORZTHUMB
)
1249 TM_STATE(1, HTS
, NORMAL
)
1250 TM_STATE(2, HTS
, HOT
)
1251 TM_STATE(3, HTS
, PUSHED
)
1252 TM_STATE(4, HTS
, DISABLED
)
1253 END_TM_PART_STATES()
1255 /* WINDOW - VERTSCROLL states */
1256 BEGIN_TM_PART_STATES(VERTSCROLL
)
1257 TM_STATE(1, VSS
, NORMAL
)
1258 TM_STATE(2, VSS
, HOT
)
1259 TM_STATE(3, VSS
, PUSHED
)
1260 TM_STATE(4, VSS
, DISABLED
)
1261 END_TM_PART_STATES()
1263 /* WINDOW - VERTTHUMB states */
1264 BEGIN_TM_PART_STATES(VERTTHUMB
)
1265 TM_STATE(1, VTS
, NORMAL
)
1266 TM_STATE(2, VTS
, HOT
)
1267 TM_STATE(3, VTS
, PUSHED
)
1268 TM_STATE(4, VTS
, DISABLED
)
1269 END_TM_PART_STATES()
1271 END_TM_SCHEMA(ThemeMgrSchema
)