Updating ITKit with additions to support Haven development.
[ITKit.git] / ITTSWBackgroundView.h
old mode 100755 (executable)
new mode 100644 (file)
index 8d49143..fc95c8d
@@ -1,21 +1,34 @@
 /*
  *     ITKit
 /*
  *     ITKit
- *  ITGrayRoundedView
- *    NSView subclass which draws a translucent background with rounded corners.
+ *     ITTSWBackgroundView.h
  *
  *
- *  Original Author : Matt Judy <mjudy@ithinksw.com>
- *   Responsibility : Matt Judy <mjudy@ithinksw.com>
+ *     NSView subclass which draws a translucent background with rounded corners.
  *
  *
- *  Copyright (c) 2002 - 2003 iThink Software.
- *  All Rights Reserved
+ *     Copyright (c) 2005 by iThink Software.
+ *     All Rights Reserved.
+ *
+ *     $Id$
  *
  */
 
 #import <Cocoa/Cocoa.h>
 
  *
  */
 
 #import <Cocoa/Cocoa.h>
 
+typedef enum _ITTSWBackgroundMode {
+       ITTSWBackgroundApple,
+       ITTSWBackgroundReadable,
+       ITTSWBackgroundColored
+} ITTSWBackgroundMode;
 
 
-@interface ITGrayRoundedView : NSView {
-    NSBezierPath *_path;
+@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