fine tune the drag badge look a bit

This commit is contained in:
Mitchell Livingston 2007-05-19 17:02:07 +00:00
parent 592e80e2df
commit 87ef0cf5cc
1 changed files with 4 additions and 3 deletions

View File

@ -31,12 +31,13 @@
if ((self = [super initWithFrame: frame]))
{
//create badge
fBackBadge = [[NSImage alloc] initWithSize: NSMakeSize(300.0, 84.0)];
NSRect badgeRect = NSMakeRect(0, 0, 325.0, 84.0);
fBackBadge = [[NSImage alloc] initWithSize: badgeRect.size];
[fBackBadge lockFocus];
[NSBezierPath setDefaultLineWidth: 3.0];
[NSBezierPath setDefaultLineWidth: 5.0];
NSRect badgeRect = NSMakeRect(0, 0, 300.0, 80.0);
[[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.75] set];
[NSBezierPath fillRect: badgeRect];