X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/f3f68377429d64947ab0b32f925eb3632bd7e94b..f43112aa0d5738cf9f2f8b8fa0fc63627871a69c:/ITImageView.h?ds=inline diff --git a/ITImageView.h b/ITImageView.h old mode 100755 new mode 100644 index d9141c8..3715a0c --- a/ITImageView.h +++ b/ITImageView.h @@ -1,20 +1,18 @@ /* * ITKit - * ITImageView - * NSImageView subclass which adds new features. + * ITImageView.h * - * Original Author : Matt Judy - * Responsibility : Matt Judy + * Custom NSImageView subclass that uses ITImageCell. * - * Copyright (c) 2003 iThink Software. - * All Rights Reserved + * Copyright (c) 2005 by iThink Software. + * All Rights Reserved. + * + * $Id$ * */ - #import - @interface ITImageView : NSImageView { } @@ -22,4 +20,25 @@ - (BOOL)scalesSmoothly; - (void)setScalesSmoothly:(BOOL)flag; -@end +- (BOOL)castsShadow; +- (void)setCastsShadow:(BOOL)newSetting; + +- (float)shadowElevation; /* Light source elevation in degrees. Defaults to 45.0 */ +- (void)setShadowElevation:(float)newElevation; + +- (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */ +- (void)setShadowAzimuth:(float)newAzimuth; + +- (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.15 */ +- (void)setShadowAmbient:(float)newAmbient; + +- (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */ +- (void)setShadowHeight:(float)newHeight; + +- (float)shadowRadius; /* Blur radius. Defaults to 4.0 */ +- (void)setShadowRadius:(float)newRadius; + +- (float)shadowSaturation; /* Maximum saturation. Defaults to 1.0 */ +- (void)setShadowSaturation:(float)newSaturation; + +@end \ No newline at end of file