home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / tde221.zip / CFGCOLOR.H < prev    next >
Text File  |  1993-04-01  |  3KB  |  73 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         │ │ Dirty lines are this color.          │",
  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. " Dirty Line  [   ]        Overscan         [   ]                                ",
  25. NULL
  26. };
  27.  
  28. struct {
  29.    int line;
  30.    int col;
  31.    int color;
  32.    void (*show_me)( void );
  33. } fields[NUM_COLORS] = {
  34.    { 12, 13, 0 }, { 13, 13, 0 }, { 14, 13, 0 }, { 15, 13, 0 }, { 16, 13, 0 },
  35.    { 12, 43, 0 }, { 13, 43, 0 }, { 14, 43, 0 }, { 15, 43, 0 }, { 16, 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_DIRTY     0x07
  47. #define COLOR_MODE      0x17
  48. #define COLOR_BLOCK     0x71
  49. #define COLOR_MESSAGE   0x0f
  50. #define COLOR_HELP      0x1a
  51. #define COLOR_WRAP      0x0e
  52. #define COLOR_EOF       0x09
  53. #define COLOR_CURL      0x0f
  54. #define COLOR_RULER     0x02
  55. #define COLOR_POINTER   0x0a
  56. #define COLOR_OVRS      0x00
  57.  
  58.  
  59. #define HEAD            0
  60. #define TEXT            1
  61. #define DIRTY           2
  62. #define MODE            3
  63. #define BLOCK           4
  64. #define WARNING         5
  65. #define HELP            6
  66. #define WRAP            7
  67. #define CEOF            8
  68. #define CURL            9
  69. #define RULER           10
  70. #define RULER_PTR       11
  71. #define HILITED_FILE    12
  72. #define OVERSCAN        13
  73.