Changeset 6738


Ignore:
Timestamp:
Sep 7, 2008, 5:57:58 PM (13 years ago)
Author:
livings124
Message:

remove an unused method; trivial type changes

Location:
trunk/macosx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/CTGradient/CTGradientAdditions.h

    r6250 r6738  
    2727@interface CTGradient (ProgressBar)
    2828
    29 + (CTGradient *) progressGradientForRed: (float) redComponent green: (float) greenComponent blue: (float) blueComponent;
     29+ (CTGradient *) progressGradientForRed: (CGFloat) redComponent green: (CGFloat) greenComponent blue: (CGFloat) blueComponent;
    3030
    3131+ (CTGradient *)progressWhiteGradient;
  • trunk/macosx/CTGradient/CTGradientAdditions.m

    r6264 r6738  
    2727@implementation CTGradient (ProgressBar)
    2828
    29 + (CTGradient *) progressGradientForRed: (float) redComponent green: (float) greenComponent blue: (float) blueComponent
     29+ (CTGradient *) progressGradientForRed: (CGFloat) redComponent green: (CGFloat) greenComponent blue: (CGFloat) blueComponent
    3030{
    3131    CTGradientElement color1;
  • trunk/macosx/CreatorWindowController.m

    r6732 r6738  
    156156    {
    157157        NSString * fileString;
    158         int count = fInfo->fileCount;
     158        NSInteger count = fInfo->fileCount;
    159159        if (count != 1)
    160160            fileString = [NSString stringWithFormat: NSLocalizedString(@"%d files", "Create torrent -> info"), count];
     
    488488           
    489489            NSRect windowRect = [window frame];
    490             float difference = [fProgressView frame].size.height - [[window contentView] frame].size.height;
     490            CGFloat difference = [fProgressView frame].size.height - [[window contentView] frame].size.height;
    491491            windowRect.origin.y -= difference;
    492492            windowRect.size.height += difference;
    493493           
    494494            //don't allow vertical resizing
    495             float height = windowRect.size.height;
     495            CGFloat height = windowRect.size.height;
    496496            [window setMinSize: NSMakeSize([window minSize].width, height)];
    497497            [window setMaxSize: NSMakeSize([window maxSize].width, height)];
  • trunk/macosx/PrefsController.h

    r6682 r6738  
    6565+ (tr_handle *) handle;
    6666
    67 - (void) updatePortField;
    6867- (void) setPort: (id) sender;
    6968- (void) setNat: (id) sender;
  • trunk/macosx/PrefsController.m

    r6734 r6738  
    323323}
    324324
    325 //used by ipc
    326 - (void) updatePortField
    327 {
    328     [fPortField setIntValue: [fDefaults integerForKey: @"BindPort"]];
    329 }
    330 
    331325- (void) setPort: (id) sender
    332326{
Note: See TracChangeset for help on using the changeset viewer.