Changeset 905
- Timestamp:
- Sep 24, 2006, 10:48:07 PM (16 years ago)
- Location:
- branches/nat-traversal/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nat-traversal/macosx/Torrent.m
r903 r905 52 52 kBlue3 = BE(0x50A0FFFF), //80, 160, 255 53 53 kBlue4 = BE(0x1E46B4FF), //30, 70, 180 54 kGray = BE(0x 828282FF), //130, 130, 13054 kGray = BE(0x969696FF), //150, 150, 150 55 55 kGreen = BE(0x00FF00FF), //0, 255, 0 56 56 kWhite = BE(0xFFFFFFFF); //255, 255, 255 … … 825 825 { 826 826 if (pieces[w] < 0) 827 color = kGreen; 828 else if (pieces[w] == 0) 827 829 color = kGray; 828 else if (pieces[w] == 0)829 color = kRed;830 830 else if (pieces[w] == 1) 831 831 color = kBlue1; -
branches/nat-traversal/macosx/TorrentCell.m
r858 r905 152 152 NSDictionary * info = [self objectValue]; 153 153 154 //if seeding, there's no need for the advanced bar155 if ([[info objectForKey: @"Seeding"] boolValue])156 {157 [self buildSimpleBar: widthFloat point: point];158 return;159 }160 161 154 //draw overlay over advanced bar 162 155 [fProgressEndAdvanced compositeToPoint: point operation: NSCompositeSourceOver];
Note: See TracChangeset
for help on using the changeset viewer.