1 |
578 |
markom |
/*
|
2 |
|
|
* tixdef.h --
|
3 |
|
|
*
|
4 |
|
|
* This file defines the defaults for all options for all of
|
5 |
|
|
* the Tix widgets.
|
6 |
|
|
*
|
7 |
|
|
* Copyright (c) 1996, Expert Interface Technologies
|
8 |
|
|
*
|
9 |
|
|
* See the file "license.terms" for information on usage and redistribution
|
10 |
|
|
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
11 |
|
|
*/
|
12 |
|
|
|
13 |
|
|
#ifndef TIX_DEFAULT
|
14 |
|
|
#define TIX_DEFAULT
|
15 |
|
|
|
16 |
|
|
/*
|
17 |
|
|
* Include the defaults of the TK distriburion
|
18 |
|
|
*/
|
19 |
|
|
#ifndef _DEFAULT
|
20 |
|
|
#include <default.h>
|
21 |
|
|
#endif
|
22 |
|
|
|
23 |
|
|
#ifndef CTL_FONT
|
24 |
|
|
#define CTL_FONT "Helvetica -12 bold"
|
25 |
|
|
#endif
|
26 |
|
|
|
27 |
|
|
#define BORDER_COLOR "gray"
|
28 |
|
|
|
29 |
|
|
/*
|
30 |
|
|
* Compound widget
|
31 |
|
|
*/
|
32 |
|
|
#define DEF_CMPIMAGE_BG_COLOR NORMAL_BG
|
33 |
|
|
#define DEF_CMPIMAGE_BG_MONO WHITE
|
34 |
|
|
#define DEF_CMPIMAGE_FG_COLOR BLACK
|
35 |
|
|
#define DEF_CMPIMAGE_FG_MONO BLACK
|
36 |
|
|
#define DEF_CMPIMAGE_FONT CTL_FONT
|
37 |
|
|
|
38 |
|
|
/*
|
39 |
|
|
* tixHList widget
|
40 |
|
|
*/
|
41 |
|
|
#define DEF_HLIST_BG_COLOR NORMAL_BG
|
42 |
|
|
#define DEF_HLIST_BG_MONO WHITE
|
43 |
|
|
#define DEF_HLIST_BORDER_WIDTH "2"
|
44 |
|
|
#define DEF_HLIST_BROWSE_COMMAND ""
|
45 |
|
|
#define DEF_HLIST_COMMAND ""
|
46 |
|
|
#define DEF_HLIST_COLUMNS "1"
|
47 |
|
|
#define DEF_HLIST_CURSOR ""
|
48 |
|
|
#define DEF_HLIST_DISPLAY_MODE "tree"
|
49 |
|
|
#define DEF_HLIST_DRAG_COMMAND ""
|
50 |
|
|
#define DEF_HLIST_DRAW_BRANCH "true"
|
51 |
|
|
#define DEF_HLIST_DROP_COMMAND ""
|
52 |
|
|
#define DEF_HLIST_FONT CTL_FONT
|
53 |
|
|
#define DEF_HLIST_FG_COLOR BLACK
|
54 |
|
|
#define DEF_HLIST_FG_MONO BLACK
|
55 |
|
|
#define DEF_HLIST_HEADER "0"
|
56 |
|
|
#define DEF_HLIST_HEIGHT "10"
|
57 |
|
|
#define DEF_HLIST_HIGHLIGHT_COLOR BLACK
|
58 |
|
|
#define DEF_HLIST_HIGHLIGHT_MONO BLACK
|
59 |
|
|
#define DEF_HLIST_HIGHLIGHT_WIDTH "2"
|
60 |
|
|
#define DEF_HLIST_RELIEF "sunken"
|
61 |
|
|
#define DEF_HLIST_ORIENT "vertical"
|
62 |
|
|
#define DEF_HLIST_PADX "2"
|
63 |
|
|
#define DEF_HLIST_PADY "2"
|
64 |
|
|
#define DEF_HLIST_GAP "5"
|
65 |
|
|
#define DEF_HLIST_INDENT "10"
|
66 |
|
|
#define DEF_HLIST_INDICATOR "0"
|
67 |
|
|
#define DEF_HLIST_INDICATOR_CMD ""
|
68 |
|
|
#define DEF_HLIST_ITEM_TYPE "text"
|
69 |
|
|
#define DEF_HLIST_SELECT_BG_COLOR ACTIVE_BG
|
70 |
|
|
#define DEF_HLIST_SELECT_FG_COLOR BLACK
|
71 |
|
|
#define DEF_HLIST_SELECT_BG_MONO BLACK
|
72 |
|
|
#define DEF_HLIST_SELECT_FG_MONO WHITE
|
73 |
|
|
#define DEF_HLIST_SELECT_MODE "browse"
|
74 |
|
|
#define DEF_HLIST_SELECT_BORDERWIDTH "1"
|
75 |
|
|
#define DEF_HLIST_SEPARATOR "."
|
76 |
|
|
#define DEF_HLIST_SIZE_COMMAND ""
|
77 |
|
|
#define DEF_HLIST_TAKE_FOCUS "1"
|
78 |
|
|
#define DEF_HLIST_WIDTH "20"
|
79 |
|
|
#define DEF_HLIST_WIDE_SELECT "true"
|
80 |
|
|
#define DEF_HLIST_Y_SCROLL_COMMAND ""
|
81 |
|
|
#define DEF_HLIST_X_SCROLL_COMMAND ""
|
82 |
|
|
|
83 |
|
|
/*
|
84 |
|
|
* HList Entry
|
85 |
|
|
*/
|
86 |
|
|
#define DEF_HLISTENTRY_BITMAP ""
|
87 |
|
|
#define DEF_HLISTENTRY_DATA ""
|
88 |
|
|
#define DEF_HLISTENTRY_GAP "4"
|
89 |
|
|
#define DEF_HLISTENTRY_IMAGE ""
|
90 |
|
|
#define DEF_HLISTENTRY_JUSTIFY "left"
|
91 |
|
|
#define DEF_HLISTENTRY_NAME ""
|
92 |
|
|
#define DEF_HLISTENTRY_PADX "2"
|
93 |
|
|
#define DEF_HLISTENTRY_PADY "2"
|
94 |
|
|
#define DEF_HLISTENTRY_STATE "normal"
|
95 |
|
|
#define DEF_HLISTENTRY_TEXT ""
|
96 |
|
|
#define DEF_HLISTENTRY_UNDERLINE "-1"
|
97 |
|
|
#define DEF_HLISTENTRY_WIDGET ""
|
98 |
|
|
#define DEF_HLISTENTRY_WLENGTH "0"
|
99 |
|
|
|
100 |
|
|
/*
|
101 |
|
|
* HList Entry
|
102 |
|
|
*/
|
103 |
|
|
#define DEF_HLISTHEADER_BG_COLOR NORMAL_BG
|
104 |
|
|
#define DEF_HLISTHEADER_BG_MONO WHITE
|
105 |
|
|
#define DEF_HLISTHEADER_BORDER_WIDTH "2"
|
106 |
|
|
#define DEF_HLISTHEADER_RELIEF "raised"
|
107 |
|
|
|
108 |
|
|
/*
|
109 |
|
|
* tixNBFrame widget
|
110 |
|
|
*/
|
111 |
|
|
#define DEF_NOTEBOOKFRAME_ACTIVE_BG_COLOR ACTIVE_BG
|
112 |
|
|
#define DEF_NOTEBOOKFRAME_ACTIVE_BG_MONO WHITE
|
113 |
|
|
#define DEF_NOTEBOOKFRAME_INACTIVE_BG_COLOR NORMAL_BG
|
114 |
|
|
#define DEF_NOTEBOOKFRAME_INACTIVE_BG_MONO WHITE
|
115 |
|
|
#define DEF_NOTEBOOKFRAME_BACKPAGE_COLOR NORMAL_BG
|
116 |
|
|
#define DEF_NOTEBOOKFRAME_BACKPAGE_MONO WHITE
|
117 |
|
|
#define DEF_NOTEBOOKFRAME_BG_COLOR NORMAL_BG
|
118 |
|
|
#define DEF_NOTEBOOKFRAME_BG_MONO WHITE
|
119 |
|
|
#define DEF_NOTEBOOKFRAME_DISABLED_FG_COLOR DISABLED
|
120 |
|
|
#define DEF_NOTEBOOKFRAME_DISABLED_FG_MONO ""
|
121 |
|
|
#define DEF_NOTEBOOKFRAME_FOCUS_COLOR BLACK
|
122 |
|
|
#define DEF_NOTEBOOKFRAME_FOCUS_MONO BLACK
|
123 |
|
|
#define DEF_NOTEBOOKFRAME_BORDER_WIDTH "2"
|
124 |
|
|
#define DEF_NOTEBOOKFRAME_CURSOR ""
|
125 |
|
|
#define DEF_NOTEBOOKFRAME_FONT CTL_FONT
|
126 |
|
|
#define DEF_NOTEBOOKFRAME_FG_COLOR BLACK
|
127 |
|
|
#define DEF_NOTEBOOKFRAME_FG_MONO BLACK
|
128 |
|
|
#define DEF_NOTEBOOKFRAME_RELIEF "sunken"
|
129 |
|
|
#define DEF_NOTEBOOKFRAME_SLAVE "1"
|
130 |
|
|
#define DEF_NOTEBOOKFRAME_TAKE_FOCUS "1"
|
131 |
|
|
#define DEF_NOTEBOOKFRAME_WIDTH "10"
|
132 |
|
|
#define DEF_NOTEBOOKFRAME_TABPADX "6"
|
133 |
|
|
#define DEF_NOTEBOOKFRAME_TABPADY "5"
|
134 |
|
|
|
135 |
|
|
/*
|
136 |
|
|
* tixTList.h
|
137 |
|
|
*/
|
138 |
|
|
#define DEF_TLIST_BG_COLOR NORMAL_BG
|
139 |
|
|
#define DEF_TLIST_BG_MONO WHITE
|
140 |
|
|
#define DEF_TLIST_BORDER_WIDTH "2"
|
141 |
|
|
#define DEF_TLIST_BROWSE_COMMAND ""
|
142 |
|
|
#define DEF_TLIST_COMMAND ""
|
143 |
|
|
#define DEF_TLIST_CURSOR ""
|
144 |
|
|
#define DEF_TLIST_FONT CTL_FONT
|
145 |
|
|
#define DEF_TLIST_FG_COLOR BLACK
|
146 |
|
|
#define DEF_TLIST_FG_MONO BLACK
|
147 |
|
|
#define DEF_TLIST_HEIGHT "10"
|
148 |
|
|
#define DEF_TLIST_HIGHLIGHT_COLOR BLACK
|
149 |
|
|
#define DEF_TLIST_HIGHLIGHT_MONO BLACK
|
150 |
|
|
#define DEF_TLIST_HIGHLIGHT_WIDTH "2"
|
151 |
|
|
#define DEF_TLIST_ITEM_TYPE "text"
|
152 |
|
|
#define DEF_TLIST_RELIEF "sunken"
|
153 |
|
|
#define DEF_TLIST_ORIENT "vertical"
|
154 |
|
|
#define DEF_TLIST_PADX "2"
|
155 |
|
|
#define DEF_TLIST_PADY "2"
|
156 |
|
|
#define DEF_TLIST_SELECT_BG_COLOR ACTIVE_BG
|
157 |
|
|
#define DEF_TLIST_SELECT_FG_COLOR BLACK
|
158 |
|
|
#define DEF_TLIST_SELECT_BG_MONO BLACK
|
159 |
|
|
#define DEF_TLIST_SELECT_FG_MONO WHITE
|
160 |
|
|
#define DEF_TLIST_SELECT_MODE "browse"
|
161 |
|
|
#define DEF_TLIST_SELECT_BORDERWIDTH "1"
|
162 |
|
|
#define DEF_TLIST_STATE "normal"
|
163 |
|
|
#define DEF_TLIST_SIZE_COMMAND ""
|
164 |
|
|
#define DEF_TLIST_TAKE_FOCUS "1"
|
165 |
|
|
#define DEF_TLIST_WIDTH "20"
|
166 |
|
|
#define DEF_TLIST_Y_SCROLL_COMMAND ""
|
167 |
|
|
#define DEF_TLIST_X_SCROLL_COMMAND ""
|
168 |
|
|
|
169 |
|
|
#endif /* TIX_DEFAULT */
|