(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

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

LOCATION
In GfxBase at offset 105

SYNOPSIS
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

HISTORY