Huge audit of ITKit, mostly everything has been updated to current coding
[ITKit.git] / ITImageView.h
1 /*
2  *      ITKit
3  *      ITImageView.h
4  *
5  *      Custom NSImageView subclass that uses ITImageCell.
6  *
7  *      Copyright (c) 2005 by iThink Software.
8  *      All Rights Reserved.
9  *
10  *      $Id$
11  *
12  */
13
14 #import <Cocoa/Cocoa.h>
15
16 @interface ITImageView : NSImageView {
17
18 }
19
20 - (BOOL)scalesSmoothly;
21 - (void)setScalesSmoothly:(BOOL)flag;
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 @end