From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-12-09 09:34:06
>>>>> "G" == Groepaz <groepaz_at_gmx.net> writes:
G> c) request an api-change/adaption that invents a macro like
G> #define COLOR_INTENSITY(x) (x<<4)
G> which returns a value that must be ORed into the textcolor, ie
G> textcolor(COLOR_INTENSITY(7)|COLOR_RED);
G> (this is almost how it works in the borland api btw :o))
That's how it's implemented in atari.h today. 8 intensities and 16
hues are OR:ed to generate C64-alike colours.
But if a target lacks the ability to change the colour of individual
characters, the textcolor function probably shouldn't do anything.
Maybe a foreground function..?
--
___ . . . . . + . . o
_|___|_ + . + . + . Per Olofsson, arkadspelare
o-o . . . o + MagerValp_at_cling.gu.se
- + + . http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-09 09:35:46 CET