Previous: 4.51.2.4.52. ogSetLastError() To the Table of Contents Next: 4.51.2.4.54. ogSetPixel()
4.51.2.4.52. ogSetLastError() Table of Contents 4.51.2.4.54. ogSetPixel()

- 4.51.2.4.53. -
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.53. ogSetPal()


4.51.2.4.53. ogSetPal()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Copies the palette from a ogPal structure into a surface.

Declaration:
  procedure procedure ogSetPal(var newPalette:ogPal); virtual;
Remarks:

Copies the newPalette into srcObject.

Restrictions:

Palettes only apply to 8BPP surfaces.

See also:


Previous: 4.51.2.4.52. ogSetLastError() To the Table of Contents Next: 4.51.2.4.54. ogSetPixel()
4.51.2.4.52. ogSetLastError() Table of Contents 4.51.2.4.54. ogSetPixel()

- 4.51.2.4.53. -