* Source/NSColorWell.m (-objectValue, -setObjectValue:,

-takeObjectValueFrom:): Add these missing methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34132 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-11-07 15:30:33 +00:00
parent cdb5f0c264
commit 4d0e9108ba
2 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-11-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSColorWell.m (-objectValue, -setObjectValue:,
-takeObjectValueFrom:): Add these missing methods.
2011-11-06 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSBitmapImageRep+PNG.m:

View file

@ -392,6 +392,11 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
}
}
- (id) objectValue
{
return [self color];
}
- (BOOL) performDragOperation: (id <NSDraggingInfo>)sender
{
NSPasteboard *pb = [sender draggingPasteboard];
@ -448,6 +453,11 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
}
}
- (void) setObjectValue: (id)anObject
{
[self setColor: anObject];
}
- (void) setTarget: (id)target
{
_target = target;
@ -490,6 +500,11 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
}
}
- (void) takeObjectValueFrom: (id)sender
{
[self takeColorFrom: sender];
}
- (id) target
{
return _target;