1 /* Wimp "Windows Impersonator" Engine
3 * Copyright (C) 2003 Dom Lachowicz <cinamod@hotmail.com>
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.
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.
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.
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
27 #ifndef XP_THEME_DFNS_H
28 #define XP_THEME_DFNS_H
30 typedef HANDLE HTHEME;
32 #define BP_PUSHBUTTON 1
35 #define HP_HEADERITEM 1
37 #define CP_DROPDOWNBUTTON 1
39 #define TABP_TABITEM 1
40 #define TABP_TABITEMLEFTEDGE 2
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
57 #define BP_RADIOBUTTON 2
64 #define PP_CHUNKVERT 4
66 #define TTP_STANDARD 1
69 #define RP_GRIPPERVERT 2
77 #define CHEVS_NORMAL 1
79 #define CHEVS_PRESSED 3
83 #define TIS_SELECTED 3
84 #define TIS_DISABLED 4
88 #define ETS_READONLY 6
90 #define SCRBS_NORMAL 1
92 #define SCRBS_PRESSED 3
93 #define SCRBS_DISABLED 4
95 #define ABS_UPNORMAL 1
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
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
122 #define PBS_PRESSED 3
123 #define PBS_DISABLED 4
124 #define PBS_DEFAULTED 5
128 #define DNS_PRESSED 3
129 #define DNS_DISABLED 4
133 #define UPS_PRESSED 3
134 #define UPS_DISABLED 4
136 #define GLPS_OPENED 1
137 #define GLPS_CLOSED 2
139 #if UXTHEME_HAS_LINES
141 #error unknown/undocumented uxtheme values
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 */
152 #endif /* UXTHEME_HAS_LINES */
154 #endif /* XP_THEME_DFNS_H */