X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/22a86e1af594d77fde7f056cf5152478f14dafbf..6c3280197bc36e3b5911e971bd8958352ed8aa4f:/ITTSWBackgroundView.h diff --git a/ITTSWBackgroundView.h b/ITTSWBackgroundView.h old mode 100755 new mode 100644 index 53172e0..fc95c8d --- a/ITTSWBackgroundView.h +++ b/ITTSWBackgroundView.h @@ -1,16 +1,34 @@ -// -// ITGrayRoundedView.h -// ITKit -// -// Created by Matt L. Judy on Wed Jan 22 2003. -// Copyright (c) 2003 NibFile.com. All rights reserved. -// +/* + * ITKit + * ITTSWBackgroundView.h + * + * NSView subclass which draws a translucent background with rounded corners. + * + * Copyright (c) 2005 by iThink Software. + * All Rights Reserved. + * + * $Id$ + * + */ #import +typedef enum _ITTSWBackgroundMode { + ITTSWBackgroundApple, + ITTSWBackgroundReadable, + ITTSWBackgroundColored +} ITTSWBackgroundMode; -@interface ITGrayRoundedView : NSView { - +@interface ITTSWBackgroundView : NSView { + NSBezierPath *_path; + NSColor *_color; + ITTSWBackgroundMode _mode; } -@end +- (ITTSWBackgroundMode)backgroundMode; +- (void)setBackgroundMode:(ITTSWBackgroundMode)newMode; + +- (NSColor *)backgroundColor; +- (void)setBackgroundColor:(NSColor *)newColor; + +@end \ No newline at end of file