Changeset 369
- Timestamp:
- Jun 15, 2006, 4:01:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/TorrentCell.m
r367 r369 32 32 33 33 - (void) placeBar: (NSImage *) barImage width: (float) width point: (NSPoint) point; 34 - (void) buildSimpleBar: (int) width Intpoint: (NSPoint) point;34 - (void) buildSimpleBar: (int) width point: (NSPoint) point; 35 35 - (void) buildAdvancedBar: (int) width point: (NSPoint) point; 36 36 … … 120 120 } 121 121 122 - (void) buildSimpleBar: (int) width Intpoint: (NSPoint) point123 { 124 float width = (float)widthInt -2.0;122 - (void) buildSimpleBar: (int) width point: (NSPoint) point 123 { 124 width -= 2.0; 125 125 if ([fTorrent isSeeding]) 126 126 { … … 135 135 else 136 136 { 137 float completedWidth = [fTorrent progress] * width,137 int completedWidth = [fTorrent progress] * width, 138 138 remainingWidth = width - completedWidth; 139 139 BOOL isActive = [fTorrent isActive];
Note: See TracChangeset
for help on using the changeset viewer.