]> Dogcows Code - chaz/thecheat/blob - FadeView.h
update contact information and project URL
[chaz/thecheat] / FadeView.h
1
2 /*
3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.brokenzipper.com/trac/wiki/TheCheat
5 *
6 * Copyright (c) 2003-2011, Charles McGarvey et al.
7 *
8 * Distributable under the terms and conditions of the 2-clause BSD
9 * license; see the file COPYING for the legal text of the license.
10 */
11
12
13 #import <Cocoa/Cocoa.h>
14
15
16 @interface FadeView : NSView
17 {
18 NSImage *_fadeImage;
19 double _fadeAlpha;
20
21 NSTimeInterval _fadeDuration;
22 NSTimeInterval _fadeInterval;
23 NSTimer *_fadeTimer;
24
25 id _delegate;
26 }
27
28 - (NSImage *)image;
29 - (NSTimeInterval)fadeDuration;
30 - (NSTimeInterval)fadeInterval;
31 - (double)alpha;
32
33 - (void)setImage:(NSImage *)image;
34 - (void)setFadeDuration:(NSTimeInterval)seconds;
35 - (void)setFadeInterval:(NSTimeInterval)seconds;
36
37 - (void)startFadeAnimation;
38 - (void)stopFadeAnimation;
39
40 - (id)delegate;
41 - (void)setDelegate:(id)delegate;
42
43 @end
44
45
46 @interface NSObject ( FadeViewDelegate )
47
48 - (void)fadeViewFinishedAnimation:(FadeView *)theView;
49
50 @end
This page took 0.028994 seconds and 4 git commands to generate.