git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Intermediary checkin, just to mark my place and back up, in case Panther decides...
[ITKit.git]
/
ITTSWBackgroundView.h
diff --git
a/ITTSWBackgroundView.h
b/ITTSWBackgroundView.h
index
522af29
..
7c80758
100755
(executable)
--- a/
ITTSWBackgroundView.h
+++ b/
ITTSWBackgroundView.h
@@
-1,6
+1,6
@@
/*
* ITKit
/*
* ITKit
- * IT
GrayRounde
dView
+ * IT
TSWBackgroun
dView
* NSView subclass which draws a translucent background with rounded corners.
*
* Original Author : Matt Judy <mjudy@ithinksw.com>
* NSView subclass which draws a translucent background with rounded corners.
*
* Original Author : Matt Judy <mjudy@ithinksw.com>
@@
-14,8
+14,23
@@
#import <Cocoa/Cocoa.h>
#import <Cocoa/Cocoa.h>
-@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
@end