Changeset 9081


Ignore:
Timestamp:
Sep 9, 2009, 3:27:23 AM (13 years ago)
Author:
livings124
Message:

revert r9008 on the 1.7x branch - this will flip the image using the 10.5 sdk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.7x/macosx/FilePriorityCell.m

    r9008 r9081  
    138138       
    139139        NSSize imageSize = [image size];
    140         NSRect imageRect = NSMakeRect(cellFrame.origin.x + (cellFrame.size.width - imageSize.width) * 0.5,
    141                                         cellFrame.origin.y + (cellFrame.size.height - imageSize.height) * 0.5,
    142                                         imageSize.width, imageSize.height);
    143         [image drawInRect: imageRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
     140        [image compositeToPoint: NSMakePoint(cellFrame.origin.x + (cellFrame.size.width - imageSize.width) * 0.5f,
     141                cellFrame.origin.y + (cellFrame.size.height + imageSize.height) * 0.5f) operation: NSCompositeSourceOver];
    144142    }
    145143}
Note: See TracChangeset for help on using the changeset viewer.