[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
       SetRGB32CM -- Set one color register for this colormap. (v39)

   SYNOPSIS
       SetRGB32CM(  cm,  n,   r,    g,    b)
                    a0  d0   d1    d2    d3

       void SetRGB4CM( struct colormap *, ulong, ulong, ulong , ulong);

   INPUTS
        cm = colormap
       n = the number of the color register to set. Must not exceed the numbe
r of colors
            allocated for the colormap.
       r = red level (32 bit unsigned left justified fraction)
       g = green level
       b = blue level

   RESULT
        Store the (r,g,b) triplet at index n of the colormap structure.
       This function can be used to set up a colormap before before
        linking it into a viewport.

   BUGS

   SEE ALSO
       getcolormap() getrgb32() setrgb32() setrgb4cm() graphics/view.h