May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSColorPickingCustom — Mac OS X 10.0
This protocol declares an interface for classes to conform to provide
custom color pickers for the color-picker panel. This protocol is used
closely with the NSColorPickingDefault protocol,
which declares the basic interface for color pickers. The most straightforward
way to create a custom color picker for your application is to
subclass NSColorPicker, and implement the methods
of this protocol in your subclass.
@protocol NSColorPickingCustom
|
// Instance Methods
|
- (BOOL)supportsMode:(int)mode; |
- (int)currentMode;
|
- (NSView *)provideNewView:(BOOL)initialRequest; |
- (void)setColor:(NSColor *)newColor; |
@end |
Read now
Unlock full access