Recreate Finnish.lproj/MainMenu.nib.
[MacTF.git] / iLifeControls / EtchedTextCell.m
blob252984eca457fe1cf5b207cbe0dfff682fc31273
1 #import "EtchedTextCell.h"
3 @implementation EtchedTextCell
5 -(void)setShadowColor:(NSColor *)color
7         mShadowColor = [color retain];
10 - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(id)controlView
12         [NSGraphicsContext saveGraphicsState]; 
13         NSShadow* theShadow = [[NSShadow alloc] init]; 
14         [theShadow setShadowOffset:NSMakeSize(0, -1)]; 
15         [theShadow setShadowBlurRadius:0.3]; 
17         [theShadow setShadowColor:mShadowColor]; 
18         
19         [theShadow set];
21         [super drawInteriorWithFrame:cellFrame inView:controlView];
22         
23         [NSGraphicsContext restoreGraphicsState];
24         [theShadow release]; 
27 @end