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