libyui-ncurses  2.46.7
NCstyle.inverted.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.inverted.h
20 
21  Author: Generated by class NCstyle
22 
23 /-*/
24 
25 #ifndef NCstyle_inverted_h
26 #define NCstyle_inverted_h
27 
28 #include "NCstyle.h"
29 
30 inline void NCstyleInit_inverted( std::vector<NCstyle::Style> & styleSet )
31 {
32  //=================================================================
33  // init global attributes
34  //=================================================================
35  NCattrset * attrset( &styleSet[NCstyle::DefaultStyle].getAttrGlobal() );
36  attrset->setAttr( NCstyle::AppTitle, 7936 );
37  attrset->setAttr( NCstyle::AppText, 0 );
38  //=================================================================
39  // init local attributes
40  //=================================================================
41  // DefaultStyle
42  attrset = &styleSet[NCstyle::DefaultStyle].getAttrLocal();
43  attrset->setAttr( NCstyle::DialogBorder, 0 );
44  attrset->setAttr( NCstyle::DialogTitle, 0 );
45  attrset->setAttr( NCstyle::DialogActiveBorder, 0 | A_BOLD );
46  attrset->setAttr( NCstyle::DialogActiveTitle, 0 | A_BOLD );
47  attrset->setAttr( NCstyle::DialogText, 0 );
48  attrset->setAttr( NCstyle::DialogHeadline, 0 | A_BOLD );
49  attrset->setAttr( NCstyle::DialogDisabled, 0 );
50  attrset->setAttr( NCstyle::DialogPlain, 0 );
51  attrset->setAttr( NCstyle::DialogLabel, 0 );
52  attrset->setAttr( NCstyle::DialogData, 0 | A_BOLD );
53  attrset->setAttr( NCstyle::DialogHint, 0 | A_BOLD );
54  attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
55  attrset->setAttr( NCstyle::DialogActivePlain, 0 );
56  attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
57  attrset->setAttr( NCstyle::DialogActiveData, 7936 );
58  attrset->setAttr( NCstyle::DialogActiveHint, 7168 | A_BOLD );
59  attrset->setAttr( NCstyle::DialogActiveScrl, 7168 | A_BOLD );
60  attrset->setAttr( NCstyle::DialogFramePlain, 0 );
61  attrset->setAttr( NCstyle::DialogFrameLabel, 0 );
62  attrset->setAttr( NCstyle::DialogFrameData, 0 );
63  attrset->setAttr( NCstyle::DialogFrameHint, 0 | A_BOLD );
64  attrset->setAttr( NCstyle::DialogFrameScrl, 0 );
65  attrset->setAttr( NCstyle::DialogActiveFramePlain, 0 | A_BOLD );
66  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 7936 );
67  attrset->setAttr( NCstyle::DialogActiveFrameData, 0 );
68  attrset->setAttr( NCstyle::DialogActiveFrameHint, 7168 | A_BOLD );
69  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 0 | A_BOLD );
70  attrset->setAttr( NCstyle::ListTitle, 0 );
71  attrset->setAttr( NCstyle::ListPlain, 0 );
72  attrset->setAttr( NCstyle::ListLabel, 0 );
73  attrset->setAttr( NCstyle::ListData, 0 | A_BOLD );
74  attrset->setAttr( NCstyle::ListHint, 0 | A_BOLD );
75  attrset->setAttr( NCstyle::ListSelPlain, 0 );
76  attrset->setAttr( NCstyle::ListSelLabel, 0 );
77  attrset->setAttr( NCstyle::ListSelData, 0 | A_BOLD );
78  attrset->setAttr( NCstyle::ListSelHint, 0 | A_BOLD );
79  attrset->setAttr( NCstyle::ListActiveTitle, 0 );
80  attrset->setAttr( NCstyle::ListActivePlain, 0 );
81  attrset->setAttr( NCstyle::ListActiveLabel, 0 );
82  attrset->setAttr( NCstyle::ListActiveData, 7168 | A_BOLD );
83  attrset->setAttr( NCstyle::ListActiveHint, 0 | A_BOLD );
84  attrset->setAttr( NCstyle::ListActiveSelPlain, 7936 );
85  attrset->setAttr( NCstyle::ListActiveSelLabel, 7936 );
86  attrset->setAttr( NCstyle::ListActiveSelData, 7936 | A_BOLD );
87  attrset->setAttr( NCstyle::ListActiveSelHint, 6144 | A_BOLD );
88  attrset->setAttr( NCstyle::RichTextPlain, 1792 );
89  attrset->setFg( NCstyle::RichTextPlain, 7 );
90  attrset->setAttr( NCstyle::RichTextTitle, 512 );
91  attrset->setAttr( NCstyle::RichTextLink, 768 );
92  attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
93  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
94  attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
95  attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
96  attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
97  attrset->setAttr( NCstyle::RichTextT, 256 | A_BOLD );
98  attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
99  attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
100  attrset->setAttr( NCstyle::RichTextIT, 512 );
101  attrset->setAttr( NCstyle::RichTextBIT, 14848 );
102  attrset->setAttr( NCstyle::ProgbarCh, 7168 | A_BOLD );
103  attrset->setAttr( NCstyle::ProgbarBgch, 32 | A_BOLD );
104  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
105  // InfoStyle
106  attrset = &styleSet[NCstyle::InfoStyle].getAttrLocal();
107  attrset->setAttr( NCstyle::DialogBorder, 5888 );
108  attrset->setAttr( NCstyle::DialogTitle, 5888 );
109  attrset->setAttr( NCstyle::DialogActiveBorder, 4096 | A_BOLD );
110  attrset->setAttr( NCstyle::DialogActiveTitle, 4096 | A_BOLD );
111  attrset->setAttr( NCstyle::DialogText, 5888 );
112  attrset->setAttr( NCstyle::DialogHeadline, 4096 | A_BOLD );
113  attrset->setAttr( NCstyle::DialogDisabled, 5376 | A_BOLD );
114  attrset->setAttr( NCstyle::DialogPlain, 4096 | A_BOLD );
115  attrset->setAttr( NCstyle::DialogLabel, 5888 );
116  attrset->setAttr( NCstyle::DialogData, 4096 | A_BOLD );
117  attrset->setAttr( NCstyle::DialogHint, 4096 | A_BOLD );
118  attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
119  attrset->setAttr( NCstyle::DialogActivePlain, 0 );
120  attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
121  attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
122  attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
123  attrset->setAttr( NCstyle::DialogActiveScrl, 0 );
124  attrset->setAttr( NCstyle::DialogFramePlain, 5888 );
125  attrset->setAttr( NCstyle::DialogFrameLabel, 5888 );
126  attrset->setAttr( NCstyle::DialogFrameData, 5888 );
127  attrset->setAttr( NCstyle::DialogFrameHint, 4096 | A_BOLD );
128  attrset->setAttr( NCstyle::DialogFrameScrl, 4096 );
129  attrset->setAttr( NCstyle::DialogActiveFramePlain, 4096 | A_BOLD );
130  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0 );
131  attrset->setAttr( NCstyle::DialogActiveFrameData, 5888 );
132  attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
133  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 5376 | A_BOLD );
134  attrset->setAttr( NCstyle::ListTitle, 5888 );
135  attrset->setAttr( NCstyle::ListPlain, 5888 );
136  attrset->setAttr( NCstyle::ListLabel, 5888 );
137  attrset->setAttr( NCstyle::ListData, 4096 | A_BOLD );
138  attrset->setAttr( NCstyle::ListHint, 4096 | A_BOLD );
139  attrset->setAttr( NCstyle::ListSelPlain, 5888 );
140  attrset->setAttr( NCstyle::ListSelLabel, 5888 );
141  attrset->setAttr( NCstyle::ListSelData, 4096 | A_BOLD );
142  attrset->setAttr( NCstyle::ListSelHint, 4096 | A_BOLD );
143  attrset->setAttr( NCstyle::ListActiveTitle, 5888 );
144  attrset->setAttr( NCstyle::ListActivePlain, 5888 );
145  attrset->setAttr( NCstyle::ListActiveLabel, 5888 );
146  attrset->setAttr( NCstyle::ListActiveData, 4096 | A_BOLD );
147  attrset->setAttr( NCstyle::ListActiveHint, 4096 | A_BOLD );
148  attrset->setAttr( NCstyle::ListActiveSelPlain, 0 );
149  attrset->setAttr( NCstyle::ListActiveSelLabel, 0 );
150  attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
151  attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
152  attrset->setAttr( NCstyle::RichTextPlain, 0 );
153  attrset->setFg( NCstyle::RichTextPlain, 7 );
154  attrset->setAttr( NCstyle::RichTextTitle, 00 | A_BOLD );
155  attrset->setAttr( NCstyle::RichTextLink, 768 );
156  attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
157  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
158  attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
159  attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
160  attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
161  attrset->setAttr( NCstyle::RichTextT, 256 );
162  attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
163  attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
164  attrset->setAttr( NCstyle::RichTextIT, 256 );
165  attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
166  attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
167  attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
168  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
169  // WarnStyle
170  attrset = &styleSet[NCstyle::WarnStyle].getAttrLocal();
171  attrset->setAttr( NCstyle::DialogBorder, 3840 );
172  attrset->setAttr( NCstyle::DialogTitle, 3840 );
173  attrset->setAttr( NCstyle::DialogActiveBorder, 2048 | A_BOLD );
174  attrset->setAttr( NCstyle::DialogActiveTitle, 2048 | A_BOLD );
175  attrset->setAttr( NCstyle::DialogText, 3840 );
176  attrset->setAttr( NCstyle::DialogHeadline, 2048 | A_BOLD );
177  attrset->setAttr( NCstyle::DialogDisabled, 3584 | A_BOLD );
178  attrset->setAttr( NCstyle::DialogPlain, 3840 );
179  attrset->setAttr( NCstyle::DialogLabel, 3840 );
180  attrset->setAttr( NCstyle::DialogData, 2048 | A_BOLD );
181  attrset->setAttr( NCstyle::DialogHint, 2048 | A_BOLD );
182  attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
183  attrset->setAttr( NCstyle::DialogActivePlain, 0 | A_BOLD );
184  attrset->setAttr( NCstyle::DialogActiveLabel, 0 | A_BOLD );
185  attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
186  attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
187  attrset->setAttr( NCstyle::DialogActiveScrl, 0 | A_BOLD );
188  attrset->setAttr( NCstyle::DialogFramePlain, 3840 );
189  attrset->setAttr( NCstyle::DialogFrameLabel, 3840 );
190  attrset->setAttr( NCstyle::DialogFrameData, 3840 );
191  attrset->setAttr( NCstyle::DialogFrameHint, 2048 | A_BOLD );
192  attrset->setAttr( NCstyle::DialogFrameScrl, 3584 | A_BOLD );
193  attrset->setAttr( NCstyle::DialogActiveFramePlain, 2048 | A_BOLD );
194  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0 | A_BOLD );
195  attrset->setAttr( NCstyle::DialogActiveFrameData, 3840 );
196  attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
197  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 3584 | A_BOLD );
198  attrset->setAttr( NCstyle::ListTitle, 3840 );
199  attrset->setAttr( NCstyle::ListPlain, 3840 );
200  attrset->setAttr( NCstyle::ListLabel, 3840 );
201  attrset->setAttr( NCstyle::ListData, 2048 | A_BOLD );
202  attrset->setAttr( NCstyle::ListHint, 2048 | A_BOLD );
203  attrset->setAttr( NCstyle::ListSelPlain, 3840 );
204  attrset->setAttr( NCstyle::ListSelLabel, 3840 );
205  attrset->setAttr( NCstyle::ListSelData, 2048 | A_BOLD );
206  attrset->setAttr( NCstyle::ListSelHint, 2048 | A_BOLD );
207  attrset->setAttr( NCstyle::ListActiveTitle, 3840 );
208  attrset->setAttr( NCstyle::ListActivePlain, 3840 );
209  attrset->setAttr( NCstyle::ListActiveLabel, 3840 );
210  attrset->setAttr( NCstyle::ListActiveData, 2048 | A_BOLD );
211  attrset->setAttr( NCstyle::ListActiveHint, 2048 | A_BOLD );
212  attrset->setAttr( NCstyle::ListActiveSelPlain, 0 | A_BOLD );
213  attrset->setAttr( NCstyle::ListActiveSelLabel, 0 | A_BOLD );
214  attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
215  attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
216  attrset->setAttr( NCstyle::RichTextPlain, 0 );
217  attrset->setFg( NCstyle::RichTextPlain, 7 );
218  attrset->setAttr( NCstyle::RichTextTitle, 00 | A_BOLD );
219  attrset->setAttr( NCstyle::RichTextLink, 768 );
220  attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
221  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
222  attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
223  attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
224  attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
225  attrset->setAttr( NCstyle::RichTextT, 256 );
226  attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
227  attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
228  attrset->setAttr( NCstyle::RichTextIT, 256 );
229  attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
230  attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
231  attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
232  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
233  // PopupStyle
234  attrset = &styleSet[NCstyle::PopupStyle].getAttrLocal();
235  attrset->setAttr( NCstyle::DialogBorder, 0 );
236  attrset->setAttr( NCstyle::DialogTitle, 0 );
237  attrset->setAttr( NCstyle::DialogActiveBorder, 6144 | A_BOLD );
238  attrset->setAttr( NCstyle::DialogActiveTitle, 6144 | A_BOLD );
239  attrset->setAttr( NCstyle::DialogText, 7936 );
240  attrset->setAttr( NCstyle::DialogHeadline, 7168 | A_BOLD );
241  attrset->setAttr( NCstyle::DialogDisabled, 7936 | A_BOLD );
242  attrset->setAttr( NCstyle::DialogPlain, 7936 );
243  attrset->setAttr( NCstyle::DialogLabel, 7936 );
244  attrset->setAttr( NCstyle::DialogData, 7168 | A_BOLD );
245  attrset->setAttr( NCstyle::DialogHint, 7168 | A_BOLD );
246  attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
247  attrset->setAttr( NCstyle::DialogActivePlain, 0 );
248  attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
249  attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
250  attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
251  attrset->setAttr( NCstyle::DialogActiveScrl, 0 | A_BOLD );
252  attrset->setAttr( NCstyle::DialogFramePlain, 7936 );
253  attrset->setAttr( NCstyle::DialogFrameLabel, 7936 );
254  attrset->setAttr( NCstyle::DialogFrameData, 13056 );
255  attrset->setAttr( NCstyle::DialogFrameHint, 7168 | A_BOLD );
256  attrset->setAttr( NCstyle::DialogFrameScrl, 7936 );
257  attrset->setAttr( NCstyle::DialogActiveFramePlain, 6144 | A_BOLD );
258  attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0 );
259  attrset->setAttr( NCstyle::DialogActiveFrameData, 7936 );
260  attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
261  attrset->setAttr( NCstyle::DialogActiveFrameScrl, 7168 | A_BOLD );
262  attrset->setAttr( NCstyle::ListTitle, 7936 );
263  attrset->setAttr( NCstyle::ListPlain, 7936 );
264  attrset->setAttr( NCstyle::ListLabel, 7936 );
265  attrset->setAttr( NCstyle::ListData, 7168 | A_BOLD );
266  attrset->setAttr( NCstyle::ListHint, 7168 | A_BOLD );
267  attrset->setAttr( NCstyle::ListSelPlain, 6912 );
268  attrset->setAttr( NCstyle::ListSelLabel, 6912 );
269  attrset->setAttr( NCstyle::ListSelData, 7168 | A_BOLD );
270  attrset->setAttr( NCstyle::ListSelHint, 7168 | A_BOLD );
271  attrset->setAttr( NCstyle::ListActiveTitle, 7936 );
272  attrset->setAttr( NCstyle::ListActivePlain, 7936 );
273  attrset->setAttr( NCstyle::ListActiveLabel, 7936 );
274  attrset->setAttr( NCstyle::ListActiveData, 7168 | A_BOLD );
275  attrset->setAttr( NCstyle::ListActiveHint, 7168 | A_BOLD );
276  attrset->setAttr( NCstyle::ListActiveSelPlain, 0 );
277  attrset->setAttr( NCstyle::ListActiveSelLabel, 0 );
278  attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
279  attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
280  attrset->setAttr( NCstyle::RichTextPlain, 0 );
281  attrset->setFg( NCstyle::RichTextPlain, 7 );
282  attrset->setAttr( NCstyle::RichTextTitle, 0 | A_BOLD );
283  attrset->setAttr( NCstyle::RichTextLink, 768 );
284  attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
285  attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
286  attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
287  attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
288  attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
289  attrset->setAttr( NCstyle::RichTextT, 256 );
290  attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
291  attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
292  attrset->setAttr( NCstyle::RichTextIT, 256 );
293  attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
294  attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
295  attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
296  attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
297 }
298 
299 #endif // NCstyle_inverted_h