Checking in new window effect frame, so I can begin moving the guts into it. Also...
[ITKit.git] / ITWindowEffect.h
1 /*
2  *      ITKit
3  *  ITWindowEffect
4  *    Protocal and abstract superclass for performing effects on windows.
5  *
6  *  Original Author : Matt Judy <mjudy@ithinksw.com>
7  *   Responsibility : Matt Judy <mjudy@ithinksw.com>
8  *
9  *  Copyright (c) 2002 - 2003 iThink Software.
10  *  All Rights Reserved
11  *
12  */
13
14
15 #import <Cocoa/Cocoa.h>
16
17
18 @protocol ITWindowEffect
19
20 - (void)performAppear;
21 - (void)performVanish;
22
23 @end
24
25
26 @interface ITWindowEffect : NSObject <ITWindowEffect>
27 {
28     NSWindow *_window;
29 }
30
31 // Designated initializer
32 - (id)initWithWindow:(NSWindow *)window;
33
34 - (NSWindow *)window;
35
36 // setWindow: does not retain or release its window.  It simply references it.
37 - (void)setWindow:(NSWindow *)newWindow;
38
39 @end