| 1 | #ifndef TXWDRAW_H |
|---|
| 2 | #define TXWDRAW_H |
|---|
| 3 | // |
|---|
| 4 | // TxWin, Textmode Windowing Library |
|---|
| 5 | // |
|---|
| 6 | // Original code Copyright (c) 1995-2005 Fsys Software and Jan van Wijk |
|---|
| 7 | // |
|---|
| 8 | // ========================================================================== |
|---|
| 9 | // |
|---|
| 10 | // This file contains Original Code and/or Modifications of Original Code as |
|---|
| 11 | // defined in and that are subject to the GNU Lesser General Public License. |
|---|
| 12 | // You may not use this file except in compliance with the License. |
|---|
| 13 | // BY USING THIS FILE YOU AGREE TO ALL TERMS AND CONDITIONS OF THE LICENSE. |
|---|
| 14 | // A copy of the License is provided with the Original Code and Modifications, |
|---|
| 15 | // and is also available at http://www.dfsee.com/txwin/lgpl.htm |
|---|
| 16 | // |
|---|
| 17 | // This library is free software; you can redistribute it and/or modify |
|---|
| 18 | // it under the terms of the GNU Lesser General Public License as published |
|---|
| 19 | // by the Free Software Foundation; either version 2.1 of the License, |
|---|
| 20 | // or (at your option) any later version. |
|---|
| 21 | // |
|---|
| 22 | // This library is distributed in the hope that it will be useful, |
|---|
| 23 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 24 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| 25 | // See the GNU Lesser General Public License for more details. |
|---|
| 26 | // |
|---|
| 27 | // You should have received a copy of the GNU Lesser General Public License |
|---|
| 28 | // along with this library; (lgpl.htm) if not, write to the Free Software |
|---|
| 29 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 30 | // |
|---|
| 31 | // Questions on TxWin licensing can be directed to: txwin@fsys.nl |
|---|
| 32 | // |
|---|
| 33 | // ========================================================================== |
|---|
| 34 | // |
|---|
| 35 | // |
|---|
| 36 | // TX Windowed text, drawing, color-scheme definitions |
|---|
| 37 | // |
|---|
| 38 | // Author: J. van Wijk |
|---|
| 39 | // |
|---|
| 40 | // JvW 16-04-2004 Implement color scheme data structures |
|---|
| 41 | |
|---|
| 42 | //- define the actual color-mappings, to be used in the colorschemes below |
|---|
| 43 | |
|---|
| 44 | //- New default scheme, a 3D-look with Grey menus, Cyan borders and White Windows |
|---|
| 45 | static TXW_COLORMAP txwcm_3g = |
|---|
| 46 | { |
|---|
| 47 | 0, // cSchemeColor |
|---|
| 48 | TX_Black_on_White, // cWinClientClr |
|---|
| 49 | TX_Black_on_White, // cWinClientNr0 |
|---|
| 50 | TX_Blue_on_White, // cWinClientNr1 |
|---|
| 51 | TX_Green_on_White, // cWinClientNr2 |
|---|
| 52 | TX_Cyan_on_White, // cWinClientNr3 |
|---|
| 53 | TX_Red_on_White, // cWinClientNr4 |
|---|
| 54 | TX_Magenta_on_White, // cWinClientNr5 |
|---|
| 55 | TX_Yellow_on_White, // cWinClientNr6 |
|---|
| 56 | TX_Grey_on_White, // cWinClientNr7 |
|---|
| 57 | TX_Lwhite_on_White, // cWinBorder_top |
|---|
| 58 | TX_Lwhite_on_White, // cWinBorder_trc |
|---|
| 59 | TX_Black_on_White, // cWinBorder_rgt |
|---|
| 60 | TX_Black_on_White, // cWinBorder_brc |
|---|
| 61 | TX_Black_on_White, // cWinBorder_bot |
|---|
| 62 | TX_Lwhite_on_White, // cWinBorder_blc |
|---|
| 63 | TX_Lwhite_on_White, // cWinBorder_lft |
|---|
| 64 | TX_Lwhite_on_White, // cWinBorder_tlc |
|---|
| 65 | TX_Lwhite_on_White, // cWinTitleStand |
|---|
| 66 | TX_Lwhite_on_Grey, // cWinTitleFocus |
|---|
| 67 | TX_Black_on_White, // cWinFooterStand |
|---|
| 68 | TX_Lwhite_on_Grey, // cWinFooterFocus |
|---|
| 69 | TX_Lwhite_on_White, // cDlgBorder_top |
|---|
| 70 | TX_Black_on_White, // cDlgBorder_trc |
|---|
| 71 | TX_Black_on_White, // cDlgBorder_rgt |
|---|
| 72 | TX_Black_on_White, // cDlgBorder_brc |
|---|
| 73 | TX_Black_on_White, // cDlgBorder_bot |
|---|
| 74 | TX_Lwhite_on_White, // cDlgBorder_blc |
|---|
| 75 | TX_Lwhite_on_White, // cDlgBorder_lft |
|---|
| 76 | TX_Lwhite_on_White, // cDlgBorder_tlc |
|---|
| 77 | TX_Black_on_White, // cDlgTitleStand |
|---|
| 78 | TX_Black_on_White, // cDlgTitleFocus |
|---|
| 79 | TX_Black_on_White, // cDlgFooterStand |
|---|
| 80 | TX_Black_on_White, // cDlgFooterFocus |
|---|
| 81 | TX_White_on_Grey, // cPushBorder_top |
|---|
| 82 | TX_White_on_Grey, // cPushBorder_trc |
|---|
| 83 | TX_Black_on_Grey, // cPushBorder_rgt |
|---|
| 84 | TX_Black_on_Grey, // cPushBorder_brc |
|---|
| 85 | TX_Black_on_Grey, // cPushBorder_bot |
|---|
| 86 | TX_White_on_Grey, // cPushBorder_blc |
|---|
| 87 | TX_White_on_Grey, // cPushBorder_lft |
|---|
| 88 | TX_White_on_Grey, // cPushBorder_tlc |
|---|
| 89 | TX_Yellow_on_Cyan, // cPushTitleStand |
|---|
| 90 | TX_Lwhite_on_Magenta, // cPushTitleFocus |
|---|
| 91 | TX_Cyan_on_Cyan, // cPushFooterStand |
|---|
| 92 | TX_Yellow_on_Blue, // cPushFooterFocus |
|---|
| 93 | TX_Lwhite_on_White, // cViewBorder_top |
|---|
| 94 | TX_Lwhite_on_White, // cViewBorder_trc |
|---|
| 95 | TX_Black_on_White, // cViewBorder_rgt |
|---|
| 96 | TX_Black_on_White, // cViewBorder_brc |
|---|
| 97 | TX_Black_on_White, // cViewBorder_bot |
|---|
| 98 | TX_Lwhite_on_White, // cViewBorder_blc |
|---|
| 99 | TX_Lwhite_on_White, // cViewBorder_lft |
|---|
| 100 | TX_Lwhite_on_White, // cViewBorder_tlc |
|---|
| 101 | TX_Lwhite_on_White, // cViewTitleStand |
|---|
| 102 | TX_Lwhite_on_Grey, // cViewTitleFocus |
|---|
| 103 | TX_Black_on_White, // cViewFooterStand |
|---|
| 104 | TX_White_on_Grey, // cViewFooterFocus |
|---|
| 105 | TX_Black_on_Cyan, // cSbvBorder_top |
|---|
| 106 | TX_Lcyan_on_Cyan, // cSbvBorder_trc (or blank) |
|---|
| 107 | TX_Lcyan_on_Cyan, // cSbvBorder_rgt |
|---|
| 108 | TX_Lcyan_on_Cyan, // cSbvBorder_brc |
|---|
| 109 | TX_Lcyan_on_Cyan, // cSbvBorder_bot |
|---|
| 110 | TX_Black_on_Cyan, // cSbvBorder_blc (or blank) |
|---|
| 111 | TX_Black_on_Cyan, // cSbvBorder_lft |
|---|
| 112 | TX_Black_on_Cyan, // cSbvBorder_tlc |
|---|
| 113 | TX_Yellow_on_Cyan, // cSbvTitleStand |
|---|
| 114 | TX_Lwhite_on_Magenta, // cSbvTitleFocus |
|---|
| 115 | TX_Lcyan_on_Cyan, // cSbvFooterStand |
|---|
| 116 | TX_Lcyan_on_Cyan, // cSbvFooterFocus |
|---|
| 117 | TX_Yellow_on_Cyan, // cSbvStatusStand |
|---|
| 118 | TX_Yellow_on_Cyan, // cSbvStatusFocus |
|---|
| 119 | TX_Lgreen_on_Cyan, // cSbvProgreStand |
|---|
| 120 | TX_Lgreen_on_Cyan, // cSbvTraceStand |
|---|
| 121 | TX_Lgreen_on_Cyan, // cDskTraceStand |
|---|
| 122 | TX_Lcyan_on_Cyan, // cDskBorder_top |
|---|
| 123 | TX_Lcyan_on_Cyan, // cDskBorder_trc (or blank) |
|---|
| 124 | TX_Black_on_Cyan, // cDskBorder_rgt |
|---|
| 125 | TX_Black_on_Cyan, // cDskBorder_brc |
|---|
| 126 | TX_Black_on_Cyan, // cDskBorder_bot |
|---|
| 127 | TX_Lcyan_on_Cyan, // cDskBorder_blc (or blank) |
|---|
| 128 | TX_Lcyan_on_Cyan, // cDskBorder_lft |
|---|
| 129 | TX_Lcyan_on_Cyan, // cDskBorder_tlc |
|---|
| 130 | TX_Lwhite_on_Cyan, // cDskTitleStand |
|---|
| 131 | TX_Lwhite_on_Cyan, // cDskTitleFocus |
|---|
| 132 | TX_White_on_Blue, // cDskFooterStand |
|---|
| 133 | TX_White_on_Blue, // cDskFooterFocus |
|---|
| 134 | TX_Black_on_White, // cLineTextStand |
|---|
| 135 | TX_Black_on_White, // cLineTextNr0 |
|---|
| 136 | TX_Blue_on_White, // cLineTextNr1 |
|---|
| 137 | TX_Green_on_White, // cLineTextNr2 |
|---|
| 138 | TX_Cyan_on_White, // cLineTextNr3 |
|---|
| 139 | TX_Red_on_White, // cLineTextNr4 |
|---|
| 140 | TX_Magenta_on_White, // cLineTextNr5 |
|---|
| 141 | TX_Yellow_on_White, // cLineTextNr6 |
|---|
| 142 | TX_Grey_on_White, // cLineTextNr7 |
|---|
| 143 | TX_Black_on_White, // cHelpTextStand |
|---|
| 144 | TX_Black_on_White, // cHelpTextHelp |
|---|
| 145 | TX_Black_on_White, // cViewTextStand |
|---|
| 146 | TX_Black_on_White, // cViewTextNr0 |
|---|
| 147 | TX_Blue_on_White, // cViewTextNr1 |
|---|
| 148 | TX_Green_on_White, // cViewTextNr2 |
|---|
| 149 | TX_Cyan_on_White, // cViewTextNr3 |
|---|
| 150 | TX_Red_on_White, // cViewTextNr4 |
|---|
| 151 | TX_Magenta_on_White, // cViewTextNr5 |
|---|
| 152 | TX_Yellow_on_White, // cViewTextNr6 |
|---|
| 153 | TX_Grey_on_White, // cViewTextNr7 |
|---|
| 154 | TX_Black_on_White, // cListTextStand |
|---|
| 155 | TX_Lgreen_on_Black, // cListTextFocus |
|---|
| 156 | TX_Green_on_White, // cListSelectStand |
|---|
| 157 | TX_Lgreen_on_Black, // cListSelectFocus |
|---|
| 158 | TX_Magenta_on_White, // cListMarkStand |
|---|
| 159 | TX_Magenta_on_Black, // cListMarkFocus |
|---|
| 160 | TX_Lwhite_on_White, // cListDisableStand |
|---|
| 161 | TX_White_on_Blue, // cListDisableFocus |
|---|
| 162 | TX_Black_on_White, // cListSeparatStand |
|---|
| 163 | TX_Green_on_Black, // cListSeparatFocus |
|---|
| 164 | TX_White_on_Cyan, // cListCountStand |
|---|
| 165 | TX_Yellow_on_Cyan, // cListCountFocus |
|---|
| 166 | TX_Black_on_White, // cFileTextStand |
|---|
| 167 | TX_Yellow_on_Black, // cFileTextFocus |
|---|
| 168 | TX_Black_on_White, // cFileSelectStand |
|---|
| 169 | TX_Yellow_on_Black, // cFileSelectFocus |
|---|
| 170 | TX_Magenta_on_White, // cFileMarkStand |
|---|
| 171 | TX_Magenta_on_Black, // cFileMarkFocus |
|---|
| 172 | TX_Lwhite_on_White, // cFileDisableStand |
|---|
| 173 | TX_White_on_Blue, // cFileDisableFocus |
|---|
| 174 | TX_Black_on_White, // cFileSeparatStand |
|---|
| 175 | TX_Yellow_on_Black, // cFileSeparatFocus |
|---|
| 176 | TX_Black_on_White, // cFileCountStand |
|---|
| 177 | TX_Yellow_on_White, // cFileCountFocus |
|---|
| 178 | TX_Black_on_White, // cFileBorder_top |
|---|
| 179 | TX_Lwhite_on_White, // cFileBorder_trc (or blank) |
|---|
| 180 | TX_Lwhite_on_White, // cFileBorder_rgt |
|---|
| 181 | TX_Lwhite_on_White, // cFileBorder_brc |
|---|
| 182 | TX_Lwhite_on_White, // cFileBorder_bot |
|---|
| 183 | TX_Lwhite_on_White, // cFileBorder_blc (or blank) |
|---|
| 184 | TX_Black_on_White, // cFileBorder_lft |
|---|
| 185 | TX_Black_on_White, // cFileBorder_tlc |
|---|
| 186 | TX_Black_on_White, // cFileTitleStand |
|---|
| 187 | TX_Lwhite_on_Grey, // cFileTitleFocus |
|---|
| 188 | TX_Lwhite_on_White, // cFileFooterStand |
|---|
| 189 | TX_White_on_Grey, // cFileFooterFocus |
|---|
| 190 | TX_Black_on_White, // cApplTextStand |
|---|
| 191 | TX_Lcyan_on_Black, // cApplTextFocus |
|---|
| 192 | TX_Cyan_on_White, // cApplSelectStand |
|---|
| 193 | TX_Lgreen_on_Black, // cApplSelectFocus |
|---|
| 194 | TX_Magenta_on_White, // cApplMarkStand |
|---|
| 195 | TX_Magenta_on_Black, // cApplMarkFocus |
|---|
| 196 | TX_Lwhite_on_White, // cApplDisableStand |
|---|
| 197 | TX_White_on_Blue, // cApplDisableFocus |
|---|
| 198 | TX_Black_on_White, // cApplSeparatStand |
|---|
| 199 | TX_Green_on_Black, // cApplSeparatFocus |
|---|
| 200 | TX_White_on_Grey, // cMenuTextStand |
|---|
| 201 | TX_White_on_Blue, // cMenuTextFocus |
|---|
| 202 | TX_Yellow_on_Grey, // cMenuSelectStand |
|---|
| 203 | TX_Yellow_on_Blue, // cMenuSelectFocus |
|---|
| 204 | TX_Black_on_Grey, // cMenuMarkStand |
|---|
| 205 | TX_Cyan_on_Blue, // cMenuMarkFocus (mbar) |
|---|
| 206 | TX_Black_on_Grey, // cMenuDisableStand |
|---|
| 207 | TX_Cyan_on_Blue, // cMenuDisableFocus (mbar) |
|---|
| 208 | TX_White_on_Grey, // cMenuSeparatStand |
|---|
| 209 | TX_White_on_Blue, // cMenuSeparatFocus |
|---|
| 210 | TX_White_on_Grey, // cMenuBorder_top |
|---|
| 211 | TX_White_on_Grey, // cMenuBorder_trc |
|---|
| 212 | TX_Black_on_Grey, // cMenuBorder_rgt |
|---|
| 213 | TX_Black_on_Grey, // cMenuBorder_brc |
|---|
| 214 | TX_Black_on_Grey, // cMenuBorder_bot |
|---|
| 215 | TX_White_on_Grey, // cMenuBorder_blc |
|---|
| 216 | TX_White_on_Grey, // cMenuBorder_lft |
|---|
| 217 | TX_White_on_Grey, // cMenuBorder_tlc |
|---|
| 218 | TX_White_on_Grey, // cMbarBorder_top |
|---|
| 219 | TX_White_on_Grey, // cMbarBorder_trc |
|---|
| 220 | TX_White_on_Grey, // cMbarBorder_rgt |
|---|
| 221 | TX_White_on_Grey, // cMbarBorder_brc |
|---|
| 222 | TX_White_on_Grey, // cMbarBorder_bot |
|---|
| 223 | TX_White_on_Grey, // cMbarBorder_blc |
|---|
| 224 | TX_White_on_Grey, // cMbarBorder_lft |
|---|
| 225 | TX_White_on_Grey, // cMbarBorder_tlc |
|---|
| 226 | TX_White_on_Grey, // cMbarTextStand |
|---|
| 227 | TX_White_on_Grey, // cMbarTextFocus |
|---|
| 228 | TX_Yellow_on_Grey, // cMbarHeadStand |
|---|
| 229 | TX_Lwhite_on_Magenta, // cMbarHeadFocus |
|---|
| 230 | TX_White_on_Grey, // cSpinTextStand |
|---|
| 231 | TX_Lwhite_on_Grey, // cSpinTextFocus |
|---|
| 232 | TX_Yellow_on_Grey, // cSpinSelectStand |
|---|
| 233 | TX_Yellow_on_Grey, // cSpinSelectFocus |
|---|
| 234 | TX_Black_on_Grey, // cSpinMarkStand |
|---|
| 235 | TX_Black_on_Grey, // cSpinMarkFocus |
|---|
| 236 | TX_Black_on_Grey, // cSpinDisableStand |
|---|
| 237 | TX_Black_on_Grey, // cSpinDisableFocus |
|---|
| 238 | TX_White_on_Grey, // cSpinSeparatStand |
|---|
| 239 | TX_White_on_Grey, // cSpinSeparatFocus |
|---|
| 240 | TX_Lwhite_on_Grey, // cSpinIndcStand |
|---|
| 241 | TX_White_on_Blue, // cSpinIndcFocus |
|---|
| 242 | TX_Lwhite_on_Grey, // cPushTextStand |
|---|
| 243 | TX_Yellow_on_Grey, // cPushTextFocus |
|---|
| 244 | TX_Black_on_White, // cRadioValueStand |
|---|
| 245 | TX_Black_on_White, // cRadioValueFocus |
|---|
| 246 | TX_Black_on_White, // cRadioTextStand |
|---|
| 247 | TX_Black_on_White, // cRadioTextFocus |
|---|
| 248 | TX_Black_on_White, // cCheckValueStand |
|---|
| 249 | TX_Black_on_White, // cCheckValueFocus |
|---|
| 250 | TX_Black_on_White, // cCheckTextStand |
|---|
| 251 | TX_Black_on_White, // cCheckTextFocus |
|---|
| 252 | TX_Yellow_on_Green, // cDlgEfTextStand |
|---|
| 253 | TX_Lwhite_on_Green, // cDlgEfTextFocus |
|---|
| 254 | TX_Yellow_on_Green, // cEntryTextStand |
|---|
| 255 | TX_Yellow_on_Green, // cEntryTextFocus |
|---|
| 256 | TX_Green_on_Green, // cEntryHistStand |
|---|
| 257 | TX_White_on_Green, // cEntryHistFocus |
|---|
| 258 | TX_White_on_Green, // cEntrBorder_top |
|---|
| 259 | TX_White_on_Green, // cEntrBorder_trc |
|---|
| 260 | TX_White_on_Green, // cEntrBorder_rgt |
|---|
| 261 | TX_White_on_Green, // cEntrBorder_brc |
|---|
| 262 | TX_White_on_Green, // cEntrBorder_bot |
|---|
| 263 | TX_White_on_Green, // cEntrBorder_blc |
|---|
| 264 | TX_White_on_Green, // cEntrBorder_lft |
|---|
| 265 | TX_White_on_Green, // cEntrBorder_tlc |
|---|
| 266 | TX_White_on_Green, // cEntrTitleStand |
|---|
| 267 | TX_Lwhite_on_Grey, // cEntrTitleFocus |
|---|
| 268 | TX_Black_on_White, // cEntrFooterStand |
|---|
| 269 | TX_White_on_Grey, // cEntrFooterFocus |
|---|
| 270 | TX_Black_on_White, // cMLEntTextStand |
|---|
| 271 | TX_Black_on_White, // cMLEntTextFocus |
|---|
| 272 | TX_Yellow_on_Magenta, // cHexEdCurByteChg |
|---|
| 273 | TX_Lwhite_on_Magenta, // cHexEdCursorByte |
|---|
| 274 | TX_White_on_Blue, // cHexEdHexByteStd |
|---|
| 275 | TX_Yellow_on_Blue, // cHexEdHexByteChg |
|---|
| 276 | TX_Lwhite_on_Blue, // cHexEdAscByteStd |
|---|
| 277 | TX_Lcyan_on_Blue, // cHexEdAscBracket |
|---|
| 278 | TX_Grey_on_White, // cHexEdRelPosPrev |
|---|
| 279 | TX_Black_on_White, // cHexEdRelPosCurr |
|---|
| 280 | TX_Grey_on_White, // cHexEdRelPosNext |
|---|
| 281 | TX_Cyan_on_White, // cHexEdAbsBytePos |
|---|
| 282 | TX_Cyan_on_White, // cHexEdAbsByteCur |
|---|
| 283 | TX_Black_on_White, // cHexEdRelCursorP |
|---|
| 284 | TX_Yellow_on_Grey, // cHexEdButtonText |
|---|
| 285 | TX_White_on_Grey, // cHexEdButBracket |
|---|
| 286 | TX_Grey_on_White, // cHexEdByteNumber |
|---|
| 287 | TX_White_on_Cyan, // cHexEdItemSnText |
|---|
| 288 | TX_Yellow_on_Cyan, // cHexEdItemHlight |
|---|
| 289 | TX_Red_on_White, // cHexEdModifyText |
|---|
| 290 | }; |
|---|
| 291 | |
|---|
| 292 | //- Color scheme that avoids the 'bright backgrounds' that may cause blinking |
|---|
| 293 | static TXW_COLORMAP txwcm_nb = |
|---|
| 294 | { |
|---|
| 295 | 0, // cSchemeColor |
|---|
| 296 | TX_Black_on_White, // cWinClientClr |
|---|
| 297 | TX_Black_on_White, // cWinClientNr0 |
|---|
| 298 | TX_Blue_on_White, // cWinClientNr1 |
|---|
| 299 | TX_Green_on_White, // cWinClientNr2 |
|---|
| 300 | TX_Cyan_on_White, // cWinClientNr3 |
|---|
| 301 | TX_Red_on_White, // cWinClientNr4 |
|---|
| 302 | TX_Magenta_on_White, // cWinClientNr5 |
|---|
| 303 | TX_Yellow_on_White, // cWinClientNr6 |
|---|
| 304 | TX_Grey_on_White, // cWinClientNr7 |
|---|
| 305 | TX_White_on_Cyan, // cWinBorder_top |
|---|
| 306 | TX_White_on_Cyan, // cWinBorder_trc |
|---|
| 307 | TX_White_on_Cyan, // cWinBorder_rgt |
|---|
| 308 | TX_White_on_Cyan, // cWinBorder_brc |
|---|
| 309 | TX_White_on_Cyan, // cWinBorder_bot |
|---|
| 310 | TX_White_on_Cyan, // cWinBorder_blc |
|---|
| 311 | TX_White_on_Cyan, // cWinBorder_lft |
|---|
| 312 | TX_White_on_Cyan, // cWinBorder_tlc |
|---|
| 313 | TX_Yellow_on_Cyan, // cWinTitleStand |
|---|
| 314 | TX_Lwhite_on_Magenta, // cWinTitleFocus |
|---|
| 315 | TX_Cyan_on_Cyan, // cWinFooterStand |
|---|
| 316 | TX_Yellow_on_Blue, // cWinFooterFocus |
|---|
| 317 | TX_Black_on_White, // cDlgBorder_top |
|---|
| 318 | TX_Black_on_White, // cDlgBorder_trc |
|---|
| 319 | TX_Black_on_White, // cDlgBorder_rgt |
|---|
| 320 | TX_Black_on_White, // cDlgBorder_brc |
|---|
| 321 | TX_Black_on_White, // cDlgBorder_bot |
|---|
| 322 | TX_Black_on_White, // cDlgBorder_blc |
|---|
| 323 | TX_Black_on_White, // cDlgBorder_lft |
|---|
| 324 | TX_Black_on_White, // cDlgBorder_tlc |
|---|
| 325 | TX_Black_on_White, // cDlgTitleStand |
|---|
| 326 | TX_Black_on_White, // cDlgTitleFocus |
|---|
| 327 | TX_Black_on_White, // cDlgFooterStand |
|---|
| 328 | TX_Black_on_White, // cDlgFooterFocus |
|---|
| 329 | TX_Lwhite_on_Cyan, // cPushBorder_top |
|---|
| 330 | TX_Lwhite_on_Cyan, // cPushBorder_trc |
|---|
| 331 | TX_Lwhite_on_Cyan, // cPushBorder_rgt |
|---|
| 332 | TX_Lwhite_on_Cyan, // cPushBorder_brc |
|---|
| 333 | TX_Lwhite_on_Cyan, // cPushBorder_bot |
|---|
| 334 | TX_Lwhite_on_Cyan, // cPushBorder_blc |
|---|
| 335 | TX_Lwhite_on_Cyan, // cPushBorder_lft |
|---|
| 336 | TX_Lwhite_on_Cyan, // cPushBorder_tlc |
|---|
| 337 | TX_Yellow_on_Cyan, // cPushTitleStand |
|---|
| 338 | TX_Lwhite_on_Magenta, // cPushTitleFocus |
|---|
| 339 | TX_Cyan_on_Cyan, // cPushFooterStand |
|---|
| 340 | TX_Yellow_on_Blue, // cPushFooterFocus |
|---|
| 341 | TX_White_on_Cyan, // cViewBorder_top |
|---|
| 342 | TX_White_on_Cyan, // cViewBorder_trc |
|---|
| 343 | TX_White_on_Cyan, // cViewBorder_rgt |
|---|
| 344 | TX_White_on_Cyan, // cViewBorder_brc |
|---|
| 345 | TX_White_on_Cyan, // cViewBorder_bot |
|---|
| 346 | TX_White_on_Cyan, // cViewBorder_blc |
|---|
| 347 | TX_White_on_Cyan, // cViewBorder_lft |
|---|
| 348 | TX_White_on_Cyan, // cViewBorder_tlc |
|---|
| 349 | TX_Yellow_on_Cyan, // cViewTitleStand |
|---|
| 350 | TX_Lwhite_on_Magenta, // cViewTitleFocus |
|---|
| 351 | TX_Cyan_on_Cyan, // cViewFooterStand |
|---|
| 352 | TX_Yellow_on_Blue, // cViewFooterFocus |
|---|
| 353 | TX_White_on_Cyan, // cSbvBorder_top |
|---|
| 354 | TX_White_on_Cyan, // cSbvBorder_trc |
|---|
| 355 | TX_White_on_Cyan, // cSbvBorder_rgt |
|---|
| 356 | TX_White_on_Cyan, // cSbvBorder_brc |
|---|
| 357 | TX_White_on_Cyan, // cSbvBorder_bot |
|---|
| 358 | TX_White_on_Cyan, // cSbvBorder_blc |
|---|
| 359 | TX_White_on_Cyan, // cSbvBorder_lft |
|---|
| 360 | TX_White_on_Cyan, // cSbvBorder_tlc |
|---|
| 361 | TX_Yellow_on_Cyan, // cSbvTitleStand |
|---|
| 362 | TX_Lwhite_on_Magenta, // cSbvTitleFocus |
|---|
| 363 | TX_White_on_Cyan, // cSbvFooterStand |
|---|
| 364 | TX_White_on_Cyan, // cSbvFooterFocus |
|---|
| 365 | TX_Yellow_on_Cyan, // cSbvStatusStand |
|---|
| 366 | TX_Yellow_on_Cyan, // cSbvStatusFocus |
|---|
| 367 | TX_Lgreen_on_Cyan, // cSbvProgreStand |
|---|
| 368 | TX_Lgreen_on_Cyan, // cSbvTraceStand |
|---|
| 369 | TX_Lgreen_on_Cyan, // cDskTraceStand |
|---|
| 370 | TX_White_on_Cyan, // cDskBorder_top |
|---|
| 371 | TX_White_on_Cyan, // cDskBorder_trc |
|---|
| 372 | TX_White_on_Cyan, // cDskBorder_rgt |
|---|
| 373 | TX_White_on_Cyan, // cDskBorder_brc |
|---|
| 374 | TX_White_on_Cyan, // cDskBorder_bot |
|---|
| 375 | TX_White_on_Cyan, // cDskBorder_blc |
|---|
| 376 | TX_White_on_Cyan, // cDskBorder_lft |
|---|
| 377 | TX_White_on_Cyan, // cDskBorder_tlc |
|---|
| 378 | TX_Lwhite_on_Cyan, // cDskTitleStand |
|---|
| 379 | TX_Lwhite_on_Cyan, // cDskTitleFocus |
|---|
| 380 | TX_White_on_Blue, // cDskFooterStand |
|---|
| 381 | TX_White_on_Blue, // cDskFooterFocus |
|---|
| 382 | TX_Black_on_White, // cLineTextStand |
|---|
| 383 | TX_Black_on_White, // cLineTextNr0 |
|---|
| 384 | TX_Blue_on_White, // cLineTextNr1 |
|---|
| 385 | TX_Green_on_White, // cLineTextNr2 |
|---|
| 386 | TX_Cyan_on_White, // cLineTextNr3 |
|---|
| 387 | TX_Red_on_White, // cLineTextNr4 |
|---|
| 388 | TX_Magenta_on_White, // cLineTextNr5 |
|---|
| 389 | TX_Yellow_on_White, // cLineTextNr6 |
|---|
| 390 | TX_Grey_on_White, // cLineTextNr7 |
|---|
| 391 | TX_Black_on_White, // cHelpTextStand |
|---|
| 392 | TX_Black_on_White, // cHelpTextHelp |
|---|
| 393 | TX_Black_on_White, // cViewTextStand |
|---|
| 394 | TX_Black_on_White, // cViewTextNr0 |
|---|
| 395 | TX_Blue_on_White, // cViewTextNr1 |
|---|
| 396 | TX_Green_on_White, // cViewTextNr2 |
|---|
| 397 | TX_Cyan_on_White, // cViewTextNr3 |
|---|
| 398 | TX_Red_on_White, // cViewTextNr4 |
|---|
| 399 | TX_Magenta_on_White, // cViewTextNr5 |
|---|
| 400 | TX_Yellow_on_White, // cViewTextNr6 |
|---|
| 401 | TX_Grey_on_White, // cViewTextNr7 |
|---|
| 402 | TX_White_on_Brown, // cListTextStand |
|---|
| 403 | TX_White_on_Blue, // cListTextFocus |
|---|
| 404 | TX_Yellow_on_Brown, // cListSelectStand |
|---|
| 405 | TX_Yellow_on_Blue, // cListSelectFocus |
|---|
| 406 | TX_Black_on_Brown, // cListMarkStand |
|---|
| 407 | TX_Cyan_on_Blue, // cListMarkFocus (mbar) |
|---|
| 408 | TX_Black_on_Brown, // cListDisableStand |
|---|
| 409 | TX_Cyan_on_Blue, // cListDisableFocus (mbar) |
|---|
| 410 | TX_White_on_Brown, // cListSeparatStand |
|---|
| 411 | TX_White_on_Blue, // cListSeparatFocus |
|---|
| 412 | TX_White_on_Cyan, // cListCountStand |
|---|
| 413 | TX_Yellow_on_Cyan, // cListCountFocus |
|---|
| 414 | TX_Black_on_White, // cFileTextStand |
|---|
| 415 | TX_Green_on_Black, // cFileTextFocus |
|---|
| 416 | TX_Black_on_White, // cFileSelectStand |
|---|
| 417 | TX_Green_on_Black, // cFileSelectFocus |
|---|
| 418 | TX_Magenta_on_White, // cFileMarkStand |
|---|
| 419 | TX_Magenta_on_Black, // cFileMarkFocus |
|---|
| 420 | TX_Grey_on_Black, // cFileDisableStand |
|---|
| 421 | TX_Cyan_on_Blue, // cFileDisableFocus (mbar) |
|---|
| 422 | TX_Black_on_White, // cFileSeparatStand |
|---|
| 423 | TX_Green_on_Black, // cFileSeparatFocus |
|---|
| 424 | TX_White_on_Cyan, // cFileCountStand |
|---|
| 425 | TX_Yellow_on_Cyan, // cFileCountFocus |
|---|
| 426 | TX_White_on_Cyan, // cFileBorder_top |
|---|
| 427 | TX_White_on_Cyan, // cFileBorder_trc |
|---|
| 428 | TX_White_on_Cyan, // cFileBorder_rgt |
|---|
| 429 | TX_White_on_Cyan, // cFileBorder_brc |
|---|
| 430 | TX_White_on_Cyan, // cFileBorder_bot |
|---|
| 431 | TX_White_on_Cyan, // cFileBorder_blc |
|---|
| 432 | TX_White_on_Cyan, // cFileBorder_lft |
|---|
| 433 | TX_White_on_Cyan, // cFileBorder_tlc |
|---|
| 434 | TX_Yellow_on_Cyan, // cFileTitleStand |
|---|
| 435 | TX_Lwhite_on_Magenta, // cFileTitleFocus |
|---|
| 436 | TX_Cyan_on_Cyan, // cFileFooterStand |
|---|
| 437 | TX_Yellow_on_Blue, // cFileFooterFocus |
|---|
| 438 | TX_Black_on_White, // cApplTextStand |
|---|
| 439 | TX_Green_on_Black, // cApplTextFocus |
|---|
| 440 | TX_Black_on_White, // cApplSelectStand |
|---|
| 441 | TX_Green_on_Black, // cApplSelectFocus |
|---|
| 442 | TX_Magenta_on_White, // cApplMarkStand |
|---|
| 443 | TX_Magenta_on_Black, // cApplMarkFocus |
|---|
| 444 | TX_Grey_on_Black, // cApplDisableStand |
|---|
| 445 | TX_Cyan_on_Blue, // cApplDisableFocus (mbar) |
|---|
| 446 | TX_Black_on_White, // cApplSeparatStand |
|---|
| 447 | TX_Green_on_Black, // cApplSeparatFocus |
|---|
| 448 | TX_White_on_Brown, // cMenuTextStand |
|---|
| 449 | TX_White_on_Blue, // cMenuTextFocus |
|---|
| 450 | TX_Yellow_on_Brown, // cMenuSelectStand |
|---|
| 451 | TX_Yellow_on_Blue, // cMenuSelectFocus |
|---|
| 452 | TX_Black_on_Brown, // cMenuMarkStand |
|---|
| 453 | TX_Cyan_on_Blue, // cMenuMarkFocus (mbar) |
|---|
| 454 | TX_Black_on_Brown, // cMenuDisableStand |
|---|
| 455 | TX_Cyan_on_Blue, // cMenuDisableFocus (mbar) |
|---|
| 456 | TX_White_on_Brown, // cMenuSeparatStand |
|---|
| 457 | TX_White_on_Blue, // cMenuSeparatFocus |
|---|
| 458 | TX_White_on_Cyan, // cMenuBorder_top |
|---|
| 459 | TX_White_on_Cyan, // cMenuBorder_trc |
|---|
| 460 | TX_White_on_Cyan, // cMenuBorder_rgt |
|---|
| 461 | TX_White_on_Cyan, // cMenuBorder_brc |
|---|
| 462 | TX_White_on_Cyan, // cMenuBorder_bot |
|---|
| 463 | TX_White_on_Cyan, // cMenuBorder_blc |
|---|
| 464 | TX_White_on_Cyan, // cMenuBorder_lft |
|---|
| 465 | TX_White_on_Cyan, // cMenuBorder_tlc |
|---|
| 466 | TX_White_on_Brown, // cMbarBorder_top |
|---|
| 467 | TX_White_on_Brown, // cMbarBorder_trc |
|---|
| 468 | TX_White_on_Brown, // cMbarBorder_rgt |
|---|
| 469 | TX_White_on_Brown, // cMbarBorder_brc |
|---|
| 470 | TX_White_on_Brown, // cMbarBorder_bot |
|---|
| 471 | TX_White_on_Brown, // cMbarBorder_blc |
|---|
| 472 | TX_White_on_Brown, // cMbarBorder_lft |
|---|
| 473 | TX_White_on_Brown, // cMbarBorder_tlc |
|---|
| 474 | TX_White_on_Brown, // cMbarTextStand |
|---|
| 475 | TX_White_on_Brown, // cMbarTextFocus |
|---|
| 476 | TX_Yellow_on_Brown, // cMbarHeadStand |
|---|
| 477 | TX_Lwhite_on_Magenta, // cMbarHeadFocus |
|---|
| 478 | TX_White_on_Brown, // cSpinTextStand |
|---|
| 479 | TX_Lwhite_on_Brown, // cSpinTextFocus |
|---|
| 480 | TX_Yellow_on_Brown, // cSpinSelectStand |
|---|
| 481 | TX_Yellow_on_Brown, // cSpinSelectFocus |
|---|
| 482 | TX_Black_on_Brown, // cSpinMarkStand |
|---|
| 483 | TX_Black_on_Brown, // cSpinMarkFocus |
|---|
| 484 | TX_Black_on_Brown, // cSpinDisableStand |
|---|
| 485 | TX_Black_on_Brown, // cSpinDisableFocus |
|---|
| 486 | TX_White_on_Brown, // cSpinSeparatStand |
|---|
| 487 | TX_White_on_Brown, // cSpinSeparatFocus |
|---|
| 488 | TX_Brown_on_Brown, // cSpinIndcStand |
|---|
| 489 | TX_White_on_Blue, // cSpinIndcFocus |
|---|
| 490 | TX_Lwhite_on_Cyan, // cPushTextStand |
|---|
| 491 | TX_Yellow_on_Cyan, // cPushTextFocus |
|---|
| 492 | TX_Black_on_White, // cRadioValueStand |
|---|
| 493 | TX_Black_on_White, // cRadioValueFocus |
|---|
| 494 | TX_Black_on_White, // cRadioTextStand |
|---|
| 495 | TX_Black_on_White, // cRadioTextFocus |
|---|
| 496 | TX_Black_on_White, // cCheckValueStand |
|---|
| 497 | TX_Black_on_White, // cCheckValueFocus |
|---|
| 498 | TX_Black_on_White, // cCheckTextStand |
|---|
| 499 | TX_Black_on_White, // cCheckTextFocus |
|---|
| 500 | TX_Yellow_on_Green, // cDlgEfTextStand |
|---|
| 501 | TX_Lwhite_on_Green, // cDlgEfTextFocus |
|---|
| 502 | TX_Yellow_on_Green, // cEntryTextStand |
|---|
| 503 | TX_Yellow_on_Green, // cEntryTextFocus |
|---|
| 504 | TX_Green_on_Green, // cEntryHistStand |
|---|
| 505 | TX_White_on_Green, // cEntryHistFocus |
|---|
| 506 | TX_White_on_Green, // cEntrBorder_top |
|---|
| 507 | TX_White_on_Green, // cEntrBorder_trc |
|---|
| 508 | TX_White_on_Green, // cEntrBorder_rgt |
|---|
| 509 | TX_White_on_Green, // cEntrBorder_brc |
|---|
| 510 | TX_White_on_Green, // cEntrBorder_bot |
|---|
| 511 | TX_White_on_Green, // cEntrBorder_blc |
|---|
| 512 | TX_White_on_Green, // cEntrBorder_lft |
|---|
| 513 | TX_White_on_Green, // cEntrBorder_tlc |
|---|
| 514 | TX_White_on_Green, // cEntrTitleStand |
|---|
| 515 | TX_Lwhite_on_Magenta, // cEntrTitleFocus |
|---|
| 516 | TX_White_on_Green, // cEntrFooterStand |
|---|
| 517 | TX_White_on_Blue, // cEntrFooterFocus |
|---|
| 518 | TX_Black_on_White, // cMLEntTextStand |
|---|
| 519 | TX_Black_on_White, // cMLEntTextFocus |
|---|
| 520 | TX_Yellow_on_Magenta, // cHexEdCurByteChg |
|---|
| 521 | TX_Lwhite_on_Magenta, // cHexEdCursorByte |
|---|
| 522 | TX_White_on_Blue, // cHexEdHexByteStd |
|---|
| 523 | TX_Yellow_on_Blue, // cHexEdHexByteChg |
|---|
| 524 | TX_White_on_Blue, // cHexEdAscByteStd |
|---|
| 525 | TX_Lcyan_on_Blue, // cHexEdAscBracket |
|---|
| 526 | TX_Grey_on_White, // cHexEdRelPosPrev |
|---|
| 527 | TX_Black_on_White, // cHexEdRelPosCurr |
|---|
| 528 | TX_Grey_on_White, // cHexEdRelPosNext |
|---|
| 529 | TX_Cyan_on_White, // cHexEdAbsBytePos |
|---|
| 530 | TX_Cyan_on_White, // cHexEdAbsByteCur |
|---|
| 531 | TX_Black_on_White, // cHexEdRelCursorP |
|---|
| 532 | TX_Yellow_on_Cyan, // cHexEdButtonText |
|---|
| 533 | TX_White_on_Cyan, // cHexEdButBracket |
|---|
| 534 | TX_Grey_on_White, // cHexEdByteNumber |
|---|
| 535 | TX_White_on_Magenta, // cHexEdItemSnText |
|---|
| 536 | TX_Yellow_on_Magenta, // cHexEdItemHlight |
|---|
| 537 | TX_Red_on_White, // cHexEdModifyText |
|---|
| 538 | }; |
|---|
| 539 | |
|---|
| 540 | //- Color scheme inspired by the Norton Commander and clones, very Cyan/Blue |
|---|
| 541 | static TXW_COLORMAP txwcm_cm = |
|---|
| 542 | { |
|---|
| 543 | 0, // cSchemeColor |
|---|
| 544 | TX_Black_on_White, // cWinClientClr |
|---|
| 545 | TX_Black_on_White, // cWinClientNr0 |
|---|
| 546 | TX_Blue_on_White, // cWinClientNr1 |
|---|
| 547 | TX_Green_on_White, // cWinClientNr2 |
|---|
| 548 | TX_Cyan_on_White, // cWinClientNr3 |
|---|
| 549 | TX_Red_on_White, // cWinClientNr4 |
|---|
| 550 | TX_Magenta_on_White, // cWinClientNr5 |
|---|
| 551 | TX_Yellow_on_White, // cWinClientNr6 |
|---|
| 552 | TX_Grey_on_White, // cWinClientNr7 |
|---|
| 553 | TX_Black_on_White, // cWinBorder_top |
|---|
| 554 | TX_Black_on_White, // cWinBorder_trc |
|---|
| 555 | TX_Black_on_White, // cWinBorder_rgt |
|---|
| 556 | TX_Black_on_White, // cWinBorder_brc |
|---|
| 557 | TX_Black_on_White, // cWinBorder_bot |
|---|
| 558 | TX_Black_on_White, // cWinBorder_blc |
|---|
| 559 | TX_Black_on_White, // cWinBorder_lft |
|---|
| 560 | TX_Black_on_White, // cWinBorder_tlc |
|---|
| 561 | TX_Black_on_White, // cWinTitleStand |
|---|
| 562 | TX_Blue_on_White, // cWinTitleFocus |
|---|
| 563 | TX_Black_on_White, // cWinFooterStand |
|---|
| 564 | TX_Magenta_on_White, // cWinFooterFocus |
|---|
| 565 | TX_Black_on_White, // cDlgBorder_top |
|---|
| 566 | TX_Black_on_White, // cDlgBorder_trc |
|---|
| 567 | TX_Black_on_White, // cDlgBorder_rgt |
|---|
| 568 | TX_Black_on_White, // cDlgBorder_brc |
|---|
| 569 | TX_Black_on_White, // cDlgBorder_bot |
|---|
| 570 | TX_Black_on_White, // cDlgBorder_blc |
|---|
| 571 | TX_Black_on_White, // cDlgBorder_lft |
|---|
| 572 | TX_Black_on_White, // cDlgBorder_tlc |
|---|
| 573 | TX_Black_on_White, // cDlgTitleStand |
|---|
| 574 | TX_Black_on_White, // cDlgTitleFocus |
|---|
| 575 | TX_Black_on_White, // cDlgFooterStand |
|---|
| 576 | TX_Black_on_White, // cDlgFooterFocus |
|---|
| 577 | TX_Black_on_White, // cPushBorder_top |
|---|
| 578 | TX_Black_on_White, // cPushBorder_trc |
|---|
| 579 | TX_Black_on_White, // cPushBorder_rgt |
|---|
| 580 | TX_Black_on_White, // cPushBorder_brc |
|---|
| 581 | TX_Black_on_White, // cPushBorder_bot |
|---|
| 582 | TX_Black_on_White, // cPushBorder_blc |
|---|
| 583 | TX_Black_on_White, // cPushBorder_lft |
|---|
| 584 | TX_Black_on_White, // cPushBorder_tlc |
|---|
| 585 | TX_Black_on_White, // cPushTitleStand |
|---|
| 586 | TX_Black_on_Cyan, // cPushTitleFocus |
|---|
| 587 | TX_Black_on_White, // cPushFooterStand |
|---|
| 588 | TX_Black_on_Cyan, // cPushFooterFocus |
|---|
| 589 | TX_Black_on_White, // cViewBorder_top |
|---|
| 590 | TX_Black_on_White, // cViewBorder_trc |
|---|
| 591 | TX_Black_on_White, // cViewBorder_rgt |
|---|
| 592 | TX_Black_on_White, // cViewBorder_brc |
|---|
| 593 | TX_Black_on_White, // cViewBorder_bot |
|---|
| 594 | TX_Black_on_White, // cViewBorder_blc |
|---|
| 595 | TX_Black_on_White, // cViewBorder_lft |
|---|
| 596 | TX_Black_on_White, // cViewBorder_tlc |
|---|
| 597 | TX_Black_on_White, // cViewTitleStand |
|---|
| 598 | TX_Blue_on_White, // cViewTitleFocus |
|---|
| 599 | TX_Black_on_White, // cViewFooterStand |
|---|
| 600 | TX_Magenta_on_White, // cViewFooterFocus |
|---|
| 601 | TX_Lcyan_on_Blue, // cSbvBorder_top |
|---|
| 602 | TX_Lcyan_on_Blue, // cSbvBorder_trc |
|---|
| 603 | TX_Lcyan_on_Blue, // cSbvBorder_rgt |
|---|
| 604 | TX_Lcyan_on_Blue, // cSbvBorder_brc |
|---|
| 605 | TX_Lcyan_on_Blue, // cSbvBorder_bot |
|---|
| 606 | TX_Lcyan_on_Blue, // cSbvBorder_blc |
|---|
| 607 | TX_Lcyan_on_Blue, // cSbvBorder_lft |
|---|
| 608 | TX_Lcyan_on_Blue, // cSbvBorder_tlc |
|---|
| 609 | TX_Lcyan_on_Blue, // cSbvTitleStand |
|---|
| 610 | TX_Black_on_Cyan, // cSbvTitleFocus |
|---|
| 611 | TX_Lcyan_on_Blue, // cSbvFooterStand |
|---|
| 612 | TX_Lcyan_on_Blue, // cSbvFooterFocus |
|---|
| 613 | TX_Yellow_on_Blue, // cSbvStatusStand |
|---|
| 614 | TX_Yellow_on_Blue, // cSbvStatusFocus |
|---|
| 615 | TX_Lgreen_on_Blue, // cSbvProgreStand |
|---|
| 616 | TX_Lgreen |
|---|