/*
* ITKit
- * ITGrayRoundedView
+ * ITTSWBackgroundView
* NSView subclass which draws a translucent background with rounded corners.
*
* Original Author : Matt Judy <mjudy@ithinksw.com>
#import <Cocoa/Cocoa.h>
-@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