Changeset 678 for trunk/macosx/Badger.m


Ignore:
Timestamp:
Jul 23, 2006, 7:22:24 PM (16 years ago)
Author:
livings124
Message:

simplify rect width and height measurements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Badger.m

    r613 r678  
    9797           
    9898            //place badge
    99             [fBadge compositeToPoint: badgeRect.origin
    100                         operation: NSCompositeSourceOver];
     99            [fBadge compositeToPoint: badgeRect.origin operation: NSCompositeSourceOver];
    101100           
    102101            //ignore shadow of badge when placing string
     
    106105           
    107106            //place badge text
    108             [self badgeString: [NSString stringWithInt: completed]
    109                         forRect: badgeRect];
     107            [self badgeString: [NSString stringWithInt: completed] forRect: badgeRect];
    110108                       
    111109            [dockIcon unlockFocus];
     
    144142        {
    145143            //place badge
    146             [fUploadBadge compositeToPoint: badgeRect.origin
    147                         operation: NSCompositeSourceOver];
     144            [fUploadBadge compositeToPoint: badgeRect.origin operation: NSCompositeSourceOver];
    148145           
    149146            //place badge text
     
    162159       
    163160            //place badge
    164             [fDownloadBadge compositeToPoint: badgeRect.origin
    165                         operation: NSCompositeSourceOver];
     161            [fDownloadBadge compositeToPoint: badgeRect.origin operation: NSCompositeSourceOver];
    166162           
    167163            //place badge text
Note: See TracChangeset for help on using the changeset viewer.