From: ol.sc Date: Wed, 20 Apr 2011 12:59:45 +0000 (+0000) Subject: Use TGI colors. X-Git-Tag: V2.13.3~470 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2f3aa1d5d4bdde404a9d74be682b2cfda2fa2a80;p=cc65 Use TGI colors. git-svn-id: svn://svn.cc65.org/cc65/trunk@4990 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/samples/tgidemo.c b/samples/tgidemo.c index 49d4c9905..8e663ae2c 100644 --- a/samples/tgidemo.c +++ b/samples/tgidemo.c @@ -8,8 +8,8 @@ -#define COLOR_BACK COLOR_BLACK -#define COLOR_FORE COLOR_WHITE +#define COLOR_BACK TGI_COLOR_BLACK +#define COLOR_FORE TGI_COLOR_WHITE /*****************************************************************************/ @@ -57,7 +57,7 @@ static void DoWarning (void) static void DoCircles (void) { - static const unsigned char Palette[2] = { COLOR_WHITE, COLOR_ORANGE }; + static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_ORANGE }; unsigned char I; unsigned char Color = COLOR_FORE; unsigned X = MaxX / 2; @@ -83,7 +83,7 @@ static void DoCircles (void) static void DoCheckerboard (void) { - static const unsigned char Palette[2] = { COLOR_WHITE, COLOR_BLACK }; + static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_BLACK }; unsigned X, Y; unsigned char Color; @@ -111,7 +111,7 @@ static void DoCheckerboard (void) static void DoDiagram (void) { - static const unsigned char Palette[2] = { COLOR_WHITE, COLOR_BLACK }; + static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_BLACK }; int XOrigin, YOrigin; int Amp; int X, Y; @@ -155,7 +155,7 @@ static void DoDiagram (void) static void DoLines (void) { - static const unsigned char Palette[2] = { COLOR_WHITE, COLOR_BLACK }; + static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_BLACK }; unsigned X; tgi_setpalette (Palette);