Changeset 1886


Ignore:
Timestamp:
May 19, 2007, 5:02:07 PM (16 years ago)
Author:
livings124
Message:

fine tune the drag badge look a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/DragOverlayView.m

    r1882 r1886  
    3232    {
    3333        //create badge
    34         fBackBadge = [[NSImage alloc] initWithSize: NSMakeSize(300.0, 84.0)];
     34        NSRect badgeRect = NSMakeRect(0, 0, 325.0, 84.0);
     35       
     36        fBackBadge = [[NSImage alloc] initWithSize: badgeRect.size];
    3537        [fBackBadge lockFocus];
    3638       
    37         [NSBezierPath setDefaultLineWidth: 3.0];
     39        [NSBezierPath setDefaultLineWidth: 5.0];
    3840       
    39         NSRect badgeRect = NSMakeRect(0, 0, 300.0, 80.0);
    4041        [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.75] set];
    4142        [NSBezierPath fillRect: badgeRect];
Note: See TracChangeset for help on using the changeset viewer.