Ignore:
Timestamp:
Sep 12, 2006, 12:51:11 AM (15 years ago)
Author:
livings124
Message:

advanced bar doesn't need to generate it's own border

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r856 r858  
    158158        return;
    159159    }
    160 
     160   
     161    //draw overlay over advanced bar
     162    [fProgressEndAdvanced compositeToPoint: point operation: NSCompositeSourceOver];
     163   
     164    widthFloat -= 2.0;
     165    point.x += 1.0;
     166   
     167    //place actual advanced bar
    161168    NSImage * img = [info objectForKey: @"AdvancedBar"];
    162169    [img setSize: NSMakeSize(widthFloat, BAR_HEIGHT)];
    163 
    164170    [img compositeToPoint: point operation: NSCompositeSourceOver];
    165171   
    166     //draw overlay over advanced bar
    167     [fProgressEndAdvanced compositeToPoint: point operation: NSCompositeSourceOver];
    168    
    169     widthFloat -= 2.0;
    170     point.x += 1.0;
    171172    [self placeBar: fProgressAdvanced width: widthFloat point: point];
    172173   
Note: See TracChangeset for help on using the changeset viewer.