Changeset 582
- Timestamp:
- Jul 15, 2006, 6:22:10 PM (16 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/BarButton.m
r581 r582 50 50 //create highlighted button 51 51 [fButtonIn lockFocus]; 52 [[NSColor colorWithCalibrated White: 0.0 alpha: 0.25] set];52 [[NSColor colorWithCalibratedRed: 0.4941 green: 0.5647 blue: 0.6706 alpha: 1.0] set]; 53 53 [rect fill]; 54 54 [fButtonIn unlockFocus]; … … 56 56 //create pushed button 57 57 [fButtonDown lockFocus]; 58 [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0. 5] set];58 [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.6] set]; 59 59 [rect fill]; 60 60 [fButtonDown unlockFocus]; … … 80 80 - (void) setText: (NSString *) text 81 81 { 82 NSShadow * stringShadow = [[NSShadow alloc] init]; 83 [stringShadow setShadowOffset: NSMakeSize(1.0, -1.0)]; 84 [stringShadow setShadowBlurRadius: 1.0]; 85 82 86 NSDictionary * normalAttributes = [[NSDictionary alloc] initWithObjectsAndKeys: 83 87 [NSColor blackColor], NSForegroundColorAttributeName, 84 [NSFont messageFontOfSize: 11.0], NSFontAttributeName, nil]; 88 [NSFont messageFontOfSize: 11.0], NSFontAttributeName, 89 stringShadow, NSShadowAttributeName, nil]; 85 90 NSDictionary * highlightedAttributes = [[NSDictionary alloc] initWithObjectsAndKeys: 86 91 [NSColor whiteColor], NSForegroundColorAttributeName, 87 [NSFont messageFontOfSize: 11.0], NSFontAttributeName, nil]; 92 [NSFont messageFontOfSize: 11.0], NSFontAttributeName, 93 stringShadow, NSShadowAttributeName, nil]; 94 95 [stringShadow release]; 88 96 89 97 NSSize textSize = [text sizeWithAttributes: normalAttributes]; -
trunk/macosx/English.lproj/MainMenu.nib/info.nib
r581 r582 12 12 <string>364 490 420 60 0 0 1152 842 </string> 13 13 <key>1603</key> 14 <string> 284 519477 66 0 0 1152 842 </string>14 <string>337 545 477 66 0 0 1152 842 </string> 15 15 <key>29</key> 16 16 <string>9 780 451 44 0 0 1152 842 </string> … … 32 32 <key>IBOpenObjects</key> 33 33 <array> 34 <integer>29</integer>35 34 <integer>1603</integer> 36 35 </array>
Note: See TracChangeset
for help on using the changeset viewer.