DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

CreateDefColormap(D3nfb)


CreateDefColormap: cfbCreateDefColormap, mfbCreateDefColormap -- create default colormap

Synopsis

Bool
cfbCreateDefColormap(pScreen)
    ScreenPtr pScreen;

Bool mfbCreateDefColormap (pScreen) ScreenPtr pScreen;

Description

The cfb and mfb CreateDefColormap( ) functions determine the default color map. The xmkddk utility uses these functions in the driver's xxxInit( ) routine.

Arguments


pScreen
pointer to the X screen structure

Exit codes

These functions return TRUE if the colormap was created successfully, or FALSE if it was not.

Usage notes

Call the mfbCreateDefColorMap( ) function for screens with root depth of 1. For screens with more root depth, use the cfbCreateDefColorMap( ) function.

Version applicability

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

Source files


Routine source
./cfb/cfbcmap.c/
./mfb/mfbcmap.c/

Driver source file
xxxInit.c

References

scoScreenInfo(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005