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 thenCUpdatesparameter of theNSetPalettefunction (page 1-12) and theupdatesparameter of theSetPaletteUpdatesfunction (page 1-15).
/* update constants */ enum { pmNoUpdates = $8000 pmBkUpdates = $A000 pmFgUpdates = $C000 pmAllUpdates = $E000 };
- Constant descriptions
pmNoUpdates = $8000Do not update the window when its color environment changes.pmBkUpdates = $A000Update the window only when it is not the active window.pmFgUpdates = $C000Update the window only when it is the active window.pmAllUpdates = $E000Update the window whenever its color environment changes.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help