3 * ITTSWBackgroundView.h
5 * NSView subclass which draws a translucent background with rounded corners.
7 * Copyright (c) 2005 iThink Software
11 #import <Cocoa/Cocoa.h>
13 typedef enum _ITTSWBackgroundMode {
15 ITTSWBackgroundReadable,
16 ITTSWBackgroundColored
17 } ITTSWBackgroundMode;
19 @interface ITTSWBackgroundView : NSView {
22 ITTSWBackgroundMode _mode;
25 - (ITTSWBackgroundMode)backgroundMode;
26 - (void)setBackgroundMode:(ITTSWBackgroundMode)newMode;
28 - (NSColor *)backgroundColor;
29 - (void)setBackgroundColor:(NSColor *)newColor;