]> Dogcows Code - chaz/thecheat/blobdiff - FadeView.h
The Cheat 1.2
[chaz/thecheat] / FadeView.h
diff --git a/FadeView.h b/FadeView.h
new file mode 100644 (file)
index 0000000..912764b
--- /dev/null
@@ -0,0 +1,46 @@
+//
+//  FadeView.h
+//  The Cheat
+//
+//  Created by Chaz McGarvey on 12/6/04.
+//  Copyright 2004 Chaz McGarvey. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface FadeView : NSView
+{
+       NSImage *_fadeImage;
+       double _fadeAlpha;
+       
+       NSTimeInterval _fadeDuration;
+       NSTimeInterval _fadeInterval;
+       NSTimer *_fadeTimer;
+       
+       id _delegate;
+}
+
+- (NSImage *)image;
+- (NSTimeInterval)fadeDuration;
+- (NSTimeInterval)fadeInterval;
+- (double)alpha;
+
+- (void)setImage:(NSImage *)image;
+- (void)setFadeDuration:(NSTimeInterval)seconds;
+- (void)setFadeInterval:(NSTimeInterval)seconds;
+
+- (void)startFadeAnimation;
+- (void)stopFadeAnimation;
+
+- (id)delegate;
+- (void)setDelegate:(id)delegate;
+
+@end
+
+
+@interface NSObject ( FadeViewDelegate )
+
+- (void)fadeViewFinishedAnimation:(FadeView *)theView;
+
+@end
\ No newline at end of file
This page took 0.016453 seconds and 4 git commands to generate.