Important: The information in this document is obsolete and should not be used for new development.
Chapter 2 - Color Picker Manager Reference
The section describes the constants, data structures, and functions defined for your application's use by the Color Picker Manager. This section also describes the functions your application or color picker may define for the Color Picker Manager to call.
Chapter Contents
- Constants and Data Types
- Gestalt Selector for the Color Picker
- Picker Actions
- Color Types
- Edit Menu Operations
- Item Hit Modifiers
- Dialog Placement Specifiers
- Picker Flags
- Picker Attributes
- Event Forecasters
- Request Codes
- Picker Color Structure
- Picker Structure
- Picker Icon Structure
- Picker Initialization Structure
- Event Filter Function
- Color-Changed Function
- Edit Menu Items Structure
- Edit Menu State Structure
- Color Picker Paramenter Block
- System-Owned Dialog Box Structure
- Picker-Owned Dialog Box Structure
- Application-Owned Dialog Box Structure
- Event Data Structure
- Editing Data Structure
- Item Hit Structure
- Help item Structure
- SmallFract Type
- HSV Color Structure
- HSL Color Structure
- CMY Color Structure
- Color Picker Manager Fuctions
- Using the Standard Color Picker Dialog Box
- Creating a Custom Color Picker Dialog Box
- Handling Events in a Custom Color Picker Dialog Box
- Getting Colors From and Setting Colors for a Custom Dialog Box
- Getting the Menu State and the Help Balloons for a Color Picker
- Setting and Getting Color-Matching Profiles for a Color Picker
- Coverting Colors Among Color Models
- Converting Between SmallFract and Fixed Values
- Application-Defined Functions
- Handling Application-Directed Events in a Color Picker
- Changing Colors in a Document
- Color Picker-Defined Functions
- Setting Up a Color Picker
- Responding to Requests to Return and SetColor Picker Information
- Responding to Events in a Color Picker
- Result Codes