Ignore:
Timestamp:
Sep 27, 2007, 2:29:32 AM (15 years ago)
Author:
livings124
Message:

remove some leftovers from the advanced bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r3194 r3195  
    6969@implementation TorrentCell
    7070
    71 // Used to optimize drawing. They contain packed RGBA pixels for every color needed.
    72 #define BE OSSwapBigToHostConstInt32
    73 
    74 static uint32_t kRed    = BE(0xFF6450FF), //255, 100, 80
    75                 kBlue   = BE(0x50A0FFFF), //80, 160, 255
    76                 kBlue2  = BE(0x1E46B4FF), //30, 70, 180
    77                 kGray   = BE(0x969696FF), //150, 150, 150
    78                 kGreen1 = BE(0x99FFCCFF), //153, 255, 204
    79                 kGreen2 = BE(0x66FF99FF), //102, 255, 153
    80                 kGreen3 = BE(0x00FF66FF), //0, 255, 102
    81                 kWhite  = BE(0xFFFFFFFF); //255, 255, 255
    82 
    8371//only called one, so don't worry about release
    8472- (id) init
     
    10290    }
    10391        return self;
    104 }
    105 
    106 - (id) copyWithZone: (NSZone *) zone
    107 {
    108     TorrentCell * copy = [super copyWithZone: zone];
    109    
    110     copy->fBitmap = nil;
    111     copy->fPieces = NULL;
    112    
    113     return copy;
    114 }
    115 
    116 - (void) dealloc
    117 {
    118     [fBitmap release];
    119     if (fPieces)
    120         free(fPieces);
    121    
    122     [super dealloc];
    12392}
    12493
Note: See TracChangeset for help on using the changeset viewer.