5 * Custom NSTextFieldCell subclass that casts a shadow.
7 * Copyright (c) 2010 iThink Software
11 #import <Cocoa/Cocoa.h>
13 @interface ITTextFieldCell : NSTextFieldCell {
22 - (void)setCastsShadow:(BOOL)newSetting;
24 - (float)shadowElevation; /* Light source elevation in degrees. Always 45.0 */
25 - (void)setShadowElevation:(float)newElevation; /* NOOP */
27 - (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */
28 - (void)setShadowAzimuth:(float)newAzimuth;
30 - (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.0 */
31 - (void)setShadowAmbient:(float)newAmbient;
33 - (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */
34 - (void)setShadowHeight:(float)newHeight;
36 - (float)shadowRadius; /* Blur radius. Defaults to 4.0 */
37 - (void)setShadowRadius:(float)newRadius;
39 - (float)shadowSaturation; /* Maximum saturation. Always 1.0 */
40 - (void)setShadowSaturation:(float)newSaturation; /* NOOP */