VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/tmschema.h@ 19982

Last change on this file since 19982 was 16477, checked in by vboxsync, 16 years ago

LGPL disclaimer by filemuncher

  • Property svn:eol-style set to native
File size: 39.1 KB
Line 
1/*
2 * Copyright (C) 2003 Kevin Koltzau
3 * Copyright (C) 2004 Francois Gouget
4 *
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.
9 *
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.
14 *
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
18 */
19
20/*
21 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
22 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
23 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
24 * a choice of LGPL license versions is made available with the language indicating
25 * that LGPLv2 or any later version may be used, or where a choice of which version
26 * of the LGPL is applied is otherwise unspecified.
27 */
28
29#ifndef __WINE_TMSCHEMA_H
30#define __WINE_TMSCHEMA_H
31
32#include <schemadef.h>
33
34BEGIN_TM_SCHEMA(ThemeMgrSchema)
35
36
37/***** ENUMERATIONS *****/
38
39/* BGTYPE Enum */
40BEGIN_TM_ENUM(BGTYPE)
41 TM_ENUM(0, BT, IMAGEFILE)
42 TM_ENUM(1, BT, BORDERFILL)
43 TM_ENUM(2, BT, NONE)
44END_TM_ENUM()
45
46/* IMAGELAYOUT Enum */
47BEGIN_TM_ENUM(IMAGELAYOUT)
48 TM_ENUM(0, IL, VERTICAL)
49 TM_ENUM(1, IL, HORIZONTAL)
50END_TM_ENUM()
51
52/* BORDERTYPE Enum */
53BEGIN_TM_ENUM(BORDERTYPE)
54 TM_ENUM(0, BT, RECT)
55 TM_ENUM(1, BT, ROUNDRECT)
56 TM_ENUM(2, BT, ELLIPSE)
57END_TM_ENUM()
58
59/* FILLTYPE Enum */
60BEGIN_TM_ENUM(FILLTYPE)
61 TM_ENUM(0, FT, SOLID)
62 TM_ENUM(1, FT, VERTGRADIENT)
63 TM_ENUM(2, FT, HORZGRADIENT)
64 TM_ENUM(3, FT, RADIALGRADIENT)
65 TM_ENUM(4, FT, TILEIMAGE)
66END_TM_ENUM()
67
68/* SIZINGTYPE Enum */
69BEGIN_TM_ENUM(SIZINGTYPE)
70 TM_ENUM(0, ST, TRUESIZE)
71 TM_ENUM(1, ST, STRETCH)
72 TM_ENUM(2, ST, TILE)
73END_TM_ENUM()
74
75/* HALIGN Enum */
76BEGIN_TM_ENUM(HALIGN)
77 TM_ENUM(0, HA, LEFT)
78 TM_ENUM(1, HA, CENTER)
79 TM_ENUM(2, HA, RIGHT)
80END_TM_ENUM()
81
82/* CONTENTALIGNMENT Enum */
83BEGIN_TM_ENUM(CONTENTALIGNMENT)
84 TM_ENUM(0, CA, LEFT)
85 TM_ENUM(1, CA, CENTER)
86 TM_ENUM(2, CA, RIGHT)
87END_TM_ENUM()
88
89/* VALIGN Enum */
90BEGIN_TM_ENUM(VALIGN)
91 TM_ENUM(0, VA, TOP)
92 TM_ENUM(1, VA, CENTER)
93 TM_ENUM(2, VA, BOTTOM)
94END_TM_ENUM()
95
96/* OFFSETTYPE Enum */
97BEGIN_TM_ENUM(OFFSETTYPE)
98 TM_ENUM(0, OT, TOPLEFT)
99 TM_ENUM(1, OT, TOPRIGHT)
100 TM_ENUM(2, OT, TOPMIDDLE)
101 TM_ENUM(3, OT, BOTTOMLEFT)
102 TM_ENUM(4, OT, BOTTOMRIGHT)
103 TM_ENUM(5, OT, BOTTOMMIDDLE)
104 TM_ENUM(6, OT, MIDDLELEFT)
105 TM_ENUM(7, OT, MIDDLERIGHT)
106 TM_ENUM(8, OT, LEFTOFCAPTION)
107 TM_ENUM(9, OT, RIGHTOFCAPTION)
108 TM_ENUM(10, OT, LEFTOFLASTBUTTON)
109 TM_ENUM(11, OT, RIGHTOFLASTBUTTON)
110 TM_ENUM(12, OT, ABOVELASTBUTTON)
111 TM_ENUM(13, OT, BELOWLASTBUTTON)
112END_TM_ENUM()
113
114/* ICONEFFECT Enum */
115BEGIN_TM_ENUM(ICONEFFECT)
116 TM_ENUM(0, ICE, NONE)
117 TM_ENUM(1, ICE, GLOW)
118 TM_ENUM(2, ICE, SHADOW)
119 TM_ENUM(3, ICE, PULSE)
120 TM_ENUM(4, ICE, ALPHA)
121END_TM_ENUM()
122
123/* TEXTSHADOWTYPE Enum */
124BEGIN_TM_ENUM(TEXTSHADOWTYPE)
125 TM_ENUM(0, TST, NONE)
126 TM_ENUM(1, TST, SINGLE)
127 TM_ENUM(2, TST, CONTINUOUS)
128END_TM_ENUM()
129
130/* GLYPHTYPE Enum */
131BEGIN_TM_ENUM(GLYPHTYPE)
132 TM_ENUM(0, GT, NONE)
133 TM_ENUM(1, GT, IMAGEGLYPH)
134 TM_ENUM(2, GT, FONTGLYPH)
135END_TM_ENUM()
136
137/* IMAGESELECTTYPE Enum */
138BEGIN_TM_ENUM(IMAGESELECTTYPE)
139 TM_ENUM(0, IST, NONE)
140 TM_ENUM(1, IST, SIZE)
141 TM_ENUM(2, IST, DPI)
142END_TM_ENUM()
143
144/* TRUESIZESCALINGTYPE Enum */
145BEGIN_TM_ENUM(TRUESIZESCALINGTYPE)
146 TM_ENUM(0, TSST, NONE)
147 TM_ENUM(1, TSST, SIZE)
148 TM_ENUM(2, TSST, DPI)
149END_TM_ENUM()
150
151/* GLYPHFONTSIZINGTYPE Enum */
152BEGIN_TM_ENUM(GLYPHFONTSIZINGTYPE)
153 TM_ENUM(0, GFST, NONE)
154 TM_ENUM(1, GFST, SIZE)
155 TM_ENUM(2, GFST, DPI)
156END_TM_ENUM()
157
158
159/***** PROPERTIES *****/
160BEGIN_TM_PROPS()
161
162 /* Primitive types */
163 TM_PROP(201, TMT, STRING, STRING)
164 TM_PROP(202, TMT, INT, INT)
165 TM_PROP(203, TMT, BOOL, BOOL)
166 TM_PROP(204, TMT, COLOR, COLOR)
167 TM_PROP(205, TMT, MARGINS, MARGINS)
168 TM_PROP(206, TMT, FILENAME, FILENAME)
169 TM_PROP(207, TMT, SIZE, SIZE)
170 TM_PROP(208, TMT, POSITION, POSITION)
171 TM_PROP(209, TMT, RECT, RECT)
172 TM_PROP(210, TMT, FONT, FONT)
173 TM_PROP(211, TMT, INTLIST, INTLIST)
174 /* we should have ENUM around here */
175
176 /* Misc properties */
177 TM_PROP(401, TMT, COLORSCHEMES, STRING)
178 TM_PROP(402, TMT, SIZES, STRING)
179 TM_PROP(403, TMT, CHARSET, INT)
180
181 /* Documentation properties */
182 TM_PROP(601, TMT, DISPLAYNAME, STRING)
183 TM_PROP(602, TMT, TOOLTIP, STRING)
184 TM_PROP(603, TMT, COMPANY, STRING)
185 TM_PROP(604, TMT, AUTHOR, STRING)
186 TM_PROP(605, TMT, COPYRIGHT, STRING)
187 TM_PROP(606, TMT, URL, STRING)
188 TM_PROP(607, TMT, VERSION, STRING)
189 TM_PROP(608, TMT, DESCRIPTION, STRING)
190# define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME
191# define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION
192
193 /* Font theme metric properties */
194 TM_PROP(801, TMT, CAPTIONFONT, FONT)
195 TM_PROP(802, TMT, SMALLCAPTIONFONT, FONT)
196 TM_PROP(803, TMT, MENUFONT, FONT)
197 TM_PROP(804, TMT, STATUSFONT, FONT)
198 TM_PROP(805, TMT, MSGBOXFONT, FONT)
199 TM_PROP(806, TMT, ICONTITLEFONT, FONT)
200# define TMT_FIRSTFONT TMT_CAPTIONFONT
201# define TMT_LASTFONT TMT_ICONTITLEFONT
202
203 /* Bool theme metric properties */
204 TM_PROP(1001, TMT, FLATMENUS, BOOL)
205# define TMT_FIRSTBOOL TMT_FLATMENUS
206# define TMT_LASTBOOL TMT_FLATMENUS
207
208 /* Size theme metric properties */
209 TM_PROP(1201, TMT, SIZINGBORDERWIDTH, SIZE)
210 TM_PROP(1202, TMT, SCROLLBARWIDTH, SIZE)
211 TM_PROP(1203, TMT, SCROLLBARHEIGHT, SIZE)
212 TM_PROP(1204, TMT, CAPTIONBARWIDTH, SIZE)
213 TM_PROP(1205, TMT, CAPTIONBARHEIGHT, SIZE)
214 TM_PROP(1206, TMT, SMCAPTIONBARWIDTH, SIZE)
215 TM_PROP(1207, TMT, SMCAPTIONBARHEIGHT, SIZE)
216 TM_PROP(1208, TMT, MENUBARWIDTH, SIZE)
217 TM_PROP(1209, TMT, MENUBARHEIGHT, SIZE)
218# define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH
219# define TMT_LASTSIZE TMT_MENUBARHEIGHT
220
221 /* Int theme metric properties */
222 TM_PROP(1301, TMT, MINCOLORDEPTH, INT)
223# define TMT_FIRSTINT TMT_MINCOLORDEPTH
224# define TMT_LASTINT TMT_MINCOLORDEPTH
225
226 /* String theme metric properties */
227 TM_PROP(1401, TMT, CSSNAME, STRING)
228 TM_PROP(1402, TMT, XMLNAME, STRING)
229# define TMT_FIRSTSTRING TMT_CSSNAME
230# define TMT_LASTSTRING TMT_XMLNAME
231
232 /* Color theme metric properties */
233 TM_PROP(1601, TMT, SCROLLBAR, COLOR)
234 TM_PROP(1602, TMT, BACKGROUND, COLOR)
235 TM_PROP(1603, TMT, ACTIVECAPTION, COLOR)
236 TM_PROP(1604, TMT, INACTIVECAPTION, COLOR)
237 TM_PROP(1605, TMT, MENU, COLOR)
238 TM_PROP(1606, TMT, WINDOW, COLOR)
239 TM_PROP(1607, TMT, WINDOWFRAME, COLOR)
240 TM_PROP(1608, TMT, MENUTEXT, COLOR)
241 TM_PROP(1609, TMT, WINDOWTEXT, COLOR)
242 TM_PROP(1610, TMT, CAPTIONTEXT, COLOR)
243 TM_PROP(1611, TMT, ACTIVEBORDER, COLOR)
244 TM_PROP(1612, TMT, INACTIVEBORDER, COLOR)
245 TM_PROP(1613, TMT, APPWORKSPACE, COLOR)
246 TM_PROP(1614, TMT, HIGHLIGHT, COLOR)
247 TM_PROP(1615, TMT, HIGHLIGHTTEXT, COLOR)
248 TM_PROP(1616, TMT, BTNFACE, COLOR)
249 TM_PROP(1617, TMT, BTNSHADOW, COLOR)
250 TM_PROP(1618, TMT, GRAYTEXT, COLOR)
251 TM_PROP(1619, TMT, BTNTEXT, COLOR)
252 TM_PROP(1620, TMT, INACTIVECAPTIONTEXT, COLOR)
253 TM_PROP(1621, TMT, BTNHIGHLIGHT, COLOR)
254 TM_PROP(1622, TMT, DKSHADOW3D, COLOR)
255 TM_PROP(1623, TMT, LIGHT3D, COLOR)
256 TM_PROP(1624, TMT, INFOTEXT, COLOR)
257 TM_PROP(1625, TMT, INFOBK, COLOR)
258 TM_PROP(1626, TMT, BUTTONALTERNATEFACE, COLOR)
259 TM_PROP(1627, TMT, HOTTRACKING, COLOR)
260 TM_PROP(1628, TMT, GRADIENTACTIVECAPTION, COLOR)
261 TM_PROP(1629, TMT, GRADIENTINACTIVECAPTION, COLOR)
262 TM_PROP(1630, TMT, MENUHILIGHT, COLOR)
263 TM_PROP(1631, TMT, MENUBAR, COLOR)
264# define TMT_FIRSTCOLOR TMT_SCROLLBAR
265# define TMT_LASTCOLOR TMT_MENUBAR
266
267 /* hue substitutions */
268 TM_PROP(1801, TMT, FROMHUE1, INT)
269 TM_PROP(1802, TMT, FROMHUE2, INT)
270 TM_PROP(1803, TMT, FROMHUE3, INT)
271 TM_PROP(1804, TMT, FROMHUE4, INT)
272 TM_PROP(1805, TMT, FROMHUE5, INT)
273 TM_PROP(1806, TMT, TOHUE1, INT)
274 TM_PROP(1807, TMT, TOHUE2, INT)
275 TM_PROP(1808, TMT, TOHUE3, INT)
276 TM_PROP(1809, TMT, TOHUE4, INT)
277 TM_PROP(1810, TMT, TOHUE5, INT)
278
279 /* color substitutions */
280 TM_PROP(2001, TMT, FROMCOLOR1, COLOR)
281 TM_PROP(2002, TMT, FROMCOLOR2, COLOR)
282 TM_PROP(2003, TMT, FROMCOLOR3, COLOR)
283 TM_PROP(2004, TMT, FROMCOLOR4, COLOR)
284 TM_PROP(2005, TMT, FROMCOLOR5, COLOR)
285 TM_PROP(2006, TMT, TOCOLOR1, COLOR)
286 TM_PROP(2007, TMT, TOCOLOR2, COLOR)
287 TM_PROP(2008, TMT, TOCOLOR3, COLOR)
288 TM_PROP(2009, TMT, TOCOLOR4, COLOR)
289 TM_PROP(2010, TMT, TOCOLOR5, COLOR)
290
291 /* Bool rendering properties */
292 TM_PROP(2201, TMT, TRANSPARENT, BOOL)
293 TM_PROP(2202, TMT, AUTOSIZE, BOOL)
294 TM_PROP(2203, TMT, BORDERONLY, BOOL)
295 TM_PROP(2204, TMT, COMPOSITED, BOOL)
296 TM_PROP(2205, TMT, BGFILL, BOOL)
297 TM_PROP(2206, TMT, GLYPHTRANSPARENT, BOOL)
298 TM_PROP(2207, TMT, GLYPHONLY, BOOL)
299 TM_PROP(2208, TMT, ALWAYSSHOWSIZINGBAR, BOOL)
300 TM_PROP(2209, TMT, MIRRORIMAGE, BOOL)
301 TM_PROP(2210, TMT, UNIFORMSIZING, BOOL)
302 TM_PROP(2211, TMT, INTEGRALSIZING, BOOL)
303 TM_PROP(2212, TMT, SOURCEGROW, BOOL)
304 TM_PROP(2213, TMT, SOURCESHRINK, BOOL)
305
306 /* Int rendering properties */
307 TM_PROP(2401, TMT, IMAGECOUNT, INT)
308 TM_PROP(2402, TMT, ALPHALEVEL, INT)
309 TM_PROP(2403, TMT, BORDERSIZE, INT)
310 TM_PROP(2404, TMT, ROUNDCORNERWIDTH, INT)
311 TM_PROP(2405, TMT, ROUNDCORNERHEIGHT, INT)
312 TM_PROP(2406, TMT, GRADIENTRATIO1, INT)
313 TM_PROP(2407, TMT, GRADIENTRATIO2, INT)
314 TM_PROP(2408, TMT, GRADIENTRATIO3, INT)
315 TM_PROP(2409, TMT, GRADIENTRATIO4, INT)
316 TM_PROP(2410, TMT, GRADIENTRATIO5, INT)
317 TM_PROP(2411, TMT, PROGRESSCHUNKSIZE, INT)
318 TM_PROP(2412, TMT, PROGRESSSPACESIZE, INT)
319 TM_PROP(2413, TMT, SATURATION, INT)
320 TM_PROP(2414, TMT, TEXTBORDERSIZE, INT)
321 TM_PROP(2415, TMT, ALPHATHRESHOLD, INT)
322 TM_PROP(2416, TMT, WIDTH, SIZE)
323 TM_PROP(2417, TMT, HEIGHT, SIZE)
324 TM_PROP(2418, TMT, GLYPHINDEX, INT)
325 TM_PROP(2419, TMT, TRUESIZESTRETCHMARK, INT)
326 TM_PROP(2420, TMT, MINDPI1, INT)
327 TM_PROP(2421, TMT, MINDPI2, INT)
328 TM_PROP(2422, TMT, MINDPI3, INT)
329 TM_PROP(2423, TMT, MINDPI4, INT)
330 TM_PROP(2424, TMT, MINDPI5, INT)
331
332 /* Font rendering properties */
333 TM_PROP(2601, TMT, GLYPHFONT, FONT)
334
335 /* Filename rendering properties */
336 TM_PROP(3001, TMT, IMAGEFILE, FILENAME)
337 TM_PROP(3002, TMT, IMAGEFILE1, FILENAME)
338 TM_PROP(3003, TMT, IMAGEFILE2, FILENAME)
339 TM_PROP(3004, TMT, IMAGEFILE3, FILENAME)
340 TM_PROP(3005, TMT, IMAGEFILE4, FILENAME)
341 TM_PROP(3006, TMT, IMAGEFILE5, FILENAME)
342 TM_PROP(3007, TMT, STOCKIMAGEFILE, FILENAME)
343 TM_PROP(3008, TMT, GLYPHIMAGEFILE, FILENAME)
344
345 /* String rendering properties */
346 TM_PROP(3201, TMT, TEXT, STRING)
347
348 /* Position rendering properties */
349 TM_PROP(3401, TMT, OFFSET, POSITION)
350 TM_PROP(3402, TMT, TEXTSHADOWOFFSET, POSITION)
351 TM_PROP(3403, TMT, MINSIZE, POSITION)
352 TM_PROP(3404, TMT, MINSIZE1, POSITION)
353 TM_PROP(3405, TMT, MINSIZE2, POSITION)
354 TM_PROP(3406, TMT, MINSIZE3, POSITION)
355 TM_PROP(3407, TMT, MINSIZE4, POSITION)
356 TM_PROP(3408, TMT, MINSIZE5, POSITION)
357 TM_PROP(3409, TMT, NORMALSIZE, POSITION)
358
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)
363
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)
388
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)
405
406 /* custom properties */
407 TM_PROP(5001, TMT, USERPICTURE, BOOL)
408 TM_PROP(5002, TMT, DEFAULTPANESIZE, RECT)
409 TM_PROP(5003, TMT, BLENDCOLOR, COLOR)
410
411END_TM_PROPS()
412
413
414/***** PARTS & STATES *****/
415
416/* BUTTON parts */
417BEGIN_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)
423END_TM_CLASS_PARTS()
424
425/* BUTTON - PUSHBUTTON states */
426BEGIN_TM_PART_STATES(PUSHBUTTON)
427 TM_STATE(1, PBS, NORMAL)
428 TM_STATE(2, PBS, HOT)
429 TM_STATE(3, PBS, PRESSED)
430 TM_STATE(4, PBS, DISABLED)
431 TM_STATE(5, PBS, DEFAULTED)
432END_TM_PART_STATES()
433
434/* BUTTON - RADIOBUTTON states */
435BEGIN_TM_PART_STATES(RADIOBUTTON)
436 TM_STATE(1, RBS, UNCHECKEDNORMAL)
437 TM_STATE(2, RBS, UNCHECKEDHOT)
438 TM_STATE(3, RBS, UNCHECKEDPRESSED)
439 TM_STATE(4, RBS, UNCHECKEDDISABLED)
440 TM_STATE(5, RBS, CHECKEDNORMAL)
441 TM_STATE(6, RBS, CHECKEDHOT)
442 TM_STATE(7, RBS, CHECKEDPRESSED)
443 TM_STATE(8, RBS, CHECKEDDISABLED)
444END_TM_PART_STATES()
445
446/* BUTTON - CHECKBOX states */
447BEGIN_TM_PART_STATES(CHECKBOX)
448 TM_STATE(1, CBS, UNCHECKEDNORMAL)
449 TM_STATE(2, CBS, UNCHECKEDHOT)
450 TM_STATE(3, CBS, UNCHECKEDPRESSED)
451 TM_STATE(4, CBS, UNCHECKEDDISABLED)
452 TM_STATE(5, CBS, CHECKEDNORMAL)
453 TM_STATE(6, CBS, CHECKEDHOT)
454 TM_STATE(7, CBS, CHECKEDPRESSED)
455 TM_STATE(8, CBS, CHECKEDDISABLED)
456 TM_STATE(9, CBS, MIXEDNORMAL)
457 TM_STATE(10, CBS, MIXEDHOT)
458 TM_STATE(11, CBS, MIXEDPRESSED)
459 TM_STATE(12, CBS, MIXEDDISABLED)
460END_TM_PART_STATES()
461
462/* BUTTON - GROUPBOX states */
463BEGIN_TM_PART_STATES(GROUPBOX)
464 TM_STATE(1, GBS, NORMAL)
465 TM_STATE(2, GBS, DISABLED)
466END_TM_PART_STATES()
467
468/* CLOCK parts */
469BEGIN_TM_CLASS_PARTS(CLOCK)
470 TM_PART(1, CLP, TIME)
471END_TM_CLASS_PARTS()
472
473/* CLOCK states */
474BEGIN_TM_PART_STATES(CLOCK)
475 TM_STATE(1, CLS, NORMAL)
476END_TM_PART_STATES()
477
478/* COMBOBOX parts */
479BEGIN_TM_CLASS_PARTS(COMBOBOX)
480 TM_PART(1, CP, DROPDOWNBUTTON)
481END_TM_CLASS_PARTS()
482
483/* COMBOBOX states */
484BEGIN_TM_PART_STATES(COMBOBOX)
485 TM_STATE(1, CBXS, NORMAL)
486 TM_STATE(2, CBXS, HOT)
487 TM_STATE(3, CBXS, PRESSED)
488 TM_STATE(4, CBXS, DISABLED)
489END_TM_PART_STATES()
490
491/* EDIT parts */
492BEGIN_TM_CLASS_PARTS(EDIT)
493 TM_PART(1, EP, EDITTEXT)
494 TM_PART(2, EP, CARET)
495END_TM_CLASS_PARTS()
496
497/* EDIT - EDITTEXT states */
498BEGIN_TM_PART_STATES(EDITTEXT)
499 TM_STATE(1, ETS, NORMAL)
500 TM_STATE(2, ETS, HOT)
501 TM_STATE(3, ETS, SELECTED)
502 TM_STATE(4, ETS, DISABLED)
503 TM_STATE(5, ETS, FOCUSED)
504 TM_STATE(6, ETS, READONLY)
505 TM_STATE(7, ETS, ASSIST)
506END_TM_PART_STATES()
507
508/* EXPLORERBAR parts */
509BEGIN_TM_CLASS_PARTS(EXPLORERBAR)
510 TM_PART(1, EBP, HEADERBACKGROUND)
511 TM_PART(2, EBP, HEADERCLOSE)
512 TM_PART(3, EBP, HEADERPIN)
513 TM_PART(4, EBP, IEBARMENU)
514 TM_PART(5, EBP, NORMALGROUPBACKGROUND)
515 TM_PART(6, EBP, NORMALGROUPCOLLAPSE)
516 TM_PART(7, EBP, NORMALGROUPEXPAND)
517 TM_PART(8, EBP, NORMALGROUPHEAD)
518 TM_PART(9, EBP, SPECIALGROUPBACKGROUND)
519 TM_PART(10, EBP, SPECIALGROUPCOLLAPSE)
520 TM_PART(11, EBP, SPECIALGROUPEXPAND)
521 TM_PART(12, EBP, SPECIALGROUPHEAD)
522END_TM_CLASS_PARTS()
523
524/* EXPLORERBAR - HEADERCLOSE states */
525BEGIN_TM_PART_STATES(HEADERCLOSE)
526 TM_STATE(1, EBHC, NORMAL)
527 TM_STATE(2, EBHC, HOT)
528 TM_STATE(3, EBHC, PRESSED)
529END_TM_PART_STATES()
530
531/* EXPLORERBAR - HEADERPIN states */
532BEGIN_TM_PART_STATES(HEADERPIN)
533 TM_STATE(1, EBHP, NORMAL)
534 TM_STATE(2, EBHP, HOT)
535 TM_STATE(3, EBHP, PRESSED)
536 TM_STATE(4, EBHP, SELECTEDNORMAL)
537 TM_STATE(5, EBHP, SELECTEDHOT)
538 TM_STATE(6, EBHP, SELECTEDPRESSED)
539END_TM_PART_STATES()
540
541/* EXPLORERBAR - IEBARMENU states */
542BEGIN_TM_PART_STATES(IEBARMENU)
543 TM_STATE(1, EBM, NORMAL)
544 TM_STATE(2, EBM, HOT)
545 TM_STATE(3, EBM, PRESSED)
546END_TM_PART_STATES()
547
548/* EXPLORERBAR - NORMALGROUPCOLLAPSE states */
549BEGIN_TM_PART_STATES(NORMALGROUPCOLLAPSE)
550 TM_STATE(1, EBNGC, NORMAL)
551 TM_STATE(2, EBNGC, HOT)
552 TM_STATE(3, EBNGC, PRESSED)
553END_TM_PART_STATES()
554
555/* EXPLORERBAR - NORMALGROUPEXPAND states */
556BEGIN_TM_PART_STATES(NORMALGROUPEXPAND)
557 TM_STATE(1, EBNGE, NORMAL)
558 TM_STATE(2, EBNGE, HOT)
559 TM_STATE(3, EBNGE, PRESSED)
560END_TM_PART_STATES()
561
562/* EXPLORERBAR - SPECIALGROUPCOLLAPSE states */
563BEGIN_TM_PART_STATES(SPECIALGROUPCOLLAPSE)
564 TM_STATE(1, EBSGC, NORMAL)
565 TM_STATE(2, EBSGC, HOT)
566 TM_STATE(3, EBSGC, PRESSED)
567END_TM_PART_STATES()
568
569/* EXPLORERBAR - SPECIALGROUPEXPAND states */
570BEGIN_TM_PART_STATES(SPECIALGROUPEXPAND)
571 TM_STATE(1, EBSGE, NORMAL)
572 TM_STATE(2, EBSGE, HOT)
573 TM_STATE(3, EBSGE, PRESSED)
574END_TM_PART_STATES()
575
576/* GLOBALS parts */
577BEGIN_TM_CLASS_PARTS(GLOBALS)
578 TM_PART(1, GP, BORDER)
579 TM_PART(2, GP, LINEHORZ)
580 TM_PART(3, GP, LINEVERT)
581END_TM_CLASS_PARTS()
582
583/* GLOBALS - BORDER states */
584BEGIN_TM_PART_STATES(BORDER)
585 TM_STATE(1, BSS, FLAT)
586 TM_STATE(2, BSS, RAISED)
587 TM_STATE(3, BSS, SUNKEN)
588END_TM_PART_STATES()
589
590/* GLOBALS - LINEHORZ states */
591BEGIN_TM_PART_STATES(LINEHORZ)
592 TM_STATE(1, LHS, FLAT)
593 TM_STATE(2, LHS, RAISED)
594 TM_STATE(3, LHS, SUNKEN)
595END_TM_PART_STATES()
596
597/* GLOBAL - LINEVERT states */
598BEGIN_TM_PART_STATES(LINEVERT)
599 TM_STATE(1, LVS, FLAT)
600 TM_STATE(2, LVS, RAISED)
601 TM_STATE(3, LVS, SUNKEN)
602END_TM_PART_STATES()
603
604/* HEADER parts */
605BEGIN_TM_CLASS_PARTS(HEADER)
606 TM_PART(1, HP, HEADERITEM)
607 TM_PART(2, HP, HEADERITEMLEFT)
608 TM_PART(3, HP, HEADERITEMRIGHT)
609 TM_PART(4, HP, HEADERSORTARROW)
610END_TM_CLASS_PARTS()
611
612/* HEADER - HEADERITEM states */
613BEGIN_TM_PART_STATES(HEADERITEM)
614 TM_STATE(1, HIS, NORMAL)
615 TM_STATE(2, HIS, HOT)
616 TM_STATE(3, HIS, PRESSED)
617END_TM_PART_STATES()
618
619/* HEADER - HEADERITEMLEFT states */
620BEGIN_TM_PART_STATES(HEADERITEMLEFT)
621 TM_STATE(1, HILS, NORMAL)
622 TM_STATE(2, HILS, HOT)
623 TM_STATE(3, HILS, PRESSED)
624END_TM_PART_STATES()
625
626/* HEADER - HEADERITEMRIGHT states */
627BEGIN_TM_PART_STATES(HEADERITEMRIGHT)
628 TM_STATE(1, HIRS, NORMAL)
629 TM_STATE(2, HIRS, HOT)
630 TM_STATE(3, HIRS, PRESSED)
631END_TM_PART_STATES()
632
633/* HEADER - HEADERSORTARROW states */
634BEGIN_TM_PART_STATES(HEADERSORTARROW)
635 TM_STATE(1, HSAS, SORTEDUP)
636 TM_STATE(2, HSAS, SORTEDDOWN)
637END_TM_PART_STATES()
638
639/* LISTVIEW parts */
640BEGIN_TM_CLASS_PARTS(LISTVIEW)
641 TM_PART(1, LVP, LISTITEM)
642 TM_PART(2, LVP, LISTGROUP)
643 TM_PART(3, LVP, LISTDETAIL)
644 TM_PART(4, LVP, LISTSORTEDDETAIL)
645 TM_PART(5, LVP, EMPTYTEXT)
646END_TM_CLASS_PARTS()
647
648/* LISTVIEW - LISTITEM states */
649BEGIN_TM_PART_STATES(LISTITEM)
650 TM_STATE(1, LIS, NORMAL)
651 TM_STATE(2, LIS, HOT)
652 TM_STATE(3, LIS, SELECTED)
653 TM_STATE(4, LIS, DISABLED)
654 TM_STATE(5, LIS, SELECTEDNOTFOCUS)
655END_TM_PART_STATES()
656
657/* MENU parts */
658BEGIN_TM_CLASS_PARTS(MENU)
659 TM_PART(1, MP, MENUITEM)
660 TM_PART(2, MP, MENUDROPDOWN)
661 TM_PART(3, MP, MENUBARITEM)
662 TM_PART(4, MP, MENUBARDROPDOWN)
663 TM_PART(5, MP, CHEVRON)
664 TM_PART(6, MP, SEPARATOR)
665END_TM_CLASS_PARTS()
666
667/* MENU - * states */
668BEGIN_TM_PART_STATES(MENU)
669 TM_STATE(1, MS, NORMAL)
670 TM_STATE(2, MS, SELECTED)
671 TM_STATE(3, MS, DEMOTED)
672END_TM_PART_STATES()
673
674/* MENUBAND parts */
675BEGIN_TM_CLASS_PARTS(MENUBAND)
676 TM_PART(1, MDP, NEWAPPBUTTON)
677/* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
678 TM_PART(2, MDP, SEPERATOR)
679END_TM_CLASS_PARTS()
680
681/* MENUBAND states */
682BEGIN_TM_PART_STATES(MENUBAND)
683 TM_STATE(1, MDS, NORMAL)
684 TM_STATE(2, MDS, HOT)
685 TM_STATE(3, MDS, PRESSED)
686 TM_STATE(4, MDS, DISABLED)
687 TM_STATE(5, MDS, CHECKED)
688 TM_STATE(6, MDS, HOTCHECKED)
689END_TM_PART_STATES()
690
691/* PAGE parts */
692BEGIN_TM_CLASS_PARTS(PAGE)
693 TM_PART(1, PGRP, UP)
694 TM_PART(2, PGRP, DOWN)
695 TM_PART(3, PGRP, UPHORZ)
696 TM_PART(4, PGRP, DOWNHORZ)
697END_TM_CLASS_PARTS()
698
699/* PAGE - UP states */
700BEGIN_TM_PART_STATES(UP)
701 TM_STATE(1, UPS, NORMAL)
702 TM_STATE(2, UPS, HOT)
703 TM_STATE(3, UPS, PRESSED)
704 TM_STATE(4, UPS, DISABLED)
705END_TM_PART_STATES()
706
707/* PAGE - DOWN states */
708BEGIN_TM_PART_STATES(DOWN)
709 TM_STATE(1, DNS, NORMAL)
710 TM_STATE(2, DNS, HOT)
711 TM_STATE(3, DNS, PRESSED)
712 TM_STATE(4, DNS, DISABLED)
713END_TM_PART_STATES()
714
715/* PAGE - UPHORZ states */
716BEGIN_TM_PART_STATES(UPHORZ)
717 TM_STATE(1, UPHZS, NORMAL)
718 TM_STATE(2, UPHZS, HOT)
719 TM_STATE(3, UPHZS, PRESSED)
720 TM_STATE(4, UPHZS, DISABLED)
721END_TM_PART_STATES()
722
723/* PAGE - DOWNHORZ states */
724BEGIN_TM_PART_STATES(DOWNHORZ)
725 TM_STATE(1, DNHZS, NORMAL)
726 TM_STATE(2, DNHZS, HOT)
727 TM_STATE(3, DNHZS, PRESSED)
728 TM_STATE(4, DNHZS, DISABLED)
729END_TM_PART_STATES()
730
731/* PROGRESS parts */
732BEGIN_TM_CLASS_PARTS(PROGRESS)
733 TM_PART(1, PP, BAR)
734 TM_PART(2, PP, BARVERT)
735 TM_PART(3, PP, CHUNK)
736 TM_PART(4, PP, CHUNKVERT)
737END_TM_CLASS_PARTS()
738
739/* REBAR parts */
740BEGIN_TM_CLASS_PARTS(REBAR)
741 TM_PART(1, RP, GRIPPER)
742 TM_PART(2, RP, GRIPPERVERT)
743 TM_PART(3, RP, BAND)
744 TM_PART(4, RP, CHEVRON)
745 TM_PART(5, RP, CHEVRONVERT)
746END_TM_CLASS_PARTS()
747
748/* REBAR - CHEVRON states */
749BEGIN_TM_PART_STATES(CHEVRON)
750 TM_STATE(1, CHEVS, NORMAL)
751 TM_STATE(2, CHEVS, HOT)
752 TM_STATE(3, CHEVS, PRESSED)
753END_TM_PART_STATES()
754
755/* SCROLLBAR parts */
756BEGIN_TM_CLASS_PARTS(SCROLLBAR)
757 TM_PART(1, SBP, ARROWBTN)
758 TM_PART(2, SBP, THUMBBTNHORZ)
759 TM_PART(3, SBP, THUMBBTNVERT)
760 TM_PART(4, SBP, LOWERTRACKHORZ)
761 TM_PART(5, SBP, UPPERTRACKHORZ)
762 TM_PART(6, SBP, LOWERTRACKVERT)
763 TM_PART(7, SBP, UPPERTRACKVERT)
764 TM_PART(8, SBP, GRIPPERHORZ)
765 TM_PART(9, SBP, GRIPPERVERT)
766 TM_PART(10, SBP, SIZEBOX)
767END_TM_CLASS_PARTS()
768
769/* SCROLLBAR - ARROWBTN states */
770BEGIN_TM_PART_STATES(ARROWBTN)
771 TM_STATE(1, ABS, UPNORMAL)
772 TM_STATE(2, ABS, UPHOT)
773 TM_STATE(3, ABS, UPPRESSED)
774 TM_STATE(4, ABS, UPDISABLED)
775 TM_STATE(5, ABS, DOWNNORMAL)
776 TM_STATE(6, ABS, DOWNHOT)
777 TM_STATE(7, ABS, DOWNPRESSED)
778 TM_STATE(8, ABS, DOWNDISABLED)
779 TM_STATE(9, ABS, LEFTNORMAL)
780 TM_STATE(10, ABS, LEFTHOT)
781 TM_STATE(11, ABS, LEFTPRESSED)
782 TM_STATE(12, ABS, LEFTDISABLED)
783 TM_STATE(13, ABS, RIGHTNORMAL)
784 TM_STATE(14, ABS, RIGHTHOT)
785 TM_STATE(15, ABS, RIGHTPRESSED)
786 TM_STATE(16, ABS, RIGHTDISABLED)
787END_TM_PART_STATES()
788
789/* SCROLLBAR - LOWER* / THUMB* / UPPER* states */
790BEGIN_TM_PART_STATES(SCROLLBAR)
791 TM_STATE(1, SCRBS, NORMAL)
792 TM_STATE(2, SCRBS, HOT)
793 TM_STATE(3, SCRBS, PRESSED)
794 TM_STATE(4, SCRBS, DISABLED)
795END_TM_PART_STATES()
796
797/* SCROLLBAR - SIZEBOX states */
798BEGIN_TM_PART_STATES(SIZEBOX)
799 TM_STATE(1, SZB, RIGHTALIGN)
800 TM_STATE(2, SZB, LEFTALIGN)
801END_TM_PART_STATES()
802
803/* SPIN parts */
804BEGIN_TM_CLASS_PARTS(SPIN)
805 TM_PART(1, SPNP, UP)
806 TM_PART(2, SPNP, DOWN)
807 TM_PART(3, SPNP, UPHORZ)
808 TM_PART(4, SPNP, DOWNHORZ)
809END_TM_CLASS_PARTS()
810
811/* SPIN * states */
812/* See PAGE states */
813
814/* STARTPANEL parts */
815BEGIN_TM_CLASS_PARTS(STARTPANEL)
816 TM_PART(1, SPP, USERPANE)
817 TM_PART(2, SPP, MOREPROGRAMS)
818 TM_PART(3, SPP, MOREPROGRAMSARROW)
819 TM_PART(4, SPP, PROGLIST)
820 TM_PART(5, SPP, PROGLISTSEPARATOR)
821 TM_PART(6, SPP, PLACESLIST)
822 TM_PART(7, SPP, PLACESLISTSEPARATOR)
823 TM_PART(8, SPP, LOGOFF)
824 TM_PART(9, SPP, LOGOFFBUTTONS)
825 TM_PART(10, SPP, USERPICTURE)
826 TM_PART(11, SPP, PREVIEW)
827END_TM_CLASS_PARTS()
828
829/* STARTPANEL - MOREPROGRAMSARROW states */
830BEGIN_TM_PART_STATES(MOREPROGRAMSARROW)
831 TM_STATE(1, SPS, NORMAL)
832 TM_STATE(2, SPS, HOT)
833 TM_STATE(3, SPS, PRESSED)
834END_TM_PART_STATES()
835
836/* STARTPANEL - LOGOFFBUTTONS states */
837BEGIN_TM_PART_STATES(LOGOFFBUTTONS)
838 TM_STATE(1, SPLS, NORMAL)
839 TM_STATE(2, SPLS, HOT)
840 TM_STATE(3, SPLS, PRESSED)
841END_TM_PART_STATES()
842
843/* STATUS parts */
844BEGIN_TM_CLASS_PARTS(STATUS)
845 TM_PART(1, SP, PANE)
846 TM_PART(2, SP, GRIPPERPANE)
847 TM_PART(3, SP, GRIPPER)
848END_TM_CLASS_PARTS()
849
850/* TAB parts */
851BEGIN_TM_CLASS_PARTS(TAB)
852 TM_PART(1, TABP, TABITEM)
853 TM_PART(2, TABP, TABITEMLEFTEDGE)
854 TM_PART(3, TABP, TABITEMRIGHTEDGE)
855 TM_PART(4, TABP, TABITEMBOTHEDGE)
856 TM_PART(5, TABP, TOPTABITEM)
857 TM_PART(6, TABP, TOPTABITEMLEFTEDGE)
858 TM_PART(7, TABP, TOPTABITEMRIGHTEDGE)
859 TM_PART(8, TABP, TOPTABITEMBOTHEDGE)
860 TM_PART(9, TABP, PANE)
861 TM_PART(10, TABP, BODY)
862END_TM_CLASS_PARTS()
863
864/* TAB - TABITEM states */
865BEGIN_TM_PART_STATES(TABITEM)
866 TM_STATE(1, TIS, NORMAL)
867 TM_STATE(2, TIS, HOT)
868 TM_STATE(3, TIS, SELECTED)
869 TM_STATE(4, TIS, DISABLED)
870 TM_STATE(5, TIS, FOCUSED)
871END_TM_PART_STATES()
872
873/* TAB - TABITEMLEFTEDGE states */
874BEGIN_TM_PART_STATES(TABITEMLEFTEDGE)
875 TM_STATE(1, TILES, NORMAL)
876 TM_STATE(2, TILES, HOT)
877 TM_STATE(3, TILES, SELECTED)
878 TM_STATE(4, TILES, DISABLED)
879 TM_STATE(5, TILES, FOCUSED)
880END_TM_PART_STATES()
881
882/* TAB - TABITEMRIGHTEDGE states */
883BEGIN_TM_PART_STATES(TABITEMRIGHTEDGE)
884 TM_STATE(1, TIRES, NORMAL)
885 TM_STATE(2, TIRES, HOT)
886 TM_STATE(3, TIRES, SELECTED)
887 TM_STATE(4, TIRES, DISABLED)
888 TM_STATE(5, TIRES, FOCUSED)
889END_TM_PART_STATES()
890
891/* TAB - TABITEMBOTHEDGES states */
892BEGIN_TM_PART_STATES(TABITEMBOTHEDGES)
893 TM_STATE(1, TIBES, NORMAL)
894 TM_STATE(2, TIBES, HOT)
895 TM_STATE(3, TIBES, SELECTED)
896 TM_STATE(4, TIBES, DISABLED)
897 TM_STATE(5, TIBES, FOCUSED)
898END_TM_PART_STATES()
899
900/* TAB - TOPTABITEM states */
901BEGIN_TM_PART_STATES(TOPTABITEM)
902 TM_STATE(1, TTIS, NORMAL)
903 TM_STATE(2, TTIS, HOT)
904 TM_STATE(3, TTIS, SELECTED)
905 TM_STATE(4, TTIS, DISABLED)
906 TM_STATE(5, TTIS, FOCUSED)
907END_TM_PART_STATES()
908
909/* TAB - TOPTABITEMLEFTEDGE states */
910BEGIN_TM_PART_STATES(TOPTABITEMLEFTEDGE)
911 TM_STATE(1, TTILES, NORMAL)
912 TM_STATE(2, TTILES, HOT)
913 TM_STATE(3, TTILES, SELECTED)
914 TM_STATE(4, TTILES, DISABLED)
915 TM_STATE(5, TTILES, FOCUSED)
916END_TM_PART_STATES()
917
918/* TAB - TOPTABITEMRIGHTEDGE states */
919BEGIN_TM_PART_STATES(TOPTABITEMRIGHTEDGE)
920 TM_STATE(1, TTIRES, NORMAL)
921 TM_STATE(2, TTIRES, HOT)
922 TM_STATE(3, TTIRES, SELECTED)
923 TM_STATE(4, TTIRES, DISABLED)
924 TM_STATE(5, TTIRES, FOCUSED)
925END_TM_PART_STATES()
926
927/* TAB - TOPTABITEMBOTHEDGES states */
928BEGIN_TM_PART_STATES(TOPTABITEMBOTHEDGES)
929 TM_STATE(1, TTIBES, NORMAL)
930 TM_STATE(2, TTIBES, HOT)
931 TM_STATE(3, TTIBES, SELECTED)
932 TM_STATE(4, TTIBES, DISABLED)
933 TM_STATE(5, TTIBES, FOCUSED)
934END_TM_PART_STATES()
935
936/* TASKBAND parts */
937BEGIN_TM_CLASS_PARTS(TASKBAND)
938 TM_PART(1, TDP, GROUPCOUNT)
939 TM_PART(2, TDP, FLASHBUTTON)
940 TM_PART(3, TDP, FLASHBUTTONGROUPMENU)
941END_TM_CLASS_PARTS()
942
943/* TASKBAR parts */
944BEGIN_TM_CLASS_PARTS(TASKBAR)
945 TM_PART(1, TBP, BACKGROUNDBOTTOM)
946 TM_PART(2, TBP, BACKGROUNDRIGHT)
947 TM_PART(3, TBP, BACKGROUNDTOP)
948 TM_PART(4, TBP, BACKGROUNDLEFT)
949 TM_PART(5, TBP, SIZINGBARBOTTOM)
950 TM_PART(6, TBP, SIZINGBARRIGHT)
951 TM_PART(7, TBP, SIZINGBARTOP)
952 TM_PART(8, TBP, SIZINGBARLEFT)
953END_TM_CLASS_PARTS()
954
955/* TOOLBAR parts */
956BEGIN_TM_CLASS_PARTS(TOOLBAR)
957 TM_PART(1, TP, BUTTON)
958 TM_PART(2, TP, DROPDOWNBUTTON)
959 TM_PART(3, TP, SPLITBUTTON)
960 TM_PART(4, TP, SPLITBUTTONDROPDOWN)
961 TM_PART(5, TP, SEPARATOR)
962 TM_PART(6, TP, SEPARATORVERT)
963END_TM_CLASS_PARTS()
964
965/* TOOLBAR - * states */
966BEGIN_TM_PART_STATES(TOOLBAR)
967 TM_STATE(1, TS, NORMAL)
968 TM_STATE(2, TS, HOT)
969 TM_STATE(3, TS, PRESSED)
970 TM_STATE(4, TS, DISABLED)
971 TM_STATE(5, TS, CHECKED)
972 TM_STATE(6, TS, HOTCHECKED)
973END_TM_PART_STATES()
974
975/* TOOLTIP parts */
976BEGIN_TM_CLASS_PARTS(TOOLTIP)
977 TM_PART(1, TTP, STANDARD)
978 TM_PART(2, TTP, STANDARDTITLE)
979 TM_PART(3, TTP, BALLOON)
980 TM_PART(4, TTP, BALLOONTITLE)
981 TM_PART(5, TTP, CLOSE)
982END_TM_CLASS_PARTS()
983
984/* TOOLTIP - STANDARD states */
985BEGIN_TM_PART_STATES(STANDARD)
986 TM_STATE(1, TTSS, NORMAL)
987 TM_STATE(2, TTSS, LINK)
988END_TM_PART_STATES()
989
990/* TOOLTIP - STANDARDTITLE states */
991/* See TOOLTIP STANDARD */
992
993/* TOOLTIP - BALLOON states */
994BEGIN_TM_PART_STATES(BALLOON)
995 TM_STATE(1, TTBS, NORMAL)
996 TM_STATE(2, TTBS, LINK)
997END_TM_PART_STATES()
998
999/* TOOLTIP - BALLOONTITLE states */
1000/* See TOOLTIP BALLOON */
1001
1002/* TOOLTIP - CLOSE states */
1003BEGIN_TM_PART_STATES(CLOSE)
1004 TM_STATE(1, TTCS, NORMAL)
1005 TM_STATE(2, TTCS, HOT)
1006 TM_STATE(3, TTCS, PRESSED)
1007END_TM_PART_STATES()
1008
1009/* TRACKBAR parts */
1010BEGIN_TM_CLASS_PARTS(TRACKBAR)
1011 TM_PART(1, TKP, TRACK)
1012 TM_PART(2, TKP, TRACKVERT)
1013 TM_PART(3, TKP, THUMB)
1014 TM_PART(4, TKP, THUMBBOTTOM)
1015 TM_PART(5, TKP, THUMBTOP)
1016 TM_PART(6, TKP, THUMBVERT)
1017 TM_PART(7, TKP, THUMBLEFT)
1018 TM_PART(8, TKP, THUMBRIGHT)
1019 TM_PART(9, TKP, TICS)
1020 TM_PART(10, TKP, TICSVERT)
1021END_TM_CLASS_PARTS()
1022
1023/* TRACKBAR states */
1024BEGIN_TM_PART_STATES(TRACKBAR)
1025 TM_STATE(1, TKS, NORMAL)
1026END_TM_PART_STATES()
1027
1028/* TRACKBAR - TRACK states */
1029BEGIN_TM_PART_STATES(TRACK)
1030 TM_STATE(1, TRS, NORMAL)
1031END_TM_PART_STATES()
1032
1033/* TRACKBAR - TRACKVERT states */
1034BEGIN_TM_PART_STATES(TRACKVERT)
1035 TM_STATE(1, TRVS, NORMAL)
1036END_TM_PART_STATES()
1037
1038/* TRACKBAR - THUMB states */
1039BEGIN_TM_PART_STATES(THUMB)
1040 TM_STATE(1, TUS, NORMAL)
1041 TM_STATE(2, TUS, HOT)
1042 TM_STATE(3, TUS, PRESSED)
1043 TM_STATE(4, TUS, FOCUSED)
1044 TM_STATE(5, TUS, DISABLED)
1045END_TM_PART_STATES()
1046
1047/* TRACKBAR - THUMBBOTTOM states */
1048BEGIN_TM_PART_STATES(THUMBBOTTOM)
1049 TM_STATE(1, TUBS, NORMAL)
1050 TM_STATE(2, TUBS, HOT)
1051 TM_STATE(3, TUBS, PRESSED)
1052 TM_STATE(4, TUBS, FOCUSED)
1053 TM_STATE(5, TUBS, DISABLED)
1054END_TM_PART_STATES()
1055
1056/* TRACKBAR - THUMBTOP states */
1057BEGIN_TM_PART_STATES(THUMBTOP)
1058 TM_STATE(1, TUTS, NORMAL)
1059 TM_STATE(2, TUTS, HOT)
1060 TM_STATE(3, TUTS, PRESSED)
1061 TM_STATE(4, TUTS, FOCUSED)
1062 TM_STATE(5, TUTS, DISABLED)
1063END_TM_PART_STATES()
1064
1065/* TRACKBAR - THUMBVERT states */
1066BEGIN_TM_PART_STATES(THUMBVERT)
1067 TM_STATE(1, TUVS, NORMAL)
1068 TM_STATE(2, TUVS, HOT)
1069 TM_STATE(3, TUVS, PRESSED)
1070 TM_STATE(4, TUVS, FOCUSED)
1071 TM_STATE(5, TUVS, DISABLED)
1072END_TM_PART_STATES()
1073
1074/* TRACKBAR - THUMBLEFT states */
1075BEGIN_TM_PART_STATES(THUMBLEFT)
1076 TM_STATE(1, TUVLS, NORMAL)
1077 TM_STATE(2, TUVLS, HOT)
1078 TM_STATE(3, TUVLS, PRESSED)
1079 TM_STATE(4, TUVLS, FOCUSED)
1080 TM_STATE(5, TUVLS, DISABLED)
1081END_TM_PART_STATES()
1082
1083/* TRACKBAR - THUMBRIGHT states */
1084BEGIN_TM_PART_STATES(THUMBRIGHT)
1085 TM_STATE(1, TUVRS, NORMAL)
1086 TM_STATE(2, TUVRS, HOT)
1087 TM_STATE(3, TUVRS, PRESSED)
1088 TM_STATE(4, TUVRS, FOCUSED)
1089 TM_STATE(5, TUVRS, DISABLED)
1090END_TM_PART_STATES()
1091
1092/* TRACKBAR - TICS states */
1093BEGIN_TM_PART_STATES(TICS)
1094 TM_STATE(1, TSS, NORMAL)
1095END_TM_PART_STATES()
1096
1097/* TRACKBAR - TICSVERT states */
1098BEGIN_TM_PART_STATES(TICSVERT)
1099 TM_STATE(1, TSVS, NORMAL)
1100END_TM_PART_STATES()
1101
1102/* TRAYNOTIFY parts */
1103BEGIN_TM_CLASS_PARTS(TRAYNOTIFY)
1104 TM_PART(1, TNP, BACKGROUND)
1105 TM_PART(2, TNP, ANIMBACKGROUND)
1106END_TM_CLASS_PARTS()
1107
1108/* TREEVIEW parts */
1109BEGIN_TM_CLASS_PARTS(TREEVIEW)
1110 TM_PART(1, TVP, TREEITEM)
1111 TM_PART(2, TVP, GLYPH)
1112 TM_PART(3, TVP, BRANCH)
1113END_TM_CLASS_PARTS()
1114
1115/* TREEVIEW - TREEITEM states */
1116BEGIN_TM_PART_STATES(TREEITEM)
1117 TM_STATE(1, TREIS, NORMAL)
1118 TM_STATE(2, TREIS, HOT)
1119 TM_STATE(3, TREIS, SELECTED)
1120 TM_STATE(4, TREIS, DISABLED)
1121 TM_STATE(5, TREIS, SELECTEDNOTFOCUS)
1122END_TM_PART_STATES()
1123
1124/* TREEVIEW - GLYPH states */
1125BEGIN_TM_PART_STATES(GLYPH)
1126 TM_STATE(1, GLPS, CLOSED)
1127 TM_STATE(2, GLPS, OPENED)
1128END_TM_PART_STATES()
1129
1130/* WINDOW parts */
1131BEGIN_TM_CLASS_PARTS(WINDOW)
1132 TM_PART(1, WP, CAPTION)
1133 TM_PART(2, WP, SMALLCAPTION)
1134 TM_PART(3, WP, MINCAPTION)
1135 TM_PART(4, WP, SMALLMINCAPTION)
1136 TM_PART(5, WP, MAXCAPTION)
1137 TM_PART(6, WP, SMALLMAXCAPTION)
1138 TM_PART(7, WP, FRAMELEFT)
1139 TM_PART(8, WP, FRAMERIGHT)
1140 TM_PART(9, WP, FRAMEBOTTOM)
1141 TM_PART(10, WP, SMALLFRAMELEFT)
1142 TM_PART(11, WP, SMALLFRAMERIGHT)
1143 TM_PART(12, WP, SMALLFRAMEBOTTOM)
1144 TM_PART(13, WP, SYSBUTTON)
1145 TM_PART(14, WP, MDISYSBUTTON)
1146 TM_PART(15, WP, MINBUTTON)
1147 TM_PART(16, WP, MDIMINBUTTON)
1148 TM_PART(17, WP, MAXBUTTON)
1149 TM_PART(18, WP, CLOSEBUTTON)
1150 TM_PART(19, WP, SMALLCLOSEBUTTON)
1151 TM_PART(20, WP, MDICLOSEBUTTON)
1152 TM_PART(21, WP, RESTOREBUTTON)
1153 TM_PART(22, WP, MDIRESTOREBUTTON)
1154 TM_PART(23, WP, HELPBUTTON)
1155 TM_PART(24, WP, MDIHELPBUTTON)
1156 TM_PART(25, WP, HORZSCROLL)
1157 TM_PART(26, WP, HORZTHUMB)
1158 TM_PART(27, WP, VERTSCROLL)
1159 TM_PART(28, WP, VERTTHUMB)
1160 TM_PART(29, WP, DIALOG)
1161 TM_PART(30, WP, CAPTIONSIZINGTEMPLATE)
1162 TM_PART(31, WP, SMALLCAPTIONSIZINGTEMPLATE)
1163 TM_PART(32, WP, FRAMELEFTSIZINGTEMPLATE)
1164 TM_PART(33, WP, SMALLFRAMELEFTSIZINGTEMPLATE)
1165 TM_PART(34, WP, FRAMERIGHTSIZINGTEMPLATE)
1166 TM_PART(35, WP, SMALLFRAMERIGHTSIZINGTEMPLATE)
1167 TM_PART(36, WP, FRAMEBOTTOMSIZINGTEMPLATE)
1168 TM_PART(37, WP, SMALLFRAMEBOTTOMSIZINGTEMPLATE)
1169END_TM_CLASS_PARTS()
1170
1171/* WINDOW - CAPTION / SMALLCAPTION states */
1172BEGIN_TM_PART_STATES(CAPTION)
1173 TM_STATE(1, CS, ACTIVE)
1174 TM_STATE(2, CS, INACTIVE)
1175 TM_STATE(3, CS, DISABLED)
1176END_TM_PART_STATES()
1177
1178/* WINDOW - MINCAPTION / SMALLMINCAPTION states */
1179BEGIN_TM_PART_STATES(MINCAPTION)
1180 TM_STATE(1, MNCS, ACTIVE)
1181 TM_STATE(2, MNCS, INACTIVE)
1182 TM_STATE(3, MNCS, DISABLED)
1183END_TM_PART_STATES()
1184
1185/* WINDOW - MAXCAPTION / SMALLMAXCAPTION states */
1186BEGIN_TM_PART_STATES(MAXCAPTION)
1187 TM_STATE(1, MXCS, ACTIVE)
1188 TM_STATE(2, MXCS, INACTIVE)
1189 TM_STATE(3, MXCS, DISABLED)
1190END_TM_PART_STATES()
1191
1192/* WINDOW - FRAME* / SMALLFRAME* states */
1193BEGIN_TM_PART_STATES(FRAME)
1194 TM_STATE(1, FS, ACTIVE)
1195 TM_STATE(2, FS, INACTIVE)
1196END_TM_PART_STATES()
1197
1198/* WINDOW - SYSBUTTON / MDISYSBUTTON states */
1199BEGIN_TM_PART_STATES(SYSBUTTON)
1200 TM_STATE(1, SBS, NORMAL)
1201 TM_STATE(2, SBS, HOT)
1202 TM_STATE(3, SBS, PUSHED)
1203 TM_STATE(4, SBS, DISABLED)
1204END_TM_PART_STATES()
1205
1206/* WINDOW - MINBUTTON / MDIMINBUTTON states */
1207BEGIN_TM_PART_STATES(MINBUTTON)
1208 TM_STATE(1, MINBS, NORMAL)
1209 TM_STATE(2, MINBS, HOT)
1210 TM_STATE(3, MINBS, PUSHED)
1211 TM_STATE(4, MINBS, DISABLED)
1212END_TM_PART_STATES()
1213
1214/* WINDOW - MAXBUTTON states */
1215BEGIN_TM_PART_STATES(MAXBUTTON)
1216 TM_STATE(1, MAXBS, NORMAL)
1217 TM_STATE(2, MAXBS, HOT)
1218 TM_STATE(3, MAXBS, PUSHED)
1219 TM_STATE(4, MAXBS, DISABLED)
1220END_TM_PART_STATES()
1221
1222/* WINDOW - CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON states */
1223BEGIN_TM_PART_STATES(CLOSEBUTTON)
1224 TM_STATE(1, CBS, NORMAL)
1225 TM_STATE(2, CBS, HOT)
1226 TM_STATE(3, CBS, PUSHED)
1227 TM_STATE(4, CBS, DISABLED)
1228END_TM_PART_STATES()
1229
1230/* WINDOW - RESTOREBUTTON / MDIRESTOREBUTTON states */
1231BEGIN_TM_PART_STATES(RESTOREBUTTON)
1232 TM_STATE(1, RBS, NORMAL)
1233 TM_STATE(2, RBS, HOT)
1234 TM_STATE(3, RBS, PUSHED)
1235 TM_STATE(4, RBS, DISABLED)
1236END_TM_PART_STATES()
1237
1238/* WINDOW - HELPBUTTON / MDIHELPBUTTON states */
1239BEGIN_TM_PART_STATES(HELPBUTTON)
1240 TM_STATE(1, HBS, NORMAL)
1241 TM_STATE(2, HBS, HOT)
1242 TM_STATE(3, HBS, PUSHED)
1243 TM_STATE(4, HBS, DISABLED)
1244END_TM_PART_STATES()
1245
1246/* WINDOW - HORZSCROLL states */
1247BEGIN_TM_PART_STATES(HORZSCROLL)
1248 TM_STATE(1, HSS, NORMAL)
1249 TM_STATE(2, HSS, HOT)
1250 TM_STATE(3, HSS, PUSHED)
1251 TM_STATE(4, HSS, DISABLED)
1252END_TM_PART_STATES()
1253
1254/* WINDOW - HORZTHUMB states */
1255BEGIN_TM_PART_STATES(HORZTHUMB)
1256 TM_STATE(1, HTS, NORMAL)
1257 TM_STATE(2, HTS, HOT)
1258 TM_STATE(3, HTS, PUSHED)
1259 TM_STATE(4, HTS, DISABLED)
1260END_TM_PART_STATES()
1261
1262/* WINDOW - VERTSCROLL states */
1263BEGIN_TM_PART_STATES(VERTSCROLL)
1264 TM_STATE(1, VSS, NORMAL)
1265 TM_STATE(2, VSS, HOT)
1266 TM_STATE(3, VSS, PUSHED)
1267 TM_STATE(4, VSS, DISABLED)
1268END_TM_PART_STATES()
1269
1270/* WINDOW - VERTTHUMB states */
1271BEGIN_TM_PART_STATES(VERTTHUMB)
1272 TM_STATE(1, VTS, NORMAL)
1273 TM_STATE(2, VTS, HOT)
1274 TM_STATE(3, VTS, PUSHED)
1275 TM_STATE(4, VTS, DISABLED)
1276END_TM_PART_STATES()
1277
1278END_TM_SCHEMA(ThemeMgrSchema)
1279#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette