1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
.TH "gcpSetColorfulPalette" 3 "2005-07-30" "libggigcp-1.0.x" GGI
.SH NAME
\fBgcpSetColorfulPalette\fR : Set a palette with a full range of all colors
.SH SYNOPSIS
.nb
.nf
#include <ggi/gcp.h>
int gcpSetColorfulPalette(ggi_visual_t vis);
.fi
.SH DESCRIPTION
LibGGIGCP guarantees that there will be a default palette when a
palettized mode is set. What this default is, however, is dependent
on the visual. For example, the X target deliberately avoids setting
all colors to avoid color-flashing when moving between windows.
Applications that want to ensure that they have a full scale of all
colors can call \fBgcpSetColorfulPalette\fR after mode set. This function
uses a smarter color allocation scheme, causing good colors but still
minimal flashing in windowed targets.
.SH RETURN VALUE
\fBgcpSetColorfulPalette\fR returns the number of the first entry changed.
\fB<0\fR indicate \f(CWggi-error(3)\fR.
.SH SEE ALSO
\f(CWgcpSetRGBAPalette(3)\fR, \f(CWgcpSetYUVPalette(3)\fR,
\f(CWgcpSetCMYKPalette(3)\fR, \f(CWgcpSetHSVPalette(3)\fR,
\f(CWgcpSetYCCPalette(3)\fR
|