git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Builds now. Also some moderate effect architecture changes.
[ITKit.git]
/
ITWindowEffect.h
diff --git
a/ITWindowEffect.h
b/ITWindowEffect.h
index
bb1c3b8
..
df4578b
100755
(executable)
--- a/
ITWindowEffect.h
+++ b/
ITWindowEffect.h
@@
-13,6
+13,11
@@
#import <Cocoa/Cocoa.h>
#import <Cocoa/Cocoa.h>
+#import "ITWindowPositioning.h"
+
+
+#define EFFECT_FPS 30.0
+#define DEFAULT_EFFECT_TIME 0.75
@protocol ITWindowEffect
@protocol ITWindowEffect
@@
-25,7
+30,12
@@
@interface ITWindowEffect : NSObject <ITWindowEffect>
{
@interface ITWindowEffect : NSObject <ITWindowEffect>
{
- NSWindow *_window;
+ NSWindow *_window;
+ float _effectTime;
+ double _effectProgress;
+ ITVerticalWindowPosition _verticalPosition;
+ ITHorizontalWindowPosition _horizontalPosition;
+ NSTimer *_effectTimer;
}
// Designated initializer
}
// Designated initializer