mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:21:08 +00:00
Improved docuentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22136 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
78ccd6c023
commit
6e80e2f76e
2 changed files with 8 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
|||
* Source/NSColorPanel.m: Improved documentation, various cleanups
|
||||
* Source/NSColor.m: Improved documentation
|
||||
* Source/NSClipView.m: Improved documentation
|
||||
* Source/NSColorWell.m: Improved documentation
|
||||
|
||||
2005-12-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
|
|||
/**<p>Activates the NSColorWell and displays the NSColorPanel with the current
|
||||
NSColorWell's color. The NSColorWell can take color from the NSColorPanel.
|
||||
If exclusive is YES other NSColorWells are desacivated
|
||||
(through notifications)</p><p>See Also: -deactivate</p>
|
||||
(through notifications).</p><p>See Also: -deactivate</p>
|
||||
*/
|
||||
- (void) activate: (BOOL)exclusive
|
||||
{
|
||||
|
@ -220,6 +220,9 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
|
|||
[self drawWellInside: NSIntersectionRect(aRect, clipRect)];
|
||||
}
|
||||
|
||||
/**<p>Draws the NSColorWell inside the rectangle <var>insideRect</var>.</p>
|
||||
<p>See Also: [NSColor-drawSwatchInRect:]</p>
|
||||
*/
|
||||
- (void) drawWellInside: (NSRect)insideRect
|
||||
{
|
||||
if (NSIsEmptyRect(insideRect))
|
||||
|
@ -351,7 +354,7 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
|
|||
}
|
||||
|
||||
/** <p>Sets the NSColorWell to color. Sets the NSColorPanel if active,
|
||||
notify the target of color change and marks self to display</p>
|
||||
notify the target that the color changed and marks self for display.</p>
|
||||
<p>See Also: -color</p>
|
||||
*/
|
||||
- (void) setColor: (NSColor *)color
|
||||
|
@ -379,7 +382,8 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
|
|||
_target = target;
|
||||
}
|
||||
|
||||
/** <p>Sets the NSColorWell's color to the sender color</p>
|
||||
/** <p>Sets the NSColorWell's color to the sender color.</p>
|
||||
<p>See Also: -setColor: </p>
|
||||
*/
|
||||
- (void) takeColorFrom: (id)sender
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue