]> Pileus Git - ~andy/gtk/blob - modules/engines/ms-windows/xp_theme_defs.h
fix inkscape's toolbar buttons, disable application theming if asked nicely, downgrad...
[~andy/gtk] / modules / engines / ms-windows / xp_theme_defs.h
1 /* MS-Windows Engine (aka GTK-Wimp)
2  *
3  * Copyright (C) 2003, 2004 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 ETDT_ENABLE         0x00000002
33 #define ETDT_USETABTEXTURE  0x00000004
34 #define ETDT_ENABLETAB      (ETDT_ENABLE  | ETDT_USETABTEXTURE)
35
36 #define BP_PUSHBUTTON 1
37 #define BP_CHECKBOX 3
38
39 #define HP_HEADERITEM 1
40
41 #define CP_DROPDOWNBUTTON 1
42
43 #define TABP_TABITEM 1
44 #define TABP_TABITEMLEFTEDGE 2
45 #define TABP_PANE 9
46 #define TABP_BODY 10
47
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
55
56 #define EP_EDITTEXT 1
57
58 #define SPNP_UP 1
59 #define SPNP_DOWN 2
60
61 #define BP_RADIOBUTTON 2
62
63 #define TVP_GLYPH 2
64
65 #define PP_BAR 1
66 #define PP_BARVERT 2
67 #define PP_CHUNK 3
68 #define PP_CHUNKVERT 4
69
70 #define TTP_STANDARD 1
71
72 #define RP_GRIPPER 1
73 #define RP_GRIPPERVERT 2
74 #define RP_BAND 3
75 #define RP_CHEVRON 4
76
77 #define TP_BUTTON 1
78 #define TS_NORMAL 1
79 #define TS_HOT 2
80 #define TS_PRESSED 3
81 #define TS_DISABLED 4
82
83 #define TTSS_NORMAL 1
84
85 #define CHEVS_NORMAL 1
86 #define CHEVS_HOT 2
87 #define CHEVS_PRESSED 3
88
89 #define TIS_NORMAL 1
90 #define TIS_HOT 2
91 #define TIS_SELECTED 3
92 #define TIS_DISABLED 4
93
94 #define ETS_NORMAL 1
95 #define ETS_FOCUSED 5
96 #define ETS_READONLY 6
97
98 #define SCRBS_NORMAL 1
99 #define SCRBS_HOT 2
100 #define SCRBS_PRESSED 3
101 #define SCRBS_DISABLED 4
102
103 #define ABS_UPNORMAL 1
104 #define ABS_UPHOT 2
105 #define ABS_UPPRESSED 3
106 #define ABS_UPDISABLED 4
107 #define ABS_DOWNNORMAL 5
108 #define ABS_DOWNHOT 6
109 #define ABS_DOWNPRESSED 7
110 #define ABS_DOWNDISABLED 8
111 #define ABS_LEFTNORMAL 9
112 #define ABS_LEFTHOT 10
113 #define ABS_LEFTPRESSED 11
114 #define ABS_LEFTDISABLED 12
115 #define ABS_RIGHTNORMAL 13
116 #define ABS_RIGHTHOT 14
117 #define ABS_RIGHTPRESSED 15
118 #define ABS_RIGHTDISABLED 16
119
120 #define CBS_UNCHECKEDNORMAL 1
121 #define CBS_UNCHECKEDHOT 2
122 #define CBS_UNCHECKEDPRESSED 3
123 #define CBS_UNCHECKEDDISABLED 4
124 #define CBS_CHECKEDNORMAL 5
125 #define CBS_CHECKEDHOT 6
126 #define CBS_CHECKEDPRESSED 7
127 #define CBS_CHECKEDDISABLED 8
128
129 #define PBS_NORMAL 1
130 #define PBS_HOT 2
131 #define PBS_PRESSED 3
132 #define PBS_DISABLED 4
133 #define PBS_DEFAULTED 5
134
135 #define DNS_NORMAL 1
136 #define DNS_HOT 2
137 #define DNS_PRESSED 3
138 #define DNS_DISABLED 4
139
140 #define UPS_NORMAL 1
141 #define UPS_HOT 2
142 #define UPS_PRESSED 3
143 #define UPS_DISABLED 4
144
145 #define GLPS_CLOSED 1
146 #define GLPS_OPENED 2
147
148 #define MP_MENUITEM 1
149 #define MP_SEPARATOR 6
150 #define MS_NORMAL 1
151 #define MS_SELECTED 2
152 #define MS_DEMOTED 3
153
154 #define SP_PANE 1
155 #define SP_GRIPPER 2
156
157 #define TMT_CAPTIONFONT 801
158 #define TMT_MENUFONT 803
159 #define TMT_STATUSFONT 804
160 #define TMT_MSGBOXFONT 805
161
162 #endif /* XP_THEME_DFNS_H */