home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / tde150.arj / CFGCOLOR.H < prev    next >
Text File  |  1992-04-01  |  3KB  |  69 lines

  1.  
  2. char *sample_screen[] = {
  3. "┌───────┤ Sample Help Screen ├────────┐ ┌────────┤ Sample Text Screen ├────────┐",
  4. "│ * Enter, ,  move to next field    │ │ File Header    Size = xxx    Line:Col│",
  5. "│ *  and \x1a change foreground         │ │....┤..1........2.......3..├....│",
  6. "│ * PgUp and PgDn change background   │ │ Regular text is this color.  text    │",
  7. "│                                     │ │ The cursor line is this color.       │",
  8. "│    F2 = Load default colors         │ │ Just another regular text line.      │",
  9. "│    F3 = Quit                        │ │ Block area.  Line, stream, and box   │",
  10. "│   F10 = Write colors to tde.exe     │ │ blocks are marked in this color.     │",
  11. "│                                     │ │ <====== End of File ======>          │",
  12. "│                                     │ │ Warning Messages                     │",
  13. "│             SAMPLE.FIL              │ │ Mode/Information         wrapped...  │",
  14. "└─────────────────────────────────────┘ └──────────────────────────────────────┘",
  15. NULL
  16. };
  17.  
  18.  
  19. char *field_screen[] = {
  20. " Help screen [   ]        Warning Messages [   ]           Ruler line     [   ] ",
  21. " File Header [   ]        Mode/Information [   ]           Ruler pointer  [   ] ",
  22. " Text Area   [   ]        wrapped...       [   ]           Block color    [   ] ",
  23. " Cursor Line [   ]        End of File      [   ]           Hilited File   [   ] ",
  24. "                                                                                ",
  25. NULL
  26. };
  27.  
  28. struct {
  29.    int line;
  30.    int col;
  31.    int color;
  32.    void (*show_me)( void );
  33. } fields[12] = {
  34.    { 12, 13, 0 }, { 13, 13, 0 }, { 14, 13, 0 }, { 15, 13, 0 },
  35.    { 12, 43, 0 }, { 13, 43, 0 }, { 14, 43, 0 }, { 15, 43, 0 },
  36.    { 12, 74, 0 }, { 13, 74, 0 }, { 14, 74, 0 }, { 15, 74, 0 }
  37. };
  38.  
  39. #define HERC_REVERSE    0x70
  40. #define HERC_UNDER      0x01
  41. #define HERC_NORMAL     0x07
  42. #define HERC_HIGH       0x0F
  43.  
  44. #define COLOR_HEAD      0x4b
  45. #define COLOR_TEXT      0x07
  46. #define COLOR_MODE      0x17
  47. #define COLOR_BLOCK     0x71
  48. #define COLOR_MESSAGE   0x0f
  49. #define COLOR_HELP      0x1a
  50. #define COLOR_WRAP      0x0e
  51. #define COLOR_EOF       0x09
  52. #define COLOR_CURL      0x0f
  53. #define COLOR_RULER     0x02
  54. #define COLOR_POINTER   0x0a
  55.  
  56.  
  57. #define HEAD            0
  58. #define TEXT            1
  59. #define MODE            2
  60. #define BLOCK           3
  61. #define WARNING         4
  62. #define HELP            5
  63. #define WRAP            6
  64. #define CEOF            7
  65. #define CURL            8
  66. #define RULER           9
  67. #define RULER_PTR       10
  68. #define HILITED_FILE    11
  69.