X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/51a18ac1bb037b0c32f5f30f5a0436ff61b64f21..63956bb9f9984a26dc8147615be854e93ccc6b50:/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