Add methods to theme and to NSTableView to get the view from the delegate, this is a partial commit to save my place here... will follow up shortly

This commit is contained in:
Gregory John Casamento 2024-02-08 21:02:10 -05:00
parent 0be95eba5b
commit ebdbe0930f
4 changed files with 153 additions and 5 deletions

View file

@ -5032,9 +5032,18 @@ This method is deprecated, use -columnIndexesInRect:. */
- (void) drawRow: (NSInteger)rowIndex clipRect: (NSRect)clipRect
{
[[GSTheme theme] drawTableViewRow: rowIndex
clipRect: clipRect
inView: self];
if (_viewBased)
{
[[GSTheme theme] drawTableCellViewRow: rowIndex
clipRect: clipRect
inView: self];
}
else
{
[[GSTheme theme] drawTableViewRow: rowIndex
clipRect: clipRect
inView: self];
}
}
- (void) noteHeightOfRowsWithIndexesChanged: (NSIndexSet*)indexes