]> Dogcows Code - chaz/thecheat/blob - FadeView.h
The Cheat 1.2
[chaz/thecheat] / FadeView.h
1 //
2 // FadeView.h
3 // The Cheat
4 //
5 // Created by Chaz McGarvey on 12/6/04.
6 // Copyright 2004 Chaz McGarvey. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11
12 @interface FadeView : NSView
13 {
14 NSImage *_fadeImage;
15 double _fadeAlpha;
16
17 NSTimeInterval _fadeDuration;
18 NSTimeInterval _fadeInterval;
19 NSTimer *_fadeTimer;
20
21 id _delegate;
22 }
23
24 - (NSImage *)image;
25 - (NSTimeInterval)fadeDuration;
26 - (NSTimeInterval)fadeInterval;
27 - (double)alpha;
28
29 - (void)setImage:(NSImage *)image;
30 - (void)setFadeDuration:(NSTimeInterval)seconds;
31 - (void)setFadeInterval:(NSTimeInterval)seconds;
32
33 - (void)startFadeAnimation;
34 - (void)stopFadeAnimation;
35
36 - (id)delegate;
37 - (void)setDelegate:(id)delegate;
38
39 @end
40
41
42 @interface NSObject ( FadeViewDelegate )
43
44 - (void)fadeViewFinishedAnimation:(FadeView *)theView;
45
46 @end
This page took 0.038251 seconds and 5 git commands to generate.