Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-01-06 10:32:34

0001 /*
0002  * tkUnixDefault.h --
0003  *
0004  *  This file defines the defaults for all options for all of
0005  *  the Tk widgets.
0006  *
0007  * Copyright (c) 1991-1994 The Regents of the University of California.
0008  * Copyright (c) 1994-1997 Sun Microsystems, Inc.
0009  *
0010  * See the file "license.terms" for information on usage and redistribution
0011  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
0012  */
0013 
0014 #ifndef _TKUNIXDEFAULT
0015 #define _TKUNIXDEFAULT
0016 
0017 /*
0018  * The definitions below provide symbolic names for the default colors.
0019  * NORMAL_BG -      Normal background color.
0020  * ACTIVE_BG -      Background color when widget is active.
0021  * SELECT_BG -      Background color for selected text.
0022  * TROUGH -     Background color for troughs in scales and scrollbars.
0023  * INDICATOR -      Color for indicator when button is selected.
0024  * DISABLED -       Foreground color when widget is disabled.
0025  */
0026 
0027 #define BLACK       "#000000"
0028 #define WHITE       "#ffffff"
0029 
0030 #define NORMAL_BG   "#d9d9d9"
0031 #define ACTIVE_BG   "#ececec"
0032 #define SELECT_BG   "#c3c3c3"
0033 #define TROUGH      "#b3b3b3"
0034 #define INDICATOR   WHITE
0035 #define DISABLED    "#a3a3a3"
0036 
0037 /*
0038  * Defaults for labels, buttons, checkbuttons, and radiobuttons:
0039  */
0040 
0041 #define DEF_BUTTON_ANCHOR       "center"
0042 #define DEF_BUTTON_ACTIVE_BG_COLOR  ACTIVE_BG
0043 #define DEF_BUTTON_ACTIVE_BG_MONO   BLACK
0044 #define DEF_BUTTON_ACTIVE_FG_COLOR  BLACK
0045 #define DEF_CHKRAD_ACTIVE_FG_COLOR  DEF_BUTTON_ACTIVE_FG_COLOR
0046 #define DEF_BUTTON_ACTIVE_FG_MONO   WHITE
0047 #define DEF_BUTTON_BG_COLOR     NORMAL_BG
0048 #define DEF_BUTTON_BG_MONO      WHITE
0049 #define DEF_BUTTON_BITMAP       ""
0050 #define DEF_BUTTON_BORDER_WIDTH     "1"
0051 #define DEF_BUTTON_CURSOR       ""
0052 #define DEF_BUTTON_COMPOUND     "none"
0053 #define DEF_BUTTON_COMMAND      ""
0054 #define DEF_BUTTON_DEFAULT      "disabled"
0055 #define DEF_BUTTON_DISABLED_FG_COLOR    DISABLED
0056 #define DEF_BUTTON_DISABLED_FG_MONO ""
0057 #define DEF_LABEL_FG            BLACK
0058 #define DEF_BUTTON_FG           BLACK
0059 #define DEF_CHKRAD_FG           DEF_BUTTON_FG
0060 #define DEF_BUTTON_FONT         "TkDefaultFont"
0061 #define DEF_BUTTON_HEIGHT       "0"
0062 #define DEF_BUTTON_HIGHLIGHT_BG_COLOR   DEF_BUTTON_BG_COLOR
0063 #define DEF_BUTTON_HIGHLIGHT_BG_MONO    DEF_BUTTON_BG_MONO
0064 #define DEF_BUTTON_HIGHLIGHT        BLACK
0065 #define DEF_LABEL_HIGHLIGHT_WIDTH   "0"
0066 #define DEF_BUTTON_HIGHLIGHT_WIDTH  "1"
0067 #define DEF_BUTTON_IMAGE        ((char *) NULL)
0068 #define DEF_BUTTON_INDICATOR        "1"
0069 #define DEF_BUTTON_JUSTIFY      "center"
0070 #define DEF_BUTTON_OFF_VALUE        "0"
0071 #define DEF_BUTTON_ON_VALUE     "1"
0072 #define DEF_BUTTON_TRISTATE_VALUE   ""
0073 #define DEF_BUTTON_OVER_RELIEF      ""
0074 #define DEF_BUTTON_PADX         "3m"
0075 #define DEF_LABCHKRAD_PADX      "1"
0076 #define DEF_BUTTON_PADY         "1m"
0077 #define DEF_LABCHKRAD_PADY      "1"
0078 #define DEF_BUTTON_RELIEF       "raised"
0079 #define DEF_LABCHKRAD_RELIEF        "flat"
0080 #define DEF_BUTTON_REPEAT_DELAY     "0"
0081 #define DEF_BUTTON_REPEAT_INTERVAL  "0"
0082 #define DEF_BUTTON_SELECT_COLOR     INDICATOR
0083 #define DEF_BUTTON_SELECT_MONO      BLACK
0084 #define DEF_BUTTON_SELECT_IMAGE     ((char *) NULL)
0085 #define DEF_BUTTON_STATE        "normal"
0086 #define DEF_LABEL_TAKE_FOCUS        "0"
0087 #define DEF_BUTTON_TAKE_FOCUS       ((char *) NULL)
0088 #define DEF_BUTTON_TEXT         ""
0089 #define DEF_BUTTON_TEXT_VARIABLE    ""
0090 #define DEF_BUTTON_UNDERLINE        "-1"
0091 #define DEF_BUTTON_VALUE        ""
0092 #define DEF_BUTTON_WIDTH        "0"
0093 #define DEF_BUTTON_WRAP_LENGTH      "0"
0094 #define DEF_RADIOBUTTON_VARIABLE    "selectedButton"
0095 #define DEF_CHECKBUTTON_VARIABLE    ""
0096 
0097 /*
0098  * Defaults for canvases:
0099  */
0100 
0101 #define DEF_CANVAS_BG_COLOR     NORMAL_BG
0102 #define DEF_CANVAS_BG_MONO      WHITE
0103 #define DEF_CANVAS_BORDER_WIDTH     "0"
0104 #define DEF_CANVAS_CLOSE_ENOUGH     "1"
0105 #define DEF_CANVAS_CONFINE      "1"
0106 #define DEF_CANVAS_CURSOR       ""
0107 #define DEF_CANVAS_HEIGHT       "7c"
0108 #define DEF_CANVAS_HIGHLIGHT_BG     NORMAL_BG
0109 #define DEF_CANVAS_HIGHLIGHT        BLACK
0110 #define DEF_CANVAS_HIGHLIGHT_WIDTH  "1"
0111 #define DEF_CANVAS_INSERT_BG        BLACK
0112 #define DEF_CANVAS_INSERT_BD_COLOR  "0"
0113 #define DEF_CANVAS_INSERT_BD_MONO   "0"
0114 #define DEF_CANVAS_INSERT_OFF_TIME  "300"
0115 #define DEF_CANVAS_INSERT_ON_TIME   "600"
0116 #define DEF_CANVAS_INSERT_WIDTH     "2"
0117 #define DEF_CANVAS_RELIEF       "flat"
0118 #define DEF_CANVAS_SCROLL_REGION    ""
0119 #define DEF_CANVAS_SELECT_COLOR     SELECT_BG
0120 #define DEF_CANVAS_SELECT_MONO      BLACK
0121 #define DEF_CANVAS_SELECT_BD_COLOR  "1"
0122 #define DEF_CANVAS_SELECT_BD_MONO   "0"
0123 #define DEF_CANVAS_SELECT_FG_COLOR  BLACK
0124 #define DEF_CANVAS_SELECT_FG_MONO   WHITE
0125 #define DEF_CANVAS_TAKE_FOCUS       ((char *) NULL)
0126 #define DEF_CANVAS_WIDTH        "10c"
0127 #define DEF_CANVAS_X_SCROLL_CMD     ""
0128 #define DEF_CANVAS_X_SCROLL_INCREMENT   "0"
0129 #define DEF_CANVAS_Y_SCROLL_CMD     ""
0130 #define DEF_CANVAS_Y_SCROLL_INCREMENT   "0"
0131 
0132 /*
0133  * Defaults for entries:
0134  */
0135 
0136 #define DEF_ENTRY_BG_COLOR      WHITE
0137 #define DEF_ENTRY_BG_MONO       WHITE
0138 #define DEF_ENTRY_BORDER_WIDTH      "1"
0139 #define DEF_ENTRY_CURSOR        "xterm"
0140 #define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG
0141 #define DEF_ENTRY_DISABLED_BG_MONO  WHITE
0142 #define DEF_ENTRY_DISABLED_FG       DISABLED
0143 #define DEF_ENTRY_EXPORT_SELECTION  "1"
0144 #define DEF_ENTRY_FONT          "TkTextFont"
0145 #define DEF_ENTRY_FG            BLACK
0146 #define DEF_ENTRY_HIGHLIGHT_BG      NORMAL_BG
0147 #define DEF_ENTRY_HIGHLIGHT     BLACK
0148 #define DEF_ENTRY_HIGHLIGHT_WIDTH   "1"
0149 #define DEF_ENTRY_INSERT_BG     BLACK
0150 #define DEF_ENTRY_INSERT_BD_COLOR   "0"
0151 #define DEF_ENTRY_INSERT_BD_MONO    "0"
0152 #define DEF_ENTRY_INSERT_OFF_TIME   "300"
0153 #define DEF_ENTRY_INSERT_ON_TIME    "600"
0154 #define DEF_ENTRY_INSERT_WIDTH      "2"
0155 #define DEF_ENTRY_JUSTIFY       "left"
0156 #define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG
0157 #define DEF_ENTRY_READONLY_BG_MONO  WHITE
0158 #define DEF_ENTRY_RELIEF        "sunken"
0159 #define DEF_ENTRY_SCROLL_COMMAND    ""
0160 #define DEF_ENTRY_SELECT_COLOR      SELECT_BG
0161 #define DEF_ENTRY_SELECT_MONO       BLACK
0162 #define DEF_ENTRY_SELECT_BD_COLOR   "0"
0163 #define DEF_ENTRY_SELECT_BD_MONO    "0"
0164 #define DEF_ENTRY_SELECT_FG_COLOR   BLACK
0165 #define DEF_ENTRY_SELECT_FG_MONO    WHITE
0166 #define DEF_ENTRY_SHOW          ((char *) NULL)
0167 #define DEF_ENTRY_STATE         "normal"
0168 #define DEF_ENTRY_TAKE_FOCUS        ((char *) NULL)
0169 #define DEF_ENTRY_TEXT_VARIABLE     ""
0170 #define DEF_ENTRY_WIDTH         "20"
0171 
0172 /*
0173  * Defaults for frames:
0174  */
0175 
0176 #define DEF_FRAME_BG_COLOR      NORMAL_BG
0177 #define DEF_FRAME_BG_MONO       WHITE
0178 #define DEF_FRAME_BORDER_WIDTH      "0"
0179 #define DEF_FRAME_CLASS         "Frame"
0180 #define DEF_FRAME_COLORMAP      ""
0181 #define DEF_FRAME_CONTAINER     "0"
0182 #define DEF_FRAME_CURSOR        ""
0183 #define DEF_FRAME_HEIGHT        "0"
0184 #define DEF_FRAME_HIGHLIGHT_BG      NORMAL_BG
0185 #define DEF_FRAME_HIGHLIGHT     BLACK
0186 #define DEF_FRAME_HIGHLIGHT_WIDTH   "0"
0187 #define DEF_FRAME_LABEL         ""
0188 #define DEF_FRAME_PADX          "0"
0189 #define DEF_FRAME_PADY          "0"
0190 #define DEF_FRAME_RELIEF        "flat"
0191 #define DEF_FRAME_TAKE_FOCUS        "0"
0192 #define DEF_FRAME_VISUAL        ""
0193 #define DEF_FRAME_WIDTH         "0"
0194 
0195 /*
0196  * Defaults for labelframes:
0197  */
0198 
0199 #define DEF_LABELFRAME_BORDER_WIDTH "2"
0200 #define DEF_LABELFRAME_CLASS        "Labelframe"
0201 #define DEF_LABELFRAME_RELIEF       "groove"
0202 #define DEF_LABELFRAME_FG       BLACK
0203 #define DEF_LABELFRAME_FONT     "TkDefaultFont"
0204 #define DEF_LABELFRAME_TEXT     ""
0205 #define DEF_LABELFRAME_LABELANCHOR  "nw"
0206 
0207 /*
0208  * Defaults for listboxes:
0209  */
0210 
0211 #define DEF_LISTBOX_ACTIVE_STYLE    "dotbox"
0212 #define DEF_LISTBOX_BG_COLOR        WHITE
0213 #define DEF_LISTBOX_BG_MONO     WHITE
0214 #define DEF_LISTBOX_BORDER_WIDTH    "1"
0215 #define DEF_LISTBOX_CURSOR      ""
0216 #define DEF_LISTBOX_DISABLED_FG     DISABLED
0217 #define DEF_LISTBOX_EXPORT_SELECTION    "1"
0218 #define DEF_LISTBOX_FONT        "TkDefaultFont"
0219 #define DEF_LISTBOX_FG          BLACK
0220 #define DEF_LISTBOX_HEIGHT      "10"
0221 #define DEF_LISTBOX_HIGHLIGHT_BG    NORMAL_BG
0222 #define DEF_LISTBOX_HIGHLIGHT       BLACK
0223 #define DEF_LISTBOX_HIGHLIGHT_WIDTH "1"
0224 #define DEF_LISTBOX_JUSTIFY     "left"
0225 #define DEF_LISTBOX_RELIEF      "sunken"
0226 #define DEF_LISTBOX_SCROLL_COMMAND  ""
0227 #define DEF_LISTBOX_LIST_VARIABLE   ""
0228 #define DEF_LISTBOX_SELECT_COLOR    SELECT_BG
0229 #define DEF_LISTBOX_SELECT_MONO     BLACK
0230 #define DEF_LISTBOX_SELECT_BD       "0"
0231 #define DEF_LISTBOX_SELECT_FG_COLOR BLACK
0232 #define DEF_LISTBOX_SELECT_FG_MONO  WHITE
0233 #define DEF_LISTBOX_SELECT_MODE     "browse"
0234 #define DEF_LISTBOX_SET_GRID        "0"
0235 #define DEF_LISTBOX_STATE       "normal"
0236 #define DEF_LISTBOX_TAKE_FOCUS      ((char *) NULL)
0237 #define DEF_LISTBOX_WIDTH       "20"
0238 
0239 /*
0240  * Defaults for individual entries of menus:
0241  */
0242 
0243 #define DEF_MENU_ENTRY_ACTIVE_BG    ((char *) NULL)
0244 #define DEF_MENU_ENTRY_ACTIVE_FG    ((char *) NULL)
0245 #define DEF_MENU_ENTRY_ACCELERATOR  ((char *) NULL)
0246 #define DEF_MENU_ENTRY_BG       ((char *) NULL)
0247 #define DEF_MENU_ENTRY_BITMAP       NULL
0248 #define DEF_MENU_ENTRY_COLUMN_BREAK "0"
0249 #define DEF_MENU_ENTRY_COMMAND      ((char *) NULL)
0250 #define DEF_MENU_ENTRY_COMPOUND     "none"
0251 #define DEF_MENU_ENTRY_FG       ((char *) NULL)
0252 #define DEF_MENU_ENTRY_FONT     ((char *) NULL)
0253 #define DEF_MENU_ENTRY_HIDE_MARGIN  "0"
0254 #define DEF_MENU_ENTRY_IMAGE        ((char *) NULL)
0255 #define DEF_MENU_ENTRY_INDICATOR    "1"
0256 #define DEF_MENU_ENTRY_LABEL        ((char *) NULL)
0257 #define DEF_MENU_ENTRY_MENU     ((char *) NULL)
0258 #define DEF_MENU_ENTRY_OFF_VALUE    "0"
0259 #define DEF_MENU_ENTRY_ON_VALUE     "1"
0260 #define DEF_MENU_ENTRY_SELECT_IMAGE ((char *) NULL)
0261 #define DEF_MENU_ENTRY_STATE        "normal"
0262 #define DEF_MENU_ENTRY_VALUE        ((char *) NULL)
0263 #define DEF_MENU_ENTRY_CHECK_VARIABLE   ((char *) NULL)
0264 #define DEF_MENU_ENTRY_RADIO_VARIABLE   "selectedButton"
0265 #define DEF_MENU_ENTRY_SELECT       ((char *) NULL)
0266 #define DEF_MENU_ENTRY_UNDERLINE    "-1"
0267 
0268 /*
0269  * Defaults for menus overall:
0270  */
0271 
0272 #define DEF_MENU_ACTIVE_BG_COLOR    ACTIVE_BG
0273 #define DEF_MENU_ACTIVE_BG_MONO     BLACK
0274 #define DEF_MENU_ACTIVE_BORDER_WIDTH    "1"
0275 #define DEF_MENU_ACTIVE_FG_COLOR    BLACK
0276 #define DEF_MENU_ACTIVE_FG_MONO     WHITE
0277 #define DEF_MENU_BG_COLOR       NORMAL_BG
0278 #define DEF_MENU_BG_MONO        WHITE
0279 #define DEF_MENU_BORDER_WIDTH       "1"
0280 #define DEF_MENU_CURSOR         "arrow"
0281 #define DEF_MENU_DISABLED_FG_COLOR  DISABLED
0282 #define DEF_MENU_DISABLED_FG_MONO   ""
0283 #define DEF_MENU_FONT           "TkMenuFont"
0284 #define DEF_MENU_FG         BLACK
0285 #define DEF_MENU_POST_COMMAND       ""
0286 #define DEF_MENU_RELIEF         "raised"
0287 #define DEF_MENU_SELECT_COLOR       BLACK
0288 #define DEF_MENU_SELECT_MONO        BLACK
0289 #define DEF_MENU_TAKE_FOCUS     "0"
0290 #define DEF_MENU_TEAROFF        "1"
0291 #define DEF_MENU_TEAROFF_CMD        ((char *) NULL)
0292 #define DEF_MENU_TITLE          ""
0293 #define DEF_MENU_TYPE           "normal"
0294 
0295 /*
0296  * Defaults for menubuttons:
0297  */
0298 
0299 #define DEF_MENUBUTTON_ANCHOR       "center"
0300 #define DEF_MENUBUTTON_ACTIVE_BG_COLOR  ACTIVE_BG
0301 #define DEF_MENUBUTTON_ACTIVE_BG_MONO   BLACK
0302 #define DEF_MENUBUTTON_ACTIVE_FG_COLOR  BLACK
0303 #define DEF_MENUBUTTON_ACTIVE_FG_MONO   WHITE
0304 #define DEF_MENUBUTTON_BG_COLOR     NORMAL_BG
0305 #define DEF_MENUBUTTON_BG_MONO      WHITE
0306 #define DEF_MENUBUTTON_BITMAP       ""
0307 #define DEF_MENUBUTTON_BORDER_WIDTH "1"
0308 #define DEF_MENUBUTTON_CURSOR       ""
0309 #define DEF_MENUBUTTON_DIRECTION    "below"
0310 #define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED
0311 #define DEF_MENUBUTTON_DISABLED_FG_MONO ""
0312 #define DEF_MENUBUTTON_FONT     "TkDefaultFont"
0313 #define DEF_MENUBUTTON_FG       BLACK
0314 #define DEF_MENUBUTTON_HEIGHT       "0"
0315 #define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR
0316 #define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO  DEF_MENUBUTTON_BG_MONO
0317 #define DEF_MENUBUTTON_HIGHLIGHT    BLACK
0318 #define DEF_MENUBUTTON_HIGHLIGHT_WIDTH  "0"
0319 #define DEF_MENUBUTTON_IMAGE        ((char *) NULL)
0320 #define DEF_MENUBUTTON_INDICATOR    "0"
0321 #define DEF_MENUBUTTON_JUSTIFY      "center"
0322 #define DEF_MENUBUTTON_MENU     ""
0323 #define DEF_MENUBUTTON_PADX     "4p"
0324 #define DEF_MENUBUTTON_PADY     "3p"
0325 #define DEF_MENUBUTTON_RELIEF       "flat"
0326 #define DEF_MENUBUTTON_STATE        "normal"
0327 #define DEF_MENUBUTTON_TAKE_FOCUS   "0"
0328 #define DEF_MENUBUTTON_TEXT     ""
0329 #define DEF_MENUBUTTON_TEXT_VARIABLE    ""
0330 #define DEF_MENUBUTTON_UNDERLINE    "-1"
0331 #define DEF_MENUBUTTON_WIDTH        "0"
0332 #define DEF_MENUBUTTON_WRAP_LENGTH  "0"
0333 
0334 /*
0335  * Defaults for messages:
0336  */
0337 
0338 #define DEF_MESSAGE_ANCHOR      "center"
0339 #define DEF_MESSAGE_ASPECT      "150"
0340 #define DEF_MESSAGE_BG_COLOR        NORMAL_BG
0341 #define DEF_MESSAGE_BG_MONO     WHITE
0342 #define DEF_MESSAGE_BORDER_WIDTH    "1"
0343 #define DEF_MESSAGE_CURSOR      ""
0344 #define DEF_MESSAGE_FG          BLACK
0345 #define DEF_MESSAGE_FONT        "TkDefaultFont"
0346 #define DEF_MESSAGE_HIGHLIGHT_BG    NORMAL_BG
0347 #define DEF_MESSAGE_HIGHLIGHT       BLACK
0348 #define DEF_MESSAGE_HIGHLIGHT_WIDTH "0"
0349 #define DEF_MESSAGE_JUSTIFY     "left"
0350 #define DEF_MESSAGE_PADX        "-1"
0351 #define DEF_MESSAGE_PADY        "-1"
0352 #define DEF_MESSAGE_RELIEF      "flat"
0353 #define DEF_MESSAGE_TAKE_FOCUS      "0"
0354 #define DEF_MESSAGE_TEXT        ""
0355 #define DEF_MESSAGE_TEXT_VARIABLE   ""
0356 #define DEF_MESSAGE_WIDTH       "0"
0357 
0358 /*
0359  * Defaults for panedwindows
0360  */
0361 
0362 #define DEF_PANEDWINDOW_BG_COLOR    NORMAL_BG
0363 #define DEF_PANEDWINDOW_BG_MONO     WHITE
0364 #define DEF_PANEDWINDOW_BORDERWIDTH "1"
0365 #define DEF_PANEDWINDOW_CURSOR      ""
0366 #define DEF_PANEDWINDOW_HANDLEPAD   "8"
0367 #define DEF_PANEDWINDOW_HANDLESIZE  "8"
0368 #define DEF_PANEDWINDOW_HEIGHT      ""
0369 #define DEF_PANEDWINDOW_OPAQUERESIZE    "1"
0370 #define DEF_PANEDWINDOW_ORIENT      "horizontal"
0371 #define DEF_PANEDWINDOW_PROXYBORDER "2"
0372 #define DEF_PANEDWINDOW_RELIEF      "flat"
0373 #define DEF_PANEDWINDOW_SASHCURSOR  ""
0374 #define DEF_PANEDWINDOW_SASHPAD     "0"
0375 #define DEF_PANEDWINDOW_SASHRELIEF  "flat"
0376 #define DEF_PANEDWINDOW_SASHWIDTH   "3"
0377 #define DEF_PANEDWINDOW_SHOWHANDLE  "0"
0378 #define DEF_PANEDWINDOW_WIDTH       ""
0379 
0380 /*
0381  * Defaults for panedwindow panes
0382  */
0383 
0384 #define DEF_PANEDWINDOW_PANE_AFTER  ""
0385 #define DEF_PANEDWINDOW_PANE_BEFORE ""
0386 #define DEF_PANEDWINDOW_PANE_HEIGHT ""
0387 #define DEF_PANEDWINDOW_PANE_MINSIZE    "0"
0388 #define DEF_PANEDWINDOW_PANE_PADX   "0"
0389 #define DEF_PANEDWINDOW_PANE_PADY   "0"
0390 #define DEF_PANEDWINDOW_PANE_STICKY "nsew"
0391 #define DEF_PANEDWINDOW_PANE_WIDTH  ""
0392 #define DEF_PANEDWINDOW_PANE_HIDE   "0"
0393 #define DEF_PANEDWINDOW_PANE_STRETCH    "last"
0394 
0395 /*
0396  * Defaults for scales:
0397  */
0398 
0399 #define DEF_SCALE_ACTIVE_BG_COLOR   ACTIVE_BG
0400 #define DEF_SCALE_ACTIVE_BG_MONO    BLACK
0401 #define DEF_SCALE_BG_COLOR      NORMAL_BG
0402 #define DEF_SCALE_BG_MONO       WHITE
0403 #define DEF_SCALE_BIG_INCREMENT     "0"
0404 #define DEF_SCALE_BORDER_WIDTH      "1"
0405 #define DEF_SCALE_COMMAND       ""
0406 #define DEF_SCALE_CURSOR        ""
0407 #define DEF_SCALE_DIGITS        "0"
0408 #define DEF_SCALE_FONT          "TkDefaultFont"
0409 #define DEF_SCALE_FG_COLOR      BLACK
0410 #define DEF_SCALE_FG_MONO       BLACK
0411 #define DEF_SCALE_FROM          "0"
0412 #define DEF_SCALE_HIGHLIGHT_BG_COLOR    DEF_SCALE_BG_COLOR
0413 #define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO
0414 #define DEF_SCALE_HIGHLIGHT     BLACK
0415 #define DEF_SCALE_HIGHLIGHT_WIDTH   "1"
0416 #define DEF_SCALE_LABEL         ""
0417 #define DEF_SCALE_LENGTH        "100"
0418 #define DEF_SCALE_ORIENT        "vertical"
0419 #define DEF_SCALE_RELIEF        "flat"
0420 #define DEF_SCALE_REPEAT_DELAY      "300"
0421 #define DEF_SCALE_REPEAT_INTERVAL   "100"
0422 #define DEF_SCALE_RESOLUTION        "1"
0423 #define DEF_SCALE_TROUGH_COLOR      TROUGH
0424 #define DEF_SCALE_TROUGH_MONO       WHITE
0425 #define DEF_SCALE_SHOW_VALUE        "1"
0426 #define DEF_SCALE_SLIDER_LENGTH     "30"
0427 #define DEF_SCALE_SLIDER_RELIEF     "raised"
0428 #define DEF_SCALE_STATE         "normal"
0429 #define DEF_SCALE_TAKE_FOCUS        ((char *) NULL)
0430 #define DEF_SCALE_TICK_INTERVAL     "0"
0431 #define DEF_SCALE_TO            "100"
0432 #define DEF_SCALE_VARIABLE      ""
0433 #define DEF_SCALE_WIDTH         "15"
0434 
0435 /*
0436  * Defaults for scrollbars:
0437  */
0438 
0439 #define DEF_SCROLLBAR_ACTIVE_BG_COLOR   ACTIVE_BG
0440 #define DEF_SCROLLBAR_ACTIVE_BG_MONO    BLACK
0441 #define DEF_SCROLLBAR_ACTIVE_RELIEF "raised"
0442 #define DEF_SCROLLBAR_BG_COLOR      NORMAL_BG
0443 #define DEF_SCROLLBAR_BG_MONO       WHITE
0444 #define DEF_SCROLLBAR_BORDER_WIDTH  "1"
0445 #define DEF_SCROLLBAR_COMMAND       ""
0446 #define DEF_SCROLLBAR_CURSOR        ""
0447 #define DEF_SCROLLBAR_EL_BORDER_WIDTH   "-1"
0448 #define DEF_SCROLLBAR_HIGHLIGHT_BG  NORMAL_BG
0449 #define DEF_SCROLLBAR_HIGHLIGHT     BLACK
0450 #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH   "0"
0451 #define DEF_SCROLLBAR_JUMP      "0"
0452 #define DEF_SCROLLBAR_ORIENT        "vertical"
0453 #define DEF_SCROLLBAR_RELIEF        "sunken"
0454 #define DEF_SCROLLBAR_REPEAT_DELAY  "300"
0455 #define DEF_SCROLLBAR_REPEAT_INTERVAL   "100"
0456 #define DEF_SCROLLBAR_TAKE_FOCUS    ((char *) NULL)
0457 #define DEF_SCROLLBAR_TROUGH_COLOR  TROUGH
0458 #define DEF_SCROLLBAR_TROUGH_MONO   WHITE
0459 #define DEF_SCROLLBAR_WIDTH     "11"
0460 
0461 /*
0462  * Defaults for texts:
0463  */
0464 
0465 #define DEF_TEXT_AUTO_SEPARATORS    "1"
0466 #define DEF_TEXT_BG_COLOR       WHITE
0467 #define DEF_TEXT_BG_MONO        WHITE
0468 #define DEF_TEXT_BLOCK_CURSOR       "0"
0469 #define DEF_TEXT_BORDER_WIDTH       "1"
0470 #define DEF_TEXT_CURSOR         "xterm"
0471 #define DEF_TEXT_FG         BLACK
0472 #define DEF_TEXT_EXPORT_SELECTION   "1"
0473 #define DEF_TEXT_FONT           "TkFixedFont"
0474 #define DEF_TEXT_HEIGHT         "24"
0475 #define DEF_TEXT_HIGHLIGHT_BG       NORMAL_BG
0476 #define DEF_TEXT_HIGHLIGHT      BLACK
0477 #define DEF_TEXT_HIGHLIGHT_WIDTH    "1"
0478 #define DEF_TEXT_INSERT_BG      BLACK
0479 #define DEF_TEXT_INSERT_BD_COLOR    "0"
0480 #define DEF_TEXT_INSERT_BD_MONO     "0"
0481 #define DEF_TEXT_INSERT_OFF_TIME    "300"
0482 #define DEF_TEXT_INSERT_ON_TIME     "600"
0483 #define DEF_TEXT_INSERT_UNFOCUSSED  "none"
0484 #define DEF_TEXT_INSERT_WIDTH       "2"
0485 #define DEF_TEXT_MAX_UNDO       "0"
0486 #define DEF_TEXT_PADX           "1"
0487 #define DEF_TEXT_PADY           "1"
0488 #define DEF_TEXT_RELIEF         "sunken"
0489 #define DEF_TEXT_INACTIVE_SELECT_BG_COLOR   SELECT_BG
0490 #define DEF_TEXT_SELECT_COLOR       SELECT_BG
0491 #define DEF_TEXT_SELECT_MONO        BLACK
0492 #define DEF_TEXT_SELECT_BD_COLOR    "0"
0493 #define DEF_TEXT_SELECT_BD_MONO     "0"
0494 #define DEF_TEXT_SELECT_FG_COLOR    BLACK
0495 #define DEF_TEXT_SELECT_FG_MONO     WHITE
0496 #define DEF_TEXT_SELECT_RELIEF      "raised"
0497 #define DEF_TEXT_SET_GRID       "0"
0498 #define DEF_TEXT_SPACING1       "0"
0499 #define DEF_TEXT_SPACING2       "0"
0500 #define DEF_TEXT_SPACING3       "0"
0501 #define DEF_TEXT_STATE          "normal"
0502 #define DEF_TEXT_TABS           ""
0503 #define DEF_TEXT_TABSTYLE       "tabular"
0504 #define DEF_TEXT_TAKE_FOCUS     ((char *) NULL)
0505 #define DEF_TEXT_UNDO           "0"
0506 #define DEF_TEXT_WIDTH          "80"
0507 #define DEF_TEXT_WRAP           "char"
0508 #define DEF_TEXT_XSCROLL_COMMAND    ""
0509 #define DEF_TEXT_YSCROLL_COMMAND    ""
0510 
0511 /*
0512  * Defaults for canvas text:
0513  */
0514 
0515 #define DEF_CANVTEXT_FONT       "TkDefaultFont"
0516 
0517 /*
0518  * Defaults for canvas items
0519  * (arcs, bitmaps, lines, polygons, rectangles, and ovals):
0520  */
0521 
0522 #define DEF_CANVBMAP_FG         BLACK
0523 #define DEF_CANVITEM_OUTLINE        BLACK
0524 
0525 /*
0526  * Defaults for toplevels (most of the defaults for frames also apply
0527  * to toplevels):
0528  */
0529 
0530 #define DEF_TOPLEVEL_CLASS      "Toplevel"
0531 #define DEF_TOPLEVEL_MENU       ""
0532 #define DEF_TOPLEVEL_SCREEN     ""
0533 #define DEF_TOPLEVEL_USE        ""
0534 
0535 /*
0536  * Defaults for busy windows:
0537  */
0538 
0539 #define DEF_BUSY_CURSOR         "watch"
0540 
0541 #endif /* _TKUNIXDEFAULT */