annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/tkUnixDefault.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /*
jpayne@69 2 * tkUnixDefault.h --
jpayne@69 3 *
jpayne@69 4 * This file defines the defaults for all options for all of
jpayne@69 5 * the Tk widgets.
jpayne@69 6 *
jpayne@69 7 * Copyright (c) 1991-1994 The Regents of the University of California.
jpayne@69 8 * Copyright (c) 1994-1997 Sun Microsystems, Inc.
jpayne@69 9 *
jpayne@69 10 * See the file "license.terms" for information on usage and redistribution
jpayne@69 11 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
jpayne@69 12 */
jpayne@69 13
jpayne@69 14 #ifndef _TKUNIXDEFAULT
jpayne@69 15 #define _TKUNIXDEFAULT
jpayne@69 16
jpayne@69 17 /*
jpayne@69 18 * The definitions below provide symbolic names for the default colors.
jpayne@69 19 * NORMAL_BG - Normal background color.
jpayne@69 20 * ACTIVE_BG - Background color when widget is active.
jpayne@69 21 * SELECT_BG - Background color for selected text.
jpayne@69 22 * TROUGH - Background color for troughs in scales and scrollbars.
jpayne@69 23 * INDICATOR - Color for indicator when button is selected.
jpayne@69 24 * DISABLED - Foreground color when widget is disabled.
jpayne@69 25 */
jpayne@69 26
jpayne@69 27 #define BLACK "#000000"
jpayne@69 28 #define WHITE "#ffffff"
jpayne@69 29
jpayne@69 30 #define NORMAL_BG "#d9d9d9"
jpayne@69 31 #define ACTIVE_BG "#ececec"
jpayne@69 32 #define SELECT_BG "#c3c3c3"
jpayne@69 33 #define TROUGH "#b3b3b3"
jpayne@69 34 #define INDICATOR WHITE
jpayne@69 35 #define DISABLED "#a3a3a3"
jpayne@69 36
jpayne@69 37 /*
jpayne@69 38 * Defaults for labels, buttons, checkbuttons, and radiobuttons:
jpayne@69 39 */
jpayne@69 40
jpayne@69 41 #define DEF_BUTTON_ANCHOR "center"
jpayne@69 42 #define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG
jpayne@69 43 #define DEF_BUTTON_ACTIVE_BG_MONO BLACK
jpayne@69 44 #define DEF_BUTTON_ACTIVE_FG_COLOR BLACK
jpayne@69 45 #define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR
jpayne@69 46 #define DEF_BUTTON_ACTIVE_FG_MONO WHITE
jpayne@69 47 #define DEF_BUTTON_BG_COLOR NORMAL_BG
jpayne@69 48 #define DEF_BUTTON_BG_MONO WHITE
jpayne@69 49 #define DEF_BUTTON_BITMAP ""
jpayne@69 50 #define DEF_BUTTON_BORDER_WIDTH "1"
jpayne@69 51 #define DEF_BUTTON_CURSOR ""
jpayne@69 52 #define DEF_BUTTON_COMPOUND "none"
jpayne@69 53 #define DEF_BUTTON_COMMAND ""
jpayne@69 54 #define DEF_BUTTON_DEFAULT "disabled"
jpayne@69 55 #define DEF_BUTTON_DISABLED_FG_COLOR DISABLED
jpayne@69 56 #define DEF_BUTTON_DISABLED_FG_MONO ""
jpayne@69 57 #define DEF_LABEL_FG BLACK
jpayne@69 58 #define DEF_BUTTON_FG BLACK
jpayne@69 59 #define DEF_CHKRAD_FG DEF_BUTTON_FG
jpayne@69 60 #define DEF_BUTTON_FONT "TkDefaultFont"
jpayne@69 61 #define DEF_BUTTON_HEIGHT "0"
jpayne@69 62 #define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR
jpayne@69 63 #define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO
jpayne@69 64 #define DEF_BUTTON_HIGHLIGHT BLACK
jpayne@69 65 #define DEF_LABEL_HIGHLIGHT_WIDTH "0"
jpayne@69 66 #define DEF_BUTTON_HIGHLIGHT_WIDTH "1"
jpayne@69 67 #define DEF_BUTTON_IMAGE ((char *) NULL)
jpayne@69 68 #define DEF_BUTTON_INDICATOR "1"
jpayne@69 69 #define DEF_BUTTON_JUSTIFY "center"
jpayne@69 70 #define DEF_BUTTON_OFF_VALUE "0"
jpayne@69 71 #define DEF_BUTTON_ON_VALUE "1"
jpayne@69 72 #define DEF_BUTTON_TRISTATE_VALUE ""
jpayne@69 73 #define DEF_BUTTON_OVER_RELIEF ""
jpayne@69 74 #define DEF_BUTTON_PADX "3m"
jpayne@69 75 #define DEF_LABCHKRAD_PADX "1"
jpayne@69 76 #define DEF_BUTTON_PADY "1m"
jpayne@69 77 #define DEF_LABCHKRAD_PADY "1"
jpayne@69 78 #define DEF_BUTTON_RELIEF "raised"
jpayne@69 79 #define DEF_LABCHKRAD_RELIEF "flat"
jpayne@69 80 #define DEF_BUTTON_REPEAT_DELAY "0"
jpayne@69 81 #define DEF_BUTTON_REPEAT_INTERVAL "0"
jpayne@69 82 #define DEF_BUTTON_SELECT_COLOR INDICATOR
jpayne@69 83 #define DEF_BUTTON_SELECT_MONO BLACK
jpayne@69 84 #define DEF_BUTTON_SELECT_IMAGE ((char *) NULL)
jpayne@69 85 #define DEF_BUTTON_STATE "normal"
jpayne@69 86 #define DEF_LABEL_TAKE_FOCUS "0"
jpayne@69 87 #define DEF_BUTTON_TAKE_FOCUS ((char *) NULL)
jpayne@69 88 #define DEF_BUTTON_TEXT ""
jpayne@69 89 #define DEF_BUTTON_TEXT_VARIABLE ""
jpayne@69 90 #define DEF_BUTTON_UNDERLINE "-1"
jpayne@69 91 #define DEF_BUTTON_VALUE ""
jpayne@69 92 #define DEF_BUTTON_WIDTH "0"
jpayne@69 93 #define DEF_BUTTON_WRAP_LENGTH "0"
jpayne@69 94 #define DEF_RADIOBUTTON_VARIABLE "selectedButton"
jpayne@69 95 #define DEF_CHECKBUTTON_VARIABLE ""
jpayne@69 96
jpayne@69 97 /*
jpayne@69 98 * Defaults for canvases:
jpayne@69 99 */
jpayne@69 100
jpayne@69 101 #define DEF_CANVAS_BG_COLOR NORMAL_BG
jpayne@69 102 #define DEF_CANVAS_BG_MONO WHITE
jpayne@69 103 #define DEF_CANVAS_BORDER_WIDTH "0"
jpayne@69 104 #define DEF_CANVAS_CLOSE_ENOUGH "1"
jpayne@69 105 #define DEF_CANVAS_CONFINE "1"
jpayne@69 106 #define DEF_CANVAS_CURSOR ""
jpayne@69 107 #define DEF_CANVAS_HEIGHT "7c"
jpayne@69 108 #define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG
jpayne@69 109 #define DEF_CANVAS_HIGHLIGHT BLACK
jpayne@69 110 #define DEF_CANVAS_HIGHLIGHT_WIDTH "1"
jpayne@69 111 #define DEF_CANVAS_INSERT_BG BLACK
jpayne@69 112 #define DEF_CANVAS_INSERT_BD_COLOR "0"
jpayne@69 113 #define DEF_CANVAS_INSERT_BD_MONO "0"
jpayne@69 114 #define DEF_CANVAS_INSERT_OFF_TIME "300"
jpayne@69 115 #define DEF_CANVAS_INSERT_ON_TIME "600"
jpayne@69 116 #define DEF_CANVAS_INSERT_WIDTH "2"
jpayne@69 117 #define DEF_CANVAS_RELIEF "flat"
jpayne@69 118 #define DEF_CANVAS_SCROLL_REGION ""
jpayne@69 119 #define DEF_CANVAS_SELECT_COLOR SELECT_BG
jpayne@69 120 #define DEF_CANVAS_SELECT_MONO BLACK
jpayne@69 121 #define DEF_CANVAS_SELECT_BD_COLOR "1"
jpayne@69 122 #define DEF_CANVAS_SELECT_BD_MONO "0"
jpayne@69 123 #define DEF_CANVAS_SELECT_FG_COLOR BLACK
jpayne@69 124 #define DEF_CANVAS_SELECT_FG_MONO WHITE
jpayne@69 125 #define DEF_CANVAS_TAKE_FOCUS ((char *) NULL)
jpayne@69 126 #define DEF_CANVAS_WIDTH "10c"
jpayne@69 127 #define DEF_CANVAS_X_SCROLL_CMD ""
jpayne@69 128 #define DEF_CANVAS_X_SCROLL_INCREMENT "0"
jpayne@69 129 #define DEF_CANVAS_Y_SCROLL_CMD ""
jpayne@69 130 #define DEF_CANVAS_Y_SCROLL_INCREMENT "0"
jpayne@69 131
jpayne@69 132 /*
jpayne@69 133 * Defaults for entries:
jpayne@69 134 */
jpayne@69 135
jpayne@69 136 #define DEF_ENTRY_BG_COLOR WHITE
jpayne@69 137 #define DEF_ENTRY_BG_MONO WHITE
jpayne@69 138 #define DEF_ENTRY_BORDER_WIDTH "1"
jpayne@69 139 #define DEF_ENTRY_CURSOR "xterm"
jpayne@69 140 #define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG
jpayne@69 141 #define DEF_ENTRY_DISABLED_BG_MONO WHITE
jpayne@69 142 #define DEF_ENTRY_DISABLED_FG DISABLED
jpayne@69 143 #define DEF_ENTRY_EXPORT_SELECTION "1"
jpayne@69 144 #define DEF_ENTRY_FONT "TkTextFont"
jpayne@69 145 #define DEF_ENTRY_FG BLACK
jpayne@69 146 #define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG
jpayne@69 147 #define DEF_ENTRY_HIGHLIGHT BLACK
jpayne@69 148 #define DEF_ENTRY_HIGHLIGHT_WIDTH "1"
jpayne@69 149 #define DEF_ENTRY_INSERT_BG BLACK
jpayne@69 150 #define DEF_ENTRY_INSERT_BD_COLOR "0"
jpayne@69 151 #define DEF_ENTRY_INSERT_BD_MONO "0"
jpayne@69 152 #define DEF_ENTRY_INSERT_OFF_TIME "300"
jpayne@69 153 #define DEF_ENTRY_INSERT_ON_TIME "600"
jpayne@69 154 #define DEF_ENTRY_INSERT_WIDTH "2"
jpayne@69 155 #define DEF_ENTRY_JUSTIFY "left"
jpayne@69 156 #define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG
jpayne@69 157 #define DEF_ENTRY_READONLY_BG_MONO WHITE
jpayne@69 158 #define DEF_ENTRY_RELIEF "sunken"
jpayne@69 159 #define DEF_ENTRY_SCROLL_COMMAND ""
jpayne@69 160 #define DEF_ENTRY_SELECT_COLOR SELECT_BG
jpayne@69 161 #define DEF_ENTRY_SELECT_MONO BLACK
jpayne@69 162 #define DEF_ENTRY_SELECT_BD_COLOR "0"
jpayne@69 163 #define DEF_ENTRY_SELECT_BD_MONO "0"
jpayne@69 164 #define DEF_ENTRY_SELECT_FG_COLOR BLACK
jpayne@69 165 #define DEF_ENTRY_SELECT_FG_MONO WHITE
jpayne@69 166 #define DEF_ENTRY_SHOW ((char *) NULL)
jpayne@69 167 #define DEF_ENTRY_STATE "normal"
jpayne@69 168 #define DEF_ENTRY_TAKE_FOCUS ((char *) NULL)
jpayne@69 169 #define DEF_ENTRY_TEXT_VARIABLE ""
jpayne@69 170 #define DEF_ENTRY_WIDTH "20"
jpayne@69 171
jpayne@69 172 /*
jpayne@69 173 * Defaults for frames:
jpayne@69 174 */
jpayne@69 175
jpayne@69 176 #define DEF_FRAME_BG_COLOR NORMAL_BG
jpayne@69 177 #define DEF_FRAME_BG_MONO WHITE
jpayne@69 178 #define DEF_FRAME_BORDER_WIDTH "0"
jpayne@69 179 #define DEF_FRAME_CLASS "Frame"
jpayne@69 180 #define DEF_FRAME_COLORMAP ""
jpayne@69 181 #define DEF_FRAME_CONTAINER "0"
jpayne@69 182 #define DEF_FRAME_CURSOR ""
jpayne@69 183 #define DEF_FRAME_HEIGHT "0"
jpayne@69 184 #define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG
jpayne@69 185 #define DEF_FRAME_HIGHLIGHT BLACK
jpayne@69 186 #define DEF_FRAME_HIGHLIGHT_WIDTH "0"
jpayne@69 187 #define DEF_FRAME_LABEL ""
jpayne@69 188 #define DEF_FRAME_PADX "0"
jpayne@69 189 #define DEF_FRAME_PADY "0"
jpayne@69 190 #define DEF_FRAME_RELIEF "flat"
jpayne@69 191 #define DEF_FRAME_TAKE_FOCUS "0"
jpayne@69 192 #define DEF_FRAME_VISUAL ""
jpayne@69 193 #define DEF_FRAME_WIDTH "0"
jpayne@69 194
jpayne@69 195 /*
jpayne@69 196 * Defaults for labelframes:
jpayne@69 197 */
jpayne@69 198
jpayne@69 199 #define DEF_LABELFRAME_BORDER_WIDTH "2"
jpayne@69 200 #define DEF_LABELFRAME_CLASS "Labelframe"
jpayne@69 201 #define DEF_LABELFRAME_RELIEF "groove"
jpayne@69 202 #define DEF_LABELFRAME_FG BLACK
jpayne@69 203 #define DEF_LABELFRAME_FONT "TkDefaultFont"
jpayne@69 204 #define DEF_LABELFRAME_TEXT ""
jpayne@69 205 #define DEF_LABELFRAME_LABELANCHOR "nw"
jpayne@69 206
jpayne@69 207 /*
jpayne@69 208 * Defaults for listboxes:
jpayne@69 209 */
jpayne@69 210
jpayne@69 211 #define DEF_LISTBOX_ACTIVE_STYLE "dotbox"
jpayne@69 212 #define DEF_LISTBOX_BG_COLOR WHITE
jpayne@69 213 #define DEF_LISTBOX_BG_MONO WHITE
jpayne@69 214 #define DEF_LISTBOX_BORDER_WIDTH "1"
jpayne@69 215 #define DEF_LISTBOX_CURSOR ""
jpayne@69 216 #define DEF_LISTBOX_DISABLED_FG DISABLED
jpayne@69 217 #define DEF_LISTBOX_EXPORT_SELECTION "1"
jpayne@69 218 #define DEF_LISTBOX_FONT "TkDefaultFont"
jpayne@69 219 #define DEF_LISTBOX_FG BLACK
jpayne@69 220 #define DEF_LISTBOX_HEIGHT "10"
jpayne@69 221 #define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG
jpayne@69 222 #define DEF_LISTBOX_HIGHLIGHT BLACK
jpayne@69 223 #define DEF_LISTBOX_HIGHLIGHT_WIDTH "1"
jpayne@69 224 #define DEF_LISTBOX_JUSTIFY "left"
jpayne@69 225 #define DEF_LISTBOX_RELIEF "sunken"
jpayne@69 226 #define DEF_LISTBOX_SCROLL_COMMAND ""
jpayne@69 227 #define DEF_LISTBOX_LIST_VARIABLE ""
jpayne@69 228 #define DEF_LISTBOX_SELECT_COLOR SELECT_BG
jpayne@69 229 #define DEF_LISTBOX_SELECT_MONO BLACK
jpayne@69 230 #define DEF_LISTBOX_SELECT_BD "0"
jpayne@69 231 #define DEF_LISTBOX_SELECT_FG_COLOR BLACK
jpayne@69 232 #define DEF_LISTBOX_SELECT_FG_MONO WHITE
jpayne@69 233 #define DEF_LISTBOX_SELECT_MODE "browse"
jpayne@69 234 #define DEF_LISTBOX_SET_GRID "0"
jpayne@69 235 #define DEF_LISTBOX_STATE "normal"
jpayne@69 236 #define DEF_LISTBOX_TAKE_FOCUS ((char *) NULL)
jpayne@69 237 #define DEF_LISTBOX_WIDTH "20"
jpayne@69 238
jpayne@69 239 /*
jpayne@69 240 * Defaults for individual entries of menus:
jpayne@69 241 */
jpayne@69 242
jpayne@69 243 #define DEF_MENU_ENTRY_ACTIVE_BG ((char *) NULL)
jpayne@69 244 #define DEF_MENU_ENTRY_ACTIVE_FG ((char *) NULL)
jpayne@69 245 #define DEF_MENU_ENTRY_ACCELERATOR ((char *) NULL)
jpayne@69 246 #define DEF_MENU_ENTRY_BG ((char *) NULL)
jpayne@69 247 #define DEF_MENU_ENTRY_BITMAP NULL
jpayne@69 248 #define DEF_MENU_ENTRY_COLUMN_BREAK "0"
jpayne@69 249 #define DEF_MENU_ENTRY_COMMAND ((char *) NULL)
jpayne@69 250 #define DEF_MENU_ENTRY_COMPOUND "none"
jpayne@69 251 #define DEF_MENU_ENTRY_FG ((char *) NULL)
jpayne@69 252 #define DEF_MENU_ENTRY_FONT ((char *) NULL)
jpayne@69 253 #define DEF_MENU_ENTRY_HIDE_MARGIN "0"
jpayne@69 254 #define DEF_MENU_ENTRY_IMAGE ((char *) NULL)
jpayne@69 255 #define DEF_MENU_ENTRY_INDICATOR "1"
jpayne@69 256 #define DEF_MENU_ENTRY_LABEL ((char *) NULL)
jpayne@69 257 #define DEF_MENU_ENTRY_MENU ((char *) NULL)
jpayne@69 258 #define DEF_MENU_ENTRY_OFF_VALUE "0"
jpayne@69 259 #define DEF_MENU_ENTRY_ON_VALUE "1"
jpayne@69 260 #define DEF_MENU_ENTRY_SELECT_IMAGE ((char *) NULL)
jpayne@69 261 #define DEF_MENU_ENTRY_STATE "normal"
jpayne@69 262 #define DEF_MENU_ENTRY_VALUE ((char *) NULL)
jpayne@69 263 #define DEF_MENU_ENTRY_CHECK_VARIABLE ((char *) NULL)
jpayne@69 264 #define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton"
jpayne@69 265 #define DEF_MENU_ENTRY_SELECT ((char *) NULL)
jpayne@69 266 #define DEF_MENU_ENTRY_UNDERLINE "-1"
jpayne@69 267
jpayne@69 268 /*
jpayne@69 269 * Defaults for menus overall:
jpayne@69 270 */
jpayne@69 271
jpayne@69 272 #define DEF_MENU_ACTIVE_BG_COLOR ACTIVE_BG
jpayne@69 273 #define DEF_MENU_ACTIVE_BG_MONO BLACK
jpayne@69 274 #define DEF_MENU_ACTIVE_BORDER_WIDTH "1"
jpayne@69 275 #define DEF_MENU_ACTIVE_FG_COLOR BLACK
jpayne@69 276 #define DEF_MENU_ACTIVE_FG_MONO WHITE
jpayne@69 277 #define DEF_MENU_BG_COLOR NORMAL_BG
jpayne@69 278 #define DEF_MENU_BG_MONO WHITE
jpayne@69 279 #define DEF_MENU_BORDER_WIDTH "1"
jpayne@69 280 #define DEF_MENU_CURSOR "arrow"
jpayne@69 281 #define DEF_MENU_DISABLED_FG_COLOR DISABLED
jpayne@69 282 #define DEF_MENU_DISABLED_FG_MONO ""
jpayne@69 283 #define DEF_MENU_FONT "TkMenuFont"
jpayne@69 284 #define DEF_MENU_FG BLACK
jpayne@69 285 #define DEF_MENU_POST_COMMAND ""
jpayne@69 286 #define DEF_MENU_RELIEF "raised"
jpayne@69 287 #define DEF_MENU_SELECT_COLOR BLACK
jpayne@69 288 #define DEF_MENU_SELECT_MONO BLACK
jpayne@69 289 #define DEF_MENU_TAKE_FOCUS "0"
jpayne@69 290 #define DEF_MENU_TEAROFF "1"
jpayne@69 291 #define DEF_MENU_TEAROFF_CMD ((char *) NULL)
jpayne@69 292 #define DEF_MENU_TITLE ""
jpayne@69 293 #define DEF_MENU_TYPE "normal"
jpayne@69 294
jpayne@69 295 /*
jpayne@69 296 * Defaults for menubuttons:
jpayne@69 297 */
jpayne@69 298
jpayne@69 299 #define DEF_MENUBUTTON_ANCHOR "center"
jpayne@69 300 #define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG
jpayne@69 301 #define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK
jpayne@69 302 #define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK
jpayne@69 303 #define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE
jpayne@69 304 #define DEF_MENUBUTTON_BG_COLOR NORMAL_BG
jpayne@69 305 #define DEF_MENUBUTTON_BG_MONO WHITE
jpayne@69 306 #define DEF_MENUBUTTON_BITMAP ""
jpayne@69 307 #define DEF_MENUBUTTON_BORDER_WIDTH "1"
jpayne@69 308 #define DEF_MENUBUTTON_CURSOR ""
jpayne@69 309 #define DEF_MENUBUTTON_DIRECTION "below"
jpayne@69 310 #define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED
jpayne@69 311 #define DEF_MENUBUTTON_DISABLED_FG_MONO ""
jpayne@69 312 #define DEF_MENUBUTTON_FONT "TkDefaultFont"
jpayne@69 313 #define DEF_MENUBUTTON_FG BLACK
jpayne@69 314 #define DEF_MENUBUTTON_HEIGHT "0"
jpayne@69 315 #define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR
jpayne@69 316 #define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO
jpayne@69 317 #define DEF_MENUBUTTON_HIGHLIGHT BLACK
jpayne@69 318 #define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0"
jpayne@69 319 #define DEF_MENUBUTTON_IMAGE ((char *) NULL)
jpayne@69 320 #define DEF_MENUBUTTON_INDICATOR "0"
jpayne@69 321 #define DEF_MENUBUTTON_JUSTIFY "center"
jpayne@69 322 #define DEF_MENUBUTTON_MENU ""
jpayne@69 323 #define DEF_MENUBUTTON_PADX "4p"
jpayne@69 324 #define DEF_MENUBUTTON_PADY "3p"
jpayne@69 325 #define DEF_MENUBUTTON_RELIEF "flat"
jpayne@69 326 #define DEF_MENUBUTTON_STATE "normal"
jpayne@69 327 #define DEF_MENUBUTTON_TAKE_FOCUS "0"
jpayne@69 328 #define DEF_MENUBUTTON_TEXT ""
jpayne@69 329 #define DEF_MENUBUTTON_TEXT_VARIABLE ""
jpayne@69 330 #define DEF_MENUBUTTON_UNDERLINE "-1"
jpayne@69 331 #define DEF_MENUBUTTON_WIDTH "0"
jpayne@69 332 #define DEF_MENUBUTTON_WRAP_LENGTH "0"
jpayne@69 333
jpayne@69 334 /*
jpayne@69 335 * Defaults for messages:
jpayne@69 336 */
jpayne@69 337
jpayne@69 338 #define DEF_MESSAGE_ANCHOR "center"
jpayne@69 339 #define DEF_MESSAGE_ASPECT "150"
jpayne@69 340 #define DEF_MESSAGE_BG_COLOR NORMAL_BG
jpayne@69 341 #define DEF_MESSAGE_BG_MONO WHITE
jpayne@69 342 #define DEF_MESSAGE_BORDER_WIDTH "1"
jpayne@69 343 #define DEF_MESSAGE_CURSOR ""
jpayne@69 344 #define DEF_MESSAGE_FG BLACK
jpayne@69 345 #define DEF_MESSAGE_FONT "TkDefaultFont"
jpayne@69 346 #define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG
jpayne@69 347 #define DEF_MESSAGE_HIGHLIGHT BLACK
jpayne@69 348 #define DEF_MESSAGE_HIGHLIGHT_WIDTH "0"
jpayne@69 349 #define DEF_MESSAGE_JUSTIFY "left"
jpayne@69 350 #define DEF_MESSAGE_PADX "-1"
jpayne@69 351 #define DEF_MESSAGE_PADY "-1"
jpayne@69 352 #define DEF_MESSAGE_RELIEF "flat"
jpayne@69 353 #define DEF_MESSAGE_TAKE_FOCUS "0"
jpayne@69 354 #define DEF_MESSAGE_TEXT ""
jpayne@69 355 #define DEF_MESSAGE_TEXT_VARIABLE ""
jpayne@69 356 #define DEF_MESSAGE_WIDTH "0"
jpayne@69 357
jpayne@69 358 /*
jpayne@69 359 * Defaults for panedwindows
jpayne@69 360 */
jpayne@69 361
jpayne@69 362 #define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG
jpayne@69 363 #define DEF_PANEDWINDOW_BG_MONO WHITE
jpayne@69 364 #define DEF_PANEDWINDOW_BORDERWIDTH "1"
jpayne@69 365 #define DEF_PANEDWINDOW_CURSOR ""
jpayne@69 366 #define DEF_PANEDWINDOW_HANDLEPAD "8"
jpayne@69 367 #define DEF_PANEDWINDOW_HANDLESIZE "8"
jpayne@69 368 #define DEF_PANEDWINDOW_HEIGHT ""
jpayne@69 369 #define DEF_PANEDWINDOW_OPAQUERESIZE "1"
jpayne@69 370 #define DEF_PANEDWINDOW_ORIENT "horizontal"
jpayne@69 371 #define DEF_PANEDWINDOW_PROXYBORDER "2"
jpayne@69 372 #define DEF_PANEDWINDOW_RELIEF "flat"
jpayne@69 373 #define DEF_PANEDWINDOW_SASHCURSOR ""
jpayne@69 374 #define DEF_PANEDWINDOW_SASHPAD "0"
jpayne@69 375 #define DEF_PANEDWINDOW_SASHRELIEF "flat"
jpayne@69 376 #define DEF_PANEDWINDOW_SASHWIDTH "3"
jpayne@69 377 #define DEF_PANEDWINDOW_SHOWHANDLE "0"
jpayne@69 378 #define DEF_PANEDWINDOW_WIDTH ""
jpayne@69 379
jpayne@69 380 /*
jpayne@69 381 * Defaults for panedwindow panes
jpayne@69 382 */
jpayne@69 383
jpayne@69 384 #define DEF_PANEDWINDOW_PANE_AFTER ""
jpayne@69 385 #define DEF_PANEDWINDOW_PANE_BEFORE ""
jpayne@69 386 #define DEF_PANEDWINDOW_PANE_HEIGHT ""
jpayne@69 387 #define DEF_PANEDWINDOW_PANE_MINSIZE "0"
jpayne@69 388 #define DEF_PANEDWINDOW_PANE_PADX "0"
jpayne@69 389 #define DEF_PANEDWINDOW_PANE_PADY "0"
jpayne@69 390 #define DEF_PANEDWINDOW_PANE_STICKY "nsew"
jpayne@69 391 #define DEF_PANEDWINDOW_PANE_WIDTH ""
jpayne@69 392 #define DEF_PANEDWINDOW_PANE_HIDE "0"
jpayne@69 393 #define DEF_PANEDWINDOW_PANE_STRETCH "last"
jpayne@69 394
jpayne@69 395 /*
jpayne@69 396 * Defaults for scales:
jpayne@69 397 */
jpayne@69 398
jpayne@69 399 #define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG
jpayne@69 400 #define DEF_SCALE_ACTIVE_BG_MONO BLACK
jpayne@69 401 #define DEF_SCALE_BG_COLOR NORMAL_BG
jpayne@69 402 #define DEF_SCALE_BG_MONO WHITE
jpayne@69 403 #define DEF_SCALE_BIG_INCREMENT "0"
jpayne@69 404 #define DEF_SCALE_BORDER_WIDTH "1"
jpayne@69 405 #define DEF_SCALE_COMMAND ""
jpayne@69 406 #define DEF_SCALE_CURSOR ""
jpayne@69 407 #define DEF_SCALE_DIGITS "0"
jpayne@69 408 #define DEF_SCALE_FONT "TkDefaultFont"
jpayne@69 409 #define DEF_SCALE_FG_COLOR BLACK
jpayne@69 410 #define DEF_SCALE_FG_MONO BLACK
jpayne@69 411 #define DEF_SCALE_FROM "0"
jpayne@69 412 #define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR
jpayne@69 413 #define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO
jpayne@69 414 #define DEF_SCALE_HIGHLIGHT BLACK
jpayne@69 415 #define DEF_SCALE_HIGHLIGHT_WIDTH "1"
jpayne@69 416 #define DEF_SCALE_LABEL ""
jpayne@69 417 #define DEF_SCALE_LENGTH "100"
jpayne@69 418 #define DEF_SCALE_ORIENT "vertical"
jpayne@69 419 #define DEF_SCALE_RELIEF "flat"
jpayne@69 420 #define DEF_SCALE_REPEAT_DELAY "300"
jpayne@69 421 #define DEF_SCALE_REPEAT_INTERVAL "100"
jpayne@69 422 #define DEF_SCALE_RESOLUTION "1"
jpayne@69 423 #define DEF_SCALE_TROUGH_COLOR TROUGH
jpayne@69 424 #define DEF_SCALE_TROUGH_MONO WHITE
jpayne@69 425 #define DEF_SCALE_SHOW_VALUE "1"
jpayne@69 426 #define DEF_SCALE_SLIDER_LENGTH "30"
jpayne@69 427 #define DEF_SCALE_SLIDER_RELIEF "raised"
jpayne@69 428 #define DEF_SCALE_STATE "normal"
jpayne@69 429 #define DEF_SCALE_TAKE_FOCUS ((char *) NULL)
jpayne@69 430 #define DEF_SCALE_TICK_INTERVAL "0"
jpayne@69 431 #define DEF_SCALE_TO "100"
jpayne@69 432 #define DEF_SCALE_VARIABLE ""
jpayne@69 433 #define DEF_SCALE_WIDTH "15"
jpayne@69 434
jpayne@69 435 /*
jpayne@69 436 * Defaults for scrollbars:
jpayne@69 437 */
jpayne@69 438
jpayne@69 439 #define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG
jpayne@69 440 #define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK
jpayne@69 441 #define DEF_SCROLLBAR_ACTIVE_RELIEF "raised"
jpayne@69 442 #define DEF_SCROLLBAR_BG_COLOR NORMAL_BG
jpayne@69 443 #define DEF_SCROLLBAR_BG_MONO WHITE
jpayne@69 444 #define DEF_SCROLLBAR_BORDER_WIDTH "1"
jpayne@69 445 #define DEF_SCROLLBAR_COMMAND ""
jpayne@69 446 #define DEF_SCROLLBAR_CURSOR ""
jpayne@69 447 #define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1"
jpayne@69 448 #define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG
jpayne@69 449 #define DEF_SCROLLBAR_HIGHLIGHT BLACK
jpayne@69 450 #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0"
jpayne@69 451 #define DEF_SCROLLBAR_JUMP "0"
jpayne@69 452 #define DEF_SCROLLBAR_ORIENT "vertical"
jpayne@69 453 #define DEF_SCROLLBAR_RELIEF "sunken"
jpayne@69 454 #define DEF_SCROLLBAR_REPEAT_DELAY "300"
jpayne@69 455 #define DEF_SCROLLBAR_REPEAT_INTERVAL "100"
jpayne@69 456 #define DEF_SCROLLBAR_TAKE_FOCUS ((char *) NULL)
jpayne@69 457 #define DEF_SCROLLBAR_TROUGH_COLOR TROUGH
jpayne@69 458 #define DEF_SCROLLBAR_TROUGH_MONO WHITE
jpayne@69 459 #define DEF_SCROLLBAR_WIDTH "11"
jpayne@69 460
jpayne@69 461 /*
jpayne@69 462 * Defaults for texts:
jpayne@69 463 */
jpayne@69 464
jpayne@69 465 #define DEF_TEXT_AUTO_SEPARATORS "1"
jpayne@69 466 #define DEF_TEXT_BG_COLOR WHITE
jpayne@69 467 #define DEF_TEXT_BG_MONO WHITE
jpayne@69 468 #define DEF_TEXT_BLOCK_CURSOR "0"
jpayne@69 469 #define DEF_TEXT_BORDER_WIDTH "1"
jpayne@69 470 #define DEF_TEXT_CURSOR "xterm"
jpayne@69 471 #define DEF_TEXT_FG BLACK
jpayne@69 472 #define DEF_TEXT_EXPORT_SELECTION "1"
jpayne@69 473 #define DEF_TEXT_FONT "TkFixedFont"
jpayne@69 474 #define DEF_TEXT_HEIGHT "24"
jpayne@69 475 #define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG
jpayne@69 476 #define DEF_TEXT_HIGHLIGHT BLACK
jpayne@69 477 #define DEF_TEXT_HIGHLIGHT_WIDTH "1"
jpayne@69 478 #define DEF_TEXT_INSERT_BG BLACK
jpayne@69 479 #define DEF_TEXT_INSERT_BD_COLOR "0"
jpayne@69 480 #define DEF_TEXT_INSERT_BD_MONO "0"
jpayne@69 481 #define DEF_TEXT_INSERT_OFF_TIME "300"
jpayne@69 482 #define DEF_TEXT_INSERT_ON_TIME "600"
jpayne@69 483 #define DEF_TEXT_INSERT_UNFOCUSSED "none"
jpayne@69 484 #define DEF_TEXT_INSERT_WIDTH "2"
jpayne@69 485 #define DEF_TEXT_MAX_UNDO "0"
jpayne@69 486 #define DEF_TEXT_PADX "1"
jpayne@69 487 #define DEF_TEXT_PADY "1"
jpayne@69 488 #define DEF_TEXT_RELIEF "sunken"
jpayne@69 489 #define DEF_TEXT_INACTIVE_SELECT_COLOR SELECT_BG
jpayne@69 490 #define DEF_TEXT_SELECT_COLOR SELECT_BG
jpayne@69 491 #define DEF_TEXT_SELECT_MONO BLACK
jpayne@69 492 #define DEF_TEXT_SELECT_BD_COLOR "0"
jpayne@69 493 #define DEF_TEXT_SELECT_BD_MONO "0"
jpayne@69 494 #define DEF_TEXT_SELECT_FG_COLOR BLACK
jpayne@69 495 #define DEF_TEXT_SELECT_FG_MONO WHITE
jpayne@69 496 #define DEF_TEXT_SELECT_RELIEF "raised"
jpayne@69 497 #define DEF_TEXT_SET_GRID "0"
jpayne@69 498 #define DEF_TEXT_SPACING1 "0"
jpayne@69 499 #define DEF_TEXT_SPACING2 "0"
jpayne@69 500 #define DEF_TEXT_SPACING3 "0"
jpayne@69 501 #define DEF_TEXT_STATE "normal"
jpayne@69 502 #define DEF_TEXT_TABS ""
jpayne@69 503 #define DEF_TEXT_TABSTYLE "tabular"
jpayne@69 504 #define DEF_TEXT_TAKE_FOCUS ((char *) NULL)
jpayne@69 505 #define DEF_TEXT_UNDO "0"
jpayne@69 506 #define DEF_TEXT_WIDTH "80"
jpayne@69 507 #define DEF_TEXT_WRAP "char"
jpayne@69 508 #define DEF_TEXT_XSCROLL_COMMAND ""
jpayne@69 509 #define DEF_TEXT_YSCROLL_COMMAND ""
jpayne@69 510
jpayne@69 511 /*
jpayne@69 512 * Defaults for canvas text:
jpayne@69 513 */
jpayne@69 514
jpayne@69 515 #define DEF_CANVTEXT_FONT "TkDefaultFont"
jpayne@69 516
jpayne@69 517 /*
jpayne@69 518 * Defaults for canvas items
jpayne@69 519 * (arcs, bitmaps, lines, polygons, rectangles, and ovals):
jpayne@69 520 */
jpayne@69 521
jpayne@69 522 #define DEF_CANVBMAP_FG BLACK
jpayne@69 523 #define DEF_CANVITEM_OUTLINE BLACK
jpayne@69 524
jpayne@69 525 /*
jpayne@69 526 * Defaults for toplevels (most of the defaults for frames also apply
jpayne@69 527 * to toplevels):
jpayne@69 528 */
jpayne@69 529
jpayne@69 530 #define DEF_TOPLEVEL_CLASS "Toplevel"
jpayne@69 531 #define DEF_TOPLEVEL_MENU ""
jpayne@69 532 #define DEF_TOPLEVEL_SCREEN ""
jpayne@69 533 #define DEF_TOPLEVEL_USE ""
jpayne@69 534
jpayne@69 535 /*
jpayne@69 536 * Defaults for busy windows:
jpayne@69 537 */
jpayne@69 538
jpayne@69 539 #define DEF_BUSY_CURSOR "watch"
jpayne@69 540
jpayne@69 541 #endif /* _TKUNIXDEFAULT */