diff --git a/ChangeLog b/ChangeLog
index c2550390c..730c7f68e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
* Source/NSCell.m : Improved documentation
* Source/NSClipView.m : Improved documentation
* Source/NSColor.m : Improved documentation
+ * Source/NSColorPanel.m : Improved documentation
2005-11-21 Fred Kiefer Creates ( if needed ) and returns the shared NSColorPanel Creates ( if needed ) and returns the shared NSColorPanel. Returns whether the NSColorPanel has been already created Returns whether the NSColorPanel has been already created. Returns the NSColorPanel's accessory view if it exists,
- nil otherwise See Also: -setAccessoryView:
See Also: -setAccessoryView:
*/ - (NSView *) accessoryView { return _accessoryView; } -/**Returns whether the NSColorPanel continuously sends the action message. - The default is ...
See Also: -setContinuous:-setAction: -setTarget: -
+/**Returns whether the NSColorPanel continuously sends its action message. +
See Also: -setContinuous:-setAction: -setTarget:
*/ - (BOOL) isContinuous { @@ -528,6 +527,11 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel; [_splitView addSubview: _accessoryView]; } +/**Sets the NSColorPanl action method to aSelector The + action message is usally send in -setColor:, when the picker is updated, + when a new picker is show, when the alpha is changed or when one of the + color well at the bottom is selected
+ */ - (void) setAction: (SEL)aSelector { _action = aSelector; @@ -564,6 +568,9 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel; } } +/**Sets whether the NSColorPanel shows alpha values and the alpha + slider
See Also: -showsAlpha
+ */ - (void) setShowsAlpha: (BOOL)flag { if (flag == _showsAlpha) @@ -596,11 +603,16 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel; [_topView setNeedsDisplay: YES]; } +/**Sets the target object to anObject
+ */ - (void) setTarget: (id)anObject { _target = anObject; } +/**Returns whether the NSColorPanel shows alpha values and the alpha + slider
See Also: -setShowsAlpha:
+ */ - (BOOL) showsAlpha { return _showsAlpha;