Important: The information in this document is obsolete and should not be used for new development.
The Palette Structure
A palette structure contains a header and a collection of color information structures, one for each color in the palette. ThePalette
data type defines a palette structure.
struct Palette { short pmEntries; / *entries in pmTable */ short pmDataFields[7]; / *private fields */ ColorInfo pmInfo[1]; }; typedef struct Palette Palette; typedef Palette *PalettePtr, **PaletteHandle;
Field Description
pmEntries
- The number of
ColorInfo
structures in thepmInfo
array.pmDataFields
- Private fields used by the Palette Manager.
pmInfo
- An array of
ColorInfo
structures (page 1-5).