4 * NSView subclass which draws a translucent background with rounded corners.
6 * Original Author : Matthew Judy <mjudy@ithinksw.com>
7 * Responsibility : Matthew Judy <mjudy@ithinksw.com>
9 * Copyright (c) 2002 - 2003 iThink Software.
14 #import <Cocoa/Cocoa.h>
17 typedef enum _ITTSWBackgroundMode {
19 ITTSWBackgroundReadable,
20 ITTSWBackgroundColored
21 } ITTSWBackgroundMode;
24 @interface ITTSWBackgroundView : NSView {
27 ITTSWBackgroundMode _mode;
30 - (ITTSWBackgroundMode)backgroundMode;
31 - (void)setBackgroundMode:(ITTSWBackgroundMode)newMode;
33 - (NSColor *)backgroundColor;
34 - (void)setBackgroundColor:(NSColor *)newColor;