Changeset 582


Ignore:
Timestamp:
Jul 15, 2006, 6:22:10 PM (16 years ago)
Author:
livings124
Message:

Better clicked filter button color.

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BarButton.m

    r581 r582  
    5050        //create highlighted button
    5151        [fButtonIn lockFocus];
    52         [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.25] set];
     52        [[NSColor colorWithCalibratedRed: 0.4941 green: 0.5647 blue: 0.6706 alpha: 1.0] set];
    5353        [rect fill];
    5454        [fButtonIn unlockFocus];
     
    5656        //create pushed button
    5757        [fButtonDown lockFocus];
    58         [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.5] set];
     58        [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.6] set];
    5959        [rect fill];
    6060        [fButtonDown unlockFocus];
     
    8080- (void) setText: (NSString *) text
    8181{
     82    NSShadow * stringShadow = [[NSShadow alloc] init];
     83    [stringShadow setShadowOffset: NSMakeSize(1.0, -1.0)];
     84    [stringShadow setShadowBlurRadius: 1.0];
     85
    8286    NSDictionary * normalAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
    8387                [NSColor blackColor], NSForegroundColorAttributeName,
    84                 [NSFont messageFontOfSize: 11.0], NSFontAttributeName, nil];
     88                [NSFont messageFontOfSize: 11.0], NSFontAttributeName,
     89                stringShadow, NSShadowAttributeName, nil];
    8590    NSDictionary * highlightedAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
    8691                [NSColor whiteColor], NSForegroundColorAttributeName,
    87                 [NSFont messageFontOfSize: 11.0], NSFontAttributeName, nil];
     92                [NSFont messageFontOfSize: 11.0], NSFontAttributeName,
     93                stringShadow, NSShadowAttributeName, nil];
     94   
     95    [stringShadow release];
    8896   
    8997    NSSize textSize = [text sizeWithAttributes: normalAttributes];
  • trunk/macosx/English.lproj/MainMenu.nib/info.nib

    r581 r582  
    1212                <string>364 490 420 60 0 0 1152 842 </string>
    1313                <key>1603</key>
    14                 <string>284 519 477 66 0 0 1152 842 </string>
     14                <string>337 545 477 66 0 0 1152 842 </string>
    1515                <key>29</key>
    1616                <string>9 780 451 44 0 0 1152 842 </string>
     
    3232        <key>IBOpenObjects</key>
    3333        <array>
    34                 <integer>29</integer>
    3534                <integer>1603</integer>
    3635        </array>
Note: See TracChangeset for help on using the changeset viewer.