diff --git a/ChangeLog b/ChangeLog index 6af79bcd7..96a534b9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * Source/NSCell.m : Improved documentation * Source/NSControl.m : Improved documentation * Source/NSCustomImageRep.m : Improved documentation + * Source/NSFontPanel.m : Improved documentation 2005-11-21 fabien diff --git a/Source/NSFontPanel.m b/Source/NSFontPanel.m index 10ffdf710..5a868e3be 100644 --- a/Source/NSFontPanel.m +++ b/Source/NSFontPanel.m @@ -111,7 +111,7 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, } } -/**

Creates ( if needed ) and returns the shared NSFontPanel

+/**

Creates ( if needed ) and returns the shared NSFontPanel.

*/ + (NSFontPanel*) sharedFontPanel { @@ -155,7 +155,7 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, [super dealloc]; } -/**

Returns whether the "set" button is enabled

+/**

Returns whether the "set" button is enabled.

See Also: -setEnabled:

*/ - (BOOL) isEnabled @@ -165,7 +165,7 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, return [setButton isEnabled]; } -/**

Sets whether the "set" button is enabled

+/**

Sets whether the "set" button is enabled.

See Also: -isEnabled

*/ - (void) setEnabled: (BOOL)flag @@ -215,8 +215,7 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, isMultiple: [fm isMultiple]]; } -/**

TODO

- * +/**

TODO

*/ - (void) setPanelFont: (NSFont *)fontObject isMultiple: (BOOL)flag @@ -325,15 +324,14 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, return newFont; } -/* - * Works in modal loops +/**

Overides the NSPanel/NSWindow method to always returns YES

*/ - (BOOL) worksWhenModal { return YES; } -/**

Returns the NSFontPanel's accessory view

+/**

Returns the NSFontPanel's accessory view.

See Also: -setAccessoryView:

*/ - (NSView*) accessoryView @@ -341,7 +339,7 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, return _accessoryView; } -/**

Adds the NSFontPanel's accessory view

+/**

Sets the NSFontPanel's accessory view to aView

See Also: -accessoryView

*/ - (void) setAccessoryView: (NSView*)aView