Important: The information in this document is obsolete and should not be used for new development.
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 thenCUpdates
parameter of theNSetPalette
function (page 1-12) and theupdates
parameter of theSetPaletteUpdates
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.