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 ETDT_ENABLE 0x00000002
33 #define ETDT_USETABTEXTURE 0x00000004
34 #define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE)
36 #define BP_PUSHBUTTON 1
39 #define HP_HEADERITEM 1
41 #define CP_DROPDOWNBUTTON 1
43 #define TABP_TABITEM 1
44 #define TABP_TABITEMLEFTEDGE 2
48 #define SBP_ARROWBTN 1
49 #define SBP_THUMBBTNHORZ 2
50 #define SBP_THUMBBTNVERT 3
51 #define SBP_LOWERTRACKHORZ 5
52 #define SBP_LOWERTRACKVERT 6
53 #define SBP_GRIPPERHORZ 8
54 #define SBP_GRIPPERVERT 9
61 #define BP_RADIOBUTTON 2
68 #define PP_CHUNKVERT 4
70 #define TTP_STANDARD 1
73 #define RP_GRIPPERVERT 2
81 #define CHEVS_NORMAL 1
83 #define CHEVS_PRESSED 3
87 #define TIS_SELECTED 3
88 #define TIS_DISABLED 4
92 #define ETS_READONLY 6
94 #define SCRBS_NORMAL 1
96 #define SCRBS_PRESSED 3
97 #define SCRBS_DISABLED 4
99 #define ABS_UPNORMAL 1
101 #define ABS_UPPRESSED 3
102 #define ABS_UPDISABLED 4
103 #define ABS_DOWNNORMAL 5
104 #define ABS_DOWNHOT 6
105 #define ABS_DOWNPRESSED 7
106 #define ABS_DOWNDISABLED 8
107 #define ABS_LEFTNORMAL 9
108 #define ABS_LEFTHOT 10
109 #define ABS_LEFTPRESSED 11
110 #define ABS_LEFTDISABLED 12
111 #define ABS_RIGHTNORMAL 13
112 #define ABS_RIGHTHOT 14
113 #define ABS_RIGHTPRESSED 15
114 #define ABS_RIGHTDISABLED 16
116 #define CBS_UNCHECKEDNORMAL 1
117 #define CBS_UNCHECKEDHOT 2
118 #define CBS_UNCHECKEDPRESSED 3
119 #define CBS_UNCHECKEDDISABLED 4
120 #define CBS_CHECKEDNORMAL 5
121 #define CBS_CHECKEDHOT 6
122 #define CBS_CHECKEDPRESSED 7
123 #define CBS_CHECKEDDISABLED 8
127 #define PBS_PRESSED 3
128 #define PBS_DISABLED 4
129 #define PBS_DEFAULTED 5
133 #define DNS_PRESSED 3
134 #define DNS_DISABLED 4
138 #define UPS_PRESSED 3
139 #define UPS_DISABLED 4
141 #define GLPS_OPENED 1
142 #define GLPS_CLOSED 2
144 #if UXTHEME_HAS_LINES
146 #error unknown/undocumented uxtheme values
148 /* #define GP_LINEHORZ */
149 /* #define GP_LINEVERT */
150 /* #define LHS_RAISED */
151 /* #define LHS_SUNKEN */
152 /* #define LHS_FLAT */
153 /* #define LVS_RAISED */
154 /* #define LVS_SUNKEN */
155 /* #define LHS_FLAT */
157 #endif /* UXTHEME_HAS_LINES */
159 #endif /* XP_THEME_DFNS_H */