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


Edit Menu Operations

If the user chooses an Edit command (or its keyboard equivalent) that applies to a color picker, your application can use the DoPickerEdit function (page 2-45) to request the color picker to perform the operation. In the EditData structure passed to DoPickerEdit, your application uses the EditOperations enumeration to specify the operation to perform.

enum EditOperations {
   kCut,    /* perform the Cut command */
   kCopy,   /* perform the Copy command */
   kPaste,  /* perform the Paste command */
   kClear,  /* perform the Clear command */
   kUndo    /* perform the Undo command */
};
typedef short EditOperation;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996