mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Add objectValue accessors
This commit is contained in:
parent
e270ab39aa
commit
d939fdfd1e
2 changed files with 13 additions and 0 deletions
|
@ -50,6 +50,9 @@ extern "C" {
|
|||
NSArray *_draggingImageComponents;
|
||||
}
|
||||
|
||||
- (void) setObjectValue: (id)value;
|
||||
- (id) objectValue;
|
||||
|
||||
- (void) setImageView: (NSImageView *)imageView;
|
||||
- (NSImageView *) imageView;
|
||||
|
||||
|
|
|
@ -26,6 +26,16 @@
|
|||
|
||||
@implementation NSTableCellView
|
||||
|
||||
- (void) setObjectValue: (id)value
|
||||
{
|
||||
ASSIGN(_objectValue, value);
|
||||
}
|
||||
|
||||
- (id) objectValue
|
||||
{
|
||||
return _objectValue;
|
||||
}
|
||||
|
||||
- (void) setImageView: (NSImageView *)imageView
|
||||
{
|
||||
ASSIGN(_imageView, imageView);
|
||||
|
|
Loading…
Reference in a new issue