Another cleanup that doesn't seem to actually help
[ITKit.git] / ITTextFieldCell.h
1 /*
2  *      ITKit
3  *  ITTextFieldCell
4  *    Cell used by the ITTextField control.
5  *
6  *  Original Author : Matthew Judy <mjudy@ithinksw.com>
7  *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
8  *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
9  *
10  *  Copyright (c) 2003 iThink Software.
11  *  All Rights Reserved
12  *
13  */
14
15  
16 #import <Cocoa/Cocoa.h>
17
18
19 @interface ITTextFieldCell : NSTextFieldCell {
20
21     BOOL  castsShadow;
22     
23     float shadowElevation;
24     float shadowAzimuth;
25     float shadowAmbient;
26     float shadowHeight;
27     float shadowRadius;
28     float shadowSaturation;
29
30 }
31
32 - (BOOL)castsShadow;
33 - (void)setCastsShadow:(BOOL)newSetting;
34
35 - (float)shadowElevation;               /* Light source elevation in degrees.  Defaults to 45.0 */
36 - (void)setShadowElevation:(float)newElevation;
37
38 - (float)shadowAzimuth;                 /* Light source azimuth in degrees.  Defaults to 90.0 */
39 - (void)setShadowAzimuth:(float)newAzimuth;
40
41 - (float)shadowAmbient;                 /* Amount of ambient light.  Defaults to 0.15 */
42 - (void)setShadowAmbient:(float)newAmbient;
43
44 - (float)shadowHeight;                  /* Height above the canvas.  Defaults to 1.0 */
45 - (void)setShadowHeight:(float)newHeight;
46
47 - (float)shadowRadius;                  /* Blur radius.  Defaults to 4.0 */
48 - (void)setShadowRadius:(float)newRadius;
49
50 - (float)shadowSaturation;              /* Maximum saturation.  Defaults to 1.0 */
51 - (void)setShadowSaturation:(float)newSaturation;
52
53
54 @end