Add copy of .ttf font with .eot extension for testing
[wine-gecko.git] / gfx / public / nsThemeConstants.h
blob8b778d5469cc26d2fbf06245a2a288735b4b1a1a
1 // No appearance at all.
2 #define NS_THEME_NONE 0
4 // A typical dialog button.
5 #define NS_THEME_BUTTON 1
7 // A radio element within a radio group.
8 #define NS_THEME_RADIO 2
10 // A checkbox element.
11 #define NS_THEME_CHECKBOX 3
13 // A rectangular button that contains complex content
14 // like images (e.g. HTML <button> elements)
15 #define NS_THEME_BUTTON_BEVEL 7
17 // The toolbox that contains the toolbars.
18 #define NS_THEME_TOOLBOX 11
20 // A toolbar in an application window.
21 #define NS_THEME_TOOLBAR 12
23 // A single toolbar button (with no associated dropdown)
24 #define NS_THEME_TOOLBAR_BUTTON 13
26 // A dual toolbar button (e.g., a Back button with a dropdown)
27 #define NS_THEME_TOOLBAR_DUAL_BUTTON 14
29 // The dropdown portion of a toolbar button
30 #define NS_THEME_TOOLBAR_BUTTON_DROPDOWN 15
32 // A separator. Can be horizontal or vertical.
33 #define NS_THEME_TOOLBAR_SEPARATOR 16
35 // The gripper for a toolbar.
36 #define NS_THEME_TOOLBAR_GRIPPER 17
38 // A splitter. Can be horizontal or vertical.
39 #define NS_THEME_SPLITTER 19
41 // A status bar in a main application window.
42 #define NS_THEME_STATUSBAR 21
44 // A single pane of a status bar.
45 #define NS_THEME_STATUSBAR_PANEL 22
47 // The resizer background area in a status bar
48 // for the resizer widget in the corner of a window.
49 #define NS_THEME_STATUSBAR_RESIZER_PANEL 23
51 // The resizer itself.
52 #define NS_THEME_RESIZER 24
54 // List boxes
55 #define NS_THEME_LISTBOX 31
57 // A listbox item
58 #define NS_THEME_LISTBOX_LISTITEM 32
60 // A tree widget
61 #define NS_THEME_TREEVIEW 41
63 // A tree item
64 #define NS_THEME_TREEVIEW_TREEITEM 42
66 // A tree widget twisty
67 #define NS_THEME_TREEVIEW_TWISTY 43
69 // A tree widget branch line
70 #define NS_THEME_TREEVIEW_LINE 44
72 // A listbox or tree widget header
73 #define NS_THEME_TREEVIEW_HEADER 45
75 // An individual header cell
76 #define NS_THEME_TREEVIEW_HEADER_CELL 46
78 // The sort arrow for a header.
79 #define NS_THEME_TREEVIEW_HEADER_SORTARROW 47
81 // Open tree widget twisty
82 #define NS_THEME_TREEVIEW_TWISTY_OPEN 48
84 // A horizontal progress bar.
85 #define NS_THEME_PROGRESSBAR 51
87 // The progress bar's progress indicator
88 #define NS_THEME_PROGRESSBAR_CHUNK 52
90 // A vertical progress bar.
91 #define NS_THEME_PROGRESSBAR_VERTICAL 53
93 // A vertical progress chunk
94 #define NS_THEME_PROGRESSBAR_CHUNK_VERTICAL 54
96 // A single tab in a tab widget.
97 #define NS_THEME_TAB 61
99 // A single pane (inside the tabpanels container)
100 #define NS_THEME_TAB_PANEL 62
102 // The tab just before the selection
103 #define NS_THEME_TAB_LEFT_EDGE 63
105 // The tab just after the selection
106 #define NS_THEME_TAB_RIGHT_EDGE 64
108 // The tab panels container.
109 #define NS_THEME_TAB_PANELS 65
111 // The tabs scroll arrows (left/right)
112 #define NS_THEME_TAB_SCROLLARROW_BACK 66
113 #define NS_THEME_TAB_SCROLLARROW_FORWARD 67
115 // A tooltip
116 #define NS_THEME_TOOLTIP 71
118 // A spin control (up/down control for time/date pickers)
119 #define NS_THEME_SPINNER 72
121 // The up button of a spin control
122 #define NS_THEME_SPINNER_UP_BUTTON 73
124 // The down button of a spin control
125 #define NS_THEME_SPINNER_DOWN_BUTTON 74
127 // The textfield of a spin control
128 #define NS_THEME_SPINNER_TEXTFIELD 75
130 // A scrollbar.
131 #define NS_THEME_SCROLLBAR 80
133 // A small scrollbar.
134 #define NS_THEME_SCROLLBAR_SMALL 81
136 // A scrollbar button (up/down/left/right)
137 #define NS_THEME_SCROLLBAR_BUTTON_UP 82
138 #define NS_THEME_SCROLLBAR_BUTTON_DOWN 83
139 #define NS_THEME_SCROLLBAR_BUTTON_LEFT 84
140 #define NS_THEME_SCROLLBAR_BUTTON_RIGHT 85
142 // The scrollbar track
143 #define NS_THEME_SCROLLBAR_TRACK_HORIZONTAL 86
144 #define NS_THEME_SCROLLBAR_TRACK_VERTICAL 87
146 // The scrollbar thumb
147 #define NS_THEME_SCROLLBAR_THUMB_HORIZONTAL 88
148 #define NS_THEME_SCROLLBAR_THUMB_VERTICAL 89
150 // A textfield or text area
151 #define NS_THEME_TEXTFIELD 95
153 // The caret of a text area
154 #define NS_THEME_TEXTFIELD_CARET 96
156 // A multiline text field
157 #define NS_THEME_TEXTFIELD_MULTILINE 97
159 // A searchfield
160 #define NS_THEME_SEARCHFIELD 98
162 // A dropdown list.
163 #define NS_THEME_DROPDOWN 101
165 // The dropdown button(s) that open up a dropdown list.
166 #define NS_THEME_DROPDOWN_BUTTON 102
168 // The text part of a dropdown list, to left of button
169 #define NS_THEME_DROPDOWN_TEXT 103
171 // An editable textfield with a dropdown list (a combobox)
172 #define NS_THEME_DROPDOWN_TEXTFIELD 104
174 // A slider
175 #define NS_THEME_SCALE_HORIZONTAL 111
176 #define NS_THEME_SCALE_VERTICAL 112
178 // A slider's thumb
179 #define NS_THEME_SCALE_THUMB_HORIZONTAL 113
180 #define NS_THEME_SCALE_THUMB_VERTICAL 114
182 // If the platform supports it, the left/right chunks
183 // of the slider thumb
184 #define NS_THEME_SCALE_THUMB_START 115
185 #define NS_THEME_SCALE_THUMB_END 116
187 // The ticks for a slider.
188 #define NS_THEME_SCALE_TICK 117
190 // A groupbox
191 #define NS_THEME_GROUPBOX 149
193 // A generic container that always repaints on state
194 // changes. This is a hack to make checkboxes and
195 // radio buttons work.
196 #define NS_THEME_CHECKBOX_CONTAINER 150
197 #define NS_THEME_RADIO_CONTAINER 151
199 // The label part of a checkbox or radio button, used for painting
200 // a focus outline.
201 #define NS_THEME_CHECKBOX_LABEL 152
202 #define NS_THEME_RADIO_LABEL 153
204 // The focus outline box inside of a button
205 #define NS_THEME_BUTTON_FOCUS 154
207 // Window and dialog backgrounds
208 #define NS_THEME_WINDOW 200
209 #define NS_THEME_DIALOG 201
211 // Menu Bar background
212 #define NS_THEME_MENUBAR 210
213 // Menu Popup background
214 #define NS_THEME_MENUPOPUP 211
215 // <menu> and <menuitem> appearances
216 #define NS_THEME_MENUITEM 212
217 #define NS_THEME_CHECKMENUITEM 213
218 #define NS_THEME_RADIOMENUITEM 214
220 // menu checkbox/radio appearances
221 #define NS_THEME_MENUCHECKBOX 215
222 #define NS_THEME_MENURADIO 216
223 #define NS_THEME_MENUSEPARATOR 217
224 #define NS_THEME_MENUARROW 218
225 // An image in the menu gutter, like in bookmarks or history
226 #define NS_THEME_MENUIMAGE 219
227 // For text on non-iconic menuitems only
228 #define NS_THEME_MENUITEMTEXT 220
230 // Vista Rebars
231 #define NS_THEME_WIN_COMMUNICATIONS_TOOLBOX 221
232 #define NS_THEME_WIN_MEDIA_TOOLBOX 222
233 #define NS_THEME_WIN_BROWSER_TAB_BAR_TOOLBOX 223
235 // Unified toolbar on the Mac
236 #define NS_THEME_MOZ_MAC_UNIFIED_TOOLBAR 224
238 // Vista glass
239 #define NS_THEME_WIN_GLASS 230