Changeset 980


Ignore:
Timestamp:
Oct 4, 2006, 8:07:36 PM (15 years ago)
Author:
livings124
Message:

Faster scrolling at the cost of a bit less detailed advanced bar (if you want more details, use the info window ;))

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PiecesView.m

    r979 r980  
    143143            fAcross = MAX_ACROSS;
    144144       
    145         fWidth = ([fImageView bounds].size.width - (fAcross + 1) * BETWEEN) / fAcross;
    146         fExtraBorder = ([fImageView bounds].size.width - ((fWidth + BETWEEN) * fAcross + BETWEEN)) / 2;
     145        float width = [fImageView bounds].size.width;
     146        fWidth = (width - (fAcross + 1) * BETWEEN) / fAcross;
     147        fExtraBorder = (width - ((fWidth + BETWEEN) * fAcross + BETWEEN)) / 2;
    147148       
    148149        [self updateView: YES];
  • trunk/macosx/Torrent.m

    r962 r980  
    828828- (NSImage *) advancedBar
    829829{
    830     int width = 324; //integers for bars
     830    int width = 225; //amount of pixels/"pieces"
    831831   
    832832    NSBitmapImageRep * bitmap = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes: nil
Note: See TracChangeset for help on using the changeset viewer.