(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

void GetRGB32 (cm , firstcolor , ncolors , table )

LOCATION
In GfxBase at offset 150

SYNOPSIS
struct ColorMap * cm
ULONG firstcolor
ULONG ncolors
ULONG * table

FUNCTION
Fill the table with with the 32 bit fractional RGB values from the given colormap.

INPUTS
cm
ColorMap structure obtained via GetColorMap()
firstcolor
the index of first color register to get (starting with 0)
ncolors
the number of color registers to examine and write into the table
table
a pointer to an array of 32 bit RGB triplets

RESULT
-1 : if no valid entry. (index to high) other : UWORD RGB value, 4 bits per electron gun, right justified

EXAMPLE

SEE ALSO
GetColorMap() FreeColorMap() SetRGB4() LoadRGB4() LoadRGB32() SetRGB32CM() graphics/view.h

NOTES
table should point to an array of at least 3*ncolors longwords.

BUGS

INTERNALS
This function depends on the ColorMap->ColorTable structure

HISTORY