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