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