From 9a1f73e8f5b3ee08b8941a5fb37ac6325bdae321 Mon Sep 17 00:00:00 2001 From: "ol.sc" Date: Wed, 20 Apr 2011 12:50:38 +0000 Subject: [PATCH] Added TGI colors (simply based on the conio colors). git-svn-id: svn://svn.cc65.org/cc65/trunk@4989 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/lynx.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/include/lynx.h b/include/lynx.h index b127b2825..3a9c9141f 100644 --- a/include/lynx.h +++ b/include/lynx.h @@ -51,7 +51,7 @@ -/* Color defines (default palette) */ +/* Color defines */ #define COLOR_BLACK 0x00 #define COLOR_RED 0x01 #define COLOR_BLUE 0x02 @@ -70,6 +70,25 @@ #define COLOR_YELLOW 0x0E #define COLOR_WHITE 0x0F +/* TGI color defines (default palette) */ +#define TGI_COLOR_BLACK COLOR_BLACK +#define TGI_COLOR_RED COLOR_RED +#define TGI_COLOR_BLUE COLOR_BLUE +#define TGI_COLOR_GREEN COLOR_GREEN +#define TGI_COLOR_VIOLET COLOR_VIOLET +#define TGI_COLOR_PURPLE COLOR_PURPLE +#define TGI_COLOR_CYAN COLOR_CYAN +#define TGI_COLOR_PEAGREEN COLOR_PEAGREEN +#define TGI_COLOR_GREY COLOR_GREY +#define TGI_COLOR_NAVYBLUE COLOR_NAVYBLUE +#define TGI_COLOR_LIGHTRED COLOR_LIGHTRED +#define TGI_COLOR_LIGHTBLUE COLOR_LIGHTBLUE +#define TGI_COLOR_LIGHTGREEN COLOR_LIGHTGREEN +#define TGI_COLOR_LIGHTPURPLE COLOR_LIGHTPURPLE +#define TGI_COLOR_LIGHTCYAN COLOR_LIGHTCYAN +#define TGI_COLOR_YELLOW COLOR_YELLOW +#define TGI_COLOR_WHITE COLOR_WHITE + /*****************************************************************************/ -- 2.39.5