Index: [thread] [date] [subject] [author]
  From: Mike McQuade <mmcquade@aa.net>
  To  : ggi-develop@eskimo.com
  Date: Fri, 21 May 1999 00:18:12 -0700

how to change colors in Libggi2d

Hello,

Thanks goes to the developer who fixed the LibGGI2d.


I am now running the libggi2d demos from the ggi-devel-990521.tar.gz
snapshot.


I cannot seem to change the colors of the primatives in the
demo. No matter how I set the values in the map struct:

map.r=0xF000;
map.g=0xF000;
map.b=0xF000;
grey=ggiMapColor(vis,&map);
printf("grey=%d\n",grey);


I am running on Linux 2.2.9, using a Matrox Millenium I card
with 4MB memory.


Can anyone tell me if the palette stuff is working or am I just
not grasping the concept of how to change colors.

ie: if I change the 'map.r=0xF000' to map.r=0x0000 I would
expect a change in the colors, yet the screen draws the
primatives in all white.


Thanks

Mike



Index: [thread] [date] [subject] [author]