ggiSetColorfulPalette(3) GGI ggiSetColorfulPalette(3)NAMEggiSetColorfulPalette : Set a palette with a full range of all colors
SYNOPSIS
#include <ggi/ggi.h>
int ggiSetColorfulPalette(ggi_visual_t vis);
DESCRIPTION
LibGGI guarantees that there will be a default palette when a palet‐
tized mode is set. What this default is, however, dependent on the
visual. For example, the X target deliberately avoids setting all col‐
ors to avoid color-flashing when moving between windows.
Applications that want to ensure that they have a full scale of all
colors can call ggiSetColorfulPalette after mode set. This function
uses a smarter color allocation scheme, causing good colors but still
minimal flashing in windowed targets.
RETURN VALUEggiSetColorfulPalette returns the number of the first entry changed.
<0 indicate a ggi-error(3).
SEE ALSOggiSetPalette(3)libggi-2.2.x 2006-12-30 ggiSetColorfulPalette(3)