5 // Created by Chaz McGarvey on 12/6/04.
6 // Copyright 2004 Chaz McGarvey. All rights reserved.
9 #import <Cocoa/Cocoa.h>
12 @interface FadeView
: NSView
17 NSTimeInterval _fadeDuration
;
18 NSTimeInterval _fadeInterval
;
25 - (NSTimeInterval
)fadeDuration
;
26 - (NSTimeInterval
)fadeInterval
;
29 - (void)setImage
:(NSImage
*)image
;
30 - (void)setFadeDuration
:(NSTimeInterval
)seconds
;
31 - (void)setFadeInterval
:(NSTimeInterval
)seconds
;
33 - (void)startFadeAnimation
;
34 - (void)stopFadeAnimation
;
37 - (void)setDelegate
:(id
)delegate
;
42 @interface
NSObject ( FadeViewDelegate
)
44 - (void)fadeViewFinishedAnimation
:(FadeView
*)theView
;