Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

NCstyle.linux.h

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

Generated on Wed Sep 14 10:52:54 2005 for yast2-ncurses by  doxygen 1.4.4