Changeset 905


Ignore:
Timestamp:
Sep 24, 2006, 10:48:07 PM (15 years ago)
Author:
livings124
Message:

Make advanced bar colors match the new pieces viewer more.

Location:
branches/nat-traversal/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/nat-traversal/macosx/Torrent.m

    r903 r905  
    5252                kBlue3 = BE(0x50A0FFFF), //80, 160, 255
    5353                kBlue4 = BE(0x1E46B4FF), //30, 70, 180
    54                 kGray  = BE(0x828282FF), //130, 130, 130
     54                kGray  = BE(0x969696FF), //150, 150, 150
    5555                kGreen = BE(0x00FF00FF), //0, 255, 0
    5656                kWhite = BE(0xFFFFFFFF); //255, 255, 255
     
    825825    {
    826826        if (pieces[w] < 0)
     827            color = kGreen;
     828        else if (pieces[w] == 0)
    827829            color = kGray;
    828         else if (pieces[w] == 0)
    829             color = kRed;
    830830        else if (pieces[w] == 1)
    831831            color = kBlue1;
  • branches/nat-traversal/macosx/TorrentCell.m

    r858 r905  
    152152    NSDictionary * info = [self objectValue];
    153153   
    154     //if seeding, there's no need for the advanced bar
    155     if ([[info objectForKey: @"Seeding"] boolValue])
    156     {
    157         [self buildSimpleBar: widthFloat point: point];
    158         return;
    159     }
    160    
    161154    //draw overlay over advanced bar
    162155    [fProgressEndAdvanced compositeToPoint: point operation: NSCompositeSourceOver];
Note: See TracChangeset for help on using the changeset viewer.