Use TGI colors.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4990 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9a1f73e8f5
commit
2f3aa1d5d4
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue