Previous: 4.37.2.108. SetPalette procedure To the Table of Contents Next: 4.37.2.110. SetScreenStart procedure
4.37.2.108. SetPalette procedure Table of Contents 4.37.2.110. SetScreenStart procedure

- 4.37.2.109. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.109. SetRGBPalette procedure


4.37.2.109. SetRGBPalette procedure

Targets: MS-DOS, Win32


Graph Unit

Modifies palette entries for the VGA, MCGA and 256-colored SVGA modes.

Declaration:
procedure SetRGBPalette(ColorNum,
                        RedValue,
                        GreenValue,
                        BlueValue: Byte);
Remarks:
ColorNum defines the palette entry to be loaded, while RedValue, GreenValue, and BlueValue define the component colors of the palette entry.


Previous: 4.37.2.108. SetPalette procedure To the Table of Contents Next: 4.37.2.110. SetScreenStart procedure
4.37.2.108. SetPalette procedure Table of Contents 4.37.2.110. SetScreenStart procedure

- 4.37.2.109. -