Previous: 4.37.1.15. Text-Style constants To the Table of Contents Next: 4.37.1.17. PointType
4.37.1.15. Text-Style constants Table of Contents 4.37.1.17. PointType

- 4.37.1.16. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.1. Graph Unit Types, Constants, and Variables
4.37.1.16. PaletteType


4.37.1.16. PaletteType

Targets: MS-DOS, Win32


Graph Unit

The record that defines the size and colors of the palette; used by GetPalette, GetDefaultPalette, and SetPalette.

Declaration:
PaletteType = record
   Size    : Byte;
   Colors  : array [0..MaxColors] of DWORD;
end;
The size field reports the number of colors in the palette for the current driver in the current mode. Colors contains the actual colors 0..Size - 1.


Previous: 4.37.1.15. Text-Style constants To the Table of Contents Next: 4.37.1.17. PointType
4.37.1.15. Text-Style constants Table of Contents 4.37.1.17. PointType

- 4.37.1.16. -