gcpSetColorfulPalette(3)

gcpSetColorfulPalette3

Set a palette with a full range of all colors

Usage

#include <ggi/gcp.h>
int gcpSetColorfulPalette(ggi_visual_t vis);

Overview

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 gcpSetColorfulPalette after mode set. This function uses a smarter color allocation scheme, causing good colors but still minimal flashing in windowed targets.

Return value

gcpSetColorfulPalette returns the number of the first entry changed. <0 indicate ggi-error(3).

Releases

3 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0–6.0

From libggigcp1-dev 1.0.2+dfsg1-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.