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