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