- Timestamp:
- Oct 4, 2006, 8:07:36 PM (16 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/PiecesView.m
r979 r980 143 143 fAcross = MAX_ACROSS; 144 144 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; 147 148 148 149 [self updateView: YES]; -
trunk/macosx/Torrent.m
r962 r980 828 828 - (NSImage *) advancedBar 829 829 { 830 int width = 324; //integers for bars830 int width = 225; //amount of pixels/"pieces" 831 831 832 832 NSBitmapImageRep * bitmap = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes: nil
Note: See TracChangeset
for help on using the changeset viewer.