EGA CGA. graphics.h , . .
CGA |
|
EGA/VGA |
|
BLACK |
0 |
EGA_BLACK |
0 |
BLUE |
1 |
EGA_BLUE |
1 |
GREEN |
2 |
EGA_GREEN |
2 |
CYAN |
3 |
EGA_CYAN |
3 |
RED |
4 |
EGA_RED |
4 |
MAGENTA |
5 |
EGA_MAGENTA |
5 |
BROWN |
6 |
EGA_LIGHTGRAY |
7 |
LIGHTGRAY |
7 |
EGA_BROWN |
20 |
DARKGRAY |
8 |
EGA_DARKGRAY |
56 |
LIGHTBLUE |
9 |
EGA_LIGHTBLUE |
57 |
LIGHTGREEN |
10 |
EGA_LIGHTGREEN |
58 |
LIGHTCYAN |
11 |
EGA_LIGHTCYAN |
59 |
LIGHTRED |
12 |
EGA_LIGHTRED |
60 |
LIGHTMAGENTA |
13 |
EGA_LIGHTMAGENTA |
61 |
YELLOW |
14 |
EGA_YELLOW |
62 |
WHITE |
15 |
EGA_WHITE |
63 |