92 | InitCmap
InitCmap
Purpose Use
Syntax
DError (*InitCmap) (dev)
Return value
D_OK
Description
InitCmap()
to a linear ramp.
hardware with this linear ramp.
Errors
DMD_ERROR_BAD_DEVICE -
colormap.
Example This example initializes the colormap to a linear ramp.
#include "domeMd.h"
DMdDev
DError
error = (*dev->InitCmap) (dev);
See also
WriteCmap, ReadCmap, UpdateCmap, DMdDev Structure
to initialize the colormap to a linear ramp.
InitCmap
Parameter Type
DMdDev
if successful; otherwise, an error code.
initializes the colormap of the framebuffer
InitCmap()
dev;
error;
.
.
.
Name
Description
Device handle of the DOME
dev
device
also loads the colormap
Device failed to access the