Hard coded header view resources into the CPTableView

This commit is contained in:
Randall Luecke committed 2010-01-22 02:09:22 -05:00
1 parent c2880ec8e4
commit 22aa4d359e
6 files changed
+9 -5

No files matched your search

+2 -2
View File
@@ -135,8 +135,8 @@
var columnToStroke = [self headerRectOfColumn:columnArrayIndex];
CGContextBeginPath(context);
CGContextMoveToPoint(context, ROUND(columnToStroke.origin.x + columnToStroke.size.width) - 0.5, ROUND(columnToStroke.origin.y) - 0.5);
CGContextAddLineToPoint(context, ROUND(columnToStroke.origin.x + columnToStroke.size.width) - 0.5, ROUND(columnToStroke.origin.y + columnToStroke.size.height) - 0.5);
CGContextMoveToPoint(context, ROUND(columnToStroke.origin.x + columnToStroke.size.width) + 0.5, ROUND(columnToStroke.origin.y) + 0.5);
CGContextAddLineToPoint(context, ROUND(columnToStroke.origin.x + columnToStroke.size.width) + 0.5, ROUND(columnToStroke.origin.y + columnToStroke.size.height) + 0.5);
CGContextSetLineWidth(context, 1);
CGContextStrokePath(context);
}