mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 02:30:59 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8834 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d329613085
commit
1c98e6fb81
1 changed files with 11 additions and 7 deletions
|
@ -145,7 +145,9 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
|
|||
- (void) drawWellInside: (NSRect)insideRect
|
||||
{
|
||||
if (NSIsEmptyRect(insideRect))
|
||||
{
|
||||
return;
|
||||
}
|
||||
[_the_color drawSwatchInRect: insideRect];
|
||||
}
|
||||
|
||||
|
@ -238,8 +240,10 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
|
|||
- (void) takeColorFrom: (id)sender
|
||||
{
|
||||
if ([sender respondsToSelector: @selector(color)])
|
||||
{
|
||||
ASSIGN(_the_color, [sender color]);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Managing Borders
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue