| 1 |
/* rdcolor.h: this file specifies that all colors are actually pointers to |
| 2 |
* color strings. It is expected that the function "rdcolor()" will |
| 3 |
* be used to initialize the colors. "rdcolor()" examines a colorfile |
| 4 |
* called "color.dat" for color strings: color ...<CR> where the ellipsis |
| 5 |
* is the desired escape string. The default value of such color strings |
| 6 |
* is set for a color ASCII monitor (8 colors) and the IDS Prism printer. |
| 7 |
* Authors: Charles E. Campbell, Jr. |
| 8 |
* Terry McRoberts |
| 9 |
* Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1 |
| 10 |
* Permission is hereby granted to use and distribute this code, |
| 11 |
* with or without modifications, provided that this copyright |
| 12 |
* notice is copied with it. Like anything else that's free, |
| 13 |
* sockets.h is provided *as is* and comes with no warranty |
| 14 |
* of any kind, either expressed or implied. By using this |
| 15 |
* software, you agree that in no event will the copyright |
| 16 |
* holder be liable for any damages resulting from the use |
| 17 |
* of this software. |
| 18 |
* Date: Aug 22, 2005 |
| 19 |
*/ |
| 20 |
#ifndef RDCOLOR_H |
| 21 |
#define RDCOLOR_H |
| 22 |
|
| 23 |
#ifndef __GL_GL_H__ |
| 24 |
extern char *BLACK; |
| 25 |
extern char *RED; |
| 26 |
extern char *GREEN; |
| 27 |
extern char *YELLOW; |
| 28 |
extern char *BLUE; |
| 29 |
extern char *MAGENTA; |
| 30 |
extern char *CYAN; |
| 31 |
extern char *WHITE; |
| 32 |
#endif |
| 33 |
|
| 34 |
extern char *RD_BLACK; /* same as BLACK */ |
| 35 |
extern char *RD_RED; /* same as RED */ |
| 36 |
extern char *RD_GREEN; /* same as GREEN */ |
| 37 |
extern char *RD_YELLOW; /* same as YELLOW */ |
| 38 |
extern char *RD_BLUE; /* same as BLUE */ |
| 39 |
extern char *RD_MAGENTA; /* same as MAGENTA */ |
| 40 |
extern char *RD_CYAN; /* same as CYAN */ |
| 41 |
extern char *RD_WHITE; /* same as WHITE */ |
| 42 |
|
| 43 |
extern char *UBLACK; |
| 44 |
extern char *URED; |
| 45 |
extern char *UGREEN; |
| 46 |
extern char *UYELLOW; |
| 47 |
extern char *UBLUE; |
| 48 |
extern char *UMAGENTA; |
| 49 |
extern char *UCYAN; |
| 50 |
extern char *UWHITE; |
| 51 |
extern char *RVBLACK; |
| 52 |
extern char *RVRED; |
| 53 |
extern char *RVGREEN; |
| 54 |
extern char *RVYELLOW; |
| 55 |
extern char *RVBLUE; |
| 56 |
extern char *RVMAGENTA; |
| 57 |
extern char *RVCYAN; |
| 58 |
extern char *RVWHITE; |
| 59 |
#ifndef VIM__H |
| 60 |
extern char *CLEAR; |
| 61 |
#endif |
| 62 |
extern char *BOLD; |
| 63 |
extern char *NRML; |
| 64 |
extern char *PYELLOW; |
| 65 |
extern char *PRED; |
| 66 |
extern char *PCYAN; |
| 67 |
extern char *PBLACK; |
| 68 |
|
| 69 |
/* for rdcputs's benefit... */ |
| 70 |
#define XBLACK "\255X0" |
| 71 |
#define XRED "\255X1" |
| 72 |
#define XGREEN "\255X2" |
| 73 |
#define XYELLOW "\255X3" |
| 74 |
#define XBLUE "\255X4" |
| 75 |
#define XMAGENTA "\255X5" |
| 76 |
#define XCYAN "\255X6" |
| 77 |
#define XWHITE "\255X7" |
| 78 |
#define XUBLACK "\255X8" |
| 79 |
#define XURED "\255X9" |
| 80 |
#define XUGREEN "\255X10" |
| 81 |
#define XUYELLOW "\255X11" |
| 82 |
#define XUBLUE "\255X12" |
| 83 |
#define XUMAGENTA "\255X13" |
| 84 |
#define XUCYAN "\255X14" |
| 85 |
#define XUWHITE "\255X15" |
| 86 |
#define XRVBLACK "\255X16" |
| 87 |
#define XRVRED "\255X17" |
| 88 |
#define XRVGREEN "\255X18" |
| 89 |
#define XRVYELLOW "\255X19" |
| 90 |
#define XRVBLUE "\255X20" |
| 91 |
#define XRVMAGENTA "\255X21" |
| 92 |
#define XRVCYAN "\255X22" |
| 93 |
#define XRVWHITE "\255X23" |
| 94 |
#define XBOLD "\255X24" |
| 95 |
#define XNRML "\255X25" |
| 96 |
#define XPYELLOW "\255X26" |
| 97 |
#define XPRED "\255X27" |
| 98 |
#define XPCYAN "\255X28" |
| 99 |
#define XPBLACK "\255X29" |
| 100 |
#define XCLEAR "\255X30" |
| 101 |
#endif |