X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/22a86e1af594d77fde7f056cf5152478f14dafbf..e3ecd39c1d3a4803b8d4c051846ad6ad7b059d6f:/ITTSWBackgroundView.h diff --git a/ITTSWBackgroundView.h b/ITTSWBackgroundView.h index 53172e0..129eb03 100755 --- a/ITTSWBackgroundView.h +++ b/ITTSWBackgroundView.h @@ -1,16 +1,36 @@ -// -// ITGrayRoundedView.h -// ITKit -// -// Created by Matt L. Judy on Wed Jan 22 2003. -// Copyright (c) 2003 NibFile.com. All rights reserved. -// +/* + * ITKit + * ITTSWBackgroundView + * NSView subclass which draws a translucent background with rounded corners. + * + * Original Author : Matthew Judy + * Responsibility : Matthew Judy + * + * Copyright (c) 2002 - 2003 iThink Software. + * All Rights Reserved + * + */ #import -@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