SetRGBPalette
Modifies palette entries for the IBM 8514 and VGA drivers.
- Deklarace
procedure SetRGBPalette(ColorNum, RedValue, GreenValue, BlueValue: Integer);
- Režim
- Reálný, Chráněný
- Poznámky
- ColorNum defines the palette entry to be loaded, while RedValue, GreenValue, and BlueValue define the component colors of the palette entry.
- For the IBM 8514 display, ColorNum is in the range 0..255. For VGA, ColorNum is in the range 0..15. Only the lower byte of RedValue, GreenValue or BlueValue is used, and out of this byte, only the 6 most-significant bits are loaded in the palette.
- Omezení
- SetRGBPalette can be used only with the IBM 8514 driver and the VGA.
- Viz také
- GetBkColor
- Příklad
Setrgbpl.PAS