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