00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef NCstyle_mono_h
00020 #define NCstyle_mono_h
00021
00022 #include "NCstyle.h"
00023
00024 inline void NCstyleInit_mono( vector<NCstyle::Style> & styleSet )
00025 {
00026
00027
00028
00029 NCattrset * attrset( &styleSet[NCstyle::DefaultStyle].getAttrGlobal() );
00030 attrset->setAttr( NCstyle::AppTitle, 0|A_BOLD );
00031 attrset->setAttr( NCstyle::AppText, 0 );
00032
00033
00034
00035
00036 attrset = &styleSet[NCstyle::DefaultStyle].getAttrLocal();
00037 attrset->setAttr( NCstyle::DialogBorder, 0|A_REVERSE|A_BOLD );
00038 attrset->setAttr( NCstyle::DialogTitle, 0|A_REVERSE|A_BOLD );
00039 attrset->setAttr( NCstyle::DialogActiveBorder, 0|A_REVERSE );
00040 attrset->setAttr( NCstyle::DialogActiveTitle, 0|A_REVERSE );
00041 attrset->setAttr( NCstyle::DialogText, 0|A_REVERSE|A_BOLD );
00042 attrset->setAttr( NCstyle::DialogHeadline, 0|A_REVERSE );
00043 attrset->setAttr( NCstyle::DialogDisabled, 0|A_REVERSE|A_BOLD );
00044 attrset->setAttr( NCstyle::DialogPlain, 0|A_REVERSE|A_BOLD );
00045 attrset->setAttr( NCstyle::DialogLabel, 0|A_REVERSE|A_BOLD );
00046 attrset->setAttr( NCstyle::DialogData, 0|A_REVERSE );
00047 attrset->setAttr( NCstyle::DialogHint, 0|A_REVERSE );
00048 attrset->setAttr( NCstyle::DialogScrl, 0|A_REVERSE|A_BOLD );
00049 attrset->setAttr( NCstyle::DialogActivePlain, 0 );
00050 attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
00051 attrset->setAttr( NCstyle::DialogActiveData, 0|A_BOLD );
00052 attrset->setAttr( NCstyle::DialogActiveHint, 0|A_BOLD );
00053 attrset->setAttr( NCstyle::DialogActiveScrl, 0|A_BOLD );
00054 attrset->setAttr( NCstyle::DialogFramePlain, 0|A_REVERSE|A_BOLD );
00055 attrset->setAttr( NCstyle::DialogFrameLabel, 0|A_REVERSE|A_BOLD );
00056 attrset->setAttr( NCstyle::DialogFrameData, 0|A_REVERSE );
00057 attrset->setAttr( NCstyle::DialogFrameHint, 0|A_REVERSE );
00058 attrset->setAttr( NCstyle::DialogFrameScrl, 0|A_REVERSE|A_BOLD );
00059 attrset->setAttr( NCstyle::DialogActiveFramePlain, 0|A_REVERSE );
00060 attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0|A_REVERSE );
00061 attrset->setAttr( NCstyle::DialogActiveFrameData, 0|A_REVERSE|A_BOLD );
00062 attrset->setAttr( NCstyle::DialogActiveFrameHint, 0|A_REVERSE|A_BOLD );
00063 attrset->setAttr( NCstyle::DialogActiveFrameScrl, 0|A_REVERSE );
00064 attrset->setAttr( NCstyle::ListTitle, 0|A_REVERSE|A_BOLD );
00065 attrset->setAttr( NCstyle::ListPlain, 0|A_REVERSE|A_BOLD );
00066 attrset->setAttr( NCstyle::ListLabel, 0|A_REVERSE|A_BOLD );
00067 attrset->setAttr( NCstyle::ListData, 0|A_REVERSE );
00068 attrset->setAttr( NCstyle::ListHint, 0|A_REVERSE|A_BOLD );
00069 attrset->setAttr( NCstyle::ListSelPlain, 0|A_REVERSE|A_BOLD );
00070 attrset->setAttr( NCstyle::ListSelLabel, 0|A_REVERSE|A_BOLD );
00071 attrset->setAttr( NCstyle::ListSelData, 0|A_REVERSE );
00072 attrset->setAttr( NCstyle::ListSelHint, 0|A_REVERSE|A_BOLD );
00073 attrset->setAttr( NCstyle::ListActiveTitle, 0 );
00074 attrset->setAttr( NCstyle::ListActivePlain, 0|A_REVERSE );
00075 attrset->setAttr( NCstyle::ListActiveLabel, 0|A_REVERSE );
00076 attrset->setAttr( NCstyle::ListActiveData, 0|A_REVERSE|A_BOLD );
00077 attrset->setAttr( NCstyle::ListActiveHint, 0|A_REVERSE|A_BOLD );
00078 attrset->setAttr( NCstyle::ListActiveSelPlain, 0 );
00079 attrset->setAttr( NCstyle::ListActiveSelLabel, 0 );
00080 attrset->setAttr( NCstyle::ListActiveSelData, 0|A_BOLD );
00081 attrset->setAttr( NCstyle::ListActiveSelHint, 0|A_BOLD );
00082 attrset->setAttr( NCstyle::RichTextPlain, 0|A_REVERSE|A_BOLD );
00083 attrset->setAttr( NCstyle::RichTextTitle, 0|A_REVERSE );
00084 attrset->setAttr( NCstyle::RichTextLink, 0 );
00085 attrset->setAttr( NCstyle::RichTextArmedlink, 0 );
00086 attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0|A_BOLD );
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
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::RichTextB, 0|A_REVERSE );
00150 attrset->setAttr( NCstyle::RichTextI, 0|A_REVERSE );
00151 attrset->setAttr( NCstyle::RichTextT, 0|A_REVERSE );
00152 attrset->setAttr( NCstyle::RichTextBI, 0|A_REVERSE );
00153 attrset->setAttr( NCstyle::RichTextBT, 0|A_REVERSE );
00154 attrset->setAttr( NCstyle::RichTextIT, 0|A_REVERSE );
00155 attrset->setAttr( NCstyle::RichTextBIT, 0|A_REVERSE );
00156 attrset->setAttr( NCstyle::ProgbarCh, 0|A_BOLD );
00157 attrset->setAttr( NCstyle::ProgbarBgch, 4194481 );
00158 attrset->setAttr( NCstyle::TextCursor, 0|A_REVERSE|A_BOLD );
00159
00160 attrset = &styleSet[NCstyle::WarnStyle].getAttrLocal();
00161 attrset->setAttr( NCstyle::DialogBorder, 0 );
00162 attrset->setAttr( NCstyle::DialogTitle, 0 );
00163 attrset->setAttr( NCstyle::DialogActiveBorder, 0|A_BOLD );
00164 attrset->setAttr( NCstyle::DialogActiveTitle, 0|A_BOLD );
00165 attrset->setAttr( NCstyle::DialogText, 0 );
00166 attrset->setAttr( NCstyle::DialogHeadline, 0|A_BOLD );
00167 attrset->setAttr( NCstyle::DialogDisabled, 0 );
00168 attrset->setAttr( NCstyle::DialogPlain, 0 );
00169 attrset->setAttr( NCstyle::DialogLabel, 0 );
00170 attrset->setAttr( NCstyle::DialogData, 0|A_BOLD );
00171 attrset->setAttr( NCstyle::DialogHint, 0|A_BOLD );
00172 attrset->setAttr( NCstyle::DialogScrl, 0 );
00173 attrset->setAttr( NCstyle::DialogActivePlain, 0|A_REVERSE );
00174 attrset->setAttr( NCstyle::DialogActiveLabel, 0|A_REVERSE );
00175 attrset->setAttr( NCstyle::DialogActiveData, 0|A_REVERSE|A_BOLD );
00176 attrset->setAttr( NCstyle::DialogActiveHint, 0|A_REVERSE|A_BOLD );
00177 attrset->setAttr( NCstyle::DialogActiveScrl, 0|A_REVERSE|A_BOLD );
00178 attrset->setAttr( NCstyle::DialogFramePlain, 0 );
00179 attrset->setAttr( NCstyle::DialogFrameLabel, 0 );
00180 attrset->setAttr( NCstyle::DialogFrameData, 0|A_BOLD );
00181 attrset->setAttr( NCstyle::DialogFrameHint, 0|A_BOLD );
00182 attrset->setAttr( NCstyle::DialogFrameScrl, 0 );
00183 attrset->setAttr( NCstyle::DialogActiveFramePlain, 0|A_BOLD );
00184 attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0|A_BOLD );
00185 attrset->setAttr( NCstyle::DialogActiveFrameData, 0 );
00186 attrset->setAttr( NCstyle::DialogActiveFrameHint, 0 );
00187 attrset->setAttr( NCstyle::DialogActiveFrameScrl, 0|A_BOLD );
00188 attrset->setAttr( NCstyle::ListTitle, 0 );
00189 attrset->setAttr( NCstyle::ListPlain, 0 );
00190 attrset->setAttr( NCstyle::ListLabel, 0 );
00191 attrset->setAttr( NCstyle::ListData, 0|A_BOLD );
00192 attrset->setAttr( NCstyle::ListHint, 0 );
00193 attrset->setAttr( NCstyle::ListSelPlain, 0 );
00194 attrset->setAttr( NCstyle::ListSelLabel, 0 );
00195 attrset->setAttr( NCstyle::ListSelData, 0|A_BOLD );
00196 attrset->setAttr( NCstyle::ListSelHint, 0 );
00197 attrset->setAttr( NCstyle::ListActiveTitle, 0|A_REVERSE );
00198 attrset->setAttr( NCstyle::ListActivePlain, 0|A_BOLD );
00199 attrset->setAttr( NCstyle::ListActiveLabel, 0|A_BOLD );
00200 attrset->setAttr( NCstyle::ListActiveData, 0 );
00201 attrset->setAttr( NCstyle::ListActiveHint, 0 );
00202 attrset->setAttr( NCstyle::ListActiveSelPlain, 0|A_REVERSE );
00203 attrset->setAttr( NCstyle::ListActiveSelLabel, 0|A_REVERSE );
00204 attrset->setAttr( NCstyle::ListActiveSelData, 0|A_REVERSE|A_BOLD );
00205 attrset->setAttr( NCstyle::ListActiveSelHint, 0|A_REVERSE|A_BOLD );
00206 attrset->setAttr( NCstyle::RichTextPlain, 0|A_REVERSE|A_BOLD );
00207 attrset->setAttr( NCstyle::RichTextTitle, 0|A_REVERSE );
00208 attrset->setAttr( NCstyle::RichTextLink, 0 );
00209 attrset->setAttr( NCstyle::RichTextArmedlink, 0 );
00210 attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0|A_BOLD );
00211 attrset->setAttr( NCstyle::RichTextB, 0|A_REVERSE );
00212 attrset->setAttr( NCstyle::RichTextI, 0|A_REVERSE );
00213 attrset->setAttr( NCstyle::RichTextT, 0|A_REVERSE );
00214 attrset->setAttr( NCstyle::RichTextBI, 0|A_REVERSE );
00215 attrset->setAttr( NCstyle::RichTextBT, 0|A_REVERSE );
00216 attrset->setAttr( NCstyle::RichTextIT, 0|A_REVERSE );
00217 attrset->setAttr( NCstyle::RichTextBIT, 0|A_REVERSE );
00218 attrset->setAttr( NCstyle::ProgbarCh, 0|A_BOLD );
00219 attrset->setAttr( NCstyle::ProgbarBgch, 4194481 );
00220 attrset->setAttr( NCstyle::TextCursor, 0|A_REVERSE|A_BOLD );
00221
00222 attrset = &styleSet[NCstyle::PopupStyle].getAttrLocal();
00223 attrset->setAttr( NCstyle::DialogBorder, 0|A_REVERSE|A_BOLD );
00224 attrset->setAttr( NCstyle::DialogTitle, 0|A_REVERSE|A_BOLD );
00225 attrset->setAttr( NCstyle::DialogActiveBorder, 0|A_REVERSE );
00226 attrset->setAttr( NCstyle::DialogActiveTitle, 0|A_REVERSE );
00227 attrset->setAttr( NCstyle::DialogText, 0|A_REVERSE|A_BOLD );
00228 attrset->setAttr( NCstyle::DialogHeadline, 0|A_REVERSE );
00229 attrset->setAttr( NCstyle::DialogDisabled, 0|A_REVERSE|A_BOLD );
00230 attrset->setAttr( NCstyle::DialogPlain, 0|A_REVERSE|A_BOLD );
00231 attrset->setAttr( NCstyle::DialogLabel, 0|A_REVERSE|A_BOLD );
00232 attrset->setAttr( NCstyle::DialogData, 0|A_REVERSE );
00233 attrset->setAttr( NCstyle::DialogHint, 0|A_REVERSE );
00234 attrset->setAttr( NCstyle::DialogScrl, 0|A_REVERSE|A_BOLD );
00235 attrset->setAttr( NCstyle::DialogActivePlain, 0 );
00236 attrset->setAttr( NCstyle::DialogActiveLabel, 0 );
00237 attrset->setAttr( NCstyle::DialogActiveData, 0|A_BOLD );
00238 attrset->setAttr( NCstyle::DialogActiveHint, 0|A_BOLD );
00239 attrset->setAttr( NCstyle::DialogActiveScrl, 0|A_BOLD );
00240 attrset->setAttr( NCstyle::DialogFramePlain, 0|A_REVERSE|A_BOLD );
00241 attrset->setAttr( NCstyle::DialogFrameLabel, 0|A_REVERSE|A_BOLD );
00242 attrset->setAttr( NCstyle::DialogFrameData, 0|A_REVERSE );
00243 attrset->setAttr( NCstyle::DialogFrameHint, 0|A_REVERSE );
00244 attrset->setAttr( NCstyle::DialogFrameScrl, 0|A_REVERSE|A_BOLD );
00245 attrset->setAttr( NCstyle::DialogActiveFramePlain, 0|A_REVERSE );
00246 attrset->setAttr( NCstyle::DialogActiveFrameLabel, 0|A_REVERSE );
00247 attrset->setAttr( NCstyle::DialogActiveFrameData, 0|A_REVERSE|A_BOLD );
00248 attrset->setAttr( NCstyle::DialogActiveFrameHint, 0|A_REVERSE|A_BOLD );
00249 attrset->setAttr( NCstyle::DialogActiveFrameScrl, 0|A_REVERSE );
00250 attrset->setAttr( NCstyle::ListTitle, 0|A_REVERSE|A_BOLD );
00251 attrset->setAttr( NCstyle::ListPlain, 0|A_REVERSE|A_BOLD );
00252 attrset->setAttr( NCstyle::ListLabel, 0|A_REVERSE|A_BOLD );
00253 attrset->setAttr( NCstyle::ListData, 0|A_REVERSE );
00254 attrset->setAttr( NCstyle::ListHint, 0|A_REVERSE|A_BOLD );
00255 attrset->setAttr( NCstyle::ListSelPlain, 0|A_REVERSE|A_BOLD );
00256 attrset->setAttr( NCstyle::ListSelLabel, 0|A_REVERSE|A_BOLD );
00257 attrset->setAttr( NCstyle::ListSelData, 0|A_REVERSE );
00258 attrset->setAttr( NCstyle::ListSelHint, 0|A_REVERSE|A_BOLD );
00259 attrset->setAttr( NCstyle::ListActiveTitle, 0 );
00260 attrset->setAttr( NCstyle::ListActivePlain, 0|A_REVERSE );
00261 attrset->setAttr( NCstyle::ListActiveLabel, 0|A_REVERSE );
00262 attrset->setAttr( NCstyle::ListActiveData, 0|A_REVERSE|A_BOLD );
00263 attrset->setAttr( NCstyle::ListActiveHint, 0|A_REVERSE|A_BOLD );
00264 attrset->setAttr( NCstyle::ListActiveSelPlain, 0 );
00265 attrset->setAttr( NCstyle::ListActiveSelLabel, 0 );
00266 attrset->setAttr( NCstyle::ListActiveSelData, 0|A_BOLD );
00267 attrset->setAttr( NCstyle::ListActiveSelHint, 0|A_BOLD );
00268 attrset->setAttr( NCstyle::RichTextPlain, 0|A_REVERSE|A_BOLD );
00269 attrset->setAttr( NCstyle::RichTextTitle, 0|A_REVERSE );
00270 attrset->setAttr( NCstyle::RichTextLink, 0 );
00271 attrset->setAttr( NCstyle::RichTextArmedlink, 0 );
00272 attrset->setAttr( NCstyle::RichTextActiveArmedlink, 0|A_BOLD );
00273 attrset->setAttr( NCstyle::RichTextB, 0|A_REVERSE );
00274 attrset->setAttr( NCstyle::RichTextI, 0|A_REVERSE );
00275 attrset->setAttr( NCstyle::RichTextT, 0|A_REVERSE );
00276 attrset->setAttr( NCstyle::RichTextBI, 0|A_REVERSE );
00277 attrset->setAttr( NCstyle::RichTextBT, 0|A_REVERSE );
00278 attrset->setAttr( NCstyle::RichTextIT, 0|A_REVERSE );
00279 attrset->setAttr( NCstyle::RichTextBIT, 0|A_REVERSE );
00280 attrset->setAttr( NCstyle::ProgbarCh, 0|A_BOLD );
00281 attrset->setAttr( NCstyle::ProgbarBgch, 4194481 );
00282 attrset->setAttr( NCstyle::TextCursor, 0|A_REVERSE|A_BOLD );
00283 }
00284 #endif // NCstyle_mono_h