Changeset 4202


Ignore:
Timestamp:
Dec 18, 2007, 6:42:42 PM (15 years ago)
Author:
livings124
Message:

adjust group coloring

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/GroupsWindowController.m

    r4201 r4202  
    378378- (CTGradient *) gradientForColor: (NSColor *) color
    379379{
    380     return [CTGradient gradientWithBeginningColor: [color blendedColorWithFraction: 0.7 ofColor: [NSColor whiteColor]]
     380    return [CTGradient gradientWithBeginningColor: [color blendedColorWithFraction: 0.65 ofColor: [NSColor whiteColor]]
    381381            endingColor: [color blendedColorWithFraction: 0.2 ofColor: [NSColor whiteColor]]];
    382382}
  • trunk/macosx/TorrentCell.m

    r4201 r4202  
    214214    if (groupValue != -1)
    215215        [[[GroupsWindowController groupsController] gradientForIndex: groupValue] fillBezierPath:
    216             [NSBezierPath bezierPathWithRoundedRect: NSInsetRect(iconRect, -2.0, -2.0) radius: 6.0] angle: 90.0];
     216            [NSBezierPath bezierPathWithRoundedRect: NSInsetRect(iconRect, -2.0, minimal ? -3.0 : -2.0) radius: 6.0] angle: 90.0];
    217217   
    218218    //error image
Note: See TracChangeset for help on using the changeset viewer.