struct ColorMap * cm WORD n UBYTE r UBYTE g UBYTE b
FUNCTION
Set one color in the ColorMap.
INPUTS
cm
ColorMap structure obtained via GetColorMap()
n
the number of the color register to set
r
red level (0-15)
g
green level (0-15)
b
blue level (0-15)
RESULT
Store the (r,g,b) triplet at index n in the ColorMap structure. The chnages will not be immediately displayed. Use this function before linking the ColorMap to a ViewPort.
EXAMPLE
SEE ALSO
GetColorMap() SetRGB4() GetRGB4() graphics/view.h
NOTES
BUGS
INTERNALS
This function depends on the ColorMap->ColorTable structure