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