Changeset 10029
- Timestamp:
- Jan 28, 2010, 3:48:21 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/DragOverlayView.m
r10028 r10029 39 39 [stringShadow setShadowBlurRadius: 4.0]; 40 40 41 NSFont * bigFont = [[NSFontManager sharedFontManager] convertFont: 42 [NSFont fontWithName: @"Lucida Grande" size: 18.0] toHaveTrait: NSBoldFontMask], 43 * smallFont = [NSFont fontWithName: @"Lucida Grande" size: 14.0]; 41 NSFont * bigFont = [NSFont boldSystemFontOfSize: 18.0], 42 * smallFont = [NSFont systemFontOfSize: 14.0]; 44 43 45 44 NSMutableParagraphStyle * paragraphStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy]; … … 78 77 //create badge 79 78 const NSRect badgeRect = NSMakeRect(0.0, 0.0, 325.0, 84.0); 80 NSBezierPath * bp = [NSBezierPath bezierPathWithRoundedRect: badgeRect xRadius: 15.0 yRadius: 15.0];81 79 82 80 fBadge = [[NSImage alloc] initWithSize: badgeRect.size]; 83 81 [fBadge lockFocus]; 84 82 83 NSBezierPath * bp = [NSBezierPath bezierPathWithRoundedRect: badgeRect xRadius: 15.0 yRadius: 15.0]; 85 84 [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.75] set]; 86 85 [bp fill];
Note: See TracChangeset
for help on using the changeset viewer.