1 |
578 |
markom |
/*
|
2 |
|
|
* tkMacDefault.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 |
|
|
* RCS: @(#) $Id: tkMacDefault.h,v 1.1.1.1 2002-01-16 10:25:55 markom Exp $
|
14 |
|
|
*/
|
15 |
|
|
|
16 |
|
|
#ifndef _TKMACDEFAULT
|
17 |
|
|
#define _TKMACDEFAULT
|
18 |
|
|
|
19 |
|
|
/*
|
20 |
|
|
* The definitions below provide symbolic names for the default colors.
|
21 |
|
|
* NORMAL_BG - Normal background color.
|
22 |
|
|
* ACTIVE_BG - Background color when widget is active.
|
23 |
|
|
* SELECT_BG - Background color for selected text.
|
24 |
|
|
* SELECT_FG - Foreground color for selected text.
|
25 |
|
|
* TROUGH - Background color for troughs in scales and scrollbars.
|
26 |
|
|
* INDICATOR - Color for indicator when button is selected.
|
27 |
|
|
* DISABLED - Foreground color when widget is disabled.
|
28 |
|
|
*/
|
29 |
|
|
|
30 |
|
|
#define BLACK "Black"
|
31 |
|
|
#define WHITE "White"
|
32 |
|
|
|
33 |
|
|
#define NORMAL_BG "systemWindowBody"
|
34 |
|
|
#define ACTIVE_BG "#ececec"
|
35 |
|
|
#define SELECT_BG "systemHighlight"
|
36 |
|
|
#define SELECT_FG "systemHighlightText"
|
37 |
|
|
#define TROUGH "#c3c3c3"
|
38 |
|
|
#define INDICATOR "#b03060"
|
39 |
|
|
#define DISABLED "#a3a3a3"
|
40 |
|
|
|
41 |
|
|
/*
|
42 |
|
|
* Defaults for labels, buttons, checkbuttons, and radiobuttons:
|
43 |
|
|
*/
|
44 |
|
|
|
45 |
|
|
#define DEF_BUTTON_ANCHOR "center"
|
46 |
|
|
#define DEF_BUTTON_ACTIVE_BG_COLOR "systemButtonText"
|
47 |
|
|
#define DEF_BUTTON_ACTIVE_BG_MONO BLACK
|
48 |
|
|
#define DEF_BUTTON_ACTIVE_FG_COLOR "systemButtonFace"
|
49 |
|
|
#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR
|
50 |
|
|
#define DEF_BUTTON_ACTIVE_FG_MONO WHITE
|
51 |
|
|
#define DEF_BUTTON_BG_COLOR "systemButtonFace"
|
52 |
|
|
#define DEF_BUTTON_BG_MONO WHITE
|
53 |
|
|
#define DEF_BUTTON_BITMAP ""
|
54 |
|
|
#define DEF_BUTTON_BORDER_WIDTH "2"
|
55 |
|
|
#define DEF_BUTTON_CURSOR ""
|
56 |
|
|
#define DEF_BUTTON_COMMAND ""
|
57 |
|
|
#define DEF_BUTTON_DEFAULT "disabled"
|
58 |
|
|
#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED
|
59 |
|
|
#define DEF_BUTTON_DISABLED_FG_MONO ""
|
60 |
|
|
#define DEF_BUTTON_FG "systemButtonText"
|
61 |
|
|
#define DEF_CHKRAD_FG DEF_BUTTON_FG
|
62 |
|
|
#define DEF_BUTTON_FONT "system"
|
63 |
|
|
#define DEF_BUTTON_HEIGHT "0"
|
64 |
|
|
#define DEF_BUTTON_HIGHLIGHT_BG NORMAL_BG
|
65 |
|
|
#define DEF_BUTTON_HIGHLIGHT "systemButtonFrame"
|
66 |
|
|
#define DEF_LABEL_HIGHLIGHT_WIDTH "0"
|
67 |
|
|
#define DEF_BUTTON_HIGHLIGHT_WIDTH "4"
|
68 |
|
|
#define DEF_BUTTON_IMAGE (char *) NULL
|
69 |
|
|
#define DEF_BUTTON_INDICATOR "1"
|
70 |
|
|
#define DEF_BUTTON_JUSTIFY "center"
|
71 |
|
|
#define DEF_BUTTON_OFF_VALUE "0"
|
72 |
|
|
#define DEF_BUTTON_ON_VALUE "1"
|
73 |
|
|
#define DEF_BUTTON_PADX "7"
|
74 |
|
|
#define DEF_LABCHKRAD_PADX "1"
|
75 |
|
|
#define DEF_BUTTON_PADY "3"
|
76 |
|
|
#define DEF_LABCHKRAD_PADY "1"
|
77 |
|
|
#define DEF_BUTTON_RELIEF "flat"
|
78 |
|
|
#define DEF_LABCHKRAD_RELIEF "flat"
|
79 |
|
|
#define DEF_BUTTON_SELECT_COLOR INDICATOR
|
80 |
|
|
#define DEF_BUTTON_SELECT_MONO BLACK
|
81 |
|
|
#define DEF_BUTTON_SELECT_IMAGE (char *) NULL
|
82 |
|
|
#define DEF_BUTTON_STATE "normal"
|
83 |
|
|
#define DEF_LABEL_TAKE_FOCUS "0"
|
84 |
|
|
#define DEF_BUTTON_TAKE_FOCUS (char *) NULL
|
85 |
|
|
#define DEF_BUTTON_TEXT ""
|
86 |
|
|
#define DEF_BUTTON_TEXT_VARIABLE ""
|
87 |
|
|
#define DEF_BUTTON_UNDERLINE "-1"
|
88 |
|
|
#define DEF_BUTTON_VALUE ""
|
89 |
|
|
#define DEF_BUTTON_WIDTH "0"
|
90 |
|
|
#define DEF_BUTTON_WRAP_LENGTH "0"
|
91 |
|
|
#define DEF_RADIOBUTTON_VARIABLE "selectedButton"
|
92 |
|
|
#define DEF_CHECKBUTTON_VARIABLE ""
|
93 |
|
|
|
94 |
|
|
/*
|
95 |
|
|
* Defaults for canvases:
|
96 |
|
|
*/
|
97 |
|
|
|
98 |
|
|
#define DEF_CANVAS_BG_COLOR NORMAL_BG
|
99 |
|
|
#define DEF_CANVAS_BG_MONO WHITE
|
100 |
|
|
#define DEF_CANVAS_BORDER_WIDTH "0"
|
101 |
|
|
#define DEF_CANVAS_CLOSE_ENOUGH "1"
|
102 |
|
|
#define DEF_CANVAS_CONFINE "1"
|
103 |
|
|
#define DEF_CANVAS_CURSOR ""
|
104 |
|
|
#define DEF_CANVAS_HEIGHT "7c"
|
105 |
|
|
#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG
|
106 |
|
|
#define DEF_CANVAS_HIGHLIGHT BLACK
|
107 |
|
|
#define DEF_CANVAS_HIGHLIGHT_WIDTH "3"
|
108 |
|
|
#define DEF_CANVAS_INSERT_BG BLACK
|
109 |
|
|
#define DEF_CANVAS_INSERT_BD_COLOR "0"
|
110 |
|
|
#define DEF_CANVAS_INSERT_BD_MONO "0"
|
111 |
|
|
#define DEF_CANVAS_INSERT_OFF_TIME "300"
|
112 |
|
|
#define DEF_CANVAS_INSERT_ON_TIME "600"
|
113 |
|
|
#define DEF_CANVAS_INSERT_WIDTH "2"
|
114 |
|
|
#define DEF_CANVAS_RELIEF "flat"
|
115 |
|
|
#define DEF_CANVAS_SCROLL_REGION ""
|
116 |
|
|
#define DEF_CANVAS_SELECT_COLOR SELECT_BG
|
117 |
|
|
#define DEF_CANVAS_SELECT_MONO BLACK
|
118 |
|
|
#define DEF_CANVAS_SELECT_BD_COLOR "1"
|
119 |
|
|
#define DEF_CANVAS_SELECT_BD_MONO "0"
|
120 |
|
|
#define DEF_CANVAS_SELECT_FG_COLOR BLACK
|
121 |
|
|
#define DEF_CANVAS_SELECT_FG_MONO WHITE
|
122 |
|
|
#define DEF_CANVAS_TAKE_FOCUS (char *) NULL
|
123 |
|
|
#define DEF_CANVAS_WIDTH "10c"
|
124 |
|
|
#define DEF_CANVAS_X_SCROLL_CMD ""
|
125 |
|
|
#define DEF_CANVAS_X_SCROLL_INCREMENT "0"
|
126 |
|
|
#define DEF_CANVAS_Y_SCROLL_CMD ""
|
127 |
|
|
#define DEF_CANVAS_Y_SCROLL_INCREMENT "0"
|
128 |
|
|
|
129 |
|
|
/*
|
130 |
|
|
* Defaults for entries:
|
131 |
|
|
*/
|
132 |
|
|
|
133 |
|
|
#define DEF_ENTRY_BG_COLOR NORMAL_BG
|
134 |
|
|
#define DEF_ENTRY_BG_MONO WHITE
|
135 |
|
|
/* #define DEF_ENTRY_BORDER_WIDTH "2" */
|
136 |
|
|
#define DEF_ENTRY_BORDER_WIDTH "1"
|
137 |
|
|
#define DEF_ENTRY_CURSOR "xterm"
|
138 |
|
|
#define DEF_ENTRY_EXPORT_SELECTION "1"
|
139 |
|
|
#define DEF_ENTRY_FONT "Helvetica 12"
|
140 |
|
|
#define DEF_ENTRY_FG BLACK
|
141 |
|
|
#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG
|
142 |
|
|
#define DEF_ENTRY_HIGHLIGHT BLACK
|
143 |
|
|
/* #define DEF_ENTRY_HIGHLIGHT_WIDTH "3" */
|
144 |
|
|
#define DEF_ENTRY_HIGHLIGHT_WIDTH "0"
|
145 |
|
|
#define DEF_ENTRY_INSERT_BG BLACK
|
146 |
|
|
#define DEF_ENTRY_INSERT_BD_COLOR "0"
|
147 |
|
|
#define DEF_ENTRY_INSERT_BD_MONO "0"
|
148 |
|
|
#define DEF_ENTRY_INSERT_OFF_TIME "300"
|
149 |
|
|
#define DEF_ENTRY_INSERT_ON_TIME "600"
|
150 |
|
|
/* #define DEF_ENTRY_INSERT_WIDTH "2" */
|
151 |
|
|
#define DEF_ENTRY_INSERT_WIDTH "1"
|
152 |
|
|
#define DEF_ENTRY_JUSTIFY "left"
|
153 |
|
|
/* #define DEF_ENTRY_RELIEF "sunken" */
|
154 |
|
|
#define DEF_ENTRY_RELIEF "solid"
|
155 |
|
|
#define DEF_ENTRY_SCROLL_COMMAND ""
|
156 |
|
|
#define DEF_ENTRY_SELECT_COLOR SELECT_BG
|
157 |
|
|
#define DEF_ENTRY_SELECT_MONO BLACK
|
158 |
|
|
#define DEF_ENTRY_SELECT_BD_COLOR "1"
|
159 |
|
|
#define DEF_ENTRY_SELECT_BD_MONO "0"
|
160 |
|
|
#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG
|
161 |
|
|
#define DEF_ENTRY_SELECT_FG_MONO WHITE
|
162 |
|
|
#define DEF_ENTRY_SHOW (char *) NULL
|
163 |
|
|
#define DEF_ENTRY_STATE "normal"
|
164 |
|
|
#define DEF_ENTRY_TAKE_FOCUS (char *) NULL
|
165 |
|
|
#define DEF_ENTRY_TEXT_VARIABLE ""
|
166 |
|
|
#define DEF_ENTRY_WIDTH "20"
|
167 |
|
|
|
168 |
|
|
/*
|
169 |
|
|
* Defaults for frames:
|
170 |
|
|
*/
|
171 |
|
|
|
172 |
|
|
#define DEF_FRAME_BG_COLOR NORMAL_BG
|
173 |
|
|
#define DEF_FRAME_BG_MONO WHITE
|
174 |
|
|
#define DEF_FRAME_BORDER_WIDTH "0"
|
175 |
|
|
#define DEF_FRAME_CLASS "Frame"
|
176 |
|
|
#define DEF_FRAME_COLORMAP ""
|
177 |
|
|
#define DEF_FRAME_CONTAINER "0"
|
178 |
|
|
#define DEF_FRAME_CURSOR ""
|
179 |
|
|
#define DEF_FRAME_HEIGHT "0"
|
180 |
|
|
#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG
|
181 |
|
|
#define DEF_FRAME_HIGHLIGHT BLACK
|
182 |
|
|
#define DEF_FRAME_HIGHLIGHT_WIDTH "0"
|
183 |
|
|
#define DEF_FRAME_RELIEF "flat"
|
184 |
|
|
#define DEF_FRAME_TAKE_FOCUS "0"
|
185 |
|
|
#define DEF_FRAME_USE ""
|
186 |
|
|
#define DEF_FRAME_VISUAL ""
|
187 |
|
|
#define DEF_FRAME_WIDTH "0"
|
188 |
|
|
|
189 |
|
|
/*
|
190 |
|
|
* Defaults for listboxes:
|
191 |
|
|
*/
|
192 |
|
|
|
193 |
|
|
#define DEF_LISTBOX_BG_COLOR NORMAL_BG
|
194 |
|
|
#define DEF_LISTBOX_BG_MONO WHITE
|
195 |
|
|
#define DEF_LISTBOX_BORDER_WIDTH "1"
|
196 |
|
|
#define DEF_LISTBOX_CURSOR ""
|
197 |
|
|
#define DEF_LISTBOX_EXPORT_SELECTION "1"
|
198 |
|
|
#define DEF_LISTBOX_FONT "application"
|
199 |
|
|
#define DEF_LISTBOX_FG BLACK
|
200 |
|
|
#define DEF_LISTBOX_HEIGHT "10"
|
201 |
|
|
#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG
|
202 |
|
|
#define DEF_LISTBOX_HIGHLIGHT BLACK
|
203 |
|
|
#define DEF_LISTBOX_HIGHLIGHT_WIDTH "0"
|
204 |
|
|
#define DEF_LISTBOX_RELIEF "solid"
|
205 |
|
|
#define DEF_LISTBOX_SCROLL_COMMAND ""
|
206 |
|
|
#define DEF_LISTBOX_SELECT_COLOR SELECT_BG
|
207 |
|
|
#define DEF_LISTBOX_SELECT_MONO BLACK
|
208 |
|
|
#define DEF_LISTBOX_SELECT_BD "0"
|
209 |
|
|
#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG
|
210 |
|
|
#define DEF_LISTBOX_SELECT_FG_MONO WHITE
|
211 |
|
|
#define DEF_LISTBOX_SELECT_MODE "browse"
|
212 |
|
|
#define DEF_LISTBOX_SET_GRID "0"
|
213 |
|
|
#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL
|
214 |
|
|
#define DEF_LISTBOX_WIDTH "20"
|
215 |
|
|
|
216 |
|
|
/*
|
217 |
|
|
* Defaults for individual entries of menus:
|
218 |
|
|
*/
|
219 |
|
|
|
220 |
|
|
#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL
|
221 |
|
|
#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL
|
222 |
|
|
#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL
|
223 |
|
|
#define DEF_MENU_ENTRY_BG (char *) NULL
|
224 |
|
|
#define DEF_MENU_ENTRY_BITMAP None
|
225 |
|
|
#define DEF_MENU_ENTRY_COLUMN_BREAK "0"
|
226 |
|
|
#define DEF_MENU_ENTRY_COMMAND (char *) NULL
|
227 |
|
|
#define DEF_MENU_ENTRY_FG (char *) NULL
|
228 |
|
|
#define DEF_MENU_ENTRY_FONT (char *) NULL
|
229 |
|
|
#define DEF_MENU_ENTRY_HIDE_MARGIN "0"
|
230 |
|
|
#define DEF_MENU_ENTRY_IMAGE (char *) NULL
|
231 |
|
|
#define DEF_MENU_ENTRY_INDICATOR "1"
|
232 |
|
|
#define DEF_MENU_ENTRY_LABEL (char *) NULL
|
233 |
|
|
#define DEF_MENU_ENTRY_MENU (char *) NULL
|
234 |
|
|
#define DEF_MENU_ENTRY_OFF_VALUE "0"
|
235 |
|
|
#define DEF_MENU_ENTRY_ON_VALUE "1"
|
236 |
|
|
#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL
|
237 |
|
|
#define DEF_MENU_ENTRY_STATE "normal"
|
238 |
|
|
#define DEF_MENU_ENTRY_VALUE (char *) NULL
|
239 |
|
|
#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL
|
240 |
|
|
#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton"
|
241 |
|
|
#define DEF_MENU_ENTRY_SELECT (char *) NULL
|
242 |
|
|
#define DEF_MENU_ENTRY_UNDERLINE "-1"
|
243 |
|
|
|
244 |
|
|
/*
|
245 |
|
|
* Defaults for menus overall:
|
246 |
|
|
*/
|
247 |
|
|
|
248 |
|
|
#define DEF_MENU_ACTIVE_BG_COLOR "SystemMenuActive"
|
249 |
|
|
#define DEF_MENU_ACTIVE_BG_MONO BLACK
|
250 |
|
|
#define DEF_MENU_ACTIVE_BORDER_WIDTH "0"
|
251 |
|
|
#define DEF_MENU_ACTIVE_FG_COLOR "SystemMenuActiveText"
|
252 |
|
|
#define DEF_MENU_ACTIVE_FG_MONO WHITE
|
253 |
|
|
#define DEF_MENU_BG_COLOR "SystemMenu"
|
254 |
|
|
#define DEF_MENU_BG_MONO WHITE
|
255 |
|
|
#define DEF_MENU_BORDER_WIDTH "0"
|
256 |
|
|
#define DEF_MENU_CURSOR "arrow"
|
257 |
|
|
#define DEF_MENU_DISABLED_FG_COLOR "SystemMenuDisabled"
|
258 |
|
|
#define DEF_MENU_DISABLED_FG_MONO ""
|
259 |
|
|
#define DEF_MENU_FONT "system"
|
260 |
|
|
#define DEF_MENU_FG "SystemMenuText"
|
261 |
|
|
#define DEF_MENU_POST_COMMAND ""
|
262 |
|
|
#define DEF_MENU_RELIEF "flat"
|
263 |
|
|
#define DEF_MENU_SELECT_COLOR "SystemMenuActive"
|
264 |
|
|
#define DEF_MENU_SELECT_MONO BLACK
|
265 |
|
|
#define DEF_MENU_TAKE_FOCUS "0"
|
266 |
|
|
#define DEF_MENU_TEAROFF "1"
|
267 |
|
|
#define DEF_MENU_TEAROFF_CMD (char *) NULL
|
268 |
|
|
#define DEF_MENU_TITLE ""
|
269 |
|
|
#define DEF_MENU_TYPE "normal"
|
270 |
|
|
|
271 |
|
|
/*
|
272 |
|
|
* Defaults for menubuttons:
|
273 |
|
|
*/
|
274 |
|
|
|
275 |
|
|
#define DEF_MENUBUTTON_ANCHOR "center"
|
276 |
|
|
#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG
|
277 |
|
|
#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK
|
278 |
|
|
#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK
|
279 |
|
|
#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE
|
280 |
|
|
#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG
|
281 |
|
|
#define DEF_MENUBUTTON_BG_MONO WHITE
|
282 |
|
|
#define DEF_MENUBUTTON_BITMAP ""
|
283 |
|
|
#define DEF_MENUBUTTON_BORDER_WIDTH "2"
|
284 |
|
|
#define DEF_MENUBUTTON_CURSOR ""
|
285 |
|
|
#define DEF_MENUBUTTON_DIRECTION "below"
|
286 |
|
|
#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED
|
287 |
|
|
#define DEF_MENUBUTTON_DISABLED_FG_MONO ""
|
288 |
|
|
#define DEF_MENUBUTTON_FONT "system"
|
289 |
|
|
#define DEF_MENUBUTTON_FG BLACK
|
290 |
|
|
#define DEF_MENUBUTTON_HEIGHT "0"
|
291 |
|
|
#define DEF_MENUBUTTON_HIGHLIGHT_BG NORMAL_BG
|
292 |
|
|
#define DEF_MENUBUTTON_HIGHLIGHT BLACK
|
293 |
|
|
#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0"
|
294 |
|
|
#define DEF_MENUBUTTON_IMAGE (char *) NULL
|
295 |
|
|
#define DEF_MENUBUTTON_INDICATOR "0"
|
296 |
|
|
/* #define DEF_MENUBUTTON_JUSTIFY "center" */
|
297 |
|
|
#define DEF_MENUBUTTON_JUSTIFY "left"
|
298 |
|
|
#define DEF_MENUBUTTON_MENU ""
|
299 |
|
|
#define DEF_MENUBUTTON_PADX "4p"
|
300 |
|
|
#define DEF_MENUBUTTON_PADY "3p"
|
301 |
|
|
#define DEF_MENUBUTTON_RELIEF "flat"
|
302 |
|
|
#define DEF_MENUBUTTON_STATE "normal"
|
303 |
|
|
#define DEF_MENUBUTTON_TAKE_FOCUS "0"
|
304 |
|
|
#define DEF_MENUBUTTON_TEXT ""
|
305 |
|
|
#define DEF_MENUBUTTON_TEXT_VARIABLE ""
|
306 |
|
|
#define DEF_MENUBUTTON_UNDERLINE "-1"
|
307 |
|
|
#define DEF_MENUBUTTON_WIDTH "0"
|
308 |
|
|
#define DEF_MENUBUTTON_WRAP_LENGTH "0"
|
309 |
|
|
|
310 |
|
|
/*
|
311 |
|
|
* Defaults for messages:
|
312 |
|
|
*/
|
313 |
|
|
|
314 |
|
|
#define DEF_MESSAGE_ANCHOR "center"
|
315 |
|
|
#define DEF_MESSAGE_ASPECT "150"
|
316 |
|
|
#define DEF_MESSAGE_BG_COLOR NORMAL_BG
|
317 |
|
|
#define DEF_MESSAGE_BG_MONO WHITE
|
318 |
|
|
#define DEF_MESSAGE_BORDER_WIDTH "2"
|
319 |
|
|
#define DEF_MESSAGE_CURSOR ""
|
320 |
|
|
#define DEF_MESSAGE_FG BLACK
|
321 |
|
|
#define DEF_MESSAGE_FONT "system"
|
322 |
|
|
#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG
|
323 |
|
|
#define DEF_MESSAGE_HIGHLIGHT BLACK
|
324 |
|
|
#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0"
|
325 |
|
|
#define DEF_MESSAGE_JUSTIFY "left"
|
326 |
|
|
#define DEF_MESSAGE_PADX "-1"
|
327 |
|
|
#define DEF_MESSAGE_PADY "-1"
|
328 |
|
|
#define DEF_MESSAGE_RELIEF "flat"
|
329 |
|
|
#define DEF_MESSAGE_TAKE_FOCUS "0"
|
330 |
|
|
#define DEF_MESSAGE_TEXT ""
|
331 |
|
|
#define DEF_MESSAGE_TEXT_VARIABLE ""
|
332 |
|
|
#define DEF_MESSAGE_WIDTH "0"
|
333 |
|
|
|
334 |
|
|
/*
|
335 |
|
|
* Defaults for scales:
|
336 |
|
|
*/
|
337 |
|
|
|
338 |
|
|
#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG
|
339 |
|
|
#define DEF_SCALE_ACTIVE_BG_MONO BLACK
|
340 |
|
|
#define DEF_SCALE_BG_COLOR NORMAL_BG
|
341 |
|
|
#define DEF_SCALE_BG_MONO WHITE
|
342 |
|
|
#define DEF_SCALE_BIG_INCREMENT "0"
|
343 |
|
|
#define DEF_SCALE_BORDER_WIDTH "2"
|
344 |
|
|
#define DEF_SCALE_COMMAND ""
|
345 |
|
|
#define DEF_SCALE_CURSOR ""
|
346 |
|
|
#define DEF_SCALE_DIGITS "0"
|
347 |
|
|
#define DEF_SCALE_FONT "system"
|
348 |
|
|
#define DEF_SCALE_FG_COLOR BLACK
|
349 |
|
|
#define DEF_SCALE_FG_MONO BLACK
|
350 |
|
|
#define DEF_SCALE_FROM "0"
|
351 |
|
|
#define DEF_SCALE_HIGHLIGHT_BG NORMAL_BG
|
352 |
|
|
#define DEF_SCALE_HIGHLIGHT BLACK
|
353 |
|
|
#define DEF_SCALE_HIGHLIGHT_WIDTH "0"
|
354 |
|
|
#define DEF_SCALE_LABEL ""
|
355 |
|
|
#define DEF_SCALE_LENGTH "100"
|
356 |
|
|
#define DEF_SCALE_ORIENT "vertical"
|
357 |
|
|
#define DEF_SCALE_RELIEF "flat"
|
358 |
|
|
#define DEF_SCALE_REPEAT_DELAY "300"
|
359 |
|
|
#define DEF_SCALE_REPEAT_INTERVAL "100"
|
360 |
|
|
#define DEF_SCALE_RESOLUTION "1"
|
361 |
|
|
#define DEF_SCALE_TROUGH_COLOR TROUGH
|
362 |
|
|
#define DEF_SCALE_TROUGH_MONO WHITE
|
363 |
|
|
#define DEF_SCALE_SHOW_VALUE "1"
|
364 |
|
|
#define DEF_SCALE_SLIDER_LENGTH "30"
|
365 |
|
|
#define DEF_SCALE_SLIDER_RELIEF "raised"
|
366 |
|
|
#define DEF_SCALE_STATE "normal"
|
367 |
|
|
#define DEF_SCALE_TAKE_FOCUS (char *) NULL
|
368 |
|
|
#define DEF_SCALE_TICK_INTERVAL "0"
|
369 |
|
|
#define DEF_SCALE_TO "100"
|
370 |
|
|
#define DEF_SCALE_VARIABLE ""
|
371 |
|
|
#define DEF_SCALE_WIDTH "15"
|
372 |
|
|
|
373 |
|
|
/*
|
374 |
|
|
* Defaults for scrollbars:
|
375 |
|
|
*/
|
376 |
|
|
|
377 |
|
|
#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG
|
378 |
|
|
#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK
|
379 |
|
|
#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised"
|
380 |
|
|
#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG
|
381 |
|
|
#define DEF_SCROLLBAR_BG_MONO WHITE
|
382 |
|
|
/* #define DEF_SCROLLBAR_BORDER_WIDTH "2" */
|
383 |
|
|
#define DEF_SCROLLBAR_BORDER_WIDTH "0"
|
384 |
|
|
#define DEF_SCROLLBAR_COMMAND ""
|
385 |
|
|
#define DEF_SCROLLBAR_CURSOR ""
|
386 |
|
|
#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1"
|
387 |
|
|
#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG
|
388 |
|
|
#define DEF_SCROLLBAR_HIGHLIGHT BLACK
|
389 |
|
|
/* #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "2" */
|
390 |
|
|
#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0"
|
391 |
|
|
#define DEF_SCROLLBAR_JUMP "0"
|
392 |
|
|
#define DEF_SCROLLBAR_ORIENT "vertical"
|
393 |
|
|
/*#define DEF_SCROLLBAR_RELIEF "sunken" */
|
394 |
|
|
#define DEF_SCROLLBAR_RELIEF "flat"
|
395 |
|
|
#define DEF_SCROLLBAR_REPEAT_DELAY "300"
|
396 |
|
|
#define DEF_SCROLLBAR_REPEAT_INTERVAL "100"
|
397 |
|
|
#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL
|
398 |
|
|
#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH
|
399 |
|
|
#define DEF_SCROLLBAR_TROUGH_MONO WHITE
|
400 |
|
|
/*#define DEF_SCROLLBAR_WIDTH "15" */
|
401 |
|
|
#define DEF_SCROLLBAR_WIDTH "16"
|
402 |
|
|
|
403 |
|
|
/*
|
404 |
|
|
* Defaults for texts:
|
405 |
|
|
*/
|
406 |
|
|
|
407 |
|
|
#define DEF_TEXT_BG_COLOR NORMAL_BG
|
408 |
|
|
#define DEF_TEXT_BG_MONO WHITE
|
409 |
|
|
#define DEF_TEXT_BORDER_WIDTH "0"
|
410 |
|
|
#define DEF_TEXT_CURSOR "xterm"
|
411 |
|
|
#define DEF_TEXT_FG BLACK
|
412 |
|
|
#define DEF_TEXT_EXPORT_SELECTION "1"
|
413 |
|
|
#define DEF_TEXT_FONT "Courier 12"
|
414 |
|
|
#define DEF_TEXT_HEIGHT "24"
|
415 |
|
|
#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG
|
416 |
|
|
#define DEF_TEXT_HIGHLIGHT BLACK
|
417 |
|
|
#define DEF_TEXT_HIGHLIGHT_WIDTH "3"
|
418 |
|
|
#define DEF_TEXT_INSERT_BG BLACK
|
419 |
|
|
#define DEF_TEXT_INSERT_BD_COLOR "0"
|
420 |
|
|
#define DEF_TEXT_INSERT_BD_MONO "0"
|
421 |
|
|
#define DEF_TEXT_INSERT_OFF_TIME "300"
|
422 |
|
|
#define DEF_TEXT_INSERT_ON_TIME "600"
|
423 |
|
|
#define DEF_TEXT_INSERT_WIDTH "1"
|
424 |
|
|
#define DEF_TEXT_PADX "1"
|
425 |
|
|
#define DEF_TEXT_PADY "1"
|
426 |
|
|
#define DEF_TEXT_RELIEF "flat"
|
427 |
|
|
#define DEF_TEXT_SELECT_COLOR SELECT_BG
|
428 |
|
|
#define DEF_TEXT_SELECT_MONO BLACK
|
429 |
|
|
#define DEF_TEXT_SELECT_BD_COLOR "1"
|
430 |
|
|
#define DEF_TEXT_SELECT_BD_MONO "0"
|
431 |
|
|
#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG
|
432 |
|
|
#define DEF_TEXT_SELECT_FG_MONO WHITE
|
433 |
|
|
#define DEF_TEXT_SELECT_RELIEF "solid"
|
434 |
|
|
#define DEF_TEXT_SET_GRID "0"
|
435 |
|
|
#define DEF_TEXT_SPACING1 "0"
|
436 |
|
|
#define DEF_TEXT_SPACING2 "0"
|
437 |
|
|
#define DEF_TEXT_SPACING3 "0"
|
438 |
|
|
#define DEF_TEXT_STATE "normal"
|
439 |
|
|
#define DEF_TEXT_TABS ""
|
440 |
|
|
#define DEF_TEXT_TAKE_FOCUS (char *) NULL
|
441 |
|
|
#define DEF_TEXT_WIDTH "80"
|
442 |
|
|
#define DEF_TEXT_WRAP "char"
|
443 |
|
|
#define DEF_TEXT_XSCROLL_COMMAND ""
|
444 |
|
|
#define DEF_TEXT_YSCROLL_COMMAND ""
|
445 |
|
|
#define DEF_TEXT_TAB_SIZE "8"
|
446 |
|
|
|
447 |
|
|
/*
|
448 |
|
|
* Defaults for canvas text:
|
449 |
|
|
*/
|
450 |
|
|
|
451 |
|
|
#define DEF_CANVTEXT_FONT "Helvetica 12"
|
452 |
|
|
|
453 |
|
|
/*
|
454 |
|
|
* Defaults for toplevels (most of the defaults for frames also apply
|
455 |
|
|
* to toplevels):
|
456 |
|
|
*/
|
457 |
|
|
|
458 |
|
|
#define DEF_TOPLEVEL_CLASS "Toplevel"
|
459 |
|
|
#define DEF_TOPLEVEL_MENU ""
|
460 |
|
|
#define DEF_TOPLEVEL_SCREEN ""
|
461 |
|
|
|
462 |
|
|
#endif /* _TKMACDEFAULT */
|