struct ColorMap * cm ULONG n ULONG r ULONG g ULONG 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 (32 bit left justified fraction)
g
green level (32 bit left justified fraction)
b
blue level (32 bit left justified fraction)
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. Do not access the entries in the ColorTable yourself, as the ColorTable is subject to change.