Back to index

lightning-sunbird  0.9+nobinonly
nsThemeConstants.h
Go to the documentation of this file.
00001 // No appearance at all.
00002 #define NS_THEME_NONE                                      0
00003 
00004 // A typical dialog button.
00005 #define NS_THEME_BUTTON                                    1
00006 
00007 // A radio element within a radio group.
00008 #define NS_THEME_RADIO                                     2
00009 
00010 // A checkbox element. 
00011 #define NS_THEME_CHECKBOX                                  3
00012 
00013 // A small radio button, for HTML forms
00014 #define NS_THEME_RADIO_SMALL                               4
00015 
00016 // A small checkbox, for HTML forms
00017 #define NS_THEME_CHECKBOX_SMALL                            5
00018 
00019 // A small button, for HTML forms
00020 #define NS_THEME_BUTTON_SMALL                              6
00021 
00022 // A rectangular button that contains complex content
00023 // like images (e.g. HTML <button> elements)
00024 #define NS_THEME_BUTTON_BEVEL                              7
00025 
00026 // The toolbox that contains the toolbars.
00027 #define NS_THEME_TOOLBOX                                   11
00028 
00029 // A toolbar in an application window.
00030 #define NS_THEME_TOOLBAR                                   12
00031 
00032 // A single toolbar button (with no associated dropdown)
00033 #define NS_THEME_TOOLBAR_BUTTON                            13
00034 
00035 // A dual toolbar button (e.g., a Back button with a dropdown)
00036 #define NS_THEME_TOOLBAR_DUAL_BUTTON                       14
00037 
00038 // The dropdown portion of a dual toolbar button
00039 #define NS_THEME_TOOLBAR_DUAL_BUTTON_DROPDOWN              15
00040 
00041 // A separator.  Can be horizontal or vertical.
00042 #define NS_THEME_TOOLBAR_SEPARATOR                         16
00043 
00044 // The gripper for a toolbar.
00045 #define NS_THEME_TOOLBAR_GRIPPER                           17
00046 
00047 // A status bar in a main application window.
00048 #define NS_THEME_STATUSBAR                                 21
00049 
00050 // A single pane of a status bar.
00051 #define NS_THEME_STATUSBAR_PANEL                           22
00052 
00053 // The resizer background area in a status bar 
00054 // for the resizer widget in the corner of a window.
00055 #define NS_THEME_STATUSBAR_RESIZER_PANEL                   23
00056 
00057 // The resizer itself.
00058 #define NS_THEME_RESIZER                                   24
00059 
00060 // List boxes
00061 #define NS_THEME_LISTBOX                                   31
00062 
00063 // A listbox item
00064 #define NS_THEME_LISTBOX_LISTITEM                          32
00065 
00066 // A tree widget
00067 #define NS_THEME_TREEVIEW                                  41
00068 
00069 // A tree item
00070 #define NS_THEME_TREEVIEW_TREEITEM                         42
00071 
00072 // A tree widget twisty
00073 #define NS_THEME_TREEVIEW_TWISTY                           43
00074 
00075 // A tree widget branch line
00076 #define NS_THEME_TREEVIEW_LINE                             44
00077 
00078 // A listbox or tree widget header
00079 #define NS_THEME_TREEVIEW_HEADER                           45
00080 
00081 // An individual header cell
00082 #define NS_THEME_TREEVIEW_HEADER_CELL                      46
00083 
00084 // The sort arrow for a header.
00085 #define NS_THEME_TREEVIEW_HEADER_SORTARROW                 47
00086 
00087 // Open tree widget twisty
00088 #define NS_THEME_TREEVIEW_TWISTY_OPEN                    48
00089 
00090 // A horizontal progress bar.
00091 #define NS_THEME_PROGRESSBAR                               51
00092 
00093 // The progress bar's progress indicator
00094 #define NS_THEME_PROGRESSBAR_CHUNK                         52
00095 
00096 // A vertical progress bar.
00097 #define NS_THEME_PROGRESSBAR_VERTICAL                      53
00098 
00099 // A vertical progress chunk
00100 #define NS_THEME_PROGRESSBAR_CHUNK_VERTICAL                54
00101 
00102 // A single tab in a tab widget.
00103 #define NS_THEME_TAB                                       61
00104 
00105 // A single pane (inside the tabpanels container)
00106 #define NS_THEME_TAB_PANEL                                 62
00107 
00108 // The tab just before the selection
00109 #define NS_THEME_TAB_LEFT_EDGE                             63
00110 
00111 // The tab just after the selection
00112 #define NS_THEME_TAB_RIGHT_EDGE                            64
00113 
00114 // The tab panels container.
00115 #define NS_THEME_TAB_PANELS                                65
00116 
00117 // A tooltip
00118 #define NS_THEME_TOOLTIP                                   71
00119 
00120 // A spin control (up/down control for time/date pickers)
00121 #define NS_THEME_SPINNER                                   72
00122 
00123 // The up button of a spin control
00124 #define NS_THEME_SPINNER_UP_BUTTON                         73
00125 
00126 // The down button of a spin control
00127 #define NS_THEME_SPINNER_DOWN_BUTTON                       74
00128 
00129 // A scrollbar.
00130 #define NS_THEME_SCROLLBAR                                 81
00131 
00132 // A scrollbar button (up/down/left/right)
00133 #define NS_THEME_SCROLLBAR_BUTTON_UP                       82
00134 #define NS_THEME_SCROLLBAR_BUTTON_DOWN                     83
00135 #define NS_THEME_SCROLLBAR_BUTTON_LEFT                     84
00136 #define NS_THEME_SCROLLBAR_BUTTON_RIGHT                    85
00137 
00138 // The scrollbar track
00139 #define NS_THEME_SCROLLBAR_TRACK_HORIZONTAL                86
00140 #define NS_THEME_SCROLLBAR_TRACK_VERTICAL                  87
00141 
00142 // The scrollbar thumb
00143 #define NS_THEME_SCROLLBAR_THUMB_HORIZONTAL                88
00144 #define NS_THEME_SCROLLBAR_THUMB_VERTICAL                  89
00145 
00146 // The gripper that goes on the thumb
00147 #define NS_THEME_SCROLLBAR_GRIPPER_HORIZONTAL              90
00148 #define NS_THEME_SCROLLBAR_GRIPPER_VERTICAL                91
00149 
00150 // A textfield or text area
00151 #define NS_THEME_TEXTFIELD                                 95
00152 
00153 // The caret of a text area
00154 #define NS_THEME_TEXTFIELD_CARET                           96
00155 
00156 // A dropdown list.
00157 #define NS_THEME_DROPDOWN                                  101
00158 
00159 // The dropdown button(s) that open up a dropdown list.
00160 #define NS_THEME_DROPDOWN_BUTTON                           102
00161 
00162 // The text part of a dropdown list, to left of button
00163 #define NS_THEME_DROPDOWN_TEXT                             103
00164 
00165 // An editable textfield with a dropdown list (a combobox)
00166 #define NS_THEME_DROPDOWN_TEXTFIELD                        104
00167 
00168 // A slider
00169 #define NS_THEME_SLIDER                                    111
00170 
00171 // A slider's thumb
00172 #define NS_THEME_SLIDER_THUMB                              112
00173 
00174 // If the platform supports it, the left/right chunks
00175 // of the slider thumb
00176 #define NS_THEME_SLIDER_THUMB_START                        113
00177 #define NS_THEME_SLIDER_THUMB_END                          114
00178 
00179 // The ticks for a slider.
00180 #define NS_THEME_SLIDER_TICK                               115
00181 
00182 // A generic container that always repaints on state
00183 // changes.  This is a hack to make checkboxes and
00184 // radio buttons work.
00185 #define NS_THEME_CHECKBOX_CONTAINER                        150
00186 #define NS_THEME_RADIO_CONTAINER                           151
00187 
00188 // The label part of a checkbox or radio button, used for painting
00189 // a focus outline.
00190 #define NS_THEME_CHECKBOX_LABEL                            152
00191 #define NS_THEME_RADIO_LABEL                               153
00192 
00193 // The focus outline box inside of a button
00194 #define NS_THEME_BUTTON_FOCUS                              154
00195 
00196 // Window and dialog backgrounds
00197 #define NS_THEME_WINDOW                                    200
00198 #define NS_THEME_DIALOG                                    201
00199 
00200 // Menu Bar background
00201 #define NS_THEME_MENUBAR                                   210
00202 // Menu Popup background
00203 #define NS_THEME_MENUPOPUP                                 211
00204 // <menu> and <menuitem> appearances
00205 #define NS_THEME_MENUITEM                                  212
00206 #define NS_THEME_CHECKMENUITEM                             213
00207 #define NS_THEME_RADIOMENUITEM                             214