Callbacks


Changing Colors in a Document

ColorChangedProcPtr Defines a pointer to a color-changed callback function. Your color-changed callback function applies a new color to a user’s document.

Handling Application-Directed Events in a Color Picker

UserEventProcPtr Defines a pointer to an event filter callback function. Your event filter callback function determines whether your application or the Color Picker Manager will handle this user event.

Responding to Events in a Color Picker

PickerDisplayProcPtr Defines a pointer to a color picker-defined display callback function. Your color picker display function redraws your color picker.
PickerEditProcPtr Defines a pointer to a color picker-defined edit event handler callback function. Your edit event handler function handles an editing command.
PickerEventProcPtr Defines a pointer to a color picker-defined event handler callback function. Your color picker event handler function handles events that the Dialog Manager does not handle.
PickerItemHitProcPtr Defines a pointer to a color picker-defined item event handler callback function. Your item event handler function responds to an event in one of your color picker’s items.

Responding to Requests to Return and Set Color Picker Information

PickerExtractHelpItemProcPtr Defines a pointer to a color picker-defined help item getter callback function. Your help item getter function returns help messages or other help balloon characteristics from your color picker.
PickerGetColorProcPtr Defines a pointer to a color picker-defined color retrieval callback function. Your color retrieval function returns an original or a new color.
PickerGetEditMenuStateProcPtr Defines a pointer to a color picker-defined edit menu state getter callback function. Your edit menu state getter function returns information about the desired state of the Edit menu for your color picker.
PickerGetIconDataProcPtr Defines a pointer to a color picker-defined icon data retrieval callback function. Your icon data retrieval function returns information about your color picker’s icon family and script code.
PickerGetProfileProcPtr Defines a pointer to a color picker-defined profile getter callback function. Your profile getter function returns the destination profile used by your color picker.
PickerGetPromptProcPtr Defines a pointer to a color picker-defined get prompt callback function. Your get prompt function returns the prompt string currently used by your color picker.
PickerSetBaseItemProcPtr Defines a pointer to a color picker-defined base item setter callback function. Your base item setter callback function sets the first item in your color picker’s item list.
PickerSetColorProcPtr Defines a pointer to a color picker-defined color setter callback function. Your color setter callback function sets an original or a new color.
PickerSetOriginProcPtr Defines a pointer to a color picker-defined origin setter callback function. Your origin setter function sets the window origin for the color picker.
PickerSetProfileProcPtr Defines a pointer to a color picker-defined profile setter callback function. Your profile setter function sets the destination profile used by your color picker.
PickerSetPromptProcPtr Defines a pointer to a color picker-defined prompt setter callback function. Your prompt setter function sets the prompt string used by your color picker.

Setting Up a Color Picker

PickerGetDialogProcPtr Defines a pointer to a color picker-defined custom dialog callback function. Your custom dialog callback function provides a custom dialog box.
PickerGetItemListProcPtr Defines a pointer to a color picker-defined dialog item callback function. Your dialog item callback function provides the dialog items for your color picker.
PickerInitProcPtr Defines a pointer to a color picker-defined initialization callback function. Your color picker initialization callback function instantiates and initializes any private data needed by your color picker.
PickerSetVisibilityProcPtr Defines a pointer to a color picker-defined set visibility callback function. Your set visibility callback function makes your color picker visible or invisible.
PickerTestGraphicsWorldProcPtr Defines a pointer to a color picker-defined graphics world test callback function. Your graphics world test callback function reveals whether your color picker can operate under existing conditions.

Miscellaneous

NColorChangedProcPtr
NPickerGetColorProcPtr
NPickerGetProfileProcPtr
NPickerSetColorChangedProcProcPtr
NPickerSetColorProcPtr
NPickerSetProfileProcPtr
PickerCanDoProcPtr
PickerCloseProcPtr
PickerOpenProcPtr
PickerRegisterProcPtr
PickerSetColorChangedProcProcPtr
PickerSetTargetProcPtr
PickerVersionProcPtr

© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)