even more type changes

This commit is contained in:
Mitchell Livingston
2008-11-04 01:31:24 +00:00
parent 8fa0863467
commit ddfe1eddfc
9 changed files with 26 additions and 26 deletions

View File

@@ -27,17 +27,17 @@
@implementation NSBezierPath (NSBezierPathAdditions)
+ (NSBezierPath *) bezierPathWithRoundedRect: (NSRect) rect radius: (float) radius
+ (NSBezierPath *) bezierPathWithRoundedRect: (NSRect) rect radius: (CGFloat) radius
{
if ([NSApp isOnLeopardOrBetter])
return [self bezierPathWithRoundedRect: rect xRadius: radius yRadius: radius];
float minX = NSMinX(rect),
minY = NSMinY(rect),
maxX = NSMaxX(rect),
maxY = NSMaxY(rect),
midX = NSMidX(rect),
midY = NSMidY(rect);
CGFloat minX = NSMinX(rect),
minY = NSMinY(rect),
maxX = NSMaxX(rect),
maxY = NSMaxY(rect),
midX = NSMidX(rect),
midY = NSMidY(rect);
NSBezierPath * bp = [NSBezierPath bezierPath];
[bp moveToPoint: NSMakePoint(maxX, midY)];