(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

void SetRGB32CM (cm , n , r , g , b )

LOCATION
In GfxBase at offset 166

SYNOPSIS
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.

EXAMPLE

SEE ALSO
GetColorMap() SetRGB32() GetRGB32() SetRGB4CM() graphics/view.h

NOTES

BUGS

INTERNALS
This function depends on the ColorMap->ColorTable structure

HISTORY