![]() |
SetEntryColor |
||||
Header: | Palettes.h | Carbon status: | Supported | |
Changes the color of a palette entry.
void SetEntryColor ( PaletteHandle dstPalette, SInt16 dstEntry, const RGBColor *srcRGB );
The palette whose entry color is to be changed.
The palette entry to be changed.
A pointer to the new RGB color value.
SetEntryColor marks the entry as having changed, but it does not change the color environment. That change occurs upon the next call to ActivatePalette. SetEntryColor marks modified entries such that the palette is updated, even though no update is required by a change in the color environment.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)