X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/22ddc2ccf5a32acf25445656e9c14e22a62835c9..ae43c1a7ec8eaa7844c69d2bf648b777704cc51c:/ITTSWBackgroundView.h diff --git a/ITTSWBackgroundView.h b/ITTSWBackgroundView.h index 8d49143..129eb03 100755 --- a/ITTSWBackgroundView.h +++ b/ITTSWBackgroundView.h @@ -1,10 +1,10 @@ /* * ITKit - * ITGrayRoundedView + * 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 -@interface ITGrayRoundedView : NSView { - NSBezierPath *_path; +typedef enum _ITTSWBackgroundMode { + ITTSWBackgroundApple, + ITTSWBackgroundReadable, + ITTSWBackgroundColored +} ITTSWBackgroundMode; + + +@interface ITTSWBackgroundView : NSView { + NSBezierPath *_path; + NSColor *_color; + ITTSWBackgroundMode _mode; } +- (ITTSWBackgroundMode)backgroundMode; +- (void)setBackgroundMode:(ITTSWBackgroundMode)newMode; + +- (NSColor *)backgroundColor; +- (void)setBackgroundColor:(NSColor *)newColor; + @end