4.51.2.2.13. ogSetPal() | Table of Contents | 4.51.2.2.15. ogSetRGBPalette() |
procedure ogSetRGBAPalette(colour, red, green, blue, alpha:uInt8); virtual;Remarks:
Colour defines the palette entry to be set, while red, green, blue, and alpha define the component colours of the palette entry.
The red, green, blue, alpha values are with a range of 0..255, where 0 is minimum and 255 is maximum.
The alpha field is updated in the internal palette, but has no affect on the display.
Modifies the hardware palette with the new entry.
Restrictions:Palettes are only relevant to 8BPP modes.
See also:4.51.2.2.13. ogSetPal() | Table of Contents | 4.51.2.2.15. ogSetRGBPalette() |