Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 1 - Palette Manager Reference /
Constants and Data Types


Update Constants

The update constants determine whether a window is updated based on various changes to the color environment. You use the update constants with the nCUpdates parameter of the NSetPalette function (page 1-12) and the updates parameter of the SetPaletteUpdates function (page 1-15).

/* update constants */
enum {
pmNoUpdates = $8000
pmBkUpdates = $A000
pmFgUpdates = $C000
pmAllUpdates = $E000
};
Constant descriptions
pmNoUpdates = $8000
Do not update the window when its color environment changes.
pmBkUpdates = $A000
Update the window only when it is not the active window.
pmFgUpdates = $C000
Update the window only when it is the active window.
pmAllUpdates = $E000
Update the window whenever its color environment changes.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996