Important: The information in this document is obsolete and should not be used for new development.
Color Types
A color picker maintains an original and a new color. When your application uses theGetPickerColor
function (page 2-47), your application uses theColorTypes
enumeration to specify whether the color picker returns the original or the new color. When your application uses theSetPickerColor
function (page 2-46), your application uses theColorTypes
enumeration to specify whether the color picker sets the original or the new color.
enum ColorTypes { kOriginalColor, /* the original color */ kNewColor /* the new color chosen by the user */ }; typedef short ColorType;