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