Improved documentation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22072 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fabien_ 2005-11-22 10:23:05 +00:00
parent daa9d7a786
commit 4d8e09fea5
2 changed files with 8 additions and 9 deletions

View file

@ -3,6 +3,7 @@
* Source/NSCell.m : Improved documentation * Source/NSCell.m : Improved documentation
* Source/NSControl.m : Improved documentation * Source/NSControl.m : Improved documentation
* Source/NSCustomImageRep.m : Improved documentation * Source/NSCustomImageRep.m : Improved documentation
* Source/NSFontPanel.m : Improved documentation
2005-11-21 fabien <fabien@sonappart.net> 2005-11-21 fabien <fabien@sonappart.net>

View file

@ -111,7 +111,7 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0,
} }
} }
/** <p>Creates ( if needed ) and returns the shared NSFontPanel</p> /** <p>Creates ( if needed ) and returns the shared NSFontPanel.</p>
*/ */
+ (NSFontPanel*) sharedFontPanel + (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]; [super dealloc];
} }
/** <p>Returns whether the "set" button is enabled</p> /** <p>Returns whether the "set" button is enabled.</p>
<p>See Also: -setEnabled:</p> <p>See Also: -setEnabled:</p>
*/ */
- (BOOL) isEnabled - (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]; return [setButton isEnabled];
} }
/**<p>Sets whether the "set" button is enabled</p> /**<p>Sets whether the "set" button is enabled.</p>
<p>See Also: -isEnabled</p> <p>See Also: -isEnabled</p>
*/ */
- (void) setEnabled: (BOOL)flag - (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]]; isMultiple: [fm isMultiple]];
} }
/** <p> TODO </p> /**<p> TODO </p>
*
*/ */
- (void) setPanelFont: (NSFont *)fontObject - (void) setPanelFont: (NSFont *)fontObject
isMultiple: (BOOL)flag 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; return newFont;
} }
/* /**<p>Overides the NSPanel/NSWindow method to always returns YES</p>
* Works in modal loops
*/ */
- (BOOL) worksWhenModal - (BOOL) worksWhenModal
{ {
return YES; return YES;
} }
/** <p>Returns the NSFontPanel's accessory view</p> /** <p>Returns the NSFontPanel's accessory view.</p>
<p>See Also: -setAccessoryView:</p> <p>See Also: -setAccessoryView:</p>
*/ */
- (NSView*) accessoryView - (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; return _accessoryView;
} }
/** <p>Adds the NSFontPanel's accessory view</p> /** <p>Sets the NSFontPanel's accessory view to <var>aView</var></p>
<p>See Also: -accessoryView</p> <p>See Also: -accessoryView</p>
*/ */
- (void) setAccessoryView: (NSView*)aView - (void) setAccessoryView: (NSView*)aView