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 2 - Color Picker Manager Reference /
Constants and Data Types


Color Types

A color picker maintains an original and a new color. When your application uses the GetPickerColor function (page 2-47), your application uses the ColorTypes enumeration to specify whether the color picker returns the original or the new color. When your application uses the SetPickerColor function (page 2-46), your application uses the ColorTypes 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;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996