Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Tue, 27 Jul 1999 12:54:24 +1000

Re: Xblit 1 -> 16 on X

Jan Kneschke writes:

>  how to set this palette ?? 

Like this:
 
  ggi_color mycols[2] = { {0,0,0}, {0xffff,0xffff,0xffff} };
  
  ...

  ggiSetPalette(vis, 0, 2, mycols);

Cheers,
___________________________________________________
                                               \  /
  Andrew Apted   <ajapted@netspace.net.au>      \/
 

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