May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSColorPicker — Mac OS X 10.0
This class implements the NSColorPickingDefault
protocol. This class is used to add custom color pickers to the
NSColorPanel, which allows applications to add new
interfaces that users can use to choose colors.
|
|
@interface NSColorPicker : NSObject <NSColorPickingDefault>
|
// Initializers
|
- (id)initWithPickerMask:(int)mask colorPanel:(NSColorPanel *)owningColorPanel; |
// Accessor Methods
|
- (void)setMode:(int)mode; |
// Instance Methods
|
- (void)attachColorList:(NSColorList *)colorList; |
- (NSColorPanel *)colorPanel;
|
- (void)detachColorList:(NSColorList *)colorList; |
- (void)insertNewButtonImage:(NSImage *)newButtonImage in:(NSButtonCell *)buttonCell; |
- (NSImage *)provideNewButtonImage;
|
- (void)viewSizeChanged:(id)sender; |
// Methods Implementing NSColorPickingDefault
|
- (id)initWithPickerMask:(int)mask colorPanel:(NSColorPanel *)owningColorPanel; |
- (NSImage *)provideNewButtonImage;
|
- (void)insertNewButtonImage:(NSImage *)newButtonImage in:(NSButtonCell *)buttonCell; |
- (void)viewSizeChanged:(id)sender; |
- (void)alphaControlAddedOrRemoved:(id)sender; |
- (void)attachColorList:(NSColorList *)colorList; |
- (void)detachColorList:(NSColorList *)colorList; |
- (void)setMode:(int)mode; |
Read now
Unlock full access