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