Initial skeleton for NSTableCellView

This commit is contained in:
Gregory John Casamento 2022-09-03 10:45:48 -04:00
parent 968e78ab34
commit edb517ceca
3 changed files with 83 additions and 1 deletions

View file

@ -26,5 +26,51 @@
@implementation NSTableCellView
- (void) setImageView: (NSImageView *)imageView
{
ASSIGN(_imageView, imageView);
}
- (NSImageView *) imageView
{
return _imageView;
}
- (void) setTextField: (NSTextField *)textField
{
ASSIGN(_textField, textField);
}
- (NSTextField *) textField
{
return _textField;
}
- (void) setBackgroundStyle: (NSBackgroundStyle)style
{
_backgroundStyle = style;
}
- (NSBackgroundStyle) backgroundStyle
{
return _backgroundStyle;
}
- (void) setRowSizeStyle: (NSTableViewRowSizeStyle)style
{
_rowSizeStyle = style;
}
- (NSTableViewRowSizeStyle) rowSizeStyle
{
return _rowSizeStyle;
}
- (NSArray *) draggingImageComponents
{
return _draggingImageComponents;
}
@end