SetRGB4( vp, n, r, g, b)
void SetRGB4(
struct ViewPort *, SHORT, UBYTE, UBYTE, UBYTE );
Change the color look up table so that this viewport displays the color (r,g,b) for pen number n.
If there is a ColorMap for this viewport, then the value will be stored in the ColorMap.
The selected color register is changed to match your specs. If the color value is unused then nothing will happen.
- NOTE:
-
Under V36 and up, it is not safe to call this function
from an interrupt, due to semaphore protection of graphics copper lists.