Změny

Skočit na navigaci Skočit na vyhledávání

SetRGBPalette

Přidáno 889 bajtů, 19. 10. 2012, 22:40
Vytvorená stránka „Modifies palette entries for the IBM 8514 and VGA drivers. ;Deklarace procedure SetRGBPalette(ColorNum, RedValue, GreenValue, BlueValue: Integer); ;Režim :Reálný, ...“
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]]

:[[GetColor]]

:[[GetPalette]]

:[[GraphResult]]

:[[SetAllPalette]]

:[[SetBkColor]]

:[[SetColor]]

:[[SetPalette]]



;Příklad
Setrgbpl.PAS


[[Category:Graph]]
[[Category:Funkce Graph]]

Navigační menu