git.ithinksw.org
/
ITKit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
63956bb
)
Checking in improvements to the effect availability heuristic.
author
Matthew Judy
<mjudy@ithinksw.com>
Sun, 23 Nov 2003 15:08:31 +0000
(15:08 +0000)
committer
Matthew Judy
<mjudy@ithinksw.com>
Sun, 23 Nov 2003 15:08:31 +0000
(15:08 +0000)
ITCutWindowEffect.m
patch
|
blob
|
history
ITDissolveWindowEffect.m
patch
|
blob
|
history
ITPivotWindowEffect.m
patch
|
blob
|
history
ITSlideHorizontallyWindowEffect.m
patch
|
blob
|
history
ITSlideVerticallyWindowEffect.m
patch
|
blob
|
history
ITWindowEffect.h
patch
|
blob
|
history
ITWindowEffect.m
patch
|
blob
|
history
diff --git
a/ITCutWindowEffect.m
b/ITCutWindowEffect.m
index
2340dbf
..
a33bac3
100755
(executable)
--- a/
ITCutWindowEffect.m
+++ b/
ITCutWindowEffect.m
@@
-27,6
+27,11
@@
[NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil];
}
[NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil];
}
++ (unsigned int)listOrder
+{
+ return 100;
+}
+
/*************************************************************************/
#pragma mark -
/*************************************************************************/
#pragma mark -
diff --git
a/ITDissolveWindowEffect.m
b/ITDissolveWindowEffect.m
index
180f80e
..
6e5011a
100755
(executable)
--- a/
ITDissolveWindowEffect.m
+++ b/
ITDissolveWindowEffect.m
@@
-37,6
+37,11
@@
[NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil];
}
[NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil];
}
++ (unsigned int)listOrder
+{
+ return 200;
+}
+
/*************************************************************************/
#pragma mark -
/*************************************************************************/
#pragma mark -
diff --git
a/ITPivotWindowEffect.m
b/ITPivotWindowEffect.m
index
bcf4f54
..
b5fe7c9
100755
(executable)
--- a/
ITPivotWindowEffect.m
+++ b/
ITPivotWindowEffect.m
@@
-40,6
+40,12
@@
}
}
++ (unsigned int)listOrder
+{
+ return 500;
+}
+
+
/*************************************************************************/
#pragma mark -
#pragma mark APPEAR METHODS
/*************************************************************************/
#pragma mark -
#pragma mark APPEAR METHODS
diff --git
a/ITSlideHorizontallyWindowEffect.m
b/ITSlideHorizontallyWindowEffect.m
index
26f8db7
..
e1b3066
100755
(executable)
--- a/
ITSlideHorizontallyWindowEffect.m
+++ b/
ITSlideHorizontallyWindowEffect.m
@@
-40,6
+40,12
@@
}
}
++ (unsigned int)listOrder
+{
+ return 400;
+}
+
+
/*************************************************************************/
#pragma mark -
#pragma mark APPEAR METHODS
/*************************************************************************/
#pragma mark -
#pragma mark APPEAR METHODS
diff --git
a/ITSlideVerticallyWindowEffect.m
b/ITSlideVerticallyWindowEffect.m
index
d930373
..
6f2f47a
100755
(executable)
--- a/
ITSlideVerticallyWindowEffect.m
+++ b/
ITSlideVerticallyWindowEffect.m
@@
-40,6
+40,12
@@
}
}
++ (unsigned int)listOrder
+{
+ return 300;
+}
+
+
/*************************************************************************/
#pragma mark -
#pragma mark APPEAR METHODS
/*************************************************************************/
#pragma mark -
#pragma mark APPEAR METHODS
diff --git
a/ITWindowEffect.h
b/ITWindowEffect.h
index
23fe4ad
..
8663331
100755
(executable)
--- a/
ITWindowEffect.h
+++ b/
ITWindowEffect.h
@@
-32,6
+32,7
@@
typedef enum {
@protocol ITWindowEffect
+ (NSString *)effectName;
+ (NSDictionary *)supportedPositions;
@protocol ITWindowEffect
+ (NSString *)effectName;
+ (NSDictionary *)supportedPositions;
++ (unsigned int)listOrder;
- (void)performAppear;
- (void)performVanish;
- (void)cancelAppear;
- (void)performAppear;
- (void)performVanish;
- (void)cancelAppear;
diff --git
a/ITWindowEffect.m
b/ITWindowEffect.m
index
1e2e750
..
5745bd7
100755
(executable)
--- a/
ITWindowEffect.m
+++ b/
ITWindowEffect.m
@@
-96,24
+96,30
@@
[NSNumber numberWithBool:NO], @"Right", nil] , @"Bottom" , nil];
}
[NSNumber numberWithBool:NO], @"Right", nil] , @"Bottom" , nil];
}
++ (unsigned int)listOrder
+{
+ NSLog(@"ITWindowEffect does not implement +listOrder.");
+ return 0;
+}
+
- (void)performAppear
{
- (void)performAppear
{
- NSLog(@"ITWindowEffect does not implement performAppear.");
+ NSLog(@"ITWindowEffect does not implement
-
performAppear.");
}
- (void)performVanish
{
}
- (void)performVanish
{
- NSLog(@"ITWindowEffect does not implement performVanish.");
+ NSLog(@"ITWindowEffect does not implement
-
performVanish.");
}
- (void)cancelAppear
{
}
- (void)cancelAppear
{
- NSLog(@"ITWindowEffect does not implement cancelAppear.");
+ NSLog(@"ITWindowEffect does not implement
-
cancelAppear.");
}
- (void)cancelVanish
{
}
- (void)cancelVanish
{
- NSLog(@"ITWindowEffect does not implement cancelVanish.");
+ NSLog(@"ITWindowEffect does not implement
-
cancelVanish.");
}
- (void)releaseWhenIdle;
}
- (void)releaseWhenIdle;