]> Pileus Git - ~andy/gtk/blob - modules/engines/ms-windows/xp_theme_defs.h
define HTHEME
[~andy/gtk] / modules / engines / ms-windows / xp_theme_defs.h
1 /* Wimp "Windows Impersonator" Engine
2  *
3  * Copyright (C) 2003 Dom Lachowicz <cinamod@hotmail.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 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  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 /*
22  * These are the real values of these UXTHEME constants, provided so that we can 
23  * compile/link on Win32 platforms that aren't WinXP, and also build against
24  * MinGW 1.0/1.1, which also doesn't have these things defined in its header files
25  */
26
27 #ifndef XP_THEME_DFNS_H
28 #define XP_THEME_DFNS_H
29
30 typedef HANDLE HTHEME;
31
32 #define BP_PUSHBUTTON 1
33 #define BP_CHECKBOX 3
34
35 #define HP_HEADERITEM 1
36
37 #define CP_DROPDOWNBUTTON 1
38
39 #define TABP_TABITEM 1
40 #define TABP_TABITEMLEFTEDGE 2
41 #define TABP_PANE 9
42 #define TABP_BODY 10
43
44 #define SBP_ARROWBTN 1
45 #define SBP_THUMBBTNHORZ 2
46 #define SBP_THUMBBTNVERT 3
47 #define SBP_LOWERTRACKHORZ 5
48 #define SBP_LOWERTRACKVERT 6
49 #define SBP_GRIPPERHORZ 8
50 #define SBP_GRIPPERVERT 9
51
52 #define EP_EDITTEXT 1
53
54 #define SPNP_UP 1
55 #define SPNP_DOWN 2
56
57 #define BP_RADIOBUTTON 2
58
59 #define TVP_GLYPH 2
60
61 #define PP_BAR 1
62 #define PP_BARVERT 2
63 #define PP_CHUNK 3
64 #define PP_CHUNKVERT 4
65
66 #define TTP_STANDARD 1
67
68 #define RP_GRIPPER 1
69 #define RP_GRIPPERVERT 2
70 #define RP_BAND 3
71 #define RP_CHEVRON 4
72
73 #define TP_BUTTON 1
74
75 #define TTSS_NORMAL 1
76
77 #define CHEVS_NORMAL 1
78 #define CHEVS_HOT 2
79 #define CHEVS_PRESSED 3
80
81 #define TIS_NORMAL 1
82 #define TIS_HOT 2
83 #define TIS_SELECTED 3
84 #define TIS_DISABLED 4
85
86 #define ETS_NORMAL 1
87 #define ETS_FOCUSED 5
88 #define ETS_READONLY 6
89
90 #define SCRBS_NORMAL 1
91 #define SCRBS_HOT 2
92 #define SCRBS_PRESSED 3
93 #define SCRBS_DISABLED 4
94
95 #define ABS_UPNORMAL 1
96 #define ABS_UPHOT 2
97 #define ABS_UPPRESSED 3
98 #define ABS_UPDISABLED 4
99 #define ABS_DOWNNORMAL 5
100 #define ABS_DOWNHOT 6
101 #define ABS_DOWNDISABLED 8
102 #define ABS_LEFTNORMAL 9
103 #define ABS_LEFTHOT 10
104 #define ABS_LEFTPRESSED 11
105 #define ABS_LEFTDISABLED 12
106 #define ABS_RIGHTNORMAL 13
107 #define ABS_RIGHTHOT 14
108 #define ABS_RIGHTPRESSED 15
109 #define ABS_RIGHTDISABLED 16
110
111 #define CBS_UNCHECKEDNORMAL 1
112 #define CBS_UNCHECKEDHOT 2
113 #define CBS_UNCHECKEDPRESSED 3
114 #define CBS_UNCHECKEDDISABLED 4
115 #define CBS_CHECKEDNORMAL 5
116 #define CBS_CHECKEDHOT 6
117 #define CBS_CHECKEDPRESSED 7
118 #define CBS_CHECKEDDISABLED 8
119
120 #define PBS_NORMAL 1
121 #define PBS_HOT 2
122 #define PBS_PRESSED 3
123 #define PBS_DISABLED 4
124 #define PBS_DEFAULTED 5
125
126 #define DNS_NORMAL 1
127 #define DNS_HOT 2
128 #define DNS_PRESSED 3
129 #define DNS_DISABLED 4
130
131 #define UPS_NORMAL 1
132 #define UPS_HOT 2
133 #define UPS_PRESSED 3
134 #define UPS_DISABLED 4
135
136 #define GLPS_OPENED 1
137 #define GLPS_CLOSED 2
138
139 #if UXTHEME_HAS_LINES
140
141 #error unknown/undocumented uxtheme values
142
143 /* #define GP_LINEHORZ */
144 /* #define GP_LINEVERT */
145 /* #define LHS_RAISED */
146 /* #define LHS_SUNKEN */
147 /* #define LHS_FLAT */
148 /* #define LVS_RAISED */
149 /* #define LVS_SUNKEN */
150 /* #define LHS_FLAT */
151
152 #endif /* UXTHEME_HAS_LINES */
153
154 #endif /* XP_THEME_DFNS_H */