X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/51a18ac1bb037b0c32f5f30f5a0436ff61b64f21..d7b837d03d47a5ffa60975081a2a7598edc839e3:/ITTSWBackgroundView.h diff --git a/ITTSWBackgroundView.h b/ITTSWBackgroundView.h index 522af29..7c80758 100755 --- a/ITTSWBackgroundView.h +++ b/ITTSWBackgroundView.h @@ -1,6 +1,6 @@ /* * ITKit - * ITGrayRoundedView + * ITTSWBackgroundView * NSView subclass which draws a translucent background with rounded corners. * * Original Author : Matt Judy @@ -14,8 +14,23 @@ #import -@interface ITGrayRoundedView : NSView { +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