libyui-ncurses  2.44.1
/usr/src/RPM/BUILD/libyui-ncurses-2.44.1/src/NCstyle.inverted.h
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013    File:       NCstyle.inverted.h
00014 
00015    Author:     Generated by class NCstyle
00016 
00017 /-*/
00018 
00019 #ifndef NCstyle_inverted_h
00020 #define NCstyle_inverted_h
00021 
00022 #include "NCstyle.h"
00023 
00024 inline void NCstyleInit_inverted( std::vector<NCstyle::Style> & styleSet )
00025 {
00026     //=================================================================
00027     // init global attributes
00028     //=================================================================
00029     NCattrset * attrset( &styleSet[NCstyle::DefaultStyle].getAttrGlobal() );
00030     attrset->setAttr( NCstyle::AppTitle, 7936 );
00031     attrset->setAttr( NCstyle::AppText, 0 );
00032     //=================================================================
00033     // init local attributes
00034     //=================================================================
00035     // DefaultStyle
00036     attrset = &styleSet[NCstyle::DefaultStyle].getAttrLocal();
00037     attrset->setAttr( NCstyle::DialogBorder, 0 );
00038     attrset->setAttr( NCstyle::DialogTitle, 0 );
00039     attrset->setAttr( NCstyle::DialogActiveBorder, 0 | A_BOLD );
00040     attrset->setAttr( NCstyle::DialogActiveTitle, 0 | A_BOLD );
00041     attrset->setAttr( NCstyle::DialogText, 0 );
00042     attrset->setAttr( NCstyle::DialogHeadline, 0 | A_BOLD );
00043     attrset->setAttr( NCstyle::DialogDisabled, 0 );
00044     attrset->setAttr( NCstyle::DialogPlain, 0 );
00045     attrset->setAttr( NCstyle::DialogLabel, 0 );
00046     attrset->setAttr( NCstyle::DialogData, 0 | A_BOLD );
00047     attrset->setAttr( NCstyle::DialogHint, 0 | A_BOLD );
00048     attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
00049     attrset->setAttr( NCstyle::DialogActivePlain, 0 );
00050     attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
00051     attrset->setAttr( NCstyle::DialogActiveData, 7936 );
00052     attrset->setAttr( NCstyle::DialogActiveHint, 7168 | A_BOLD );
00053     attrset->setAttr( NCstyle::DialogActiveScrl, 7168 | A_BOLD );
00054     attrset->setAttr( NCstyle::DialogFramePlain, 0 );
00055     attrset->setAttr( NCstyle::DialogFrameLabel, 0 );
00056     attrset->setAttr( NCstyle::DialogFrameData, 0 );
00057     attrset->setAttr( NCstyle::DialogFrameHint, 0 | A_BOLD );
00058     attrset->setAttr( NCstyle::DialogFrameScrl, 0 );
00059     attrset->setAttr( NCstyle::DialogActiveFramePlain, 0 | A_BOLD );
00060     attrset->setAttr( NCstyle::DialogActiveFrameLabel, 7936 );
00061     attrset->setAttr( NCstyle::DialogActiveFrameData, 0 );
00062     attrset->setAttr( NCstyle::DialogActiveFrameHint, 7168 | A_BOLD );
00063     attrset->setAttr( NCstyle::DialogActiveFrameScrl, 0 | A_BOLD );
00064     attrset->setAttr( NCstyle::ListTitle, 0 );
00065     attrset->setAttr( NCstyle::ListPlain, 0 );
00066     attrset->setAttr( NCstyle::ListLabel, 0 );
00067     attrset->setAttr( NCstyle::ListData, 0 | A_BOLD );
00068     attrset->setAttr( NCstyle::ListHint, 0 | A_BOLD );
00069     attrset->setAttr( NCstyle::ListSelPlain, 0 );
00070     attrset->setAttr( NCstyle::ListSelLabel, 0 );
00071     attrset->setAttr( NCstyle::ListSelData, 0 | A_BOLD );
00072     attrset->setAttr( NCstyle::ListSelHint, 0 | A_BOLD );
00073     attrset->setAttr( NCstyle::ListActiveTitle, 0 );
00074     attrset->setAttr( NCstyle::ListActivePlain, 0 );
00075     attrset->setAttr( NCstyle::ListActiveLabel, 0 );
00076     attrset->setAttr( NCstyle::ListActiveData, 7168 | A_BOLD );
00077     attrset->setAttr( NCstyle::ListActiveHint, 0 | A_BOLD );
00078     attrset->setAttr( NCstyle::ListActiveSelPlain, 7936 );
00079     attrset->setAttr( NCstyle::ListActiveSelLabel, 7936 );
00080     attrset->setAttr( NCstyle::ListActiveSelData, 7936 | A_BOLD );
00081     attrset->setAttr( NCstyle::ListActiveSelHint, 6144 | A_BOLD );
00082     attrset->setAttr( NCstyle::RichTextPlain, 1792 );
00083     attrset->setFg( NCstyle::RichTextPlain, 7 );
00084     attrset->setAttr( NCstyle::RichTextTitle, 512 );
00085     attrset->setAttr( NCstyle::RichTextLink, 768 );
00086     attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
00087     attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
00088     attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
00089     attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
00090     attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
00091     attrset->setAttr( NCstyle::RichTextT, 256 | A_BOLD );
00092     attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
00093     attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
00094     attrset->setAttr( NCstyle::RichTextIT, 512 );
00095     attrset->setAttr( NCstyle::RichTextBIT, 14848 );
00096     attrset->setAttr( NCstyle::ProgbarCh, 7168 | A_BOLD );
00097     attrset->setAttr( NCstyle::ProgbarBgch, 32 | A_BOLD );
00098     attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
00099     // InfoStyle
00100     attrset = &styleSet[NCstyle::InfoStyle].getAttrLocal();
00101     attrset->setAttr( NCstyle::DialogBorder, 5888 );
00102     attrset->setAttr( NCstyle::DialogTitle, 5888 );
00103     attrset->setAttr( NCstyle::DialogActiveBorder, 4096 | A_BOLD );
00104     attrset->setAttr( NCstyle::DialogActiveTitle, 4096 | A_BOLD );
00105     attrset->setAttr( NCstyle::DialogText, 5888 );
00106     attrset->setAttr( NCstyle::DialogHeadline, 4096 | A_BOLD );
00107     attrset->setAttr( NCstyle::DialogDisabled, 5376 | A_BOLD );
00108     attrset->setAttr( NCstyle::DialogPlain, 4096 | A_BOLD );
00109     attrset->setAttr( NCstyle::DialogLabel, 5888 );
00110     attrset->setAttr( NCstyle::DialogData, 4096 | A_BOLD );
00111     attrset->setAttr( NCstyle::DialogHint, 4096 | A_BOLD );
00112     attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
00113     attrset->setAttr( NCstyle::DialogActivePlain, 0 );
00114     attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
00115     attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
00116     attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
00117     attrset->setAttr( NCstyle::DialogActiveScrl, 0 );
00118     attrset->setAttr( NCstyle::DialogFramePlain, 5888 );
00119     attrset->setAttr( NCstyle::DialogFrameLabel, 5888 );
00120     attrset->setAttr( NCstyle::DialogFrameData, 5888 );
00121     attrset->setAttr( NCstyle::DialogFrameHint, 4096 | A_BOLD );
00122     attrset->setAttr( NCstyle::DialogFrameScrl, 4096 );
00123     attrset->setAttr( NCstyle::DialogActiveFramePlain, 4096 | A_BOLD );
00124     attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0 );
00125     attrset->setAttr( NCstyle::DialogActiveFrameData, 5888 );
00126     attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
00127     attrset->setAttr( NCstyle::DialogActiveFrameScrl, 5376 | A_BOLD );
00128     attrset->setAttr( NCstyle::ListTitle, 5888 );
00129     attrset->setAttr( NCstyle::ListPlain, 5888 );
00130     attrset->setAttr( NCstyle::ListLabel, 5888 );
00131     attrset->setAttr( NCstyle::ListData, 4096 | A_BOLD );
00132     attrset->setAttr( NCstyle::ListHint, 4096 | A_BOLD );
00133     attrset->setAttr( NCstyle::ListSelPlain, 5888 );
00134     attrset->setAttr( NCstyle::ListSelLabel, 5888 );
00135     attrset->setAttr( NCstyle::ListSelData, 4096 | A_BOLD );
00136     attrset->setAttr( NCstyle::ListSelHint, 4096 | A_BOLD );
00137     attrset->setAttr( NCstyle::ListActiveTitle, 5888 );
00138     attrset->setAttr( NCstyle::ListActivePlain, 5888 );
00139     attrset->setAttr( NCstyle::ListActiveLabel, 5888 );
00140     attrset->setAttr( NCstyle::ListActiveData, 4096 | A_BOLD );
00141     attrset->setAttr( NCstyle::ListActiveHint, 4096 | A_BOLD );
00142     attrset->setAttr( NCstyle::ListActiveSelPlain, 0 );
00143     attrset->setAttr( NCstyle::ListActiveSelLabel, 0 );
00144     attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
00145     attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
00146     attrset->setAttr( NCstyle::RichTextPlain, 0 );
00147     attrset->setFg( NCstyle::RichTextPlain, 7 );
00148     attrset->setAttr( NCstyle::RichTextTitle, 00 | A_BOLD );
00149     attrset->setAttr( NCstyle::RichTextLink, 768 );
00150     attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
00151     attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
00152     attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
00153     attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
00154     attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
00155     attrset->setAttr( NCstyle::RichTextT, 256 );
00156     attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
00157     attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
00158     attrset->setAttr( NCstyle::RichTextIT, 256 );
00159     attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
00160     attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
00161     attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
00162     attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
00163     // WarnStyle
00164     attrset = &styleSet[NCstyle::WarnStyle].getAttrLocal();
00165     attrset->setAttr( NCstyle::DialogBorder, 3840 );
00166     attrset->setAttr( NCstyle::DialogTitle, 3840 );
00167     attrset->setAttr( NCstyle::DialogActiveBorder, 2048 | A_BOLD );
00168     attrset->setAttr( NCstyle::DialogActiveTitle, 2048 | A_BOLD );
00169     attrset->setAttr( NCstyle::DialogText, 3840 );
00170     attrset->setAttr( NCstyle::DialogHeadline, 2048 | A_BOLD );
00171     attrset->setAttr( NCstyle::DialogDisabled, 3584 | A_BOLD );
00172     attrset->setAttr( NCstyle::DialogPlain, 3840 );
00173     attrset->setAttr( NCstyle::DialogLabel, 3840 );
00174     attrset->setAttr( NCstyle::DialogData, 2048 | A_BOLD );
00175     attrset->setAttr( NCstyle::DialogHint, 2048 | A_BOLD );
00176     attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
00177     attrset->setAttr( NCstyle::DialogActivePlain, 0 | A_BOLD );
00178     attrset->setAttr( NCstyle::DialogActiveLabel, 0 | A_BOLD );
00179     attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
00180     attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
00181     attrset->setAttr( NCstyle::DialogActiveScrl, 0 | A_BOLD );
00182     attrset->setAttr( NCstyle::DialogFramePlain, 3840 );
00183     attrset->setAttr( NCstyle::DialogFrameLabel, 3840 );
00184     attrset->setAttr( NCstyle::DialogFrameData, 3840 );
00185     attrset->setAttr( NCstyle::DialogFrameHint, 2048 | A_BOLD );
00186     attrset->setAttr( NCstyle::DialogFrameScrl, 3584 | A_BOLD );
00187     attrset->setAttr( NCstyle::DialogActiveFramePlain, 2048 | A_BOLD );
00188     attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0 | A_BOLD );
00189     attrset->setAttr( NCstyle::DialogActiveFrameData, 3840 );
00190     attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
00191     attrset->setAttr( NCstyle::DialogActiveFrameScrl, 3584 | A_BOLD );
00192     attrset->setAttr( NCstyle::ListTitle, 3840 );
00193     attrset->setAttr( NCstyle::ListPlain, 3840 );
00194     attrset->setAttr( NCstyle::ListLabel, 3840 );
00195     attrset->setAttr( NCstyle::ListData, 2048 | A_BOLD );
00196     attrset->setAttr( NCstyle::ListHint, 2048 | A_BOLD );
00197     attrset->setAttr( NCstyle::ListSelPlain, 3840 );
00198     attrset->setAttr( NCstyle::ListSelLabel, 3840 );
00199     attrset->setAttr( NCstyle::ListSelData, 2048 | A_BOLD );
00200     attrset->setAttr( NCstyle::ListSelHint, 2048 | A_BOLD );
00201     attrset->setAttr( NCstyle::ListActiveTitle, 3840 );
00202     attrset->setAttr( NCstyle::ListActivePlain, 3840 );
00203     attrset->setAttr( NCstyle::ListActiveLabel, 3840 );
00204     attrset->setAttr( NCstyle::ListActiveData, 2048 | A_BOLD );
00205     attrset->setAttr( NCstyle::ListActiveHint, 2048 | A_BOLD );
00206     attrset->setAttr( NCstyle::ListActiveSelPlain, 0 | A_BOLD );
00207     attrset->setAttr( NCstyle::ListActiveSelLabel, 0 | A_BOLD );
00208     attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
00209     attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
00210     attrset->setAttr( NCstyle::RichTextPlain, 0 );
00211     attrset->setFg( NCstyle::RichTextPlain, 7 );
00212     attrset->setAttr( NCstyle::RichTextTitle, 00 | A_BOLD );
00213     attrset->setAttr( NCstyle::RichTextLink, 768 );
00214     attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
00215     attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
00216     attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
00217     attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
00218     attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
00219     attrset->setAttr( NCstyle::RichTextT, 256 );
00220     attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
00221     attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
00222     attrset->setAttr( NCstyle::RichTextIT, 256 );
00223     attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
00224     attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
00225     attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
00226     attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
00227     // PopupStyle
00228     attrset = &styleSet[NCstyle::PopupStyle].getAttrLocal();
00229     attrset->setAttr( NCstyle::DialogBorder, 0 );
00230     attrset->setAttr( NCstyle::DialogTitle, 0 );
00231     attrset->setAttr( NCstyle::DialogActiveBorder, 6144 | A_BOLD );
00232     attrset->setAttr( NCstyle::DialogActiveTitle, 6144 | A_BOLD );
00233     attrset->setAttr( NCstyle::DialogText, 7936 );
00234     attrset->setAttr( NCstyle::DialogHeadline, 7168 | A_BOLD );
00235     attrset->setAttr( NCstyle::DialogDisabled, 7936 | A_BOLD );
00236     attrset->setAttr( NCstyle::DialogPlain, 7936 );
00237     attrset->setAttr( NCstyle::DialogLabel, 7936 );
00238     attrset->setAttr( NCstyle::DialogData, 7168 | A_BOLD );
00239     attrset->setAttr( NCstyle::DialogHint, 7168 | A_BOLD );
00240     attrset->setAttr( NCstyle::DialogScrl, 0 | A_BOLD );
00241     attrset->setAttr( NCstyle::DialogActivePlain, 0 );
00242     attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
00243     attrset->setAttr( NCstyle::DialogActiveData, 0 | A_BOLD );
00244     attrset->setAttr( NCstyle::DialogActiveHint, 0 | A_BOLD );
00245     attrset->setAttr( NCstyle::DialogActiveScrl, 0 | A_BOLD );
00246     attrset->setAttr( NCstyle::DialogFramePlain, 7936 );
00247     attrset->setAttr( NCstyle::DialogFrameLabel, 7936 );
00248     attrset->setAttr( NCstyle::DialogFrameData, 13056 );
00249     attrset->setAttr( NCstyle::DialogFrameHint, 7168 | A_BOLD );
00250     attrset->setAttr( NCstyle::DialogFrameScrl, 7936 );
00251     attrset->setAttr( NCstyle::DialogActiveFramePlain, 6144 | A_BOLD );
00252     attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0 );
00253     attrset->setAttr( NCstyle::DialogActiveFrameData, 7936 );
00254     attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 | A_BOLD );
00255     attrset->setAttr( NCstyle::DialogActiveFrameScrl, 7168 | A_BOLD );
00256     attrset->setAttr( NCstyle::ListTitle, 7936 );
00257     attrset->setAttr( NCstyle::ListPlain, 7936 );
00258     attrset->setAttr( NCstyle::ListLabel, 7936 );
00259     attrset->setAttr( NCstyle::ListData, 7168 | A_BOLD );
00260     attrset->setAttr( NCstyle::ListHint, 7168 | A_BOLD );
00261     attrset->setAttr( NCstyle::ListSelPlain, 6912 );
00262     attrset->setAttr( NCstyle::ListSelLabel, 6912 );
00263     attrset->setAttr( NCstyle::ListSelData, 7168 | A_BOLD );
00264     attrset->setAttr( NCstyle::ListSelHint, 7168 | A_BOLD );
00265     attrset->setAttr( NCstyle::ListActiveTitle, 7936 );
00266     attrset->setAttr( NCstyle::ListActivePlain, 7936 );
00267     attrset->setAttr( NCstyle::ListActiveLabel, 7936 );
00268     attrset->setAttr( NCstyle::ListActiveData, 7168 | A_BOLD );
00269     attrset->setAttr( NCstyle::ListActiveHint, 7168 | A_BOLD );
00270     attrset->setAttr( NCstyle::ListActiveSelPlain, 0 );
00271     attrset->setAttr( NCstyle::ListActiveSelLabel, 0 );
00272     attrset->setAttr( NCstyle::ListActiveSelData, 0 | A_BOLD );
00273     attrset->setAttr( NCstyle::ListActiveSelHint, 0 | A_BOLD );
00274     attrset->setAttr( NCstyle::RichTextPlain, 0 );
00275     attrset->setFg( NCstyle::RichTextPlain, 7 );
00276     attrset->setAttr( NCstyle::RichTextTitle, 0 | A_BOLD );
00277     attrset->setAttr( NCstyle::RichTextLink, 768 );
00278     attrset->setAttr( NCstyle::RichTextArmedlink, 768 | A_BOLD );
00279     attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0 | A_BOLD );
00280     attrset->setAttr( NCstyle::RichTextVisitedLink, 3 );
00281     attrset->setAttr( NCstyle::RichTextB, 0 | A_BOLD );
00282     attrset->setAttr( NCstyle::RichTextI, 0 | A_BOLD );
00283     attrset->setAttr( NCstyle::RichTextT, 256 );
00284     attrset->setAttr( NCstyle::RichTextBI, 512 | A_BOLD );
00285     attrset->setAttr( NCstyle::RichTextBT, 256 | A_BOLD );
00286     attrset->setAttr( NCstyle::RichTextIT, 256 );
00287     attrset->setAttr( NCstyle::RichTextBIT, 256 | A_BOLD );
00288     attrset->setAttr( NCstyle::ProgbarCh, 0x1720 );
00289     attrset->setAttr( NCstyle::ProgbarBgch, 16160 );
00290     attrset->setAttr( NCstyle::TextCursor, 7936 | A_BLINK );
00291 }
00292 
00293 #endif // NCstyle_inverted_h
 All Classes Functions Variables