Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e67a614f
Commit
e67a614f
authored
Sep 06, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define the tmschema.h constants using enumerations and the macros
provided by schemadef.h.
parent
479ee52f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1200 additions
and
915 deletions
+1200
-915
Makefile.in
include/Makefile.in
+1
-0
schemadef.h
include/schemadef.h
+45
-0
tmschema.h
include/tmschema.h
+1154
-915
No files found.
include/Makefile.in
View file @
e67a614f
...
@@ -184,6 +184,7 @@ WINDOWS_INCLUDES = \
...
@@ -184,6 +184,7 @@ WINDOWS_INCLUDES = \
rpcndr.h
\
rpcndr.h
\
rpcnterr.h
\
rpcnterr.h
\
rpcproxy.h
\
rpcproxy.h
\
schemadef.h
\
sddl.h
\
sddl.h
\
secext.h
\
secext.h
\
setupapi.h
\
setupapi.h
\
...
...
include/schemadef.h
0 → 100644
View file @
e67a614f
/*
* Copyright (C) 2003 Kevin Koltzau
* Copyright (C) 2004 Francois Gouget
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_SCHEMADEF_H
#define __WINE_SCHEMADEF_H
#define BEGIN_TM_SCHEMA(name)
#define END_TM_SCHEMA(name)
#define BEGIN_TM_ENUM(name) enum name {
#define TM_ENUM(value, prefix, name) prefix##_##name = (value),
#define END_TM_ENUM() };
#define BEGIN_TM_PROPS() enum PropValues { \
DummyProp = 49,
#define TM_PROP(value, prefix, name, type) prefix##_##name = (value),
#define END_TM_PROPS() };
#define BEGIN_TM_CLASS_PARTS(name) enum name##PARTS { \
name##PartFiller0,
#define TM_PART(value, prefix, name) prefix##_##name = (value),
#define END_TM_CLASS_PARTS() };
#define BEGIN_TM_PART_STATES(name) enum name##STATES { \
name##StateFiller0,
#define TM_STATE(value, prefix, name) prefix##_##name = (value),
#define END_TM_PART_STATES() };
#endif
include/tmschema.h
View file @
e67a614f
/*
/*
* Copyright (C) 2003 Kevin Koltzau
* Copyright (C) 2003 Kevin Koltzau
* Copyright (C) 2004 Francois Gouget
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
@@ -19,1013 +20,1251 @@
...
@@ -19,1013 +20,1251 @@
#ifndef __WINE_TMSCHEMA_H
#ifndef __WINE_TMSCHEMA_H
#define __WINE_TMSCHEMA_H
#define __WINE_TMSCHEMA_H
#include <schemadef.h>
/* Primitive types */
BEGIN_TM_SCHEMA
(
ThemeMgrSchema
)
#define TMT_STRING 201
#define TMT_INT 202
#define TMT_BOOL 203
#define TMT_COLOR 204
#define TMT_MARGINS 205
#define TMT_FILENAME 206
#define TMT_SIZE 207
#define TMT_POSITION 208
#define TMT_RECT 209
#define TMT_FONT 210
#define TMT_INTLIST 211
/*
Enumerations
*/
/*
**** ENUMERATIONS ****
*/
/* BGTYPE Enum */
/* BGTYPE Enum */
#define BT_IMAGEFILE 0
BEGIN_TM_ENUM
(
BGTYPE
)
#define BT_BORDERFILL 1
TM_ENUM
(
0
,
BT
,
IMAGEFILE
)
#define BT_NONE 2
TM_ENUM
(
1
,
BT
,
BORDERFILL
)
TM_ENUM
(
2
,
BT
,
NONE
)
END_TM_ENUM
()
/* IMAGELAYOUT Enum */
/* IMAGELAYOUT Enum */
#define IL_VERTICAL 0
BEGIN_TM_ENUM
(
IMAGELAYOUT
)
#define IL_HORIZONTAL 1
TM_ENUM
(
0
,
IL
,
VERTICAL
)
TM_ENUM
(
1
,
IL
,
HORIZONTAL
)
END_TM_ENUM
()
/* BORDERTYPE Enum */
/* BORDERTYPE Enum */
#define BT_RECT 0
BEGIN_TM_ENUM
(
BORDERTYPE
)
#define BT_ROUNDRECT 1
TM_ENUM
(
0
,
BT
,
RECT
)
#define BT_ELLIPSE 2
TM_ENUM
(
1
,
BT
,
ROUNDRECT
)
TM_ENUM
(
2
,
BT
,
ELLIPSE
)
END_TM_ENUM
()
/* FILLTYPE Enum */
/* FILLTYPE Enum */
#define FT_SOLID 0
BEGIN_TM_ENUM
(
FILLTYPE
)
#define FT_VERTGRADIENT 1
TM_ENUM
(
0
,
FT
,
SOLID
)
#define FT_HORZGRADIENT 2
TM_ENUM
(
1
,
FT
,
VERTGRADIENT
)
#define FT_RADIALGRADIENT 3
TM_ENUM
(
2
,
FT
,
HORZGRADIENT
)
#define FT_TILEIMAGE 4
TM_ENUM
(
3
,
FT
,
RADIALGRADIENT
)
TM_ENUM
(
4
,
FT
,
TILEIMAGE
)
END_TM_ENUM
()
/* SIZINGTYPE Enum */
/* SIZINGTYPE Enum */
#define ST_TRUESIZE 0
BEGIN_TM_ENUM
(
SIZINGTYPE
)
#define ST_STRETCH 1
TM_ENUM
(
0
,
ST
,
TRUESIZE
)
#define ST_TILE 2
TM_ENUM
(
1
,
ST
,
STRETCH
)
TM_ENUM
(
2
,
ST
,
TILE
)
END_TM_ENUM
()
/* HALIGN Enum */
/* HALIGN Enum */
#define HA_LEFT 0
BEGIN_TM_ENUM
(
HALIGN
)
#define HA_CENTER 1
TM_ENUM
(
0
,
HA
,
LEFT
)
#define HA_RIGHT 2
TM_ENUM
(
1
,
HA
,
CENTER
)
TM_ENUM
(
2
,
HA
,
RIGHT
)
END_TM_ENUM
()
/* CONTENTALIGNMENT Enum */
/* CONTENTALIGNMENT Enum */
#define CA_LEFT 0
BEGIN_TM_ENUM
(
CONTENTALIGNMENT
)
#define CA_CENTER 1
TM_ENUM
(
0
,
CA
,
LEFT
)
#define CA_RIGHT 2
TM_ENUM
(
1
,
CA
,
CENTER
)
TM_ENUM
(
2
,
CA
,
RIGHT
)
END_TM_ENUM
()
/* VALIGN Enum */
/* VALIGN Enum */
#define VA_TOP 0
BEGIN_TM_ENUM
(
VALIGN
)
#define VA_CENTER 1
TM_ENUM
(
0
,
VA
,
TOP
)
#define VA_BOTTOM 2
TM_ENUM
(
1
,
VA
,
CENTER
)
TM_ENUM
(
2
,
VA
,
BOTTOM
)
END_TM_ENUM
()
/* OFFSETTYPE Enum */
/* OFFSETTYPE Enum */
#define OT_TOPLEFT 0
BEGIN_TM_ENUM
(
OFFSETTYPE
)
#define OT_TOPRIGHT 1
TM_ENUM
(
0
,
OT
,
TOPLEFT
)
#define OT_TOPMIDDLE 2
TM_ENUM
(
1
,
OT
,
TOPRIGHT
)
#define OT_BOTTOMLEFT 3
TM_ENUM
(
2
,
OT
,
TOPMIDDLE
)
#define OT_BOTTOMRIGHT 4
TM_ENUM
(
3
,
OT
,
BOTTOMLEFT
)
#define OT_BOTTOMMIDDLE 5
TM_ENUM
(
4
,
OT
,
BOTTOMRIGHT
)
#define OT_MIDDLELEFT 6
TM_ENUM
(
5
,
OT
,
BOTTOMMIDDLE
)
#define OT_MIDDLERIGHT 7
TM_ENUM
(
6
,
OT
,
MIDDLELEFT
)
#define OT_LEFTOFCAPTION 8
TM_ENUM
(
7
,
OT
,
MIDDLERIGHT
)
#define OT_RIGHTOFCAPTION 9
TM_ENUM
(
8
,
OT
,
LEFTOFCAPTION
)
#define OT_LEFTOFLASTBUTTON 10
TM_ENUM
(
9
,
OT
,
RIGHTOFCAPTION
)
#define OT_RIGHTOFLASTBUTTON 11
TM_ENUM
(
10
,
OT
,
LEFTOFLASTBUTTON
)
#define OT_ABOVELASTBUTTON 12
TM_ENUM
(
11
,
OT
,
RIGHTOFLASTBUTTON
)
#define OT_BELOWLASTBUTTON 13
TM_ENUM
(
12
,
OT
,
ABOVELASTBUTTON
)
TM_ENUM
(
13
,
OT
,
BELOWLASTBUTTON
)
END_TM_ENUM
()
/* ICONEFFECT Enum */
/* ICONEFFECT Enum */
#define ICE_NONE 0
BEGIN_TM_ENUM
(
ICONEFFECT
)
#define ICE_GLOW 1
TM_ENUM
(
0
,
ICE
,
NONE
)
#define ICE_SHADOW 2
TM_ENUM
(
1
,
ICE
,
GLOW
)
#define ICE_PULSE 3
TM_ENUM
(
2
,
ICE
,
SHADOW
)
#define ICE_ALPHA 4
TM_ENUM
(
3
,
ICE
,
PULSE
)
TM_ENUM
(
4
,
ICE
,
ALPHA
)
END_TM_ENUM
()
/* TEXTSHADOWTYPE Enum */
/* TEXTSHADOWTYPE Enum */
#define TST_NONE 0
BEGIN_TM_ENUM
(
TEXTSHADOWTYPE
)
#define TST_SINGLE 1
TM_ENUM
(
0
,
TST
,
NONE
)
#define TST_CONTINUOUS 2
TM_ENUM
(
1
,
TST
,
SINGLE
)
TM_ENUM
(
2
,
TST
,
CONTINUOUS
)
END_TM_ENUM
()
/* GLYPHTYPE Enum */
/* GLYPHTYPE Enum */
#define GT_NONE 0
BEGIN_TM_ENUM
(
GLYPHTYPE
)
#define GT_IMAGEGLYPH 1
TM_ENUM
(
0
,
GT
,
NONE
)
#define GT_FONTGLYPH 2
TM_ENUM
(
1
,
GT
,
IMAGEGLYPH
)
TM_ENUM
(
2
,
GT
,
FONTGLYPH
)
END_TM_ENUM
()
/* IMAGESELECTTYPE Enum */
/* IMAGESELECTTYPE Enum */
#define IST_NONE 0
BEGIN_TM_ENUM
(
IMAGESELECTTYPE
)
#define IST_SIZE 1
TM_ENUM
(
0
,
IST
,
NONE
)
#define IST_DPI 2
TM_ENUM
(
1
,
IST
,
SIZE
)
TM_ENUM
(
2
,
IST
,
DPI
)
END_TM_ENUM
()
/* TRUESIZESCALINGTYPE Enum */
/* TRUESIZESCALINGTYPE Enum */
#define TSST_NONE 0
BEGIN_TM_ENUM
(
TRUESIZESCALINGTYPE
)
#define TSST_SIZE 1
TM_ENUM
(
0
,
TSST
,
NONE
)
#define TSST_DPI 2
TM_ENUM
(
1
,
TSST
,
SIZE
)
TM_ENUM
(
2
,
TSST
,
DPI
)
END_TM_ENUM
()
/* GLYPHFONTSIZINGTYPE Enum */
/* GLYPHFONTSIZINGTYPE Enum */
#define GFST_NONE 0
BEGIN_TM_ENUM
(
GLYPHFONTSIZINGTYPE
)
#define GFST_SIZE 1
TM_ENUM
(
0
,
GFST
,
NONE
)
#define GFST_DPI 2
TM_ENUM
(
1
,
GFST
,
SIZE
)
TM_ENUM
(
2
,
GFST
,
DPI
)
END_TM_ENUM
()
/* PROPERTIES */
/* Misc properties */
/***** PROPERTIES *****/
#define TMT_COLORSCHEMES 401
BEGIN_TM_PROPS
()
#define TMT_SIZES 402
#define TMT_CHARSET 403
/* Primitive types */
TM_PROP
(
201
,
TMT
,
STRING
,
STRING
)
/* Documentation properties */
TM_PROP
(
202
,
TMT
,
INT
,
INT
)
#define TMT_DISPLAYNAME 601
TM_PROP
(
203
,
TMT
,
BOOL
,
BOOL
)
#define TMT_TOOLTIP 602
TM_PROP
(
204
,
TMT
,
COLOR
,
COLOR
)
#define TMT_COMPANY 603
TM_PROP
(
205
,
TMT
,
MARGINS
,
MARGINS
)
#define TMT_AUTHOR 604
TM_PROP
(
206
,
TMT
,
FILENAME
,
FILENAME
)
#define TMT_COPYRIGHT 605
TM_PROP
(
207
,
TMT
,
SIZE
,
SIZE
)
#define TMT_URL 606
TM_PROP
(
208
,
TMT
,
POSITION
,
POSITION
)
#define TMT_VERSION 607
TM_PROP
(
209
,
TMT
,
RECT
,
RECT
)
#define TMT_DESCRIPTION 608
TM_PROP
(
210
,
TMT
,
FONT
,
FONT
)
#define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME
TM_PROP
(
211
,
TMT
,
INTLIST
,
INTLIST
)
#define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION
/* we should have ENUM around here */
/* Font theme metric properties */
/* Misc properties */
#define TMT_CAPTIONFONT 801
TM_PROP
(
401
,
TMT
,
COLORSCHEMES
,
STRING
)
#define TMT_SMALLCAPTIONFONT 802
TM_PROP
(
402
,
TMT
,
SIZES
,
STRING
)
#define TMT_MENUFONT 803
TM_PROP
(
403
,
TMT
,
CHARSET
,
INT
)
#define TMT_STATUSFONT 804
#define TMT_MSGBOXFONT 805
/* Documentation properties */
#define TMT_ICONTITLEFONT 806
TM_PROP
(
601
,
TMT
,
DISPLAYNAME
,
STRING
)
#define TMT_FIRSTFONT TMT_CAPTIONFONT
TM_PROP
(
602
,
TMT
,
TOOLTIP
,
STRING
)
#define TMT_LASTFONT TMT_ICONTITLEFONT
TM_PROP
(
603
,
TMT
,
COMPANY
,
STRING
)
TM_PROP
(
604
,
TMT
,
AUTHOR
,
STRING
)
/* Bool theme metric properties */
TM_PROP
(
605
,
TMT
,
COPYRIGHT
,
STRING
)
#define TMT_FLATMENUS 1001
TM_PROP
(
606
,
TMT
,
URL
,
STRING
)
#define TMT_FIRSTBOOL TMT_FLATMENUS
TM_PROP
(
607
,
TMT
,
VERSION
,
STRING
)
#define TMT_LASTBOOL TMT_FLATMENUS
TM_PROP
(
608
,
TMT
,
DESCRIPTION
,
STRING
)
# define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME
/* Size theme metric properties */
# define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION
#define TMT_SIZINGBORDERWIDTH 1201
#define TMT_SCROLLBARWIDTH 1202
/* Font theme metric properties */
#define TMT_SCROLLBARHEIGHT 1203
TM_PROP
(
801
,
TMT
,
CAPTIONFONT
,
FONT
)
#define TMT_CAPTIONBARWIDTH 1204
TM_PROP
(
802
,
TMT
,
SMALLCAPTIONFONT
,
FONT
)
#define TMT_CAPTIONBARHEIGHT 1205
TM_PROP
(
803
,
TMT
,
MENUFONT
,
FONT
)
#define TMT_SMCAPTIONBARWIDTH 1206
TM_PROP
(
804
,
TMT
,
STATUSFONT
,
FONT
)
#define TMT_SMCAPTIONBARHEIGHT 1207
TM_PROP
(
805
,
TMT
,
MSGBOXFONT
,
FONT
)
#define TMT_MENUBARWIDTH 1208
TM_PROP
(
806
,
TMT
,
ICONTITLEFONT
,
FONT
)
#define TMT_MENUBARHEIGHT 1209
# define TMT_FIRSTFONT TMT_CAPTIONFONT
#define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH
# define TMT_LASTFONT TMT_ICONTITLEFONT
#define TMT_LASTSIZE TMT_MENUBARHEIGHT
/* Bool theme metric properties */
/* Int theme metric properties */
TM_PROP
(
1001
,
TMT
,
FLATMENUS
,
BOOL
)
#define TMT_MINCOLORDEPTH 1301
# define TMT_FIRSTBOOL TMT_FLATMENUS
#define TMT_FIRSTINT TMT_MINCOLORDEPTH
# define TMT_LASTBOOL TMT_FLATMENUS
#define TMT_LASTINT TMT_MINCOLORDEPTH
/* Size theme metric properties */
/* String theme metric properties */
TM_PROP
(
1201
,
TMT
,
SIZINGBORDERWIDTH
,
SIZE
)
#define TMT_CSSNAME 1401
TM_PROP
(
1202
,
TMT
,
SCROLLBARWIDTH
,
SIZE
)
#define TMT_XMLNAME 1402
TM_PROP
(
1203
,
TMT
,
SCROLLBARHEIGHT
,
SIZE
)
#define TMT_FIRSTSTRING TMT_CSSNAME
TM_PROP
(
1204
,
TMT
,
CAPTIONBARWIDTH
,
SIZE
)
#define TMT_LASTSTRING TMT_XMLNAME
TM_PROP
(
1205
,
TMT
,
CAPTIONBARHEIGHT
,
SIZE
)
TM_PROP
(
1206
,
TMT
,
SMCAPTIONBARWIDTH
,
SIZE
)
/* Color theme metric properties */
TM_PROP
(
1207
,
TMT
,
SMCAPTIONBARHEIGHT
,
SIZE
)
#define TMT_SCROLLBAR 1601
TM_PROP
(
1208
,
TMT
,
MENUBARWIDTH
,
SIZE
)
#define TMT_BACKGROUND 1602
TM_PROP
(
1209
,
TMT
,
MENUBARHEIGHT
,
SIZE
)
#define TMT_ACTIVECAPTION 1603
# define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH
#define TMT_INACTIVECAPTION 1604
# define TMT_LASTSIZE TMT_MENUBARHEIGHT
#define TMT_MENU 1605
#define TMT_WINDOW 1606
/* Int theme metric properties */
#define TMT_WINDOWFRAME 1607
TM_PROP
(
1301
,
TMT
,
MINCOLORDEPTH
,
INT
)
#define TMT_MENUTEXT 1608
# define TMT_FIRSTINT TMT_MINCOLORDEPTH
#define TMT_WINDOWTEXT 1609
# define TMT_LASTINT TMT_MINCOLORDEPTH
#define TMT_CAPTIONTEXT 1610
#define TMT_ACTIVEBORDER 1611
/* String theme metric properties */
#define TMT_INACTIVEBORDER 1612
TM_PROP
(
1401
,
TMT
,
CSSNAME
,
STRING
)
#define TMT_APPWORKSPACE 1613
TM_PROP
(
1402
,
TMT
,
XMLNAME
,
STRING
)
#define TMT_HIGHLIGHT 1614
# define TMT_FIRSTSTRING TMT_CSSNAME
#define TMT_HIGHLIGHTTEXT 1615
# define TMT_LASTSTRING TMT_XMLNAME
#define TMT_BTNFACE 1616
#define TMT_BTNSHADOW 1617
/* Color theme metric properties */
#define TMT_GRAYTEXT 1618
TM_PROP
(
1601
,
TMT
,
SCROLLBAR
,
COLOR
)
#define TMT_BTNTEXT 1619
TM_PROP
(
1602
,
TMT
,
BACKGROUND
,
COLOR
)
#define TMT_INACTIVECAPTIONTEXT 1620
TM_PROP
(
1603
,
TMT
,
ACTIVECAPTION
,
COLOR
)
#define TMT_BTNHIGHLIGHT 1621
TM_PROP
(
1604
,
TMT
,
INACTIVECAPTION
,
COLOR
)
#define TMT_DKSHADOW3D 1622
TM_PROP
(
1605
,
TMT
,
MENU
,
COLOR
)
#define TMT_LIGHT3D 1623
TM_PROP
(
1606
,
TMT
,
WINDOW
,
COLOR
)
#define TMT_INFOTEXT 1624
TM_PROP
(
1607
,
TMT
,
WINDOWFRAME
,
COLOR
)
#define TMT_INFOBK 1625
TM_PROP
(
1608
,
TMT
,
MENUTEXT
,
COLOR
)
#define TMT_BUTTONALTERNATEFACE 1626
TM_PROP
(
1609
,
TMT
,
WINDOWTEXT
,
COLOR
)
#define TMT_HOTTRACKING 1627
TM_PROP
(
1610
,
TMT
,
CAPTIONTEXT
,
COLOR
)
#define TMT_GRADIENTACTIVECAPTION 1628
TM_PROP
(
1611
,
TMT
,
ACTIVEBORDER
,
COLOR
)
#define TMT_GRADIENTINACTIVECAPTION 1629
TM_PROP
(
1612
,
TMT
,
INACTIVEBORDER
,
COLOR
)
#define TMT_MENUHILIGHT 1630
TM_PROP
(
1613
,
TMT
,
APPWORKSPACE
,
COLOR
)
#define TMT_MENUBAR 1631
TM_PROP
(
1614
,
TMT
,
HIGHLIGHT
,
COLOR
)
#define TMT_FIRSTCOLOR TMT_SCROLLBAR
TM_PROP
(
1615
,
TMT
,
HIGHLIGHTTEXT
,
COLOR
)
#define TMT_LASTCOLOR TMT_MENUBAR
TM_PROP
(
1616
,
TMT
,
BTNFACE
,
COLOR
)
TM_PROP
(
1617
,
TMT
,
BTNSHADOW
,
COLOR
)
TM_PROP
(
1618
,
TMT
,
GRAYTEXT
,
COLOR
)
/* hue substitutions */
TM_PROP
(
1619
,
TMT
,
BTNTEXT
,
COLOR
)
#define TMT_FROMHUE1 1801
TM_PROP
(
1620
,
TMT
,
INACTIVECAPTIONTEXT
,
COLOR
)
#define TMT_FROMHUE2 1802
TM_PROP
(
1621
,
TMT
,
BTNHIGHLIGHT
,
COLOR
)
#define TMT_FROMHUE3 1803
TM_PROP
(
1622
,
TMT
,
DKSHADOW3D
,
COLOR
)
#define TMT_FROMHUE4 1804
TM_PROP
(
1623
,
TMT
,
LIGHT3D
,
COLOR
)
#define TMT_FROMHUE5 1805
TM_PROP
(
1624
,
TMT
,
INFOTEXT
,
COLOR
)
#define TMT_TOHUE1 1806
TM_PROP
(
1625
,
TMT
,
INFOBK
,
COLOR
)
#define TMT_TOHUE2 1807
TM_PROP
(
1626
,
TMT
,
BUTTONALTERNATEFACE
,
COLOR
)
#define TMT_TOHUE3 1808
TM_PROP
(
1627
,
TMT
,
HOTTRACKING
,
COLOR
)
#define TMT_TOHUE4 1809
TM_PROP
(
1628
,
TMT
,
GRADIENTACTIVECAPTION
,
COLOR
)
#define TMT_TOHUE5 1810
TM_PROP
(
1629
,
TMT
,
GRADIENTINACTIVECAPTION
,
COLOR
)
TM_PROP
(
1630
,
TMT
,
MENUHILIGHT
,
COLOR
)
/* color substitutions */
TM_PROP
(
1631
,
TMT
,
MENUBAR
,
COLOR
)
#define TMT_FROMCOLOR1 2001
# define TMT_FIRSTCOLOR TMT_SCROLLBAR
#define TMT_FROMCOLOR2 2002
# define TMT_LASTCOLOR TMT_MENUBAR
#define TMT_FROMCOLOR3 2003
#define TMT_FROMCOLOR4 2004
/* hue substitutions */
#define TMT_FROMCOLOR5 2005
TM_PROP
(
1801
,
TMT
,
FROMHUE1
,
INT
)
#define TMT_TOCOLOR1 2006
TM_PROP
(
1802
,
TMT
,
FROMHUE2
,
INT
)
#define TMT_TOCOLOR2 2007
TM_PROP
(
1803
,
TMT
,
FROMHUE3
,
INT
)
#define TMT_TOCOLOR3 2008
TM_PROP
(
1804
,
TMT
,
FROMHUE4
,
INT
)
#define TMT_TOCOLOR4 2009
TM_PROP
(
1805
,
TMT
,
FROMHUE5
,
INT
)
#define TMT_TOCOLOR5 2010
TM_PROP
(
1806
,
TMT
,
TOHUE1
,
INT
)
TM_PROP
(
1807
,
TMT
,
TOHUE2
,
INT
)
TM_PROP
(
1808
,
TMT
,
TOHUE3
,
INT
)
/* Bool rendering properties */
TM_PROP
(
1809
,
TMT
,
TOHUE4
,
INT
)
#define TMT_TRANSPARENT 2201
TM_PROP
(
1810
,
TMT
,
TOHUE5
,
INT
)
#define TMT_AUTOSIZE 2202
#define TMT_BORDERONLY 2203
/* color substitutions */
#define TMT_COMPOSITED 2204
TM_PROP
(
2001
,
TMT
,
FROMCOLOR1
,
COLOR
)
#define TMT_BGFILL 2205
TM_PROP
(
2002
,
TMT
,
FROMCOLOR2
,
COLOR
)
#define TMT_GLYPHTRANSPARENT 2206
TM_PROP
(
2003
,
TMT
,
FROMCOLOR3
,
COLOR
)
#define TMT_GLYPHONLY 2207
TM_PROP
(
2004
,
TMT
,
FROMCOLOR4
,
COLOR
)
#define TMT_ALWAYSSHOWSIZINGBAR 2208
TM_PROP
(
2005
,
TMT
,
FROMCOLOR5
,
COLOR
)
#define TMT_MIRRORIMAGE 2209
TM_PROP
(
2006
,
TMT
,
TOCOLOR1
,
COLOR
)
#define TMT_UNIFORMSIZING 2210
TM_PROP
(
2007
,
TMT
,
TOCOLOR2
,
COLOR
)
#define TMT_INTEGRALSIZING 2211
TM_PROP
(
2008
,
TMT
,
TOCOLOR3
,
COLOR
)
#define TMT_SOURCEGROW 2212
TM_PROP
(
2009
,
TMT
,
TOCOLOR4
,
COLOR
)
#define TMT_SOURCESHRINK 2213
TM_PROP
(
2010
,
TMT
,
TOCOLOR5
,
COLOR
)
/* Int rendering properties */
/* Bool rendering properties */
#define TMT_IMAGECOUNT 2401
TM_PROP
(
2201
,
TMT
,
TRANSPARENT
,
BOOL
)
#define TMT_ALPHALEVEL 2402
TM_PROP
(
2202
,
TMT
,
AUTOSIZE
,
BOOL
)
#define TMT_BORDERSIZE 2403
TM_PROP
(
2203
,
TMT
,
BORDERONLY
,
BOOL
)
#define TMT_ROUNDCORNERWIDTH 2404
TM_PROP
(
2204
,
TMT
,
COMPOSITED
,
BOOL
)
#define TMT_ROUNDCORNERHEIGHT 2405
TM_PROP
(
2205
,
TMT
,
BGFILL
,
BOOL
)
#define TMT_GRADIENTRATIO1 2406
TM_PROP
(
2206
,
TMT
,
GLYPHTRANSPARENT
,
BOOL
)
#define TMT_GRADIENTRATIO2 2407
TM_PROP
(
2207
,
TMT
,
GLYPHONLY
,
BOOL
)
#define TMT_GRADIENTRATIO3 2408
TM_PROP
(
2208
,
TMT
,
ALWAYSSHOWSIZINGBAR
,
BOOL
)
#define TMT_GRADIENTRATIO4 2409
TM_PROP
(
2209
,
TMT
,
MIRRORIMAGE
,
BOOL
)
#define TMT_GRADIENTRATIO5 2410
TM_PROP
(
2210
,
TMT
,
UNIFORMSIZING
,
BOOL
)
#define TMT_PROGRESSCHUNKSIZE 2411
TM_PROP
(
2211
,
TMT
,
INTEGRALSIZING
,
BOOL
)
#define TMT_PROGRESSSPACESIZE 2412
TM_PROP
(
2212
,
TMT
,
SOURCEGROW
,
BOOL
)
#define TMT_SATURATION 2413
TM_PROP
(
2213
,
TMT
,
SOURCESHRINK
,
BOOL
)
#define TMT_TEXTBORDERSIZE 2414
#define TMT_ALPHATHRESHOLD 2415
/* Int rendering properties */
#define TMT_WIDTH 2416
TM_PROP
(
2401
,
TMT
,
IMAGECOUNT
,
INT
)
#define TMT_HEIGHT 2417
TM_PROP
(
2402
,
TMT
,
ALPHALEVEL
,
INT
)
#define TMT_GLYPHINDEX 2418
TM_PROP
(
2403
,
TMT
,
BORDERSIZE
,
INT
)
#define TMT_TRUESIZESTRETCHMARK 2419
TM_PROP
(
2404
,
TMT
,
ROUNDCORNERWIDTH
,
INT
)
#define TMT_MINDPI1 2420
TM_PROP
(
2405
,
TMT
,
ROUNDCORNERHEIGHT
,
INT
)
#define TMT_MINDPI2 2421
TM_PROP
(
2406
,
TMT
,
GRADIENTRATIO1
,
INT
)
#define TMT_MINDPI3 2422
TM_PROP
(
2407
,
TMT
,
GRADIENTRATIO2
,
INT
)
#define TMT_MINDPI4 2423
TM_PROP
(
2408
,
TMT
,
GRADIENTRATIO3
,
INT
)
#define TMT_MINDPI5 2424
TM_PROP
(
2409
,
TMT
,
GRADIENTRATIO4
,
INT
)
TM_PROP
(
2410
,
TMT
,
GRADIENTRATIO5
,
INT
)
/* Font rendering properties */
TM_PROP
(
2411
,
TMT
,
PROGRESSCHUNKSIZE
,
INT
)
#define TMT_GLYPHFONT 2601
TM_PROP
(
2412
,
TMT
,
PROGRESSSPACESIZE
,
INT
)
TM_PROP
(
2413
,
TMT
,
SATURATION
,
INT
)
/* Filename rendering properties */
TM_PROP
(
2414
,
TMT
,
TEXTBORDERSIZE
,
INT
)
#define TMT_IMAGEFILE 3001
TM_PROP
(
2415
,
TMT
,
ALPHATHRESHOLD
,
INT
)
#define TMT_IMAGEFILE1 3002
TM_PROP
(
2416
,
TMT
,
WIDTH
,
SIZE
)
#define TMT_IMAGEFILE2 3003
TM_PROP
(
2417
,
TMT
,
HEIGHT
,
SIZE
)
#define TMT_IMAGEFILE3 3004
TM_PROP
(
2418
,
TMT
,
GLYPHINDEX
,
INT
)
#define TMT_IMAGEFILE4 3005
TM_PROP
(
2419
,
TMT
,
TRUESIZESTRETCHMARK
,
INT
)
#define TMT_IMAGEFILE5 3006
TM_PROP
(
2420
,
TMT
,
MINDPI1
,
INT
)
#define TMT_STOCKIMAGEFILE 3007
TM_PROP
(
2421
,
TMT
,
MINDPI2
,
INT
)
#define TMT_GLYPHIMAGEFILE 3008
TM_PROP
(
2422
,
TMT
,
MINDPI3
,
INT
)
TM_PROP
(
2423
,
TMT
,
MINDPI4
,
INT
)
/* String rendering properties */
TM_PROP
(
2424
,
TMT
,
MINDPI5
,
INT
)
#define TMT_TEXT 3201
/* Font rendering properties */
/* Position rendering properties */
TM_PROP
(
2601
,
TMT
,
GLYPHFONT
,
FONT
)
#define TMT_OFFSET 3401
#define TMT_TEXTSHADOWOFFSET 3402
/* Filename rendering properties */
#define TMT_MINSIZE 3403
TM_PROP
(
3001
,
TMT
,
IMAGEFILE
,
FILENAME
)
#define TMT_MINSIZE1 3404
TM_PROP
(
3002
,
TMT
,
IMAGEFILE1
,
FILENAME
)
#define TMT_MINSIZE2 3405
TM_PROP
(
3003
,
TMT
,
IMAGEFILE2
,
FILENAME
)
#define TMT_MINSIZE3 3406
TM_PROP
(
3004
,
TMT
,
IMAGEFILE3
,
FILENAME
)
#define TMT_MINSIZE4 3407
TM_PROP
(
3005
,
TMT
,
IMAGEFILE4
,
FILENAME
)
#define TMT_MINSIZE5 3408
TM_PROP
(
3006
,
TMT
,
IMAGEFILE5
,
FILENAME
)
#define TMT_NORMALSIZE 3409
TM_PROP
(
3007
,
TMT
,
STOCKIMAGEFILE
,
FILENAME
)
TM_PROP
(
3008
,
TMT
,
GLYPHIMAGEFILE
,
FILENAME
)
/* Margin rendering properties */
#define TMT_SIZINGMARGINS 3601
/* String rendering properties */
#define TMT_CONTENTMARGINS 3602
TM_PROP
(
3201
,
TMT
,
TEXT
,
STRING
)
#define TMT_CAPTIONMARGINS 3603
/* Position rendering properties */
/* Color rendering properties */
TM_PROP
(
3401
,
TMT
,
OFFSET
,
POSITION
)
#define TMT_BORDERCOLOR 3801
TM_PROP
(
3402
,
TMT
,
TEXTSHADOWOFFSET
,
POSITION
)
#define TMT_FILLCOLOR 3802
TM_PROP
(
3403
,
TMT
,
MINSIZE
,
POSITION
)
#define TMT_TEXTCOLOR 3803
TM_PROP
(
3404
,
TMT
,
MINSIZE1
,
POSITION
)
#define TMT_EDGELIGHTCOLOR 3804
TM_PROP
(
3405
,
TMT
,
MINSIZE2
,
POSITION
)
#define TMT_EDGEHIGHLIGHTCOLOR 3805
TM_PROP
(
3406
,
TMT
,
MINSIZE3
,
POSITION
)
#define TMT_EDGESHADOWCOLOR 3806
TM_PROP
(
3407
,
TMT
,
MINSIZE4
,
POSITION
)
#define TMT_EDGEDKSHADOWCOLOR 3807
TM_PROP
(
3408
,
TMT
,
MINSIZE5
,
POSITION
)
#define TMT_EDGEFILLCOLOR 3808
TM_PROP
(
3409
,
TMT
,
NORMALSIZE
,
POSITION
)
#define TMT_TRANSPARENTCOLOR 3809
#define TMT_GRADIENTCOLOR1 3810
/* Margin rendering properties */
#define TMT_GRADIENTCOLOR2 3811
TM_PROP
(
3601
,
TMT
,
SIZINGMARGINS
,
MARGINS
)
#define TMT_GRADIENTCOLOR3 3812
TM_PROP
(
3602
,
TMT
,
CONTENTMARGINS
,
MARGINS
)
#define TMT_GRADIENTCOLOR4 3813
TM_PROP
(
3603
,
TMT
,
CAPTIONMARGINS
,
MARGINS
)
#define TMT_GRADIENTCOLOR5 3814
#define TMT_SHADOWCOLOR 3815
/* Color rendering properties */
#define TMT_GLOWCOLOR 3816
TM_PROP
(
3801
,
TMT
,
BORDERCOLOR
,
COLOR
)
#define TMT_TEXTBORDERCOLOR 3817
TM_PROP
(
3802
,
TMT
,
FILLCOLOR
,
COLOR
)
#define TMT_TEXTSHADOWCOLOR 3818
TM_PROP
(
3803
,
TMT
,
TEXTCOLOR
,
COLOR
)
#define TMT_GLYPHTEXTCOLOR 3819
TM_PROP
(
3804
,
TMT
,
EDGELIGHTCOLOR
,
COLOR
)
#define TMT_GLYPHTRANSPARENTCOLOR 3820
TM_PROP
(
3805
,
TMT
,
EDGEHIGHLIGHTCOLOR
,
COLOR
)
#define TMT_FILLCOLORHINT 3821
TM_PROP
(
3806
,
TMT
,
EDGESHADOWCOLOR
,
COLOR
)
#define TMT_BORDERCOLORHINT 3822
TM_PROP
(
3807
,
TMT
,
EDGEDKSHADOWCOLOR
,
COLOR
)
#define TMT_ACCENTCOLORHINT 3823
TM_PROP
(
3808
,
TMT
,
EDGEFILLCOLOR
,
COLOR
)
TM_PROP
(
3809
,
TMT
,
TRANSPARENTCOLOR
,
COLOR
)
/* Enum rendering properties */
TM_PROP
(
3810
,
TMT
,
GRADIENTCOLOR1
,
COLOR
)
#define TMT_BGTYPE 4001
TM_PROP
(
3811
,
TMT
,
GRADIENTCOLOR2
,
COLOR
)
#define TMT_BORDERTYPE 4002
TM_PROP
(
3812
,
TMT
,
GRADIENTCOLOR3
,
COLOR
)
#define TMT_FILLTYPE 4003
TM_PROP
(
3813
,
TMT
,
GRADIENTCOLOR4
,
COLOR
)
#define TMT_SIZINGTYPE 4004
TM_PROP
(
3814
,
TMT
,
GRADIENTCOLOR5
,
COLOR
)
#define TMT_HALIGN 4005
TM_PROP
(
3815
,
TMT
,
SHADOWCOLOR
,
COLOR
)
#define TMT_CONTENTALIGNMENT 4006
TM_PROP
(
3816
,
TMT
,
GLOWCOLOR
,
COLOR
)
#define TMT_VALIGN 4007
TM_PROP
(
3817
,
TMT
,
TEXTBORDERCOLOR
,
COLOR
)
#define TMT_OFFSETTYPE 4008
TM_PROP
(
3818
,
TMT
,
TEXTSHADOWCOLOR
,
COLOR
)
#define TMT_ICONEFFECT 4009
TM_PROP
(
3819
,
TMT
,
GLYPHTEXTCOLOR
,
COLOR
)
#define TMT_TEXTSHADOWTYPE 4010
TM_PROP
(
3820
,
TMT
,
GLYPHTRANSPARENTCOLOR
,
COLOR
)
#define TMT_IMAGELAYOUT 4011
TM_PROP
(
3821
,
TMT
,
FILLCOLORHINT
,
COLOR
)
#define TMT_GLYPHTYPE 4012
TM_PROP
(
3822
,
TMT
,
BORDERCOLORHINT
,
COLOR
)
#define TMT_IMAGESELECTTYPE 4013
TM_PROP
(
3823
,
TMT
,
ACCENTCOLORHINT
,
COLOR
)
#define TMT_GLYPHFONTSIZINGTYPE 4014
#define TMT_TRUESIZESCALINGTYPE 4015
/* Enum rendering properties */
TM_PROP
(
4001
,
TMT
,
BGTYPE
,
ENUM
)
/* custom properties */
TM_PROP
(
4002
,
TMT
,
BORDERTYPE
,
ENUM
)
#define TMT_USERPICTURE 5001
TM_PROP
(
4003
,
TMT
,
FILLTYPE
,
ENUM
)
#define TMT_DEFAULTPANESIZE 5002
TM_PROP
(
4004
,
TMT
,
SIZINGTYPE
,
ENUM
)
#define TMT_BLENDCOLOR 5003
TM_PROP
(
4005
,
TMT
,
HALIGN
,
ENUM
)
TM_PROP
(
4006
,
TMT
,
CONTENTALIGNMENT
,
ENUM
)
/* PARTS & STATES */
TM_PROP
(
4007
,
TMT
,
VALIGN
,
ENUM
)
TM_PROP
(
4008
,
TMT
,
OFFSETTYPE
,
ENUM
)
TM_PROP
(
4009
,
TMT
,
ICONEFFECT
,
ENUM
)
TM_PROP
(
4010
,
TMT
,
TEXTSHADOWTYPE
,
ENUM
)
TM_PROP
(
4011
,
TMT
,
IMAGELAYOUT
,
ENUM
)
TM_PROP
(
4012
,
TMT
,
GLYPHTYPE
,
ENUM
)
TM_PROP
(
4013
,
TMT
,
IMAGESELECTTYPE
,
ENUM
)
TM_PROP
(
4014
,
TMT
,
GLYPHFONTSIZINGTYPE
,
ENUM
)
TM_PROP
(
4015
,
TMT
,
TRUESIZESCALINGTYPE
,
ENUM
)
/* custom properties */
TM_PROP
(
5001
,
TMT
,
USERPICTURE
,
BOOL
)
TM_PROP
(
5002
,
TMT
,
DEFAULTPANESIZE
,
RECT
)
TM_PROP
(
5003
,
TMT
,
BLENDCOLOR
,
COLOR
)
END_TM_PROPS
()
/***** PARTS & STATES *****/
/* BUTTON parts */
/* BUTTON parts */
#define BP_PUSHBUTTON 1
BEGIN_TM_CLASS_PARTS
(
BUTTON
)
#define BP_RADIOBUTTON 2
TM_PART
(
1
,
BP
,
PUSHBUTTON
)
#define BP_CHECKBOX 3
TM_PART
(
2
,
BP
,
RADIOBUTTON
)
#define BP_GROUPBOX 4
TM_PART
(
3
,
BP
,
CHECKBOX
)
#define BP_USERBUTTON 5
TM_PART
(
4
,
BP
,
GROUPBOX
)
TM_PART
(
5
,
BP
,
USERBUTTON
)
/* BUTTON PUSHBUTTON states */
END_TM_CLASS_PARTS
()
#define PBS_NORMAL 1
#define PBS_HOT 2
/* BUTTON - PUSHBUTTON states */
#define PBS_PRESSED 3
BEGIN_TM_PART_STATES
(
PUSHBUTTON
)
#define PBS_DISABLED 4
TM_STATE
(
1
,
PBS
,
NORMAL
)
#define PBS_DEFAULTED 5
TM_STATE
(
2
,
PBS
,
HOT
)
TM_STATE
(
3
,
PBS
,
PRESSED
)
/* BUTTON RADIOBUTTON states */
TM_STATE
(
4
,
PBS
,
DISABLED
)
#define RBS_UNCHECKEDNORMAL 1
TM_STATE
(
5
,
PBS
,
DEFAULTED
)
#define RBS_UNCHECKEDHOT 2
END_TM_PART_STATES
()
#define RBS_UNCHECKEDPRESSED 3
#define RBS_UNCHECKEDDISABLED 4
/* BUTTON - RADIOBUTTON states */
#define RBS_CHECKEDNORMAL 5
BEGIN_TM_PART_STATES
(
RADIOBUTTON
)
#define RBS_CHECKEDHOT 6
TM_STATE
(
1
,
RBS
,
UNCHECKEDNORMAL
)
#define RBS_CHECKEDPRESSED 7
TM_STATE
(
2
,
RBS
,
UNCHECKEDHOT
)
#define RBS_CHECKEDDISABLED 8
TM_STATE
(
3
,
RBS
,
UNCHECKEDPRESSED
)
TM_STATE
(
4
,
RBS
,
UNCHECKEDDISABLED
)
/* BUTTON CHECBOX states */
TM_STATE
(
5
,
RBS
,
CHECKEDNORMAL
)
#define CBS_UNCHECKEDNORMAL 1
TM_STATE
(
6
,
RBS
,
CHECKEDHOT
)
#define CBS_UNCHECKEDHOT 2
TM_STATE
(
7
,
RBS
,
CHECKEDPRESSED
)
#define CBS_UNCHECKEDPRESSED 3
TM_STATE
(
8
,
RBS
,
CHECKEDDISABLED
)
#define CBS_UNCHECKEDDISABLED 4
END_TM_PART_STATES
()
#define CBS_CHECKEDNORMAL 5
#define CBS_CHECKEDHOT 6
/* BUTTON - CHECKBOX states */
#define CBS_CHECKEDPRESSED 7
BEGIN_TM_PART_STATES
(
CHECKBOX
)
#define CBS_CHECKEDDISABLED 8
TM_STATE
(
1
,
CBS
,
UNCHECKEDNORMAL
)
#define CBS_MIXEDNORMAL 9
TM_STATE
(
2
,
CBS
,
UNCHECKEDHOT
)
#define CBS_MIXEDHOT 10
TM_STATE
(
3
,
CBS
,
UNCHECKEDPRESSED
)
#define CBS_MIXEDPRESSED 11
TM_STATE
(
4
,
CBS
,
UNCHECKEDDISABLED
)
#define CBS_MIXEDDISABLED 12
TM_STATE
(
5
,
CBS
,
CHECKEDNORMAL
)
TM_STATE
(
6
,
CBS
,
CHECKEDHOT
)
/* BUTTON GROUPBOX states */
TM_STATE
(
7
,
CBS
,
CHECKEDPRESSED
)
#define GBS_NORMAL 1
TM_STATE
(
8
,
CBS
,
CHECKEDDISABLED
)
#define GBS_DISABLED 2
TM_STATE
(
9
,
CBS
,
MIXEDNORMAL
)
TM_STATE
(
10
,
CBS
,
MIXEDHOT
)
TM_STATE
(
11
,
CBS
,
MIXEDPRESSED
)
TM_STATE
(
12
,
CBS
,
MIXEDDISABLED
)
END_TM_PART_STATES
()
/* BUTTON - GROUPBOX states */
BEGIN_TM_PART_STATES
(
GROUPBOX
)
TM_STATE
(
1
,
GBS
,
NORMAL
)
TM_STATE
(
2
,
GBS
,
DISABLED
)
END_TM_PART_STATES
()
/* CLOCK parts */
/* CLOCK parts */
#define CLP_TIME 1
BEGIN_TM_CLASS_PARTS
(
CLOCK
)
TM_PART
(
1
,
CLP
,
TIME
)
END_TM_CLASS_PARTS
()
/* CLOCK TIME states */
/* CLOCK states */
#define CLS_NORMAL 1
BEGIN_TM_PART_STATES
(
CLOCK
)
TM_STATE
(
1
,
CLS
,
NORMAL
)
END_TM_PART_STATES
()
/* COMBOBOX parts */
/* COMBOBOX parts */
#define CP_DROPDOWNBUTTON 1
BEGIN_TM_CLASS_PARTS
(
COMBOBOX
)
TM_PART
(
1
,
CP
,
DROPDOWNBUTTON
)
/* COMBOBOX DROPDOWNBUTTON states */
END_TM_CLASS_PARTS
()
#define CBXS_NORMAL 1
#define CBXS_HOT 2
/* COMBOBOX states */
#define CBXS_PRESSED 3
BEGIN_TM_PART_STATES
(
COMBOBOX
)
#define CBXS_DISABLED 4
TM_STATE
(
1
,
CBXS
,
NORMAL
)
TM_STATE
(
2
,
CBXS
,
HOT
)
TM_STATE
(
3
,
CBXS
,
PRESSED
)
TM_STATE
(
4
,
CBXS
,
DISABLED
)
END_TM_PART_STATES
()
/* EDIT parts */
/* EDIT parts */
#define EP_EDITTEXT 1
BEGIN_TM_CLASS_PARTS
(
EDIT
)
#define EP_CARET 2
TM_PART
(
1
,
EP
,
EDITTEXT
)
TM_PART
(
2
,
EP
,
CARET
)
/* EDIT EDITTEXT states */
END_TM_CLASS_PARTS
()
#define ETS_NORMAL 1
#define ETS_HOT 2
/* EDIT - EDITTEXT states */
#define ETS_SELECTED 3
BEGIN_TM_PART_STATES
(
EDITTEXT
)
#define ETS_DISABLED 4
TM_STATE
(
1
,
ETS
,
NORMAL
)
#define ETS_FOCUSED 5
TM_STATE
(
2
,
ETS
,
HOT
)
#define ETS_READONLY 6
TM_STATE
(
3
,
ETS
,
SELECTED
)
#define ETS_ASSIST 7
TM_STATE
(
4
,
ETS
,
DISABLED
)
TM_STATE
(
5
,
ETS
,
FOCUSED
)
TM_STATE
(
6
,
ETS
,
READONLY
)
TM_STATE
(
7
,
ETS
,
ASSIST
)
END_TM_PART_STATES
()
/* EXPLORERBAR parts */
/* EXPLORERBAR parts */
#define EBP_HEADERBACKGROUND 1
BEGIN_TM_CLASS_PARTS
(
EXPLORERBAR
)
#define EBP_HEADERCLOSE 2
TM_PART
(
1
,
EBP
,
HEADERBACKGROUND
)
#define EBP_HEADERPIN 3
TM_PART
(
2
,
EBP
,
HEADERCLOSE
)
#define EBP_IEBARMENU 4
TM_PART
(
3
,
EBP
,
HEADERPIN
)
#define EBP_NORMALGROUPBACKGROUND 5
TM_PART
(
4
,
EBP
,
IEBARMENU
)
#define EBP_NORMALGROUPCOLLAPSE 6
TM_PART
(
5
,
EBP
,
NORMALGROUPBACKGROUND
)
#define EBP_NORMALGROUPEXPAND 7
TM_PART
(
6
,
EBP
,
NORMALGROUPCOLLAPSE
)
#define EBP_NORMALGROUPHEAD 8
TM_PART
(
7
,
EBP
,
NORMALGROUPEXPAND
)
#define EBP_SPECIALGROUPBACKGROUND 9
TM_PART
(
8
,
EBP
,
NORMALGROUPHEAD
)
#define EBP_SPECIALGROUPCOLLAPSE 10
TM_PART
(
9
,
EBP
,
SPECIALGROUPBACKGROUND
)
#define EBP_SPECIALGROUPEXPAND 11
TM_PART
(
10
,
EBP
,
SPECIALGROUPCOLLAPSE
)
#define EBP_SPECIALGROUPHEAD 12
TM_PART
(
11
,
EBP
,
SPECIALGROUPEXPAND
)
TM_PART
(
12
,
EBP
,
SPECIALGROUPHEAD
)
/* EXPLORERBAR HEADERCLOSE states */
END_TM_CLASS_PARTS
()
#define EBHC_NORMAL 1
#define EBHC_HOT 2
/* EXPLORERBAR - HEADERCLOSE states */
#define EBHC_PRESSED 3
BEGIN_TM_PART_STATES
(
HEADERCLOSE
)
TM_STATE
(
1
,
EBHC
,
NORMAL
)
/* EXPLORERBAR HEADERPIN states */
TM_STATE
(
2
,
EBHC
,
HOT
)
#define EBHP_NORMAL 1
TM_STATE
(
3
,
EBHC
,
PRESSED
)
#define EBHP_HOT 2
END_TM_PART_STATES
()
#define EBHP_PRESSED 3
#define EBHP_SELECTEDNORMAL 4
/* EXPLORERBAR - HEADERPIN states */
#define EBHP_SELECTEDHOT 5
BEGIN_TM_PART_STATES
(
HEADERPIN
)
#define EBHP_SELECTEDPRESSED 6
TM_STATE
(
1
,
EBHP
,
NORMAL
)
TM_STATE
(
2
,
EBHP
,
HOT
)
/* EXPLORERBAR IEBARMENU states */
TM_STATE
(
3
,
EBHP
,
PRESSED
)
#define EBM_NORMAL 1
TM_STATE
(
4
,
EBHP
,
SELECTEDNORMAL
)
#define EBM_HOT 2
TM_STATE
(
5
,
EBHP
,
SELECTEDHOT
)
#define EBM_PRESSED 3
TM_STATE
(
6
,
EBHP
,
SELECTEDPRESSED
)
END_TM_PART_STATES
()
/* EXPLORERBAR NORMALGROUPCOLLAPSE states */
#define EBNGC_NORMAL 1
/* EXPLORERBAR - IEBARMENU states */
#define EBNGC_HOT 2
BEGIN_TM_PART_STATES
(
IEBARMENU
)
#define EBNGC_PRESSED 3
TM_STATE
(
1
,
EBM
,
NORMAL
)
TM_STATE
(
2
,
EBM
,
HOT
)
/* EXPLORERBAR NORMALGROUPEXPAND states */
TM_STATE
(
3
,
EBM
,
PRESSED
)
#define EBNGE_NORMAL 1
END_TM_PART_STATES
()
#define EBNGE_HOT 2
#define EBNGE_PRESSED 3
/* EXPLORERBAR - NORMALGROUPCOLLAPSE states */
BEGIN_TM_PART_STATES
(
NORMALGROUPCOLLAPSE
)
/* EXPLORERBAR SPECIALGROUPCOLLAPSE states */
TM_STATE
(
1
,
EBNGC
,
NORMAL
)
#define EBSGC_NORMAL 1
TM_STATE
(
2
,
EBNGC
,
HOT
)
#define EBSGC_HOT 2
TM_STATE
(
3
,
EBNGC
,
PRESSED
)
#define EBSGC_PRESSED 3
END_TM_PART_STATES
()
/* EXPLORERBAR SPECIALGROUPEXPAND states */
/* EXPLORERBAR - NORMALGROUPEXPAND states */
#define EBSGE_NORMAL 1
BEGIN_TM_PART_STATES
(
NORMALGROUPEXPAND
)
#define EBSGE_HOT 2
TM_STATE
(
1
,
EBNGE
,
NORMAL
)
#define EBSGE_PRESSED 3
TM_STATE
(
2
,
EBNGE
,
HOT
)
TM_STATE
(
3
,
EBNGE
,
PRESSED
)
END_TM_PART_STATES
()
/* EXPLORERBAR - SPECIALGROUPCOLLAPSE states */
BEGIN_TM_PART_STATES
(
SPECIALGROUPCOLLAPSE
)
TM_STATE
(
1
,
EBSGC
,
NORMAL
)
TM_STATE
(
2
,
EBSGC
,
HOT
)
TM_STATE
(
3
,
EBSGC
,
PRESSED
)
END_TM_PART_STATES
()
/* EXPLORERBAR - SPECIALGROUPEXPAND states */
BEGIN_TM_PART_STATES
(
SPECIALGROUPEXPAND
)
TM_STATE
(
1
,
EBSGE
,
NORMAL
)
TM_STATE
(
2
,
EBSGE
,
HOT
)
TM_STATE
(
3
,
EBSGE
,
PRESSED
)
END_TM_PART_STATES
()
/* GLOBALS parts */
/* GLOBALS parts */
#define GP_BORDER 1
BEGIN_TM_CLASS_PARTS
(
GLOBALS
)
#define GP_LINEHORZ 2
TM_PART
(
1
,
GP
,
BORDER
)
#define GP_LINEVERT 3
TM_PART
(
2
,
GP
,
LINEHORZ
)
TM_PART
(
3
,
GP
,
LINEVERT
)
/* GLOBALS BORDER states */
END_TM_CLASS_PARTS
()
#define BSS_FLAT 1
#define BSS_RAISED 2
/* GLOBALS - BORDER states */
#define BSS_SUNKEN 3
BEGIN_TM_PART_STATES
(
BORDER
)
TM_STATE
(
1
,
BSS
,
FLAT
)
/* GLOBALS LINEHORZ states */
TM_STATE
(
2
,
BSS
,
RAISED
)
#define LHS_FLAT 1
TM_STATE
(
3
,
BSS
,
SUNKEN
)
#define LHS_RAISED 2
END_TM_PART_STATES
()
#define LHS_SUNKEN 3
/* GLOBALS - LINEHORZ states */
/* GLOBAL LINEVERT states */
BEGIN_TM_PART_STATES
(
LINEHORZ
)
#define LVS_FLAT 1
TM_STATE
(
1
,
LHS
,
FLAT
)
#define LVS_RAISED 2
TM_STATE
(
2
,
LHS
,
RAISED
)
#define LVS_SUNKEN 3
TM_STATE
(
3
,
LHS
,
SUNKEN
)
END_TM_PART_STATES
()
/* GLOBAL - LINEVERT states */
BEGIN_TM_PART_STATES
(
LINEVERT
)
TM_STATE
(
1
,
LVS
,
FLAT
)
TM_STATE
(
2
,
LVS
,
RAISED
)
TM_STATE
(
3
,
LVS
,
SUNKEN
)
END_TM_PART_STATES
()
/* HEADER parts */
/* HEADER parts */
#define HP_HEADERITEM 1
BEGIN_TM_CLASS_PARTS
(
HEADER
)
#define HP_HEADERITEMLEFT 2
TM_PART
(
1
,
HP
,
HEADERITEM
)
#define HP_HEADERITEMRIGHT 3
TM_PART
(
2
,
HP
,
HEADERITEMLEFT
)
#define HP_HEADERSORTARROW 4
TM_PART
(
3
,
HP
,
HEADERITEMRIGHT
)
TM_PART
(
4
,
HP
,
HEADERSORTARROW
)
/* HEADER HEADERITEM states */
END_TM_CLASS_PARTS
()
#define HIS_NORMAL 1
#define HIS_HOT 2
/* HEADER - HEADERITEM states */
#define HIS_PRESSED 3
BEGIN_TM_PART_STATES
(
HEADERITEM
)
TM_STATE
(
1
,
HIS
,
NORMAL
)
/* HEADER HEADERITEMLEFT states */
TM_STATE
(
2
,
HIS
,
HOT
)
#define HILS_NORMAL 1
TM_STATE
(
3
,
HIS
,
PRESSED
)
#define HILS_HOT 2
END_TM_PART_STATES
()
#define HILS_PRESSED 3
/* HEADER - HEADERITEMLEFT states */
/* HEADER HEADERITEMRIGHT states */
BEGIN_TM_PART_STATES
(
HEADERITEMLEFT
)
#define HIRS_NORMAL 1
TM_STATE
(
1
,
HILS
,
NORMAL
)
#define HIRS_HOT 2
TM_STATE
(
2
,
HILS
,
HOT
)
#define HIRS_PRESSED 3
TM_STATE
(
3
,
HILS
,
PRESSED
)
END_TM_PART_STATES
()
/* HEADER HEADERSORTARROW states */
#define HSAS_SORTEDUP 1
/* HEADER - HEADERITEMRIGHT states */
#define HSAS_SORTEDDOWN 2
BEGIN_TM_PART_STATES
(
HEADERITEMRIGHT
)
TM_STATE
(
1
,
HIRS
,
NORMAL
)
TM_STATE
(
2
,
HIRS
,
HOT
)
TM_STATE
(
3
,
HIRS
,
PRESSED
)
END_TM_PART_STATES
()
/* HEADER - HEADERSORTARROW states */
BEGIN_TM_PART_STATES
(
HEADERSORTARROW
)
TM_STATE
(
1
,
HSAS
,
SORTEDUP
)
TM_STATE
(
2
,
HSAS
,
SORTEDDOWN
)
END_TM_PART_STATES
()
/* LISTVIEW parts */
/* LISTVIEW parts */
#define LVP_LISTITEM 1
BEGIN_TM_CLASS_PARTS
(
LISTVIEW
)
#define LVP_LISTGROUP 2
TM_PART
(
1
,
LVP
,
LISTITEM
)
#define LVP_LISTDETAIL 3
TM_PART
(
2
,
LVP
,
LISTGROUP
)
#define LVP_LISTSORTEDDETAIL 4
TM_PART
(
3
,
LVP
,
LISTDETAIL
)
#define LVP_EMPTYTEXT 5
TM_PART
(
4
,
LVP
,
LISTSORTEDDETAIL
)
TM_PART
(
5
,
LVP
,
EMPTYTEXT
)
/* LISTVIEW LISTITEM states */
END_TM_CLASS_PARTS
()
#define LIS_NORMAL 1
#define LIS_HOT 2
/* LISTVIEW - LISTITEM states */
#define LIS_SELECTED 3
BEGIN_TM_PART_STATES
(
LISTITEM
)
#define LIS_DISABLED 4
TM_STATE
(
1
,
LIS
,
NORMAL
)
#define LIS_SELECTEDNOTFOCUS 5
TM_STATE
(
2
,
LIS
,
HOT
)
TM_STATE
(
3
,
LIS
,
SELECTED
)
TM_STATE
(
4
,
LIS
,
DISABLED
)
TM_STATE
(
5
,
LIS
,
SELECTEDNOTFOCUS
)
END_TM_PART_STATES
()
/* MENU parts */
/* MENU parts */
#define MP_MENUITEM 1
BEGIN_TM_CLASS_PARTS
(
MENU
)
#define MP_MENUDROPDOWN 2
TM_PART
(
1
,
MP
,
MENUITEM
)
#define MP_MENUBARITEM 3
TM_PART
(
2
,
MP
,
MENUDROPDOWN
)
#define MP_MENUBARDROPDOWN 4
TM_PART
(
3
,
MP
,
MENUBARITEM
)
#define MP_CHEVRON 5
TM_PART
(
4
,
MP
,
MENUBARDROPDOWN
)
#define MP_SEPARATOR 6
TM_PART
(
5
,
MP
,
CHEVRON
)
TM_PART
(
6
,
MP
,
SEPARATOR
)
/* MENU * states */
END_TM_CLASS_PARTS
()
#define MS_NORMAL 1
#define MS_SELECTED 2
/* MENU - * states */
#define MS_DEMOTED 3
BEGIN_TM_PART_STATES
(
MENU
)
TM_STATE
(
1
,
MS
,
NORMAL
)
TM_STATE
(
2
,
MS
,
SELECTED
)
TM_STATE
(
3
,
MS
,
DEMOTED
)
END_TM_PART_STATES
()
/* MENUBAND parts */
/* MENUBAND parts */
#define MDP_NEWAPPBUTTON 1
BEGIN_TM_CLASS_PARTS
(
MENUBAND
)
TM_PART
(
1
,
MDP
,
NEWAPPBUTTON
)
/* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
/* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
#define MDP_SEPERATOR 2
TM_PART
(
2
,
MDP
,
SEPERATOR
)
END_TM_CLASS_PARTS
()
/* MENUBAND NEWAPPBUTTON states */
#define MDS_NORMAL 1
/* MENUBAND states */
#define MDS_HOT 2
BEGIN_TM_PART_STATES
(
MENUBAND
)
#define MDS_PRESSED 3
TM_STATE
(
1
,
MDS
,
NORMAL
)
#define MDS_DISABLED 4
TM_STATE
(
2
,
MDS
,
HOT
)
#define MDS_CHECKED 5
TM_STATE
(
3
,
MDS
,
PRESSED
)
#define MDS_HOTCHECKED 6
TM_STATE
(
4
,
MDS
,
DISABLED
)
TM_STATE
(
5
,
MDS
,
CHECKED
)
TM_STATE
(
6
,
MDS
,
HOTCHECKED
)
END_TM_PART_STATES
()
/* PAGE parts */
/* PAGE parts */
#define PGRP_UP 1
BEGIN_TM_CLASS_PARTS
(
PAGE
)
#define PGRP_DOWN 2
TM_PART
(
1
,
PGRP
,
UP
)
#define PGRP_UPHORZ 3
TM_PART
(
2
,
PGRP
,
DOWN
)
#define PGRP_DOWNHORZ 4
TM_PART
(
3
,
PGRP
,
UPHORZ
)
TM_PART
(
4
,
PGRP
,
DOWNHORZ
)
/* PAGE UP states */
END_TM_CLASS_PARTS
()
#define UPS_NORMAL 1
#define UPS_HOT 2
/* PAGE - UP states */
#define UPS_PRESSED 3
BEGIN_TM_PART_STATES
(
UP
)
#define UPS_DISABLED 4
TM_STATE
(
1
,
UPS
,
NORMAL
)
TM_STATE
(
2
,
UPS
,
HOT
)
/* PAGE DOWN states */
TM_STATE
(
3
,
UPS
,
PRESSED
)
#define DNS_NORMAL 1
TM_STATE
(
4
,
UPS
,
DISABLED
)
#define DNS_HOT 2
END_TM_PART_STATES
()
#define DNS_PRESSED 3
#define DNS_DISABLED 4
/* PAGE - DOWN states */
BEGIN_TM_PART_STATES
(
DOWN
)
/* PAGE UPHORZ states */
TM_STATE
(
1
,
DNS
,
NORMAL
)
#define UPHZS_NORMAL 1
TM_STATE
(
2
,
DNS
,
HOT
)
#define UPHZS_HOT 2
TM_STATE
(
3
,
DNS
,
PRESSED
)
#define UPHZS_PRESSED 3
TM_STATE
(
4
,
DNS
,
DISABLED
)
#define UPHZS_DISABLED 4
END_TM_PART_STATES
()
/* PAGE DOWNHORZ states */
/* PAGE - UPHORZ states */
#define DNHZS_NORMAL 1
BEGIN_TM_PART_STATES
(
UPHORZ
)
#define DNHZS_HOT 2
TM_STATE
(
1
,
UPHZS
,
NORMAL
)
#define DNHZS_PRESSED 3
TM_STATE
(
2
,
UPHZS
,
HOT
)
#define DNHZS_DISABLED 4
TM_STATE
(
3
,
UPHZS
,
PRESSED
)
TM_STATE
(
4
,
UPHZS
,
DISABLED
)
END_TM_PART_STATES
()
/* PAGE - DOWNHORZ states */
BEGIN_TM_PART_STATES
(
DOWNHORZ
)
TM_STATE
(
1
,
DNHZS
,
NORMAL
)
TM_STATE
(
2
,
DNHZS
,
HOT
)
TM_STATE
(
3
,
DNHZS
,
PRESSED
)
TM_STATE
(
4
,
DNHZS
,
DISABLED
)
END_TM_PART_STATES
()
/* PROGRESS parts */
/* PROGRESS parts */
#define PP_BAR 1
BEGIN_TM_CLASS_PARTS
(
PROGRESS
)
#define PP_BARVERT 2
TM_PART
(
1
,
PP
,
BAR
)
#define PP_CHUNK 3
TM_PART
(
2
,
PP
,
BARVERT
)
#define PP_CHUNKVERT 4
TM_PART
(
3
,
PP
,
CHUNK
)
TM_PART
(
4
,
PP
,
CHUNKVERT
)
END_TM_CLASS_PARTS
()
/* REBAR parts */
/* REBAR parts */
#define RP_GRIPPER 1
BEGIN_TM_CLASS_PARTS
(
REBAR
)
#define RP_GRIPPERVERT 2
TM_PART
(
1
,
RP
,
GRIPPER
)
#define RP_BAND 3
TM_PART
(
2
,
RP
,
GRIPPERVERT
)
#define RP_CHEVRON 4
TM_PART
(
3
,
RP
,
BAND
)
#define RP_CHEVRONVERT 5
TM_PART
(
4
,
RP
,
CHEVRON
)
TM_PART
(
5
,
RP
,
CHEVRONVERT
)
/* REBAR CHEVRON states */
END_TM_CLASS_PARTS
()
#define CHEVS_NORMAL 1
#define CHEVS_HOT 2
/* REBAR - CHEVRON states */
#define CHEVS_PRESSED 3
BEGIN_TM_PART_STATES
(
CHEVRON
)
TM_STATE
(
1
,
CHEVS
,
NORMAL
)
TM_STATE
(
2
,
CHEVS
,
HOT
)
TM_STATE
(
3
,
CHEVS
,
PRESSED
)
END_TM_PART_STATES
()
/* SCROLLBAR parts */
/* SCROLLBAR parts */
#define SBP_ARROWBTN 1
BEGIN_TM_CLASS_PARTS
(
SCROLLBAR
)
#define SBP_THUMBBTNHORZ 2
TM_PART
(
1
,
SBP
,
ARROWBTN
)
#define SBP_THUMBBTNVERT 3
TM_PART
(
2
,
SBP
,
THUMBBTNHORZ
)
#define SBP_LOWERTRACKHORZ 4
TM_PART
(
3
,
SBP
,
THUMBBTNVERT
)
#define SBP_UPPERTRACKHORZ 5
TM_PART
(
4
,
SBP
,
LOWERTRACKHORZ
)
#define SBP_LOWERTRACKVERT 6
TM_PART
(
5
,
SBP
,
UPPERTRACKHORZ
)
#define SBP_UPPERTRACKVERT 7
TM_PART
(
6
,
SBP
,
LOWERTRACKVERT
)
#define SBP_GRIPPERHORZ 8
TM_PART
(
7
,
SBP
,
UPPERTRACKVERT
)
#define SBP_GRIPPERVERT 9
TM_PART
(
8
,
SBP
,
GRIPPERHORZ
)
#define SBP_SIZEBOX 10
TM_PART
(
9
,
SBP
,
GRIPPERVERT
)
TM_PART
(
10
,
SBP
,
SIZEBOX
)
/* SCROLLBAR ARROWBTN states */
END_TM_CLASS_PARTS
()
#define ABS_UPNORMAL 1
#define ABS_UPHOT 2
/* SCROLLBAR - ARROWBTN states */
#define ABS_UPPRESSED 3
BEGIN_TM_PART_STATES
(
ARROWBTN
)
#define ABS_UPDISABLED 4
TM_STATE
(
1
,
ABS
,
UPNORMAL
)
#define ABS_DOWNNORMAL 5
TM_STATE
(
2
,
ABS
,
UPHOT
)
#define ABS_DOWNHOT 6
TM_STATE
(
3
,
ABS
,
UPPRESSED
)
#define ABS_DOWNPRESSED 7
TM_STATE
(
4
,
ABS
,
UPDISABLED
)
#define ABS_DOWNDISABLED 8
TM_STATE
(
5
,
ABS
,
DOWNNORMAL
)
#define ABS_LEFTNORMAL 9
TM_STATE
(
6
,
ABS
,
DOWNHOT
)
#define ABS_LEFTHOT 10
TM_STATE
(
7
,
ABS
,
DOWNPRESSED
)
#define ABS_LEFTPRESSED 11
TM_STATE
(
8
,
ABS
,
DOWNDISABLED
)
#define ABS_LEFTDISABLED 12
TM_STATE
(
9
,
ABS
,
LEFTNORMAL
)
#define ABS_RIGHTNORMAL 13
TM_STATE
(
10
,
ABS
,
LEFTHOT
)
#define ABS_RIGHTHOT 14
TM_STATE
(
11
,
ABS
,
LEFTPRESSED
)
#define ABS_RIGHTPRESSED 15
TM_STATE
(
12
,
ABS
,
LEFTDISABLED
)
#define ABS_RIGHTDISABLED 16
TM_STATE
(
13
,
ABS
,
RIGHTNORMAL
)
TM_STATE
(
14
,
ABS
,
RIGHTHOT
)
/* SCROLLBAR LOWER* / THUMB* / UPPER* states */
TM_STATE
(
15
,
ABS
,
RIGHTPRESSED
)
#define SCRBS_NORMAL 1
TM_STATE
(
16
,
ABS
,
RIGHTDISABLED
)
#define SCRBS_HOT 2
END_TM_PART_STATES
()
#define SCRBS_PRESSED 3
#define SCRBS_DISABLED 4
/* SCROLLBAR - LOWER* / THUMB* / UPPER* states */
BEGIN_TM_PART_STATES
(
SCROLLBAR
)
/* SCROLLBAR SIZEBOX states */
TM_STATE
(
1
,
SCRBS
,
NORMAL
)
#define SZB_RIGHTALIGN 1
TM_STATE
(
2
,
SCRBS
,
HOT
)
#define SZB_LEFTALIGN 2
TM_STATE
(
3
,
SCRBS
,
PRESSED
)
TM_STATE
(
4
,
SCRBS
,
DISABLED
)
END_TM_PART_STATES
()
/* SCROLLBAR - SIZEBOX states */
BEGIN_TM_PART_STATES
(
SIZEBOX
)
TM_STATE
(
1
,
SZB
,
RIGHTALIGN
)
TM_STATE
(
2
,
SZB
,
LEFTALIGN
)
END_TM_PART_STATES
()
/* SPIN parts */
/* SPIN parts */
#define SPNP_UP 1
BEGIN_TM_CLASS_PARTS
(
SPIN
)
#define SPNP_DOWN 2
TM_PART
(
1
,
SPNP
,
UP
)
#define SPNP_UPHORZ 3
TM_PART
(
2
,
SPNP
,
DOWN
)
#define SPNP_DOWNHORZ 4
TM_PART
(
3
,
SPNP
,
UPHORZ
)
TM_PART
(
4
,
SPNP
,
DOWNHORZ
)
END_TM_CLASS_PARTS
()
/* SPIN * states */
/* SPIN * states */
/* See PAGE states */
/* See PAGE states */
/* STARTPANEL parts */
/* STARTPANEL parts */
#define SPP_USERPANE 1
BEGIN_TM_CLASS_PARTS
(
STARTPANEL
)
#define SPP_MOREPROGRAMS 2
TM_PART
(
1
,
SPP
,
USERPANE
)
#define SPP_MOREPROGRAMSARROW 3
TM_PART
(
2
,
SPP
,
MOREPROGRAMS
)
#define SPP_PROGLIST 4
TM_PART
(
3
,
SPP
,
MOREPROGRAMSARROW
)
#define SPP_PROGLISTSEPARATOR 5
TM_PART
(
4
,
SPP
,
PROGLIST
)
#define SPP_PLACESLIST 6
TM_PART
(
5
,
SPP
,
PROGLISTSEPARATOR
)
#define SPP_PLACESLISTSEPARATOR 7
TM_PART
(
6
,
SPP
,
PLACESLIST
)
#define SPP_LOGOFF 8
TM_PART
(
7
,
SPP
,
PLACESLISTSEPARATOR
)
#define SPP_LOGOFFBUTTONS 9
TM_PART
(
8
,
SPP
,
LOGOFF
)
#define SPP_USERPICTURE 10
TM_PART
(
9
,
SPP
,
LOGOFFBUTTONS
)
#define SPP_PREVIEW 11
TM_PART
(
10
,
SPP
,
USERPICTURE
)
TM_PART
(
11
,
SPP
,
PREVIEW
)
/* STARTPANEL MOREPROGRAMSARROW states */
END_TM_CLASS_PARTS
()
#define SPS_NORMAL 1
#define SPS_HOT 2
/* STARTPANEL - MOREPROGRAMSARROW states */
#define SPS_PRESSED 3
BEGIN_TM_PART_STATES
(
MOREPROGRAMSARROW
)
TM_STATE
(
1
,
SPS
,
NORMAL
)
/* STARTPANEL LOGOFFBUTTONS states */
TM_STATE
(
2
,
SPS
,
HOT
)
#define SPLS_NORMAL 1
TM_STATE
(
3
,
SPS
,
PRESSED
)
#define SPLS_HOT 2
END_TM_PART_STATES
()
#define SPLS_PRESSED 3
/* STARTPANEL - LOGOFFBUTTONS states */
BEGIN_TM_PART_STATES
(
LOGOFFBUTTONS
)
TM_STATE
(
1
,
SPLS
,
NORMAL
)
TM_STATE
(
2
,
SPLS
,
HOT
)
TM_STATE
(
3
,
SPLS
,
PRESSED
)
END_TM_PART_STATES
()
/* STATUS parts */
/* STATUS parts */
#define SP_PANE 1
BEGIN_TM_CLASS_PARTS
(
STATUS
)
#define SP_GRIPPERPANE 2
TM_PART
(
1
,
SP
,
PANE
)
#define SP_GRIPPER 3
TM_PART
(
2
,
SP
,
GRIPPERPANE
)
TM_PART
(
3
,
SP
,
GRIPPER
)
END_TM_CLASS_PARTS
()
/* TAB parts */
/* TAB parts */
#define TABP_TABITEM 1
BEGIN_TM_CLASS_PARTS
(
TAB
)
#define TABP_TABITEMLEFTEDGE 2
TM_PART
(
1
,
TABP
,
TABITEM
)
#define TABP_TABITEMRIGHTEDGE 3
TM_PART
(
2
,
TABP
,
TABITEMLEFTEDGE
)
#define TABP_TABITEMBOTHEDGE 4
TM_PART
(
3
,
TABP
,
TABITEMRIGHTEDGE
)
#define TABP_TOPTABITEM 5
TM_PART
(
4
,
TABP
,
TABITEMBOTHEDGE
)
#define TABP_TOPTABITEMLEFTEDGE 6
TM_PART
(
5
,
TABP
,
TOPTABITEM
)
#define TABP_TOPTABITEMRIGHTEDGE 7
TM_PART
(
6
,
TABP
,
TOPTABITEMLEFTEDGE
)
#define TABP_TOPTABITEMBOTHEDGE 8
TM_PART
(
7
,
TABP
,
TOPTABITEMRIGHTEDGE
)
#define TABP_PANE 9
TM_PART
(
8
,
TABP
,
TOPTABITEMBOTHEDGE
)
#define TABP_BODY 10
TM_PART
(
9
,
TABP
,
PANE
)
TM_PART
(
10
,
TABP
,
BODY
)
/* TAB TABITEM states */
END_TM_CLASS_PARTS
()
#define TIS_NORMAL 1
#define TIS_HOT 2
/* TAB - TABITEM states */
#define TIS_SELECTED 3
BEGIN_TM_PART_STATES
(
TABITEM
)
#define TIS_DISABLED 4
TM_STATE
(
1
,
TIS
,
NORMAL
)
#define TIS_FOCUSED 5
TM_STATE
(
2
,
TIS
,
HOT
)
TM_STATE
(
3
,
TIS
,
SELECTED
)
/* TAB TABITEMLEFTEDGE states */
TM_STATE
(
4
,
TIS
,
DISABLED
)
#define TILES_NORMAL 1
TM_STATE
(
5
,
TIS
,
FOCUSED
)
#define TILES_HOT 2
END_TM_PART_STATES
()
#define TILES_SELECTED 3
#define TILES_DISABLED 4
/* TAB - TABITEMLEFTEDGE states */
#define TILES_FOCUSED 5
BEGIN_TM_PART_STATES
(
TABITEMLEFTEDGE
)
TM_STATE
(
1
,
TILES
,
NORMAL
)
/* TAB TABITEMRIGHTEDGE states */
TM_STATE
(
2
,
TILES
,
HOT
)
#define TIRES_NORMAL 1
TM_STATE
(
3
,
TILES
,
SELECTED
)
#define TIRES_HOT 2
TM_STATE
(
4
,
TILES
,
DISABLED
)
#define TIRES_SELECTED 3
TM_STATE
(
5
,
TILES
,
FOCUSED
)
#define TIRES_DISABLED 4
END_TM_PART_STATES
()
#define TIRES_FOCUSED 5
/* TAB - TABITEMRIGHTEDGE states */
/* TAB TABITEMBOTHEDGES states */
BEGIN_TM_PART_STATES
(
TABITEMRIGHTEDGE
)
#define TIBES_NORMAL 1
TM_STATE
(
1
,
TIRES
,
NORMAL
)
#define TIBES_HOT 2
TM_STATE
(
2
,
TIRES
,
HOT
)
#define TIBES_SELECTED 3
TM_STATE
(
3
,
TIRES
,
SELECTED
)
#define TIBES_DISABLED 4
TM_STATE
(
4
,
TIRES
,
DISABLED
)
#define TIBES_FOCUSED 5
TM_STATE
(
5
,
TIRES
,
FOCUSED
)
END_TM_PART_STATES
()
/* TAB TOPTABITEM states */
#define TTIS_NORMAL 1
/* TAB - TABITEMBOTHEDGES states */
#define TTIS_HOT 2
BEGIN_TM_PART_STATES
(
TABITEMBOTHEDGES
)
#define TTIS_SELECTED 3
TM_STATE
(
1
,
TIBES
,
NORMAL
)
#define TTIS_DISABLED 4
TM_STATE
(
2
,
TIBES
,
HOT
)
#define TTIS_FOCUSED 5
TM_STATE
(
3
,
TIBES
,
SELECTED
)
TM_STATE
(
4
,
TIBES
,
DISABLED
)
/* TAB TOPTABITEMLEFTEDGE states */
TM_STATE
(
5
,
TIBES
,
FOCUSED
)
#define TTILES_NORMAL 1
END_TM_PART_STATES
()
#define TTILES_HOT 2
#define TTILES_SELECTED 3
/* TAB - TOPTABITEM states */
#define TTILES_DISABLED 4
BEGIN_TM_PART_STATES
(
TOPTABITEM
)
#define TTILES_FOCUSED 5
TM_STATE
(
1
,
TTIS
,
NORMAL
)
TM_STATE
(
2
,
TTIS
,
HOT
)
/* TAB TOPTABITEMRIGHTEDGE states */
TM_STATE
(
3
,
TTIS
,
SELECTED
)
#define TTIRES_NORMAL 1
TM_STATE
(
4
,
TTIS
,
DISABLED
)
#define TTIRES_HOT 2
TM_STATE
(
5
,
TTIS
,
FOCUSED
)
#define TTIRES_SELECTED 3
END_TM_PART_STATES
()
#define TTIRES_DISABLED 4
#define TTIRES_FOCUSED 5
/* TAB - TOPTABITEMLEFTEDGE states */
BEGIN_TM_PART_STATES
(
TOPTABITEMLEFTEDGE
)
/* TAB TOPTABITEMBOTHEDGES states */
TM_STATE
(
1
,
TTILES
,
NORMAL
)
#define TTIBES_NORMAL 1
TM_STATE
(
2
,
TTILES
,
HOT
)
#define TTIBES_HOT 2
TM_STATE
(
3
,
TTILES
,
SELECTED
)
#define TTIBES_SELECTED 3
TM_STATE
(
4
,
TTILES
,
DISABLED
)
#define TTIBES_DISABLED 4
TM_STATE
(
5
,
TTILES
,
FOCUSED
)
#define TTIBES_FOCUSED 5
END_TM_PART_STATES
()
/* TAB - TOPTABITEMRIGHTEDGE states */
BEGIN_TM_PART_STATES
(
TOPTABITEMRIGHTEDGE
)
TM_STATE
(
1
,
TTIRES
,
NORMAL
)
TM_STATE
(
2
,
TTIRES
,
HOT
)
TM_STATE
(
3
,
TTIRES
,
SELECTED
)
TM_STATE
(
4
,
TTIRES
,
DISABLED
)
TM_STATE
(
5
,
TTIRES
,
FOCUSED
)
END_TM_PART_STATES
()
/* TAB - TOPTABITEMBOTHEDGES states */
BEGIN_TM_PART_STATES
(
TOPTABITEMBOTHEDGES
)
TM_STATE
(
1
,
TTIBES
,
NORMAL
)
TM_STATE
(
2
,
TTIBES
,
HOT
)
TM_STATE
(
3
,
TTIBES
,
SELECTED
)
TM_STATE
(
4
,
TTIBES
,
DISABLED
)
TM_STATE
(
5
,
TTIBES
,
FOCUSED
)
END_TM_PART_STATES
()
/* TASKBAND parts */
/* TASKBAND parts */
#define TDP_GROUPCOUNT 1
BEGIN_TM_CLASS_PARTS
(
TASKBAND
)
#define TDP_FLASHBUTTON 2
TM_PART
(
1
,
TDP
,
GROUPCOUNT
)
#define TDP_FLASHBUTTONGROUPMENU 3
TM_PART
(
2
,
TDP
,
FLASHBUTTON
)
TM_PART
(
3
,
TDP
,
FLASHBUTTONGROUPMENU
)
END_TM_CLASS_PARTS
()
/* TASKBAR parts */
/* TASKBAR parts */
#define TBP_BACKGROUNDBOTTOM 1
BEGIN_TM_CLASS_PARTS
(
TASKBAR
)
#define TBP_BACKGROUNDRIGHT 2
TM_PART
(
1
,
TBP
,
BACKGROUNDBOTTOM
)
#define TBP_BACKGROUNDTOP 3
TM_PART
(
2
,
TBP
,
BACKGROUNDRIGHT
)
#define TBP_BACKGROUNDLEFT 4
TM_PART
(
3
,
TBP
,
BACKGROUNDTOP
)
#define TBP_SIZINGBARBOTTOM 5
TM_PART
(
4
,
TBP
,
BACKGROUNDLEFT
)
#define TBP_SIZINGBARRIGHT 6
TM_PART
(
5
,
TBP
,
SIZINGBARBOTTOM
)
#define TBP_SIZINGBARTOP 7
TM_PART
(
6
,
TBP
,
SIZINGBARRIGHT
)
#define TBP_SIZINGBARLEFT 8
TM_PART
(
7
,
TBP
,
SIZINGBARTOP
)
TM_PART
(
8
,
TBP
,
SIZINGBARLEFT
)
END_TM_CLASS_PARTS
()
/* TOOLBAR parts */
/* TOOLBAR parts */
#define TP_BUTTON 1
BEGIN_TM_CLASS_PARTS
(
TOOLBAR
)
#define TP_DROPDOWNBUTTON 2
TM_PART
(
1
,
TP
,
BUTTON
)
#define TP_SPLITBUTTON 3
TM_PART
(
2
,
TP
,
DROPDOWNBUTTON
)
#define TP_SPLITBUTTONDROPDOWN 4
TM_PART
(
3
,
TP
,
SPLITBUTTON
)
#define TP_SEPARATOR 5
TM_PART
(
4
,
TP
,
SPLITBUTTONDROPDOWN
)
#define TP_SEPARATORVERT 6
TM_PART
(
5
,
TP
,
SEPARATOR
)
TM_PART
(
6
,
TP
,
SEPARATORVERT
)
/* TOOLBAR * states */
END_TM_CLASS_PARTS
()
#define TS_NORMAL 1
#define TS_HOT 2
/* TOOLBAR - * states */
#define TS_PRESSED 3
BEGIN_TM_PART_STATES
(
TOOLBAR
)
#define TS_DISABLED 4
TM_STATE
(
1
,
TS
,
NORMAL
)
#define TS_CHECKED 5
TM_STATE
(
2
,
TS
,
HOT
)
#define TS_HOTCHECKED 6
TM_STATE
(
3
,
TS
,
PRESSED
)
TM_STATE
(
4
,
TS
,
DISABLED
)
TM_STATE
(
5
,
TS
,
CHECKED
)
TM_STATE
(
6
,
TS
,
HOTCHECKED
)
END_TM_PART_STATES
()
/* TOOLTIP parts */
/* TOOLTIP parts */
#define TTP_STANDARD 1
BEGIN_TM_CLASS_PARTS
(
TOOLTIP
)
#define TTP_STANDARDTITLE 2
TM_PART
(
1
,
TTP
,
STANDARD
)
#define TTP_BALLOON 3
TM_PART
(
2
,
TTP
,
STANDARDTITLE
)
#define TTP_BALLOONTITLE 4
TM_PART
(
3
,
TTP
,
BALLOON
)
#define TTP_CLOSE 5
TM_PART
(
4
,
TTP
,
BALLOONTITLE
)
TM_PART
(
5
,
TTP
,
CLOSE
)
/* TOOLTIP STANDARD states */
END_TM_CLASS_PARTS
()
#define TTSS_NORMAL 1
#define TTSS_LINK 2
/* TOOLTIP - STANDARD states */
BEGIN_TM_PART_STATES
(
STANDARD
)
/* TOOLTIP STANDARDTITLE states */
TM_STATE
(
1
,
TTSS
,
NORMAL
)
TM_STATE
(
2
,
TTSS
,
LINK
)
END_TM_PART_STATES
()
/* TOOLTIP - STANDARDTITLE states */
/* See TOOLTIP STANDARD */
/* See TOOLTIP STANDARD */
/* TOOLTIP BALLOON states */
/* TOOLTIP - BALLOON states */
#define TTBS_NORMAL 1
BEGIN_TM_PART_STATES
(
BALLOON
)
#define TTBS_LINK 2
TM_STATE
(
1
,
TTBS
,
NORMAL
)
TM_STATE
(
2
,
TTBS
,
LINK
)
END_TM_PART_STATES
()
/* TOOLTIP
BA
LOONTITLE states */
/* TOOLTIP
- BAL
LOONTITLE states */
/* See TOOLTIP BALOON */
/* See TOOLTIP BAL
L
OON */
/* TOOLTIP CLOSE states */
/* TOOLTIP - CLOSE states */
#define TTCS_NORMAL 1
BEGIN_TM_PART_STATES
(
CLOSE
)
#define TTCS_HOT 2
TM_STATE
(
1
,
TTCS
,
NORMAL
)
#define TTCS_PRESSED 3
TM_STATE
(
2
,
TTCS
,
HOT
)
TM_STATE
(
3
,
TTCS
,
PRESSED
)
END_TM_PART_STATES
()
/* TRACKBAR parts */
/* TRACKBAR parts */
#define TKP_TRACK 1
BEGIN_TM_CLASS_PARTS
(
TRACKBAR
)
#define TKP_TRACKVERT 2
TM_PART
(
1
,
TKP
,
TRACK
)
#define TKP_THUMB 3
TM_PART
(
2
,
TKP
,
TRACKVERT
)
#define TKP_THUMBBOTTOM 4
TM_PART
(
3
,
TKP
,
THUMB
)
#define TKP_THUMBTOP 5
TM_PART
(
4
,
TKP
,
THUMBBOTTOM
)
#define TKP_THUMBVERT 6
TM_PART
(
5
,
TKP
,
THUMBTOP
)
#define TKP_THUMBLEFT 7
TM_PART
(
6
,
TKP
,
THUMBVERT
)
#define TKP_THUMBRIGHT 8
TM_PART
(
7
,
TKP
,
THUMBLEFT
)
#define TKP_TICS 9
TM_PART
(
8
,
TKP
,
THUMBRIGHT
)
#define TKP_TICSVERT 10
TM_PART
(
9
,
TKP
,
TICS
)
TM_PART
(
10
,
TKP
,
TICSVERT
)
/* TRACKBAR TRACK states */
END_TM_CLASS_PARTS
()
#define TRS_NORMAL 1
/* TRACKBAR states */
/* TRACKBAR TRACKVERT states */
BEGIN_TM_PART_STATES
(
TRACKBAR
)
#define TRVS_NORMAL 1
TM_STATE
(
1
,
TKS
,
NORMAL
)
END_TM_PART_STATES
()
/* TRACKBAR THUMB states */
#define TUS_NORMAL 1
/* TRACKBAR - TRACK states */
#define TUS_HOT 2
BEGIN_TM_PART_STATES
(
TRACK
)
#define TUS_PRESSED 3
TM_STATE
(
1
,
TRS
,
NORMAL
)
#define TUS_FOCUSED 4
END_TM_PART_STATES
()
#define TUS_DISABLED 5
/* TRACKBAR - TRACKVERT states */
/* TRACKBAR THUMBBOTTOM states */
BEGIN_TM_PART_STATES
(
TRACKVERT
)
#define TUBS_NORMAL 1
TM_STATE
(
1
,
TRVS
,
NORMAL
)
#define TUBS_HOT 2
END_TM_PART_STATES
()
#define TUBS_PRESSED 3
#define TUBS_FOCUSED 4
/* TRACKBAR - THUMB states */
#define TUBS_DISABLED 5
BEGIN_TM_PART_STATES
(
THUMB
)
TM_STATE
(
1
,
TUS
,
NORMAL
)
/* TRACKBAR THUMBTOP states */
TM_STATE
(
2
,
TUS
,
HOT
)
#define TUTS_NORMAL 1
TM_STATE
(
3
,
TUS
,
PRESSED
)
#define TUTS_HOT 2
TM_STATE
(
4
,
TUS
,
FOCUSED
)
#define TUTS_PRESSED 3
TM_STATE
(
5
,
TUS
,
DISABLED
)
#define TUTS_FOCUSED 4
END_TM_PART_STATES
()
#define TUTS_DISABLED 5
/* TRACKBAR - THUMBBOTTOM states */
/* TRACKBAR THUMBVERT states */
BEGIN_TM_PART_STATES
(
THUMBBOTTOM
)
#define TUVS_NORMAL 1
TM_STATE
(
1
,
TUBS
,
NORMAL
)
#define TUVS_HOT 2
TM_STATE
(
2
,
TUBS
,
HOT
)
#define TUVS_PRESSED 3
TM_STATE
(
3
,
TUBS
,
PRESSED
)
#define TUVS_FOCUSED 4
TM_STATE
(
4
,
TUBS
,
FOCUSED
)
#define TUVS_DISABLED 5
TM_STATE
(
5
,
TUBS
,
DISABLED
)
END_TM_PART_STATES
()
/* TRACKBAR THUMBLEFT states */
#define TUVLS_NORMAL 1
/* TRACKBAR - THUMBTOP states */
#define TUVLS_HOT 2
BEGIN_TM_PART_STATES
(
THUMBTOP
)
#define TUVLS_PRESSED 3
TM_STATE
(
1
,
TUTS
,
NORMAL
)
#define TUVLS_FOCUSED 4
TM_STATE
(
2
,
TUTS
,
HOT
)
#define TUVLS_DISABLED 5
TM_STATE
(
3
,
TUTS
,
PRESSED
)
TM_STATE
(
4
,
TUTS
,
FOCUSED
)
/* TRACKBAR THUMBRIGHT states */
TM_STATE
(
5
,
TUTS
,
DISABLED
)
#define TUVRS_NORMAL 1
END_TM_PART_STATES
()
#define TUVRS_HOT 2
#define TUVRS_PRESSED 3
/* TRACKBAR - THUMBVERT states */
#define TUVRS_FOCUSED 4
BEGIN_TM_PART_STATES
(
THUMBVERT
)
#define TUVRS_DISABLED 5
TM_STATE
(
1
,
TUVS
,
NORMAL
)
TM_STATE
(
2
,
TUVS
,
HOT
)
/* TRACKBAR TICS states */
TM_STATE
(
3
,
TUVS
,
PRESSED
)
#define TSS_NORMAL 1
TM_STATE
(
4
,
TUVS
,
FOCUSED
)
TM_STATE
(
5
,
TUVS
,
DISABLED
)
/* TRACKBAR TICSVERT states */
END_TM_PART_STATES
()
#define TSVS_NORMAL 1
/* TRACKBAR - THUMBLEFT states */
BEGIN_TM_PART_STATES
(
THUMBLEFT
)
TM_STATE
(
1
,
TUVLS
,
NORMAL
)
TM_STATE
(
2
,
TUVLS
,
HOT
)
TM_STATE
(
3
,
TUVLS
,
PRESSED
)
TM_STATE
(
4
,
TUVLS
,
FOCUSED
)
TM_STATE
(
5
,
TUVLS
,
DISABLED
)
END_TM_PART_STATES
()
/* TRACKBAR - THUMBRIGHT states */
BEGIN_TM_PART_STATES
(
THUMBRIGHT
)
TM_STATE
(
1
,
TUVRS
,
NORMAL
)
TM_STATE
(
2
,
TUVRS
,
HOT
)
TM_STATE
(
3
,
TUVRS
,
PRESSED
)
TM_STATE
(
4
,
TUVRS
,
FOCUSED
)
TM_STATE
(
5
,
TUVRS
,
DISABLED
)
END_TM_PART_STATES
()
/* TRACKBAR - TICS states */
BEGIN_TM_PART_STATES
(
TICS
)
TM_STATE
(
1
,
TSS
,
NORMAL
)
END_TM_PART_STATES
()
/* TRACKBAR - TICSVERT states */
BEGIN_TM_PART_STATES
(
TICSVERT
)
TM_STATE
(
1
,
TSVS
,
NORMAL
)
END_TM_PART_STATES
()
/* TRAYNOTIFY parts */
/* TRAYNOTIFY parts */
#define TNP_BACKGROUND 1
BEGIN_TM_CLASS_PARTS
(
TRAYNOTIFY
)
#define TNP_ANIMBACKGROUND 2
TM_PART
(
1
,
TNP
,
BACKGROUND
)
TM_PART
(
2
,
TNP
,
ANIMBACKGROUND
)
END_TM_CLASS_PARTS
()
/* TREEVIEW parts */
/* TREEVIEW parts */
#define TVP_TREEITEM 1
BEGIN_TM_CLASS_PARTS
(
TREEVIEW
)
#define TVP_GLYPH 2
TM_PART
(
1
,
TVP
,
TREEITEM
)
#define TVP_BRANCH 3
TM_PART
(
2
,
TVP
,
GLYPH
)
TM_PART
(
3
,
TVP
,
BRANCH
)
/* TREEVIEW TREEITEM states */
END_TM_CLASS_PARTS
()
#define TREIS_NORMAL 1
#define TREIS_HOT 2
/* TREEVIEW - TREEITEM states */
#define TREIS_SELECTED 3
BEGIN_TM_PART_STATES
(
TREEITEM
)
#define TREIS_DISABLED 4
TM_STATE
(
1
,
TREIS
,
NORMAL
)
#define TREIS_SELECTEDNOTFOCUS 5
TM_STATE
(
2
,
TREIS
,
HOT
)
TM_STATE
(
3
,
TREIS
,
SELECTED
)
/* TREEVIEW GLYPH states */
TM_STATE
(
4
,
TREIS
,
DISABLED
)
#define GLPS_CLOSED 1
TM_STATE
(
5
,
TREIS
,
SELECTEDNOTFOCUS
)
#define GLPS_OPENED 2
END_TM_PART_STATES
()
/* TREEVIEW - GLYPH states */
BEGIN_TM_PART_STATES
(
GLYPH
)
TM_STATE
(
1
,
GLPS
,
CLOSED
)
TM_STATE
(
2
,
GLPS
,
OPENED
)
END_TM_PART_STATES
()
/* WINDOW parts */
/* WINDOW parts */
#define WP_CAPTION 1
BEGIN_TM_CLASS_PARTS
(
WINDOW
)
#define WP_SMALLCAPTION 2
TM_PART
(
1
,
WP
,
CAPTION
)
#define WP_MINCAPTION 3
TM_PART
(
2
,
WP
,
SMALLCAPTION
)
#define WP_SMALLMINCAPTION 4
TM_PART
(
3
,
WP
,
MINCAPTION
)
#define WP_MAXCAPTION 5
TM_PART
(
4
,
WP
,
SMALLMINCAPTION
)
#define WP_SMALLMAXCAPTION 6
TM_PART
(
5
,
WP
,
MAXCAPTION
)
#define WP_FRAMELEFT 7
TM_PART
(
6
,
WP
,
SMALLMAXCAPTION
)
#define WP_FRAMERIGHT 8
TM_PART
(
7
,
WP
,
FRAMELEFT
)
#define WP_FRAMEBOTTOM 9
TM_PART
(
8
,
WP
,
FRAMERIGHT
)
#define WP_SMALLFRAMELEFT 10
TM_PART
(
9
,
WP
,
FRAMEBOTTOM
)
#define WP_SMALLFRAMERIGHT 11
TM_PART
(
10
,
WP
,
SMALLFRAMELEFT
)
#define WP_SMALLFRAMEBOTTOM 12
TM_PART
(
11
,
WP
,
SMALLFRAMERIGHT
)
#define WP_SYSBUTTON 13
TM_PART
(
12
,
WP
,
SMALLFRAMEBOTTOM
)
#define WP_MDISYSBUTTON 14
TM_PART
(
13
,
WP
,
SYSBUTTON
)
#define WP_MINBUTTON 15
TM_PART
(
14
,
WP
,
MDISYSBUTTON
)
#define WP_MDIMINBUTTON 16
TM_PART
(
15
,
WP
,
MINBUTTON
)
#define WP_MAXBUTTON 17
TM_PART
(
16
,
WP
,
MDIMINBUTTON
)
#define WP_CLOSEBUTTON 18
TM_PART
(
17
,
WP
,
MAXBUTTON
)
#define WP_SMALLCLOSEBUTTON 19
TM_PART
(
18
,
WP
,
CLOSEBUTTON
)
#define WP_MDICLOSEBUTTON 20
TM_PART
(
19
,
WP
,
SMALLCLOSEBUTTON
)
#define WP_RESTOREBUTTON 21
TM_PART
(
20
,
WP
,
MDICLOSEBUTTON
)
#define WP_MDIRESTOREBUTTON 22
TM_PART
(
21
,
WP
,
RESTOREBUTTON
)
#define WP_HELPBUTTON 23
TM_PART
(
22
,
WP
,
MDIRESTOREBUTTON
)
#define WP_MDIHELPBUTTON 24
TM_PART
(
23
,
WP
,
HELPBUTTON
)
#define WP_HORZSCROLL 25
TM_PART
(
24
,
WP
,
MDIHELPBUTTON
)
#define WP_HORZTHUMB 26
TM_PART
(
25
,
WP
,
HORZSCROLL
)
#define WP_VERTSCROLL 27
TM_PART
(
26
,
WP
,
HORZTHUMB
)
#define WP_VERTTHUMB 28
TM_PART
(
27
,
WP
,
VERTSCROLL
)
#define WP_DIALOG 29
TM_PART
(
28
,
WP
,
VERTTHUMB
)
#define WP_CAPTIONSIZINGTEMPLATE 30
TM_PART
(
29
,
WP
,
DIALOG
)
#define WP_SMALLCAPTIONSIZINGTEMPLATE 31
TM_PART
(
30
,
WP
,
CAPTIONSIZINGTEMPLATE
)
#define WP_FRAMELEFTSIZINGTEMPLATE 32
TM_PART
(
31
,
WP
,
SMALLCAPTIONSIZINGTEMPLATE
)
#define WP_SMALLFRAMELEFTSIZINGTEMPLATE 33
TM_PART
(
32
,
WP
,
FRAMELEFTSIZINGTEMPLATE
)
#define WP_FRAMERIGHTSIZINGTEMPLATE 34
TM_PART
(
33
,
WP
,
SMALLFRAMELEFTSIZINGTEMPLATE
)
#define WP_SMALLFRAMERIGHTSIZINGTEMPLATE 35
TM_PART
(
34
,
WP
,
FRAMERIGHTSIZINGTEMPLATE
)
#define WP_FRAMEBOTTOMSIZINGTEMPLATE 36
TM_PART
(
35
,
WP
,
SMALLFRAMERIGHTSIZINGTEMPLATE
)
#define WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE 37
TM_PART
(
36
,
WP
,
FRAMEBOTTOMSIZINGTEMPLATE
)
TM_PART
(
37
,
WP
,
SMALLFRAMEBOTTOMSIZINGTEMPLATE
)
/* WINDOW CAPTION / SMALLCAPTION state */
END_TM_CLASS_PARTS
()
#define CS_ACTIVE 1
#define CS_INACTIVE 2
/* WINDOW - CAPTION / SMALLCAPTION states */
#define CS_DISABLED 3
BEGIN_TM_PART_STATES
(
CAPTION
)
TM_STATE
(
1
,
CS
,
ACTIVE
)
/* WINDOW MINCAPTION / SMALLMINCAPTION state */
TM_STATE
(
2
,
CS
,
INACTIVE
)
#define MNCS_ACTIVE 1
TM_STATE
(
3
,
CS
,
DISABLED
)
#define MNCS_INACTIVE 2
END_TM_PART_STATES
()
#define MNCS_DISABLED 3
/* WINDOW - MINCAPTION / SMALLMINCAPTION states */
/* WINDOW MAXCAPTION / SMALLMAXCAPTION state */
BEGIN_TM_PART_STATES
(
MINCAPTION
)
#define MXCS_ACTIVE 1
TM_STATE
(
1
,
MNCS
,
ACTIVE
)
#define MXCS_INACTIVE 2
TM_STATE
(
2
,
MNCS
,
INACTIVE
)
#define MXCS_DISABLED 3
TM_STATE
(
3
,
MNCS
,
DISABLED
)
END_TM_PART_STATES
()
/* WINDOW FRAME* / SMALLFRAME* state */
#define FS_ACTIVE 1
/* WINDOW - MAXCAPTION / SMALLMAXCAPTION states */
#define FS_INACTIVE 2
BEGIN_TM_PART_STATES
(
MAXCAPTION
)
TM_STATE
(
1
,
MXCS
,
ACTIVE
)
/* WINDOW SYSBUTTON / MDISYSBUTTON state */
TM_STATE
(
2
,
MXCS
,
INACTIVE
)
#define SBS_NORMAL 1
TM_STATE
(
3
,
MXCS
,
DISABLED
)
#define SBS_HOT 2
END_TM_PART_STATES
()
#define SBS_PUSHED 3
#define SBS_DISABLED 4
/* WINDOW - FRAME* / SMALLFRAME* states */
BEGIN_TM_PART_STATES
(
FRAME
)
/* WINDOW MINBUTTON / MDIMINBUTTON state */
TM_STATE
(
1
,
FS
,
ACTIVE
)
#define MINBS_NORMAL 1
TM_STATE
(
2
,
FS
,
INACTIVE
)
#define MINBS_HOT 2
END_TM_PART_STATES
()
#define MINBS_PUSHED 3
#define MINBS_DISABLED 4
/* WINDOW - SYSBUTTON / MDISYSBUTTON states */
BEGIN_TM_PART_STATES
(
SYSBUTTON
)
/* WINDOW MAXBUTTON state */
TM_STATE
(
1
,
SBS
,
NORMAL
)
#define MAXBS_NORMAL 1
TM_STATE
(
2
,
SBS
,
HOT
)
#define MAXBS_HOT 2
TM_STATE
(
3
,
SBS
,
PUSHED
)
#define MAXBS_PUSHED 3
TM_STATE
(
4
,
SBS
,
DISABLED
)
#define MAXBS_DISABLED 4
END_TM_PART_STATES
()
/* WINDOW CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON state */
/* WINDOW - MINBUTTON / MDIMINBUTTON states */
#define CBS_NORMAL 1
BEGIN_TM_PART_STATES
(
MINBUTTON
)
#define CBS_HOT 2
TM_STATE
(
1
,
MINBS
,
NORMAL
)
#define CBS_PUSHED 3
TM_STATE
(
2
,
MINBS
,
HOT
)
#define CBS_DISABLED 4
TM_STATE
(
3
,
MINBS
,
PUSHED
)
TM_STATE
(
4
,
MINBS
,
DISABLED
)
/* WINDOW RESTOREBUTTON / MDIRESTOREBUTTON state */
END_TM_PART_STATES
()
#define RBS_NORMAL 1
#define RBS_HOT 2
/* WINDOW - MAXBUTTON states */
#define RBS_PUSHED 3
BEGIN_TM_PART_STATES
(
MAXBUTTON
)
#define RBS_DISABLED 4
TM_STATE
(
1
,
MAXBS
,
NORMAL
)
TM_STATE
(
2
,
MAXBS
,
HOT
)
/* WINDOW HELPBUTTON / MDIHELPBUTTON state */
TM_STATE
(
3
,
MAXBS
,
PUSHED
)
#define HBS_NORMAL 1
TM_STATE
(
4
,
MAXBS
,
DISABLED
)
#define HBS_HOT 2
END_TM_PART_STATES
()
#define HBS_PUSHED 3
#define HBS_DISABLED 4
/* WINDOW - CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON states */
BEGIN_TM_PART_STATES
(
CLOSEBUTTON
)
/* WINDOW HORZSCROLL state */
TM_STATE
(
1
,
CBS
,
NORMAL
)
#define HSS_NORMAL 1
TM_STATE
(
2
,
CBS
,
HOT
)
#define HSS_HOT 2
TM_STATE
(
3
,
CBS
,
PUSHED
)
#define HSS_PUSHED 3
TM_STATE
(
4
,
CBS
,
DISABLED
)
#define HSS_DISABLED 4
END_TM_PART_STATES
()
/* WINDOW HORZTHUMB state */
/* WINDOW - RESTOREBUTTON / MDIRESTOREBUTTON states */
#define HTS_NORMAL 1
BEGIN_TM_PART_STATES
(
RESTOREBUTTON
)
#define HTS_HOT 2
TM_STATE
(
1
,
RBS
,
NORMAL
)
#define HTS_PUSHED 3
TM_STATE
(
2
,
RBS
,
HOT
)
#define HTS_DISABLED 4
TM_STATE
(
3
,
RBS
,
PUSHED
)
TM_STATE
(
4
,
RBS
,
DISABLED
)
/* WINDOW VERTSCROLL state */
END_TM_PART_STATES
()
#define VSS_NORMAL 1
#define VSS_HOT 2
/* WINDOW - HELPBUTTON / MDIHELPBUTTON states */
#define VSS_PUSHED 3
BEGIN_TM_PART_STATES
(
HELPBUTTON
)
#define VSS_DISABLED 4
TM_STATE
(
1
,
HBS
,
NORMAL
)
TM_STATE
(
2
,
HBS
,
HOT
)
/* WINDOW VERTTHUMB state */
TM_STATE
(
3
,
HBS
,
PUSHED
)
#define VTS_NORMAL 1
TM_STATE
(
4
,
HBS
,
DISABLED
)
#define VTS_HOT 2
END_TM_PART_STATES
()
#define VTS_PUSHED 3
#define VTS_DISABLED 4
/* WINDOW - HORZSCROLL states */
BEGIN_TM_PART_STATES
(
HORZSCROLL
)
TM_STATE
(
1
,
HSS
,
NORMAL
)
TM_STATE
(
2
,
HSS
,
HOT
)
TM_STATE
(
3
,
HSS
,
PUSHED
)
TM_STATE
(
4
,
HSS
,
DISABLED
)
END_TM_PART_STATES
()
/* WINDOW - HORZTHUMB states */
BEGIN_TM_PART_STATES
(
HORZTHUMB
)
TM_STATE
(
1
,
HTS
,
NORMAL
)
TM_STATE
(
2
,
HTS
,
HOT
)
TM_STATE
(
3
,
HTS
,
PUSHED
)
TM_STATE
(
4
,
HTS
,
DISABLED
)
END_TM_PART_STATES
()
/* WINDOW - VERTSCROLL states */
BEGIN_TM_PART_STATES
(
VERTSCROLL
)
TM_STATE
(
1
,
VSS
,
NORMAL
)
TM_STATE
(
2
,
VSS
,
HOT
)
TM_STATE
(
3
,
VSS
,
PUSHED
)
TM_STATE
(
4
,
VSS
,
DISABLED
)
END_TM_PART_STATES
()
/* WINDOW - VERTTHUMB states */
BEGIN_TM_PART_STATES
(
VERTTHUMB
)
TM_STATE
(
1
,
VTS
,
NORMAL
)
TM_STATE
(
2
,
VTS
,
HOT
)
TM_STATE
(
3
,
VTS
,
PUSHED
)
TM_STATE
(
4
,
VTS
,
DISABLED
)
END_TM_PART_STATES
()
END_TM_SCHEMA
(
ThemeMgrSchema
)
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment