Contents page

SetRGB4


AFRastPort/SetRGB4

  void = SetRGB4(struct ViewPort *vp, long index, ULONG red, ULONG green, ULONG blue)

DESCRIPTION Sets color palette in specified viewport

INPUTS vp - viewport to be modified index - index of color red - red value green - green value blue - blue value

RESULT none

BUGS none known

SEE ALSO <graphics/rastport.h> <exec/types.h>