Changeset 11789


Ignore:
Timestamp:
Jan 30, 2011, 2:52:03 AM (11 years ago)
Author:
livings124
Message:

tweak the inspector button gradient

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoTabButtonBack.m

    r11788 r11789  
    3131    if ((self = [super initWithFrame: rect]))
    3232    {
    33         NSColor * lightColor = [NSColor colorWithCalibratedRed: 255.0/255.0 green: 255.0/255.0 blue: 255.0/255.0 alpha: 1.0];
    34         NSColor * darkColor = [NSColor colorWithCalibratedRed: 225.0/255.0 green: 225.0/255.0 blue: 225.0/255.0 alpha: 1.0];
     33        NSColor * lightColor = [NSColor colorWithCalibratedRed: 245.0/255.0 green: 245.0/255.0 blue: 245.0/255.0 alpha: 1.0];
     34        NSColor * darkColor = [NSColor colorWithCalibratedRed: 215.0/255.0 green: 215.0/255.0 blue: 215.0/255.0 alpha: 1.0];
    3535        fGradient = [[NSGradient alloc] initWithStartingColor: lightColor endingColor: darkColor];
    3636    }
  • trunk/macosx/InfoTabButtonCell.m

    r11788 r11789  
    7474    else
    7575    {
    76         NSColor * lightColor = [NSColor colorWithCalibratedRed: 255.0/255.0 green: 255.0/255.0 blue: 255.0/255.0 alpha: 1.0];
    77         NSColor * darkColor = [NSColor colorWithCalibratedRed: 225.0/255.0 green: 225.0/255.0 blue: 225.0/255.0 alpha: 1.0];
     76        NSColor * lightColor = [NSColor colorWithCalibratedRed: 245.0/255.0 green: 245.0/255.0 blue: 245.0/255.0 alpha: 1.0];
     77        NSColor * darkColor = [NSColor colorWithCalibratedRed: 215.0/255.0 green: 215.0/255.0 blue: 215.0/255.0 alpha: 1.0];
    7878        NSGradient * gradient = [[NSGradient alloc] initWithStartingColor: lightColor endingColor: darkColor];
    7979        [gradient drawInRect: tabRect angle: 270.0];
Note: See TracChangeset for help on using the changeset viewer.