X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/4f3da8543caacbaf1ce219e547e24a5490bee090..99f5b6f0f00956827c1168857d67f5a27958db98:/ITImageView.h diff --git a/ITImageView.h b/ITImageView.h old mode 100755 new mode 100644 index aafb576..f59db76 --- a/ITImageView.h +++ b/ITImageView.h @@ -1,20 +1,15 @@ /* * ITKit - * ITImageView - * NSImageView subclass which adds new features, such as smooth scaling. + * ITImageView.h * - * Original Author : Matthew Judy - * Responsibility : Matthew Judy + * Custom NSImageView subclass that uses ITImageCell. * - * Copyright (c) 2003 iThink Software. - * All Rights Reserved + * Copyright (c) 2005 iThink Software * */ - #import - @interface ITImageView : NSImageView { } @@ -22,4 +17,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