2001-12-17 22:51:39 +00:00
|
|
|
// No appearance at all.
|
|
|
|
#define NS_THEME_NONE 0
|
|
|
|
|
|
|
|
// A typical dialog button.
|
|
|
|
#define NS_THEME_BUTTON 1
|
|
|
|
|
|
|
|
// A radio element within a radio group.
|
|
|
|
#define NS_THEME_RADIO 2
|
|
|
|
|
|
|
|
// A checkbox element.
|
|
|
|
#define NS_THEME_CHECKBOX 3
|
|
|
|
|
2003-03-12 04:57:33 +00:00
|
|
|
// A small radio button, for HTML forms
|
|
|
|
#define NS_THEME_RADIO_SMALL 4
|
|
|
|
|
|
|
|
// A small checkbox, for HTML forms
|
|
|
|
#define NS_THEME_CHECKBOX_SMALL 5
|
|
|
|
|
2003-05-29 22:39:05 +00:00
|
|
|
// A rectangular button that contains complex content
|
|
|
|
// like images (e.g. HTML <button> elements)
|
|
|
|
#define NS_THEME_BUTTON_BEVEL 7
|
|
|
|
|
2001-12-17 22:51:39 +00:00
|
|
|
// The toolbox that contains the toolbars.
|
|
|
|
#define NS_THEME_TOOLBOX 11
|
|
|
|
|
|
|
|
// A toolbar in an application window.
|
|
|
|
#define NS_THEME_TOOLBAR 12
|
|
|
|
|
|
|
|
// A single toolbar button (with no associated dropdown)
|
|
|
|
#define NS_THEME_TOOLBAR_BUTTON 13
|
|
|
|
|
|
|
|
// A dual toolbar button (e.g., a Back button with a dropdown)
|
|
|
|
#define NS_THEME_TOOLBAR_DUAL_BUTTON 14
|
|
|
|
|
2008-01-17 10:24:31 +00:00
|
|
|
// The dropdown portion of a toolbar button
|
|
|
|
#define NS_THEME_TOOLBAR_BUTTON_DROPDOWN 15
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// A separator. Can be horizontal or vertical.
|
|
|
|
#define NS_THEME_TOOLBAR_SEPARATOR 16
|
|
|
|
|
|
|
|
// The gripper for a toolbar.
|
|
|
|
#define NS_THEME_TOOLBAR_GRIPPER 17
|
|
|
|
|
2007-12-21 11:40:03 +00:00
|
|
|
// A splitter. Can be horizontal or vertical.
|
|
|
|
#define NS_THEME_SPLITTER 19
|
|
|
|
|
2001-12-17 22:51:39 +00:00
|
|
|
// A status bar in a main application window.
|
|
|
|
#define NS_THEME_STATUSBAR 21
|
|
|
|
|
|
|
|
// A single pane of a status bar.
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_STATUSBAR_PANEL 22
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// The resizer background area in a status bar
|
|
|
|
// for the resizer widget in the corner of a window.
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_STATUSBAR_RESIZER_PANEL 23
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// The resizer itself.
|
|
|
|
#define NS_THEME_RESIZER 24
|
|
|
|
|
|
|
|
// List boxes
|
|
|
|
#define NS_THEME_LISTBOX 31
|
|
|
|
|
|
|
|
// A listbox item
|
|
|
|
#define NS_THEME_LISTBOX_LISTITEM 32
|
|
|
|
|
|
|
|
// A tree widget
|
|
|
|
#define NS_THEME_TREEVIEW 41
|
|
|
|
|
|
|
|
// A tree item
|
|
|
|
#define NS_THEME_TREEVIEW_TREEITEM 42
|
|
|
|
|
|
|
|
// A tree widget twisty
|
|
|
|
#define NS_THEME_TREEVIEW_TWISTY 43
|
|
|
|
|
|
|
|
// A tree widget branch line
|
|
|
|
#define NS_THEME_TREEVIEW_LINE 44
|
|
|
|
|
|
|
|
// A listbox or tree widget header
|
|
|
|
#define NS_THEME_TREEVIEW_HEADER 45
|
|
|
|
|
|
|
|
// An individual header cell
|
|
|
|
#define NS_THEME_TREEVIEW_HEADER_CELL 46
|
|
|
|
|
|
|
|
// The sort arrow for a header.
|
|
|
|
#define NS_THEME_TREEVIEW_HEADER_SORTARROW 47
|
|
|
|
|
2002-01-29 21:10:57 +00:00
|
|
|
// Open tree widget twisty
|
2007-01-19 07:03:20 +00:00
|
|
|
#define NS_THEME_TREEVIEW_TWISTY_OPEN 48
|
2002-01-29 21:10:57 +00:00
|
|
|
|
2002-01-05 00:15:48 +00:00
|
|
|
// A horizontal progress bar.
|
2001-12-17 22:51:39 +00:00
|
|
|
#define NS_THEME_PROGRESSBAR 51
|
|
|
|
|
|
|
|
// The progress bar's progress indicator
|
|
|
|
#define NS_THEME_PROGRESSBAR_CHUNK 52
|
|
|
|
|
2002-01-05 00:15:48 +00:00
|
|
|
// A vertical progress bar.
|
|
|
|
#define NS_THEME_PROGRESSBAR_VERTICAL 53
|
|
|
|
|
|
|
|
// A vertical progress chunk
|
|
|
|
#define NS_THEME_PROGRESSBAR_CHUNK_VERTICAL 54
|
|
|
|
|
2001-12-17 22:51:39 +00:00
|
|
|
// A single tab in a tab widget.
|
|
|
|
#define NS_THEME_TAB 61
|
|
|
|
|
2002-01-06 00:22:24 +00:00
|
|
|
// A single pane (inside the tabpanels container)
|
2001-12-17 22:51:39 +00:00
|
|
|
#define NS_THEME_TAB_PANEL 62
|
|
|
|
|
2002-01-05 23:44:39 +00:00
|
|
|
// The tab just before the selection
|
|
|
|
#define NS_THEME_TAB_LEFT_EDGE 63
|
|
|
|
|
|
|
|
// The tab just after the selection
|
|
|
|
#define NS_THEME_TAB_RIGHT_EDGE 64
|
|
|
|
|
2002-01-06 00:22:24 +00:00
|
|
|
// The tab panels container.
|
|
|
|
#define NS_THEME_TAB_PANELS 65
|
|
|
|
|
2008-02-15 05:28:44 +00:00
|
|
|
// The tabs scroll arrows (left/right)
|
|
|
|
#define NS_THEME_TAB_SCROLLARROW_BACK 66
|
|
|
|
#define NS_THEME_TAB_SCROLLARROW_FORWARD 67
|
|
|
|
|
2001-12-17 22:51:39 +00:00
|
|
|
// A tooltip
|
|
|
|
#define NS_THEME_TOOLTIP 71
|
|
|
|
|
|
|
|
// A spin control (up/down control for time/date pickers)
|
|
|
|
#define NS_THEME_SPINNER 72
|
|
|
|
|
|
|
|
// The up button of a spin control
|
|
|
|
#define NS_THEME_SPINNER_UP_BUTTON 73
|
|
|
|
|
|
|
|
// The down button of a spin control
|
|
|
|
#define NS_THEME_SPINNER_DOWN_BUTTON 74
|
|
|
|
|
2007-12-21 11:30:00 +00:00
|
|
|
// The textfield of a spin control
|
|
|
|
#define NS_THEME_SPINNER_TEXTFIELD 75
|
|
|
|
|
2001-12-17 22:51:39 +00:00
|
|
|
// A scrollbar.
|
2007-01-19 07:03:20 +00:00
|
|
|
#define NS_THEME_SCROLLBAR 80
|
|
|
|
|
|
|
|
// A small scrollbar.
|
|
|
|
#define NS_THEME_SCROLLBAR_SMALL 81
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// A scrollbar button (up/down/left/right)
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_SCROLLBAR_BUTTON_UP 82
|
|
|
|
#define NS_THEME_SCROLLBAR_BUTTON_DOWN 83
|
|
|
|
#define NS_THEME_SCROLLBAR_BUTTON_LEFT 84
|
|
|
|
#define NS_THEME_SCROLLBAR_BUTTON_RIGHT 85
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// The scrollbar track
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_SCROLLBAR_TRACK_HORIZONTAL 86
|
|
|
|
#define NS_THEME_SCROLLBAR_TRACK_VERTICAL 87
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// The scrollbar thumb
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_SCROLLBAR_THUMB_HORIZONTAL 88
|
|
|
|
#define NS_THEME_SCROLLBAR_THUMB_VERTICAL 89
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// The gripper that goes on the thumb
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_SCROLLBAR_GRIPPER_HORIZONTAL 90
|
|
|
|
#define NS_THEME_SCROLLBAR_GRIPPER_VERTICAL 91
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// A textfield or text area
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_TEXTFIELD 95
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// The caret of a text area
|
2002-01-04 00:28:01 +00:00
|
|
|
#define NS_THEME_TEXTFIELD_CARET 96
|
2001-12-17 22:51:39 +00:00
|
|
|
|
2007-05-07 02:06:58 +00:00
|
|
|
// A multiline text field
|
|
|
|
#define NS_THEME_TEXTFIELD_MULTILINE 97
|
|
|
|
|
2001-12-17 22:51:39 +00:00
|
|
|
// A dropdown list.
|
|
|
|
#define NS_THEME_DROPDOWN 101
|
|
|
|
|
|
|
|
// The dropdown button(s) that open up a dropdown list.
|
|
|
|
#define NS_THEME_DROPDOWN_BUTTON 102
|
|
|
|
|
2002-01-15 14:59:21 +00:00
|
|
|
// The text part of a dropdown list, to left of button
|
|
|
|
#define NS_THEME_DROPDOWN_TEXT 103
|
|
|
|
|
2002-02-12 00:44:36 +00:00
|
|
|
// An editable textfield with a dropdown list (a combobox)
|
|
|
|
#define NS_THEME_DROPDOWN_TEXTFIELD 104
|
|
|
|
|
2001-12-17 22:51:39 +00:00
|
|
|
// A slider
|
2006-05-30 13:50:48 +00:00
|
|
|
#define NS_THEME_SCALE_HORIZONTAL 111
|
|
|
|
#define NS_THEME_SCALE_VERTICAL 112
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// A slider's thumb
|
2006-05-30 13:50:48 +00:00
|
|
|
#define NS_THEME_SCALE_THUMB_HORIZONTAL 113
|
|
|
|
#define NS_THEME_SCALE_THUMB_VERTICAL 114
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// If the platform supports it, the left/right chunks
|
|
|
|
// of the slider thumb
|
2006-05-30 13:50:48 +00:00
|
|
|
#define NS_THEME_SCALE_THUMB_START 115
|
|
|
|
#define NS_THEME_SCALE_THUMB_END 116
|
2001-12-17 22:51:39 +00:00
|
|
|
|
|
|
|
// The ticks for a slider.
|
2006-05-30 13:50:48 +00:00
|
|
|
#define NS_THEME_SCALE_TICK 117
|
2002-01-09 01:26:16 +00:00
|
|
|
|
2008-03-13 20:24:29 +00:00
|
|
|
// A groupbox
|
|
|
|
#define NS_THEME_GROUPBOX 149
|
|
|
|
|
2002-01-09 01:26:16 +00:00
|
|
|
// A generic container that always repaints on state
|
|
|
|
// changes. This is a hack to make checkboxes and
|
|
|
|
// radio buttons work.
|
2003-03-12 04:57:33 +00:00
|
|
|
#define NS_THEME_CHECKBOX_CONTAINER 150
|
|
|
|
#define NS_THEME_RADIO_CONTAINER 151
|
2002-01-29 21:10:57 +00:00
|
|
|
|
2004-06-22 22:10:12 +00:00
|
|
|
// The label part of a checkbox or radio button, used for painting
|
|
|
|
// a focus outline.
|
|
|
|
#define NS_THEME_CHECKBOX_LABEL 152
|
|
|
|
#define NS_THEME_RADIO_LABEL 153
|
|
|
|
|
2004-09-06 03:59:31 +00:00
|
|
|
// The focus outline box inside of a button
|
|
|
|
#define NS_THEME_BUTTON_FOCUS 154
|
|
|
|
|
2002-01-29 21:10:57 +00:00
|
|
|
// Window and dialog backgrounds
|
2003-03-12 04:57:33 +00:00
|
|
|
#define NS_THEME_WINDOW 200
|
|
|
|
#define NS_THEME_DIALOG 201
|
2002-01-29 21:10:57 +00:00
|
|
|
|
2004-03-04 04:55:31 +00:00
|
|
|
// Menu Bar background
|
|
|
|
#define NS_THEME_MENUBAR 210
|
|
|
|
// Menu Popup background
|
|
|
|
#define NS_THEME_MENUPOPUP 211
|
|
|
|
// <menu> and <menuitem> appearances
|
|
|
|
#define NS_THEME_MENUITEM 212
|
2005-02-18 06:03:08 +00:00
|
|
|
#define NS_THEME_CHECKMENUITEM 213
|
|
|
|
#define NS_THEME_RADIOMENUITEM 214
|
2007-07-14 15:11:37 +00:00
|
|
|
|
|
|
|
// menu checkbox/radio appearances
|
|
|
|
#define NS_THEME_MENUCHECKBOX 215
|
|
|
|
#define NS_THEME_MENURADIO 216
|
|
|
|
#define NS_THEME_MENUSEPARATOR 217
|
|
|
|
#define NS_THEME_MENUARROW 218
|
2007-08-06 17:45:57 +00:00
|
|
|
// An image in the menu gutter, like in bookmarks or history
|
|
|
|
#define NS_THEME_MENUIMAGE 219
|
|
|
|
// For text on non-iconic menuitems only
|
|
|
|
#define NS_THEME_MENUITEMTEXT 220
|
|
|
|
|
2008-02-29 05:10:38 +00:00
|
|
|
// Vista Rebars
|
|
|
|
#define NS_THEME_COMMUNICATIONS_TOOLBOX 221
|
|
|
|
#define NS_THEME_MEDIA_TOOLBOX 222
|
|
|
|
#define NS_THEME_BROWSER_TAB_BAR_TOOLBOX 223
|