Previous: 4.51.2.4.29. ogGetMaxY() To the Table of Contents Next: 4.51.2.4.31. ogGetPixel()
4.51.2.4.29. ogGetMaxY() Table of Contents 4.51.2.4.31. ogGetPixel()

- 4.51.2.4.30. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.4. ogSurface object
4.51.2.4.30. ogGetPal()


4.51.2.4.30. ogGetPal()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Copies the internal palette into an ogPal variable

Declaration:
  procedure ogGetPal(var pal:ogPal);
Remarks:

Copies the internal palette into the variable provided. This allows external maniuplation of the palette if necessary.

Restrictions:

Palettes only apply to 8BPP surfaces.

See also:


Previous: 4.51.2.4.29. ogGetMaxY() To the Table of Contents Next: 4.51.2.4.31. ogGetPixel()
4.51.2.4.29. ogGetMaxY() Table of Contents 4.51.2.4.31. ogGetPixel()

- 4.51.2.4.30. -