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