make sure the badge changes for different drags

This commit is contained in:
Mitchell Livingston 2007-05-19 19:26:05 +00:00
parent e9a3e7936f
commit 04c813f9ef
1 changed files with 5 additions and 2 deletions

View File

@ -51,11 +51,12 @@
[bp appendBezierPathWithArcFromPoint: NSMakePoint(maxX, minY) toPoint: NSMakePoint(maxX, midY) radius: radius];
[bp closePath];
[NSBezierPath setDefaultLineWidth: 20.0];
[[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.75] set];
[bp fill];
/*[[NSColor whiteColor] set];
/*
[NSBezierPath setDefaultLineWidth: 5.0];
[[NSColor whiteColor] set];
[bp stroke];
[NSBezierPath strokeLineFromPoint: NSMakePoint(minX, minY + radius) toPoint: NSMakePoint(minX, maxY - radius)];*/
@ -153,6 +154,8 @@
[subLine drawInRect: lineRect withAttributes: fSubLineAttributes];
[fBadge unlockFocus];
[self setNeedsDisplay: YES];
}
-(void) drawRect: (NSRect) rect