On Sat, Oct 24, 2009 at 06:07:36PM -0700, Fatih Aygün wrote: > I must disagree. I don't know much about c64 but the values we're > talking about are not colors, they are palette indices. So, one can > change the palette so that 0 is red and 1 is blue for example. In that > case defining macros as COLOR_BLACK and COLOR_WHITE will > simply be wrong. COLOR_BACK and COLOR_FORE is much more > reasonable but other graphics modes have more colors. So these > macros are only meaningfull for 2-color modes only. How about accepting any color value <> 0 as foreground and 0 as background? The C64 driver does it this way, and it removes problems with different color definitions. > In other words, I think that COLOR_xxx macros belong to palette > definitions (tgi_setpalette) not to palette index selection (tgi_setcolor). Using palettes will add confusion. This was also true for the old Borland BGI drivers. Please try to make it as simple for users as possible, even if this means dropping a few, rarely use options. If it really shows that these options are necessary, you can add them later. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Oct 25 11:59:51 2009
This archive was generated by hypermail 2.1.8 : 2009-10-25 11:59:54 CET