Index: [thread] [date] [subject] [author]
  From: Steve Cheng <elmert@ipoline.com>
  To  : ggi-develop@eskimo.com
  Date: Mon, 26 Jul 1999 22:46:02 -0400 (EDT)

Re: Xblit 1 -> 16 on X

On Mon, 26 Jul 1999, Jan Kneschke wrote:

> how to set this palette ?? 

ggi_color palette[2] = { {0,0,0}, {0xffff,0xffff,0xffff} };

ggiSetPalette(memvis, 0, 2, palette);

See ggiSetPalette(3).
(Although I'm sure people like Marcus will nitpick that this doesn't
check for success and doesn't use GGI_PALETTE_DONTCARE :)

-- 
Steve Cheng

email: steve@ggi-project.org
www: <http://shell.ipoline.com/~elmert/>;

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