~ubuntu-branches/ubuntu/karmic/paraview/karmic

« back to all changes in this revision

Viewing changes to VTK/Utilities/TclTk/internals/tk8.4/tkUnixDefault.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2008-06-15 22:04:41 UTC
  • Revision ID: james.westby@ubuntu.com-20080615220441-8us51vf6ra2umcov
Tags: upstream-3.2.2
ImportĀ upstreamĀ versionĀ 3.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.1 2007/01/11 00:52:51 barre 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_COMPOUND    "none"
 
55
#define DEF_BUTTON_COMMAND    ""
 
56
#define DEF_BUTTON_DEFAULT    "disabled"
 
57
#define DEF_BUTTON_DISABLED_FG_COLOR  DISABLED
 
58
#define DEF_BUTTON_DISABLED_FG_MONO  ""
 
59
#define DEF_BUTTON_FG      BLACK
 
60
#define DEF_CHKRAD_FG      DEF_BUTTON_FG
 
61
#define DEF_BUTTON_FONT      "Helvetica -12 bold"
 
62
#define DEF_BUTTON_HEIGHT    "0"
 
63
#define DEF_BUTTON_HIGHLIGHT_BG_COLOR  DEF_BUTTON_BG_COLOR
 
64
#define DEF_BUTTON_HIGHLIGHT_BG_MONO  DEF_BUTTON_BG_MONO
 
65
#define DEF_BUTTON_HIGHLIGHT    BLACK
 
66
#define DEF_LABEL_HIGHLIGHT_WIDTH  "0"
 
67
#define DEF_BUTTON_HIGHLIGHT_WIDTH  "1"
 
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_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    NORMAL_BG
 
137
#define DEF_ENTRY_BG_MONO    WHITE
 
138
#define DEF_ENTRY_BORDER_WIDTH    "2"
 
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      "Helvetica -12"
 
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  "1"
 
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    "Helvetica -12 bold"
 
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  "underline"
 
212
#define DEF_LISTBOX_BG_COLOR    NORMAL_BG
 
213
#define DEF_LISTBOX_BG_MONO    WHITE
 
214
#define DEF_LISTBOX_BORDER_WIDTH  "2"
 
215
#define DEF_LISTBOX_CURSOR    ""
 
216
#define DEF_LISTBOX_DISABLED_FG    DISABLED
 
217
#define DEF_LISTBOX_EXPORT_SELECTION  "1"
 
218
#define DEF_LISTBOX_FONT    "Helvetica -12 bold"
 
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_RELIEF    "sunken"
 
225
#define DEF_LISTBOX_SCROLL_COMMAND  ""
 
226
#define DEF_LISTBOX_LIST_VARIABLE  ""
 
227
#define DEF_LISTBOX_SELECT_COLOR  SELECT_BG
 
228
#define DEF_LISTBOX_SELECT_MONO    BLACK
 
229
#define DEF_LISTBOX_SELECT_BD    "1"
 
230
#define DEF_LISTBOX_SELECT_FG_COLOR  BLACK
 
231
#define DEF_LISTBOX_SELECT_FG_MONO  WHITE
 
232
#define DEF_LISTBOX_SELECT_MODE    "browse"
 
233
#define DEF_LISTBOX_SET_GRID    "0"
 
234
#define DEF_LISTBOX_STATE    "normal"
 
235
#define DEF_LISTBOX_TAKE_FOCUS    (char *) NULL
 
236
#define DEF_LISTBOX_WIDTH    "20"
 
237
 
 
238
/*
 
239
 * Defaults for individual entries of menus:
 
240
 */
 
241
 
 
242
#define DEF_MENU_ENTRY_ACTIVE_BG  (char *) NULL
 
243
#define DEF_MENU_ENTRY_ACTIVE_FG  (char *) NULL
 
244
#define DEF_MENU_ENTRY_ACCELERATOR  (char *) NULL
 
245
#define DEF_MENU_ENTRY_BG    (char *) NULL
 
246
#define DEF_MENU_ENTRY_BITMAP    None
 
247
#define DEF_MENU_ENTRY_COLUMN_BREAK  "0"
 
248
#define DEF_MENU_ENTRY_COMMAND    (char *) NULL
 
249
#define DEF_MENU_ENTRY_COMPOUND   "none"
 
250
#define DEF_MENU_ENTRY_FG    (char *) NULL
 
251
#define DEF_MENU_ENTRY_FONT    (char *) NULL
 
252
#define DEF_MENU_ENTRY_HIDE_MARGIN  "0"
 
253
#define DEF_MENU_ENTRY_IMAGE    (char *) NULL
 
254
#define DEF_MENU_ENTRY_INDICATOR  "1"
 
255
#define DEF_MENU_ENTRY_LABEL    (char *) NULL
 
256
#define DEF_MENU_ENTRY_MENU    (char *) NULL
 
257
#define DEF_MENU_ENTRY_OFF_VALUE  "0"
 
258
#define DEF_MENU_ENTRY_ON_VALUE    "1"
 
259
#define DEF_MENU_ENTRY_SELECT_IMAGE  (char *) NULL
 
260
#define DEF_MENU_ENTRY_STATE    "normal"
 
261
#define DEF_MENU_ENTRY_VALUE    (char *) NULL
 
262
#define DEF_MENU_ENTRY_CHECK_VARIABLE  (char *) NULL
 
263
#define DEF_MENU_ENTRY_RADIO_VARIABLE  "selectedButton"
 
264
#define DEF_MENU_ENTRY_SELECT  (char *) NULL
 
265
#define DEF_MENU_ENTRY_UNDERLINE  "-1"
 
266
 
 
267
/*
 
268
 * Defaults for menus overall:
 
269
 */
 
270
 
 
271
#define DEF_MENU_ACTIVE_BG_COLOR  ACTIVE_BG
 
272
#define DEF_MENU_ACTIVE_BG_MONO    BLACK
 
273
#define DEF_MENU_ACTIVE_BORDER_WIDTH  "2"
 
274
#define DEF_MENU_ACTIVE_FG_COLOR  BLACK
 
275
#define DEF_MENU_ACTIVE_FG_MONO    WHITE
 
276
#define DEF_MENU_BG_COLOR    NORMAL_BG
 
277
#define DEF_MENU_BG_MONO    WHITE
 
278
#define DEF_MENU_BORDER_WIDTH    "2"
 
279
#define DEF_MENU_CURSOR      "arrow"
 
280
#define DEF_MENU_DISABLED_FG_COLOR  DISABLED
 
281
#define DEF_MENU_DISABLED_FG_MONO  ""
 
282
#define DEF_MENU_FONT      "Helvetica -12 bold"
 
283
#define DEF_MENU_FG      BLACK
 
284
#define DEF_MENU_POST_COMMAND    ""
 
285
#define DEF_MENU_RELIEF      "raised"
 
286
#define DEF_MENU_SELECT_COLOR    INDICATOR
 
287
#define DEF_MENU_SELECT_MONO    BLACK
 
288
#define DEF_MENU_TAKE_FOCUS    "0"
 
289
#define DEF_MENU_TEAROFF    "1"
 
290
#define DEF_MENU_TEAROFF_CMD    (char *) NULL
 
291
#define DEF_MENU_TITLE      ""
 
292
#define DEF_MENU_TYPE      "normal"
 
293
 
 
294
/*
 
295
 * Defaults for menubuttons:
 
296
 */
 
297
 
 
298
#define DEF_MENUBUTTON_ANCHOR    "center"
 
299
#define DEF_MENUBUTTON_ACTIVE_BG_COLOR  ACTIVE_BG
 
300
#define DEF_MENUBUTTON_ACTIVE_BG_MONO  BLACK
 
301
#define DEF_MENUBUTTON_ACTIVE_FG_COLOR  BLACK
 
302
#define DEF_MENUBUTTON_ACTIVE_FG_MONO  WHITE
 
303
#define DEF_MENUBUTTON_BG_COLOR    NORMAL_BG
 
304
#define DEF_MENUBUTTON_BG_MONO    WHITE
 
305
#define DEF_MENUBUTTON_BITMAP    ""
 
306
#define DEF_MENUBUTTON_BORDER_WIDTH  "2"
 
307
#define DEF_MENUBUTTON_CURSOR    ""
 
308
#define DEF_MENUBUTTON_DIRECTION  "below"
 
309
#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED
 
310
#define DEF_MENUBUTTON_DISABLED_FG_MONO  ""
 
311
#define DEF_MENUBUTTON_FONT    "Helvetica -12 bold"
 
312
#define DEF_MENUBUTTON_FG    BLACK
 
313
#define DEF_MENUBUTTON_HEIGHT    "0"
 
314
#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR
 
315
#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO  DEF_MENUBUTTON_BG_MONO
 
316
#define DEF_MENUBUTTON_HIGHLIGHT  BLACK
 
317
#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH  "0"
 
318
#define DEF_MENUBUTTON_IMAGE    (char *) NULL
 
319
#define DEF_MENUBUTTON_INDICATOR  "0"
 
320
#define DEF_MENUBUTTON_JUSTIFY    "center"
 
321
#define DEF_MENUBUTTON_MENU    ""
 
322
#define DEF_MENUBUTTON_PADX    "4p"
 
323
#define DEF_MENUBUTTON_PADY    "3p"
 
324
#define DEF_MENUBUTTON_RELIEF    "flat"
 
325
#define DEF_MENUBUTTON_STATE    "normal"
 
326
#define DEF_MENUBUTTON_TAKE_FOCUS  "0"
 
327
#define DEF_MENUBUTTON_TEXT    ""
 
328
#define DEF_MENUBUTTON_TEXT_VARIABLE  ""
 
329
#define DEF_MENUBUTTON_UNDERLINE  "-1"
 
330
#define DEF_MENUBUTTON_WIDTH    "0"
 
331
#define DEF_MENUBUTTON_WRAP_LENGTH  "0"
 
332
 
 
333
/*
 
334
 * Defaults for messages:
 
335
 */
 
336
 
 
337
#define DEF_MESSAGE_ANCHOR    "center"
 
338
#define DEF_MESSAGE_ASPECT    "150"
 
339
#define DEF_MESSAGE_BG_COLOR    NORMAL_BG
 
340
#define DEF_MESSAGE_BG_MONO    WHITE
 
341
#define DEF_MESSAGE_BORDER_WIDTH  "2"
 
342
#define DEF_MESSAGE_CURSOR    ""
 
343
#define DEF_MESSAGE_FG      BLACK
 
344
#define DEF_MESSAGE_FONT    "Helvetica -12 bold"
 
345
#define DEF_MESSAGE_HIGHLIGHT_BG  NORMAL_BG
 
346
#define DEF_MESSAGE_HIGHLIGHT    BLACK
 
347
#define DEF_MESSAGE_HIGHLIGHT_WIDTH  "0"
 
348
#define DEF_MESSAGE_JUSTIFY    "left"
 
349
#define DEF_MESSAGE_PADX    "-1"
 
350
#define DEF_MESSAGE_PADY    "-1"
 
351
#define DEF_MESSAGE_RELIEF    "flat"
 
352
#define DEF_MESSAGE_TAKE_FOCUS    "0"
 
353
#define DEF_MESSAGE_TEXT    ""
 
354
#define DEF_MESSAGE_TEXT_VARIABLE  ""
 
355
#define DEF_MESSAGE_WIDTH    "0"
 
356
 
 
357
/*
 
358
 * Defaults for panedwindows
 
359
 */
 
360
 
 
361
#define DEF_PANEDWINDOW_BG_COLOR  NORMAL_BG
 
362
#define DEF_PANEDWINDOW_BG_MONO    WHITE
 
363
#define DEF_PANEDWINDOW_BORDERWIDTH  "2"
 
364
#define DEF_PANEDWINDOW_CURSOR    ""
 
365
#define DEF_PANEDWINDOW_HANDLEPAD  "8"
 
366
#define DEF_PANEDWINDOW_HANDLESIZE  "8"
 
367
#define DEF_PANEDWINDOW_HEIGHT    ""
 
368
#define DEF_PANEDWINDOW_OPAQUERESIZE  "0"
 
369
#define DEF_PANEDWINDOW_ORIENT    "horizontal"
 
370
#define DEF_PANEDWINDOW_RELIEF    "flat"
 
371
#define DEF_PANEDWINDOW_SASHCURSOR  ""
 
372
#define DEF_PANEDWINDOW_SASHPAD    "2"
 
373
#define DEF_PANEDWINDOW_SASHRELIEF  "raised"
 
374
#define DEF_PANEDWINDOW_SASHWIDTH  "2"
 
375
#define DEF_PANEDWINDOW_SHOWHANDLE  "1"
 
376
#define DEF_PANEDWINDOW_WIDTH    ""
 
377
 
 
378
/*
 
379
 * Defaults for panedwindow panes
 
380
 */
 
381
 
 
382
#define DEF_PANEDWINDOW_PANE_AFTER  ""
 
383
#define DEF_PANEDWINDOW_PANE_BEFORE  ""
 
384
#define DEF_PANEDWINDOW_PANE_HEIGHT  ""
 
385
#define DEF_PANEDWINDOW_PANE_MINSIZE  "0"
 
386
#define DEF_PANEDWINDOW_PANE_PADX  "0"
 
387
#define DEF_PANEDWINDOW_PANE_PADY  "0"
 
388
#define DEF_PANEDWINDOW_PANE_STICKY  "nsew"
 
389
#define DEF_PANEDWINDOW_PANE_WIDTH  ""
 
390
 
 
391
/*
 
392
 * Defaults for scales:
 
393
 */
 
394
 
 
395
#define DEF_SCALE_ACTIVE_BG_COLOR  ACTIVE_BG
 
396
#define DEF_SCALE_ACTIVE_BG_MONO  BLACK
 
397
#define DEF_SCALE_BG_COLOR    NORMAL_BG
 
398
#define DEF_SCALE_BG_MONO    WHITE
 
399
#define DEF_SCALE_BIG_INCREMENT    "0"
 
400
#define DEF_SCALE_BORDER_WIDTH    "2"
 
401
#define DEF_SCALE_COMMAND    ""
 
402
#define DEF_SCALE_CURSOR    ""
 
403
#define DEF_SCALE_DIGITS    "0"
 
404
#define DEF_SCALE_FONT      "Helvetica -12 bold"
 
405
#define DEF_SCALE_FG_COLOR    BLACK
 
406
#define DEF_SCALE_FG_MONO    BLACK
 
407
#define DEF_SCALE_FROM      "0"
 
408
#define DEF_SCALE_HIGHLIGHT_BG_COLOR  DEF_SCALE_BG_COLOR
 
409
#define DEF_SCALE_HIGHLIGHT_BG_MONO  DEF_SCALE_BG_MONO
 
410
#define DEF_SCALE_HIGHLIGHT    BLACK
 
411
#define DEF_SCALE_HIGHLIGHT_WIDTH  "1"
 
412
#define DEF_SCALE_LABEL      ""
 
413
#define DEF_SCALE_LENGTH    "100"
 
414
#define DEF_SCALE_ORIENT    "vertical"
 
415
#define DEF_SCALE_RELIEF    "flat"
 
416
#define DEF_SCALE_REPEAT_DELAY          "300"
 
417
#define DEF_SCALE_REPEAT_INTERVAL  "100"
 
418
#define DEF_SCALE_RESOLUTION    "1"
 
419
#define DEF_SCALE_TROUGH_COLOR    TROUGH
 
420
#define DEF_SCALE_TROUGH_MONO    WHITE
 
421
#define DEF_SCALE_SHOW_VALUE    "1"
 
422
#define DEF_SCALE_SLIDER_LENGTH    "30"
 
423
#define DEF_SCALE_SLIDER_RELIEF    "raised"
 
424
#define DEF_SCALE_STATE      "normal"
 
425
#define DEF_SCALE_TAKE_FOCUS    (char *) NULL
 
426
#define DEF_SCALE_TICK_INTERVAL    "0"
 
427
#define DEF_SCALE_TO      "100"
 
428
#define DEF_SCALE_VARIABLE    ""
 
429
#define DEF_SCALE_WIDTH      "15"
 
430
 
 
431
/*
 
432
 * Defaults for scrollbars:
 
433
 */
 
434
 
 
435
#define DEF_SCROLLBAR_ACTIVE_BG_COLOR  ACTIVE_BG
 
436
#define DEF_SCROLLBAR_ACTIVE_BG_MONO  BLACK
 
437
#define DEF_SCROLLBAR_ACTIVE_RELIEF  "raised"
 
438
#define DEF_SCROLLBAR_BG_COLOR    NORMAL_BG
 
439
#define DEF_SCROLLBAR_BG_MONO    WHITE
 
440
#define DEF_SCROLLBAR_BORDER_WIDTH  "2"
 
441
#define DEF_SCROLLBAR_COMMAND    ""
 
442
#define DEF_SCROLLBAR_CURSOR    ""
 
443
#define DEF_SCROLLBAR_EL_BORDER_WIDTH  "-1"
 
444
#define DEF_SCROLLBAR_HIGHLIGHT_BG  NORMAL_BG
 
445
#define DEF_SCROLLBAR_HIGHLIGHT    BLACK
 
446
#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH  "1"
 
447
#define DEF_SCROLLBAR_JUMP    "0"
 
448
#define DEF_SCROLLBAR_ORIENT    "vertical"
 
449
#define DEF_SCROLLBAR_RELIEF    "sunken"
 
450
#define DEF_SCROLLBAR_REPEAT_DELAY  "300"
 
451
#define DEF_SCROLLBAR_REPEAT_INTERVAL  "100"
 
452
#define DEF_SCROLLBAR_TAKE_FOCUS  (char *) NULL
 
453
#define DEF_SCROLLBAR_TROUGH_COLOR  TROUGH
 
454
#define DEF_SCROLLBAR_TROUGH_MONO  WHITE
 
455
#define DEF_SCROLLBAR_WIDTH    "15"
 
456
 
 
457
/*
 
458
 * Defaults for texts:
 
459
 */
 
460
 
 
461
#define DEF_TEXT_AUTO_SEPARATORS  "1"
 
462
#define DEF_TEXT_BG_COLOR    NORMAL_BG
 
463
#define DEF_TEXT_BG_MONO    WHITE
 
464
#define DEF_TEXT_BORDER_WIDTH    "2"
 
465
#define DEF_TEXT_CURSOR      "xterm"
 
466
#define DEF_TEXT_FG      BLACK
 
467
#define DEF_TEXT_EXPORT_SELECTION  "1"
 
468
#define DEF_TEXT_FONT      "Courier -12"
 
469
#define DEF_TEXT_HEIGHT      "24"
 
470
#define DEF_TEXT_HIGHLIGHT_BG    NORMAL_BG
 
471
#define DEF_TEXT_HIGHLIGHT    BLACK
 
472
#define DEF_TEXT_HIGHLIGHT_WIDTH  "1"
 
473
#define DEF_TEXT_INSERT_BG    BLACK
 
474
#define DEF_TEXT_INSERT_BD_COLOR  "0"
 
475
#define DEF_TEXT_INSERT_BD_MONO    "0"
 
476
#define DEF_TEXT_INSERT_OFF_TIME  "300"
 
477
#define DEF_TEXT_INSERT_ON_TIME    "600"
 
478
#define DEF_TEXT_INSERT_WIDTH    "2"
 
479
#define DEF_TEXT_MAX_UNDO      "0"
 
480
#define DEF_TEXT_PADX      "1"
 
481
#define DEF_TEXT_PADY      "1"
 
482
#define DEF_TEXT_RELIEF      "sunken"
 
483
#define DEF_TEXT_SELECT_COLOR    SELECT_BG
 
484
#define DEF_TEXT_SELECT_MONO    BLACK
 
485
#define DEF_TEXT_SELECT_BD_COLOR  "1"
 
486
#define DEF_TEXT_SELECT_BD_MONO    "0"
 
487
#define DEF_TEXT_SELECT_FG_COLOR  BLACK
 
488
#define DEF_TEXT_SELECT_FG_MONO    WHITE
 
489
#define DEF_TEXT_SELECT_RELIEF    "raised"
 
490
#define DEF_TEXT_SET_GRID    "0"
 
491
#define DEF_TEXT_SPACING1    "0"
 
492
#define DEF_TEXT_SPACING2    "0"
 
493
#define DEF_TEXT_SPACING3    "0"
 
494
#define DEF_TEXT_STATE      "normal"
 
495
#define DEF_TEXT_TABS      ""
 
496
#define DEF_TEXT_TAKE_FOCUS    (char *) NULL
 
497
#define DEF_TEXT_UNDO        "0"
 
498
#define DEF_TEXT_WIDTH      "80"
 
499
#define DEF_TEXT_WRAP      "char"
 
500
#define DEF_TEXT_XSCROLL_COMMAND  ""
 
501
#define DEF_TEXT_YSCROLL_COMMAND  ""
 
502
 
 
503
/*
 
504
 * Defaults for canvas text:
 
505
 */
 
506
 
 
507
#define DEF_CANVTEXT_FONT    "Helvetica -12"
 
508
 
 
509
/*
 
510
 * Defaults for toplevels (most of the defaults for frames also apply
 
511
 * to toplevels):
 
512
 */
 
513
 
 
514
#define DEF_TOPLEVEL_CLASS    "Toplevel"
 
515
#define DEF_TOPLEVEL_MENU    ""
 
516
#define DEF_TOPLEVEL_SCREEN    ""
 
517
#define DEF_TOPLEVEL_USE    ""
 
518
 
 
519
#endif /* _TKUNIXDEFAULT */