DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

genLoadColormap(D3nfb)


genLoadColormap -- load a PseudoColor colormap

Synopsis

void
genLoadColormap(pmap)
    ColormapPtr pmap;

Description

genLoadColormap( ) loads a PseudoColor colormap. You can write your own xxxLoadColormap routine if your hardware supports a faster way of loading an entire colormap than going through SetColor(D3nfb) for each entry.

Arguments


pmap
installedCmap pointer in the nfbScrnPriv(D4nfb) structure

Exit codes

Usage notes

See the genCmap.c file for an example of genLoadColormap( ) using SetColor(D3nfb).

Version applicability

This function is supported for NFB drivers on all releases of SCO OpenServer 5, SVR5, and AIX 5L.

Source files


Routine source
./hw/sco/ports/gen

Driver source file
xxxyyy.c

References

FakeAllocColor(D3nfb), nfbInstallColormap(D3nfb), nfbStoreColors(D3nfb), nfbScrnPriv(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005