3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.brokenzipper.com/trac/wiki/TheCheat
6 * Copyright (c) 2003-2011, Charles McGarvey et al.
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.
13 #import <Cocoa/Cocoa.h>
16 @interface FadeView
: NSView
21 NSTimeInterval _fadeDuration
;
22 NSTimeInterval _fadeInterval
;
29 - (NSTimeInterval
)fadeDuration
;
30 - (NSTimeInterval
)fadeInterval
;
33 - (void)setImage
:(NSImage
*)image
;
34 - (void)setFadeDuration
:(NSTimeInterval
)seconds
;
35 - (void)setFadeInterval
:(NSTimeInterval
)seconds
;
37 - (void)startFadeAnimation
;
38 - (void)stopFadeAnimation
;
41 - (void)setDelegate
:(id
)delegate
;
46 @interface
NSObject ( FadeViewDelegate
)
48 - (void)fadeViewFinishedAnimation
:(FadeView
*)theView
;