Re: [cc65] TGI palettes (was: TGI colors revisited)

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-05-24 18:31:36
Hi!

On Mon, May 23, 2011 at 07:34:00PM +0200, Oliver Schmidt wrote:
> I see. Maybe it's rather a misunderstanding than different opinions
> anyway: Would the tgi_setbgcolor function take a color "handle"
> returned from tgi_alloccolor? So that it would work similiar to
> tgi_setcolor? 

Yes, of course.

> But given the fact that tgi_init doesn't modify the buffer that would
> mean that really _every_ program would need to get the screen
> resolution etc...

Yes, unfortunately.

> But given that the most popular cc65 target - at least by now - has
> only a monochrome but paletted driver we can't shield the "typical"
> user from complexity anyway - and the "strange" multi-usage of the
> TGI_COLOR_... macros when it comes to palette handling isn't that easy
> to grasp either - is it?

Actually, I don't know a program that uses palettes. But I have to admit, I
haven't looked at many:-)

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 Tue May 24 18:31:44 2011

This archive was generated by hypermail 2.1.8 : 2011-05-24 18:31:47 CEST