X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/1de0d30d4a40f983a45b41ce98f297bbe435ef24..0fc44e732f98ed55cdd0d0914c4031ad9c005edc:/ITTSWBackgroundView.h?ds=sidebyside diff --git a/ITTSWBackgroundView.h b/ITTSWBackgroundView.h old mode 100755 new mode 100644 index ff56e90..fc95c8d --- a/ITTSWBackgroundView.h +++ b/ITTSWBackgroundView.h @@ -1,21 +1,34 @@ /* * ITKit - * ITTSWBackgroundView - * NSView subclass which draws a translucent background with rounded corners. + * ITTSWBackgroundView.h * - * Original Author : Matt Judy - * Responsibility : Matt Judy + * NSView subclass which draws a translucent background with rounded corners. * - * Copyright (c) 2002 - 2003 iThink Software. - * All Rights Reserved + * Copyright (c) 2005 by iThink Software. + * All Rights Reserved. + * + * $Id$ * */ #import +typedef enum _ITTSWBackgroundMode { + ITTSWBackgroundApple, + ITTSWBackgroundReadable, + ITTSWBackgroundColored +} ITTSWBackgroundMode; @interface ITTSWBackgroundView : NSView { - NSBezierPath *_path; + NSBezierPath *_path; + NSColor *_color; + ITTSWBackgroundMode _mode; } -@end +- (ITTSWBackgroundMode)backgroundMode; +- (void)setBackgroundMode:(ITTSWBackgroundMode)newMode; + +- (NSColor *)backgroundColor; +- (void)setBackgroundColor:(NSColor *)newColor; + +@end \ No newline at end of file