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. ThePalettedata 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
ColorInfostructures in thepmInfoarray.pmDataFields- Private fields used by the Palette Manager.
pmInfo- An array of
ColorInfostructures (page 1-5).