X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/51a18ac1bb037b0c32f5f30f5a0436ff61b64f21..f67f8603361e3d6d2bf15dfc7c2a7f55b6aaa474:/ITTSWBackgroundView.h?ds=sidebyside diff --git a/ITTSWBackgroundView.h b/ITTSWBackgroundView.h old mode 100755 new mode 100644 index 522af29..76d923b --- a/ITTSWBackgroundView.h +++ b/ITTSWBackgroundView.h @@ -1,21 +1,31 @@ /* * ITKit - * ITGrayRoundedView - * 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 iThink Software * */ #import +typedef enum _ITTSWBackgroundMode { + ITTSWBackgroundApple, + ITTSWBackgroundReadable, + ITTSWBackgroundColored +} ITTSWBackgroundMode; -@interface ITGrayRoundedView : NSView { - +@interface ITTSWBackgroundView : NSView { + 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