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-Changed Function

When using the PickColor function, your application can set the colorProc field of the color picker parameter block to point to a function, described in detail in "MyColorChangedFunction" (page 2-58), that updates colors in a document as the user selects them. This function is defined by the Color Picker Manager as follows:

typedef pascal void (*ColorChangedProc)(long userData, 
                              PMColorPtr newColor);

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996