libyui-ncurses  2.44.1
 All Classes Functions Variables
NCstyle.xterm.h
1 /*
2  Copyright (C) 2000-2012 Novell, Inc
3  This library is free software; you can redistribute it and/or modify
4  it under the terms of the GNU Lesser General Public License as
5  published by the Free Software Foundation; either version 2.1 of the
6  License, or (at your option) version 3.0 of the License. This library
7  is distributed in the hope that it will be useful, but WITHOUT ANY
8  WARRANTY; without even the implied warranty of MERCHANTABILITY or
9  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10  License for more details. You should have received a copy of the GNU
11  Lesser General Public License along with this library; if not, write
12  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13  Floor, Boston, MA 02110-1301 USA
14 */
15 
16 
17 /*-/
18 
19  File: NCstyle.xterm.h
20 
21  Author: Generated by class NCstyle
22 
23 /-*/
24 
25 #ifndef NCstyle_xterm_h
26 #define NCstyle_xterm_h
27 
28 #include "NCstyle.h"
29 
30 inline void NCstyleInit_xterm( std::vector<NCstyle::Style> & styleSet )
31 {
32  //=================================================================
33  // init global attributes
34  //=================================================================
35  NCattrset * attrset( &styleSet[NCstyle::DefaultStyle].getAttrGlobal() );
36  attrset->setAttr( NCstyle::AppTitle, 14080 );
37  attrset->setAttr( NCstyle::AppText, 8192 );
38  //=================================================================
39  // init local attributes
40  //=================================================================
41  // DefaultStyle
42  attrset = &styleSet[NCstyle::DefaultStyle].getAttrLocal();
43  attrset->setAttr( NCstyle::DialogBorder, 8192 );
44  attrset->setAttr( NCstyle::DialogTitle, 8192 );
45  attrset->setAttr( NCstyle::DialogActiveBorder, 8192 | A_BOLD );
46  attrset->setAttr( NCstyle::DialogActiveTitle, 8192 | A_BOLD );
47  attrset->setAttr( NCstyle::DialogText, 8192 );
48  attrset->setAttr( NCstyle::DialogHeadline, 9216 | A_BOLD );
49  attrset->setAttr( NCstyle::DialogDisabled, 8448 );
50  attrset->setAttr( NCstyle::DialogPlain, 8192 );
51  attrset->setAttr( NCstyle::DialogLabel, 8192 );
52  attrset->setAttr( NCstyle::DialogData, 9216 | A_BOLD );
53  attrset->setAttr( NCstyle::DialogHint, 9216 | A_BOLD );
54  attrset->setAttr( NCstyle::DialogScrl, 9216 | A_BOLD );
55  attrset->setAttr( NCstyle::DialogActivePlain, 14080 );
56  attrset->setAttr( NCstyle::DialogActiveLabel, 14080 );
57  attrset->setAttr( NCstyle::DialogActiveData, 14080 );
58  attrset->setAttr( NCstyle::DialogActiveHint, 13312 | A_BOLD );
59  attrset->setAttr( NCstyle::DialogActiveScrl, 13312 | A_BOLD );
60  attrset->setAttr( NCstyle::DialogFramePlain, 8192 );
61  attrset->setAttr( NCstyle::DialogFrameLabel, 8192 );
62  attrset->setAttr( NCstyle::DialogFrameData, 8192 );
63  attrset->setAttr( NCstyle::DialogFrameHint, 9216 | A_BOLD );
64  attrset->setAttr( NCstyle::DialogFrameScrl, 8192 );
65  attrset->setAttr( NCstyle::DialogActiveFramePlain, 8192 | A_BOLD );
66  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 14080 );
67  attrset->setAttr( NCstyle::DialogActiveFrameData, 8192 );
68  attrset->setAttr( NCstyle::DialogActiveFrameHint, 13312 | A_BOLD );
69  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 9216 | A_BOLD );
70  attrset->setAttr( NCstyle::ListTitle, 8192 );
71  attrset->setAttr( NCstyle::ListPlain, 8192 );
72  attrset->setAttr( NCstyle::ListLabel, 8192 );
73  attrset->setAttr( NCstyle::ListData, 9216 | A_BOLD );
74  attrset->setAttr( NCstyle::ListHint, 9216 | A_BOLD );
75  attrset->setAttr( NCstyle::ListSelPlain, 8192 );
76  attrset->setAttr( NCstyle::ListSelLabel, 8192 );
77  attrset->setAttr( NCstyle::ListSelData, 9216 | A_BOLD );
78  attrset->setAttr( NCstyle::ListSelHint, 9216 | A_BOLD );
79  attrset->setAttr( NCstyle::ListActiveTitle, 8192 );
80  attrset->setAttr( NCstyle::ListActivePlain, 8192 );
81  attrset->setAttr( NCstyle::ListActiveLabel, 8192 );
82  attrset->setAttr( NCstyle::ListActiveData, 9216 | A_BOLD );
83  attrset->setAttr( NCstyle::ListActiveHint, 9216 | A_BOLD );
84  attrset->setAttr( NCstyle::ListActiveSelPlain, 14080 );
85  attrset->setAttr( NCstyle::ListActiveSelLabel, 14080 );
86  attrset->setAttr( NCstyle::ListActiveSelData, 13312 | A_BOLD );
87  attrset->setAttr( NCstyle::ListActiveSelHint, 13312 | A_BOLD );
88  attrset->setAttr( NCstyle::RichTextPlain, 16128 );
89  attrset->setAttr( NCstyle::RichTextTitle, 15872 );
90  attrset->setAttr( NCstyle::RichTextLink, 15104 );
91  attrset->setAttr( NCstyle::RichTextArmedlink, 15104 | A_BOLD );
92  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 8192 | A_BOLD );
93  attrset->setAttr( NCstyle::RichTextVisitedLink, 59 );
94  attrset->setAttr( NCstyle::RichTextB, 16128 | A_BOLD );
95  attrset->setAttr( NCstyle::RichTextI, 16128 | A_BOLD );
96  attrset->setAttr( NCstyle::RichTextT, 14592 | A_BOLD );
97  attrset->setAttr( NCstyle::RichTextBI, 14336 | A_BOLD );
98  attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
99  attrset->setAttr( NCstyle::RichTextIT, 15872 );
100  attrset->setAttr( NCstyle::RichTextBIT, 14848 );
101  attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
102  attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
103  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
104  // InfoStyle
105  attrset = &styleSet[NCstyle::InfoStyle].getAttrLocal();
106  attrset->setAttr( NCstyle::DialogBorder, 5888 );
107  attrset->setAttr( NCstyle::DialogTitle, 5888 );
108  attrset->setAttr( NCstyle::DialogActiveBorder, 4096 | A_BOLD );
109  attrset->setAttr( NCstyle::DialogActiveTitle, 4096 | A_BOLD );
110  attrset->setAttr( NCstyle::DialogText, 5888 );
111  attrset->setAttr( NCstyle::DialogHeadline, 4096 | A_BOLD );
112  attrset->setAttr( NCstyle::DialogDisabled, 5376 | A_BOLD );
113  attrset->setAttr( NCstyle::DialogPlain, 4096 | A_BOLD );
114  attrset->setAttr( NCstyle::DialogLabel, 5888 );
115  attrset->setAttr( NCstyle::DialogData, 4096 | A_BOLD );
116  attrset->setAttr( NCstyle::DialogHint, 4096 | A_BOLD );
117  attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
118  attrset->setAttr( NCstyle::DialogActivePlain, 0 );
119  attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
120  attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
121  attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
122  attrset->setAttr( NCstyle::DialogActiveScrl, 16128 );
123  attrset->setAttr( NCstyle::DialogFramePlain, 5888 );
124  attrset->setAttr( NCstyle::DialogFrameLabel, 5888 );
125  attrset->setAttr( NCstyle::DialogFrameData, 5888 );
126  attrset->setAttr( NCstyle::DialogFrameHint, 4096 | A_BOLD );
127  attrset->setAttr( NCstyle::DialogFrameScrl, 4096 );
128  attrset->setAttr( NCstyle::DialogActiveFramePlain, 4096 | A_BOLD );
129  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0 );
130  attrset->setAttr( NCstyle::DialogActiveFrameData, 5888 );
131  attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
132  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 5376 | A_BOLD );
133  attrset->setAttr( NCstyle::ListTitle, 5888 );
134  attrset->setAttr( NCstyle::ListPlain, 5888 );
135  attrset->setAttr( NCstyle::ListLabel, 5888 );
136  attrset->setAttr( NCstyle::ListData, 4096 | A_BOLD );
137  attrset->setAttr( NCstyle::ListHint, 4096 | A_BOLD );
138  attrset->setAttr( NCstyle::ListSelPlain, 5888 );
139  attrset->setAttr( NCstyle::ListSelLabel, 5888 );
140  attrset->setAttr( NCstyle::ListSelData, 4096 | A_BOLD );
141  attrset->setAttr( NCstyle::ListSelHint, 4096 | A_BOLD );
142  attrset->setAttr( NCstyle::ListActiveTitle, 5888 );
143  attrset->setAttr( NCstyle::ListActivePlain, 5888 );
144  attrset->setAttr( NCstyle::ListActiveLabel, 5888 );
145  attrset->setAttr( NCstyle::ListActiveData, 4096 | A_BOLD );
146  attrset->setAttr( NCstyle::ListActiveHint, 4096 | A_BOLD );
147  attrset->setAttr( NCstyle::ListActiveSelPlain, 0 );
148  attrset->setAttr( NCstyle::ListActiveSelLabel, 0 );
149  attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
150  attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
151  attrset->setAttr( NCstyle::RichTextPlain, 16128 );
152  attrset->setAttr( NCstyle::RichTextTitle, 15360 | A_BOLD );
153  attrset->setAttr( NCstyle::RichTextLink, 15104 );
154  attrset->setAttr( NCstyle::RichTextArmedlink, 15104 | A_BOLD );
155  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 8192 | A_BOLD );
156  attrset->setAttr( NCstyle::RichTextVisitedLink, 59 );
157  attrset->setAttr( NCstyle::RichTextB, 16128 | A_BOLD );
158  attrset->setAttr( NCstyle::RichTextI, 16128 | A_BOLD );
159  attrset->setAttr( NCstyle::RichTextT, 14592 );
160  attrset->setAttr( NCstyle::RichTextBI, 14336 | A_BOLD );
161  attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
162  attrset->setAttr( NCstyle::RichTextIT, 14592 );
163  attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
164  attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
165  attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
166  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
167  // WarnStyle
168  attrset = &styleSet[NCstyle::WarnStyle].getAttrLocal();
169  attrset->setAttr( NCstyle::DialogBorder, 3840 );
170  attrset->setAttr( NCstyle::DialogTitle, 3840 );
171  attrset->setAttr( NCstyle::DialogActiveBorder, 2048 | A_BOLD );
172  attrset->setAttr( NCstyle::DialogActiveTitle, 2048 | A_BOLD );
173  attrset->setAttr( NCstyle::DialogText, 3840 );
174  attrset->setAttr( NCstyle::DialogHeadline, 2048 | A_BOLD );
175  attrset->setAttr( NCstyle::DialogDisabled, 3584 | A_BOLD );
176  attrset->setAttr( NCstyle::DialogPlain, 3840 );
177  attrset->setAttr( NCstyle::DialogLabel, 3840 );
178  attrset->setAttr( NCstyle::DialogData, 2048 | A_BOLD );
179  attrset->setAttr( NCstyle::DialogHint, 2048 | A_BOLD );
180  attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
181  attrset->setAttr( NCstyle::DialogActivePlain, 1536 | A_BOLD );
182  attrset->setAttr( NCstyle::DialogActiveLabel, 1536 | A_BOLD );
183  attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
184  attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
185  attrset->setAttr( NCstyle::DialogActiveScrl, 0 | A_BOLD );
186  attrset->setAttr( NCstyle::DialogFramePlain, 3840 );
187  attrset->setAttr( NCstyle::DialogFrameLabel, 3840 );
188  attrset->setAttr( NCstyle::DialogFrameData, 3840 );
189  attrset->setAttr( NCstyle::DialogFrameHint, 2048 | A_BOLD );
190  attrset->setAttr( NCstyle::DialogFrameScrl, 3584 | A_BOLD );
191  attrset->setAttr( NCstyle::DialogActiveFramePlain, 2048 | A_BOLD );
192  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 1536 | A_BOLD );
193  attrset->setAttr( NCstyle::DialogActiveFrameData, 3840 );
194  attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
195  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 3584 | A_BOLD );
196  attrset->setAttr( NCstyle::ListTitle, 3840 );
197  attrset->setAttr( NCstyle::ListPlain, 3840 );
198  attrset->setAttr( NCstyle::ListLabel, 3840 );
199  attrset->setAttr( NCstyle::ListData, 2048 | A_BOLD );
200  attrset->setAttr( NCstyle::ListHint, 2048 | A_BOLD );
201  attrset->setAttr( NCstyle::ListSelPlain, 3840 );
202  attrset->setAttr( NCstyle::ListSelLabel, 3840 );
203  attrset->setAttr( NCstyle::ListSelData, 2048 | A_BOLD );
204  attrset->setAttr( NCstyle::ListSelHint, 2048 | A_BOLD );
205  attrset->setAttr( NCstyle::ListActiveTitle, 3840 );
206  attrset->setAttr( NCstyle::ListActivePlain, 3840 );
207  attrset->setAttr( NCstyle::ListActiveLabel, 3840 );
208  attrset->setAttr( NCstyle::ListActiveData, 2048 | A_BOLD );
209  attrset->setAttr( NCstyle::ListActiveHint, 2048 | A_BOLD );
210  attrset->setAttr( NCstyle::ListActiveSelPlain, 1536 | A_BOLD );
211  attrset->setAttr( NCstyle::ListActiveSelLabel, 1536 | A_BOLD );
212  attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
213  attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
214  attrset->setAttr( NCstyle::RichTextPlain, 16128 );
215  attrset->setAttr( NCstyle::RichTextTitle, 15360 | A_BOLD );
216  attrset->setAttr( NCstyle::RichTextLink, 15104 );
217  attrset->setAttr( NCstyle::RichTextArmedlink, 15104 | A_BOLD );
218  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 8192 | A_BOLD );
219  attrset->setAttr( NCstyle::RichTextVisitedLink, 59 );
220  attrset->setAttr( NCstyle::RichTextB, 16128 | A_BOLD );
221  attrset->setAttr( NCstyle::RichTextI, 16128 | A_BOLD );
222  attrset->setAttr( NCstyle::RichTextT, 14592 );
223  attrset->setAttr( NCstyle::RichTextBI, 14336 | A_BOLD );
224  attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
225  attrset->setAttr( NCstyle::RichTextIT, 14592 );
226  attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
227  attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
228  attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
229  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
230  // PopupStyle
231  attrset = &styleSet[NCstyle::PopupStyle].getAttrLocal();
232  attrset->setAttr( NCstyle::DialogBorder, 14080 );
233  attrset->setAttr( NCstyle::DialogTitle, 14080 );
234  attrset->setAttr( NCstyle::DialogActiveBorder, 12288 | A_BOLD );
235  attrset->setAttr( NCstyle::DialogActiveTitle, 12288 | A_BOLD );
236  attrset->setAttr( NCstyle::DialogText, 14080 );
237  attrset->setAttr( NCstyle::DialogHeadline, 13312 | A_BOLD );
238  attrset->setAttr( NCstyle::DialogDisabled, 14080 | A_BOLD );
239  attrset->setAttr( NCstyle::DialogPlain, 14080 );
240  attrset->setAttr( NCstyle::DialogLabel, 14080 );
241  attrset->setAttr( NCstyle::DialogData, 13312 | A_BOLD );
242  attrset->setAttr( NCstyle::DialogHint, 13312 | A_BOLD );
243  attrset->setAttr( NCstyle::DialogScrl, 1024 | A_BOLD );
244  attrset->setAttr( NCstyle::DialogActivePlain, 8192 );
245  attrset->setAttr( NCstyle::DialogActiveLabel, 8192 );
246  attrset->setAttr( NCstyle::DialogActiveData, 9216 | A_BOLD );
247  attrset->setAttr( NCstyle::DialogActiveHint, 9216 | A_BOLD );
248  attrset->setAttr( NCstyle::DialogActiveScrl, 1024 | A_BOLD );
249  attrset->setAttr( NCstyle::DialogFramePlain, 14080 );
250  attrset->setAttr( NCstyle::DialogFrameLabel, 14080 );
251  attrset->setAttr( NCstyle::DialogFrameData, 13056 );
252  attrset->setAttr( NCstyle::DialogFrameHint, 13312 | A_BOLD );
253  attrset->setAttr( NCstyle::DialogFrameScrl, 14080 );
254  attrset->setAttr( NCstyle::DialogActiveFramePlain, 12288 | A_BOLD );
255  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 8192 );
256  attrset->setAttr( NCstyle::DialogActiveFrameData, 14080 );
257  attrset->setAttr( NCstyle::DialogActiveFrameHint, 9216 | A_BOLD );
258  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 13312 | A_BOLD );
259  attrset->setAttr( NCstyle::ListTitle, 14080 );
260  attrset->setAttr( NCstyle::ListPlain, 14080 );
261  attrset->setAttr( NCstyle::ListLabel, 14080 );
262  attrset->setAttr( NCstyle::ListData, 13312 | A_BOLD );
263  attrset->setAttr( NCstyle::ListHint, 13312 | A_BOLD );
264  attrset->setAttr( NCstyle::ListSelPlain, 14080 );
265  attrset->setAttr( NCstyle::ListSelLabel, 14080 );
266  attrset->setAttr( NCstyle::ListSelData, 13312 | A_BOLD );
267  attrset->setAttr( NCstyle::ListSelHint, 13312 | A_BOLD );
268  attrset->setAttr( NCstyle::ListActiveTitle, 14080 );
269  attrset->setAttr( NCstyle::ListActivePlain, 14080 );
270  attrset->setAttr( NCstyle::ListActiveLabel, 14080 );
271  attrset->setAttr( NCstyle::ListActiveData, 13312 | A_BOLD );
272  attrset->setAttr( NCstyle::ListActiveHint, 13312 | A_BOLD );
273  attrset->setAttr( NCstyle::ListActiveSelPlain, 8192 );
274  attrset->setAttr( NCstyle::ListActiveSelLabel, 8192 );
275  attrset->setAttr( NCstyle::ListActiveSelData, 9216 | A_BOLD );
276  attrset->setAttr( NCstyle::ListActiveSelHint, 9216 | A_BOLD );
277  attrset->setAttr( NCstyle::RichTextPlain, 16128 );
278  attrset->setAttr( NCstyle::RichTextTitle, 15360 | A_BOLD );
279  attrset->setAttr( NCstyle::RichTextLink, 15104 );
280  attrset->setAttr( NCstyle::RichTextArmedlink, 15104 | A_BOLD );
281  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 8192 | A_BOLD );
282  attrset->setAttr( NCstyle::RichTextVisitedLink, 59 );
283  attrset->setAttr( NCstyle::RichTextB, 16128 | A_BOLD );
284  attrset->setAttr( NCstyle::RichTextI, 16128 | A_BOLD );
285  attrset->setAttr( NCstyle::RichTextT, 14592 );
286  attrset->setAttr( NCstyle::RichTextBI, 14336 | A_BOLD );
287  attrset->setAttr( NCstyle::RichTextBT, 14592 | A_BOLD );
288  attrset->setAttr( NCstyle::RichTextIT, 14592 );
289  attrset->setAttr( NCstyle::RichTextBIT, 14592 | A_BOLD );
290  attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
291  attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
292  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
293 }
294 
295 #endif // NCstyle_xterm_h