Another cleanup that doesn't seem to actually help
[ITKit.git] / ITTSWBackgroundView.h
1 /*
2  *      ITKit
3  *  ITTSWBackgroundView
4  *    NSView subclass which draws a translucent background with rounded corners.
5  *
6  *  Original Author : Matthew Judy <mjudy@ithinksw.com>
7  *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
8  *
9  *  Copyright (c) 2002 - 2003 iThink Software.
10  *  All Rights Reserved
11  *
12  */
13
14 #import <Cocoa/Cocoa.h>
15
16
17 typedef enum _ITTSWBackgroundMode {
18     ITTSWBackgroundApple,
19     ITTSWBackgroundReadable,
20     ITTSWBackgroundColored
21 } ITTSWBackgroundMode;
22
23
24 @interface ITTSWBackgroundView : NSView {
25     NSBezierPath        *_path;
26     NSColor             *_color;
27     ITTSWBackgroundMode  _mode;
28 }
29
30 - (ITTSWBackgroundMode)backgroundMode;
31 - (void)setBackgroundMode:(ITTSWBackgroundMode)newMode;
32
33 - (NSColor *)backgroundColor;
34 - (void)setBackgroundColor:(NSColor *)newColor;
35
36 @end