Revision: 28286
http://sourceforge.net/p/bibdesk/svn/28286
Author: hofman
Date: 2023-06-04 21:20:17 +0000 (Sun, 04 Jun 2023)
Log Message:
-----------
remove method used by cell based tableview
Modified Paths:
--------------
trunk/bibdesk/BDSKMainTableView.m
Modified: trunk/bibdesk/BDSKMainTableView.m
===================================================================
--- trunk/bibdesk/BDSKMainTableView.m 2023-06-04 21:01:23 UTC (rev 28285)
+++ trunk/bibdesk/BDSKMainTableView.m 2023-06-04 21:20:17 UTC (rev 28286)
@@ -143,32 +143,6 @@
NSBeep();
}
-- (void)drawRow:(NSInteger)row clipRect:(NSRect)clipRect {
- if ([[self delegate]
respondsToSelector:@selector(tableView:highlightColorForRow:)]) {
- NSColor *color = [[self delegate] tableView:self
highlightColorForRow:row];
- if (color) {
- NSRect rect;
- if (RUNNING_AFTER(10_15))
- rect = NSInsetRect([self rectOfRow:row], 13.0, 1.0);
- else
- rect = BDSKShrinkRect(BDSKShrinkRect([self rectOfRow:row],
2.0, NSMaxYEdge), 1.0, NSMinYEdge);
- if (NSIntersectsRect(clipRect, rect)) {
- [NSGraphicsContext saveGraphicsState];
- [color set];
- if ([self isRowSelected:row]) {
- [NSBezierPath setDefaultLineWidth:2.0];
- [NSBezierPath strokeHorizontalOvalInRect:NSInsetRect(rect,
1.0, 1.0)];
- [NSBezierPath setDefaultLineWidth:1.0];
- } else {
- [NSBezierPath fillHorizontalOvalInRect:rect];
- }
- [NSGraphicsContext restoreGraphicsState];
- }
- }
- }
- [super drawRow:row clipRect:clipRect];
-}
-
#pragma mark Alternating row color
- (void)setAlternatingRowBackgroundColors:(NSArray *)colorArray{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit