DAMN YOU PROJECT BUILDER FOR IMPORTING ONLY FOUNDATION!!!
[ITKit.git] / ITTextField.h
1 /*
2  *      ITKit
3  *  ITTextField
4  *    Allows shadows to be drawn under text.
5  *
6  *  Original Author : Matt Judy <mjudy@ithinksw.com>
7  *   Responsibility : Matt Judy <mjudy@ithinksw.com>
8  *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
9  *
10  *  Copyright (c) 2002 - 2003 iThink Software.
11  *  All Rights Reserved
12  *
13  */
14
15  
16 #import <Cocoa/Cocoa.h>
17
18
19 @interface ITTextField : NSTextField {
20
21 }
22
23 - (BOOL)castsShadow;
24 - (void)setCastsShadow:(BOOL)newSetting;
25
26 - (float)shadowElevation;               /* Light source elevation in degrees.  Defaults to 45.0 */
27 - (void)setShadowElevation:(float)newElevation;
28
29 - (float)shadowAzimuth;                 /* Light source azimuth in degrees.  Defaults to 90.0 */
30 - (void)setShadowAzimuth:(float)newAzimuth;
31
32 - (float)shadowAmbient;                 /* Amount of ambient light.  Defaults to 0.15 */
33 - (void)setShadowAmbient:(float)newAmbient;
34
35 - (float)shadowHeight;                  /* Height above the canvas.  Defaults to 1.0 */
36 - (void)setShadowHeight:(float)newHeight;
37
38 - (float)shadowRadius;                  /* Blur radius.  Defaults to 4.0 */
39 - (void)setShadowRadius:(float)newRadius;
40
41 - (float)shadowSaturation;              /* Maximum saturation.  Defaults to 1.0 */
42 - (void)setShadowSaturation:(float)newSaturation;
43
44
45 @end