]> www.wagner.pp.ru Git - oss/ck.git/blob - default.h
Ck console graphics toolkit
[oss/ck.git] / default.h
1 /* 
2  * default.h --
3  *
4  *      This file defines the defaults for all options for all widgets.
5  *
6  * Copyright (c) 1995 Christian Werner.
7  *
8  * See the file "license.terms" for information on usage and redistribution
9  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
10  */
11
12
13 #define DEF_FRAME_ATTRIB                 "normal"
14 #define DEF_FRAME_BG_COLOR               "black"
15 #define DEF_FRAME_BG_MONO                "black"
16 #define DEF_FRAME_FG_COLOR               "white"
17 #define DEF_FRAME_FG_MONO                "white"
18 #define DEF_FRAME_BORDER                 NULL
19 #define DEF_FRAME_HEIGHT                 "0"
20 #define DEF_FRAME_TAKE_FOCUS             "0"
21 #define DEF_FRAME_WIDTH                  "0"
22
23
24 #define DEF_BUTTON_ACTIVE_ATTR_COLOR     "normal"
25 #define DEF_BUTTON_ACTIVE_ATTR_MONO      "reverse"
26 #define DEF_BUTTON_ACTIVE_BG_COLOR       "white"
27 #define DEF_BUTTON_ACTIVE_BG_MONO        "black"
28 #define DEF_BUTTON_ACTIVE_FG_COLOR       "black"
29 #define DEF_BUTTON_ACTIVE_FG_MONO        "white"
30 #define DEF_BUTTON_ATTR                  "normal"
31 #define DEF_LABEL_ATTR                   "normal"
32 #define DEF_BUTTON_ANCHOR                "center"
33 #define DEF_BUTTON_BG_COLOR              "black"
34 #define DEF_BUTTON_BG_MONO               "black"
35 #define DEF_BUTTON_COMMAND               NULL
36 #define DEF_BUTTON_DISABLED_ATTR         "dim"
37 #define DEF_BUTTON_DISABLED_BG_COLOR     "black"
38 #define DEF_BUTTON_DISABLED_BG_MONO      "black"
39 #define DEF_BUTTON_DISABLED_FG_COLOR     "white"
40 #define DEF_BUTTON_DISABLED_FG_MONO      "white"
41 #define DEF_BUTTON_FG                    "white"
42 #define DEF_BUTTON_HEIGHT                "0"
43 #define DEF_BUTTON_OFF_VALUE             "0"
44 #define DEF_BUTTON_ON_VALUE              "1"
45 #define DEF_BUTTON_SELECT_COLOR          "red"
46 #define DEF_BUTTON_SELECT_MONO           "white"
47 #define DEF_BUTTON_STATE                 "normal"
48 #define DEF_BUTTON_TAKE_FOCUS            "1"
49 #define DEF_LABEL_TAKE_FOCUS             "0"
50 #define DEF_BUTTON_TEXT                  NULL
51 #define DEF_BUTTON_TEXT_VARIABLE         NULL
52 #define DEF_BUTTON_UNDERLINE             "-1"
53 #define DEF_BUTTON_UNDERLINE_ATTR        "bold"
54 #define DEF_BUTTON_UNDERLINE_FG_COLOR    "white"
55 #define DEF_BUTTON_UNDERLINE_FG_MONO     "white"
56 #define DEF_BUTTON_VALUE                 NULL
57 #define DEF_RADIOBUTTON_VARIABLE         NULL
58 #define DEF_CHECKBUTTON_VARIABLE         NULL
59 #define DEF_BUTTON_WIDTH                 "0"
60
61
62 #define DEF_ENTRY_BG_COLOR               "black"
63 #define DEF_ENTRY_BG_MONO                "black"
64 #define DEF_ENTRY_ATTR                   "normal"
65 #define DEF_ENTRY_FG                     "white"
66 #define DEF_ENTRY_JUSTIFY                "left"
67 #define DEF_ENTRY_SELECT_ATTR_COLOR      "normal"
68 #define DEF_ENTRY_SELECT_ATTR_MONO       "reverse"
69 #define DEF_ENTRY_SELECT_FG_COLOR        "black"
70 #define DEF_ENTRY_SELECT_FG_MONO         "black"
71 #define DEF_ENTRY_SELECT_BG_COLOR        "white"
72 #define DEF_ENTRY_SELECT_BG_MONO         "black"
73 #define DEF_ENTRY_SHOW                   NULL
74 #define DEF_ENTRY_STATE                  "normal"
75 #define DEF_ENTRY_TAKE_FOCUS             "1"
76 #define DEF_ENTRY_TEXT_VARIABLE          NULL
77 #define DEF_ENTRY_WIDTH                  "16"
78 #define DEF_ENTRY_SCROLL_COMMAND         NULL
79
80
81 #define DEF_LISTBOX_ACTIVE_ATTR_COLOR    "normal"
82 #define DEF_LISTBOX_ACTIVE_ATTR_MONO     "reverse"
83 #define DEF_LISTBOX_ACTIVE_BG_COLOR      "white"
84 #define DEF_LISTBOX_ACTIVE_BG_MONO       "black"
85 #define DEF_LISTBOX_ACTIVE_FG_COLOR      "black"
86 #define DEF_LISTBOX_ACTIVE_FG_MONO       "white"
87 #define DEF_LISTBOX_BG_COLOR             "black"
88 #define DEF_LISTBOX_BG_MONO              "black"
89 #define DEF_LISTBOX_FG                   "white"
90 #define DEF_LISTBOX_ATTR                 "normal"
91 #define DEF_LISTBOX_HEIGHT               "10"
92 #define DEF_LISTBOX_SELECT_ATTR_COLOR    "bold"
93 #define DEF_LISTBOX_SELECT_ATTR_MONO     "bold"
94 #define DEF_LISTBOX_SELECT_BG_COLOR      "black"
95 #define DEF_LISTBOX_SELECT_BG_MONO       "black"
96 #define DEF_LISTBOX_SELECT_FG_COLOR      "white"
97 #define DEF_LISTBOX_SELECT_FG_MONO       "white"
98 #define DEF_LISTBOX_SELECT_MODE          "browse"
99 #define DEF_LISTBOX_TAKE_FOCUS           "1"
100 #define DEF_LISTBOX_WIDTH                "20"
101 #define DEF_LISTBOX_SCROLL_COMMAND       NULL
102 #define DEF_LISTBOX_SCROLL_COMMAND       NULL
103
104
105 #define DEF_SCROLLBAR_ACTIVE_ATTR_COLOR  "normal"
106 #define DEF_SCROLLBAR_ACTIVE_ATTR_MONO   "reverse"
107 #define DEF_SCROLLBAR_ACTIVE_BG_COLOR    "white"
108 #define DEF_SCROLLBAR_ACTIVE_BG_MONO     "black"
109 #define DEF_SCROLLBAR_ACTIVE_FG_COLOR    "black"
110 #define DEF_SCROLLBAR_ACTIVE_FG_MONO     "white"
111 #define DEF_SCROLLBAR_ATTR               "normal"
112 #define DEF_SCROLLBAR_BG_COLOR           "black"
113 #define DEF_SCROLLBAR_BG_MONO            "black"
114 #define DEF_SCROLLBAR_COMMAND            NULL
115 #define DEF_SCROLLBAR_FG_COLOR           "white"
116 #define DEF_SCROLLBAR_FG_MONO            "white"
117 #define DEF_SCROLLBAR_ORIENT             "vertical"
118 #define DEF_SCROLLBAR_TAKE_FOCUS         "1"
119
120
121 #define DEF_MESSAGE_ANCHOR               "center"
122 #define DEF_MESSAGE_ASPECT               "320"
123 #define DEF_MESSAGE_ATTR                 "normal"
124 #define DEF_MESSAGE_BG_COLOR             "black"
125 #define DEF_MESSAGE_BG_MONO              "black"
126 #define DEF_MESSAGE_FG_COLOR             "white"
127 #define DEF_MESSAGE_FG_MONO              "white"
128 #define DEF_MESSAGE_JUSTIFY              "left"
129 #define DEF_MESSAGE_TAKE_FOCUS           "0"
130 #define DEF_MESSAGE_TEXT                 NULL
131 #define DEF_MESSAGE_TEXT_VARIABLE        NULL
132 #define DEF_MESSAGE_WIDTH                "0"
133
134
135 #define DEF_TEXT_ATTR                    "normal"
136 #define DEF_TEXT_BG_COLOR                "black"
137 #define DEF_TEXT_BG_MONO                 "black"
138 #define DEF_TEXT_FG                      "white"
139 #define DEF_TEXT_HEIGHT                  "10"
140 #define DEF_TEXT_SELECT_ATTR_COLOR       "normal"
141 #define DEF_TEXT_SELECT_ATTR_MONO        "reverse"
142 #define DEF_TEXT_SELECT_BG_COLOR         "white"
143 #define DEF_TEXT_SELECT_BG_MONO          "black"
144 #define DEF_TEXT_SELECT_FG_COLOR         "black"
145 #define DEF_TEXT_SELECT_FG_MONO          "white"
146 #define DEF_TEXT_STATE                   "normal"
147 #define DEF_TEXT_TABS                    ""
148 #define DEF_TEXT_TAKE_FOCUS              "1"
149 #define DEF_TEXT_WIDTH                   "40"
150 #define DEF_TEXT_WRAP                    "char"
151 #define DEF_TEXT_XSCROLL_COMMAND         NULL
152 #define DEF_TEXT_YSCROLL_COMMAND         NULL
153
154
155 #define DEF_MENUBUTTON_ATTR              "normal"
156 #define DEF_MENUBUTTON_ACTIVE_ATTR_COLOR "normal"
157 #define DEF_MENUBUTTON_ACTIVE_ATTR_MONO  "reverse"
158 #define DEF_MENUBUTTON_ACTIVE_BG_COLOR   "white"
159 #define DEF_MENUBUTTON_ACTIVE_BG_MONO    "black"
160 #define DEF_MENUBUTTON_ACTIVE_FG_COLOR   "black"
161 #define DEF_MENUBUTTON_ACTIVE_FG_MONO    "white"
162 #define DEF_MENUBUTTON_ANCHOR            "center"
163 #define DEF_MENUBUTTON_BG_COLOR          "black"
164 #define DEF_MENUBUTTON_BG_MONO           "black"
165 #define DEF_MENUBUTTON_DISABLED_ATTR     "dim"
166 #define DEF_MENUBUTTON_DISABLED_BG_COLOR "black"
167 #define DEF_MENUBUTTON_DISABLED_BG_MONO  "black"
168 #define DEF_MENUBUTTON_DISABLED_FG_COLOR "white"
169 #define DEF_MENUBUTTON_DISABLED_FG_MONO  "white"
170 #define DEF_MENUBUTTON_FG                "white"
171 #define DEF_MENUBUTTON_HEIGHT            "0"
172 #define DEF_MENUBUTTON_INDICATOR         "0"
173 #define DEF_MENUBUTTON_INDICATOR_FG_COLOR "red"
174 #define DEF_MENUBUTTON_INDICATOR_FG_MONO  "white"
175 #define DEF_MENUBUTTON_MENU              NULL
176 #define DEF_MENUBUTTON_STATE             "normal"
177 #define DEF_MENUBUTTON_TAKE_FOCUS        "0"
178 #define DEF_MENUBUTTON_TEXT              NULL
179 #define DEF_MENUBUTTON_TEXT_VARIABLE     NULL
180 #define DEF_MENUBUTTON_UNDERLINE         "-1"
181 #define DEF_MENUBUTTON_UNDERLINE_ATTR     "reverse"
182 #define DEF_MENUBUTTON_UNDERLINE_FG_COLOR "white"
183 #define DEF_MENUBUTTON_UNDERLINE_FG_MONO  "white"
184 #define DEF_MENUBUTTON_WIDTH             "0"
185
186
187 #define DEF_MENU_ENTRY_ACTIVE_ATTR       NULL
188 #define DEF_MENU_ENTRY_ACTIVE_BG         NULL
189 #define DEF_MENU_ENTRY_ACTIVE_FG         NULL
190 #define DEF_MENU_ENTRY_ACCELERATOR       NULL
191 #define DEF_MENU_ENTRY_ATTR              NULL
192 #define DEF_MENU_ENTRY_BG                NULL
193 #define DEF_MENU_ENTRY_COMMAND           NULL
194 #define DEF_MENU_ENTRY_FG                NULL
195 #define DEF_MENU_ENTRY_INDICATOR         "1"
196 #define DEF_MENU_ENTRY_LABEL             NULL
197 #define DEF_MENU_ENTRY_MENU              NULL
198 #define DEF_MENU_ENTRY_OFF_VALUE         "0"
199 #define DEF_MENU_ENTRY_ON_VALUE          "1"
200 #define DEF_MENU_ENTRY_SELECT            NULL
201 #define DEF_MENU_ENTRY_STATE             "normal"
202 #define DEF_MENU_ENTRY_VALUE             NULL
203 #define DEF_MENU_ENTRY_CHECK_VARIABLE    NULL
204 #define DEF_MENU_ENTRY_RADIO_VARIABLE    "selectedButton"
205 #define DEF_MENU_ENTRY_UNDERLINE         "-1"
206
207
208 #define DEF_MENU_ACTIVE_ATTR_COLOR       "normal"
209 #define DEF_MENU_ACTIVE_ATTR_MONO        "reverse"
210 #define DEF_MENU_ACTIVE_BG_COLOR         "white"
211 #define DEF_MENU_ACTIVE_BG_MONO          "black"
212 #define DEF_MENU_ACTIVE_FG_COLOR         "black"
213 #define DEF_MENU_ACTIVE_FG_MONO          "white"
214 #define DEF_MENU_ATTR                    "normal"
215 #define DEF_MENU_BG_COLOR                "black"
216 #define DEF_MENU_BG_MONO                 "black"
217 #define DEF_MENU_BORDER                  NULL
218 #define DEF_MENU_DISABLED_ATTR           "dim"
219 #define DEF_MENU_DISABLED_BG_COLOR       "black"
220 #define DEF_MENU_DISABLED_BG_MONO        "black"
221 #define DEF_MENU_DISABLED_FG_COLOR       "white"
222 #define DEF_MENU_DISABLED_FG_MONO        "white"
223 #define DEF_MENU_FG                      "white"
224 #define DEF_MENU_POST_COMMAND            ""
225 #define DEF_MENU_SELECT_COLOR            "red"
226 #define DEF_MENU_SELECT_MONO             "white"
227 #define DEF_MENU_TAKE_FOCUS              "0"
228 #define DEF_MENU_UNDERLINE_ATTR          "reverse"
229 #define DEF_MENU_UNDERLINE_FG_COLOR      "white"
230 #define DEF_MENU_UNDERLINE_FG_MONO       "white"