X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/1de0d30d4a40f983a45b41ce98f297bbe435ef24..e3ecd39c1d3a4803b8d4c051846ad6ad7b059d6f:/ITTSWBackgroundView.h diff --git a/ITTSWBackgroundView.h b/ITTSWBackgroundView.h index ff56e90..129eb03 100755 --- a/ITTSWBackgroundView.h +++ b/ITTSWBackgroundView.h @@ -3,8 +3,8 @@ * ITTSWBackgroundView * NSView subclass which draws a translucent background with rounded corners. * - * Original Author : Matt Judy - * Responsibility : Matt Judy + * Original Author : Matthew Judy + * Responsibility : Matthew Judy * * Copyright (c) 2002 - 2003 iThink Software. * All Rights Reserved @@ -14,8 +14,23 @@ #import +typedef enum _ITTSWBackgroundMode { + ITTSWBackgroundApple, + ITTSWBackgroundReadable, + ITTSWBackgroundColored +} ITTSWBackgroundMode; + + @interface ITTSWBackgroundView : NSView { - NSBezierPath *_path; + NSBezierPath *_path; + NSColor *_color; + ITTSWBackgroundMode _mode; } +- (ITTSWBackgroundMode)backgroundMode; +- (void)setBackgroundMode:(ITTSWBackgroundMode)newMode; + +- (NSColor *)backgroundColor; +- (void)setBackgroundColor:(NSColor *)newColor; + @end