Checking in improvements to the effect availability heuristic.
authorMatthew Judy <mjudy@ithinksw.com>
Sun, 23 Nov 2003 15:08:31 +0000 (15:08 +0000)
committerMatthew Judy <mjudy@ithinksw.com>
Sun, 23 Nov 2003 15:08:31 +0000 (15:08 +0000)
ITCutWindowEffect.m
ITDissolveWindowEffect.m
ITPivotWindowEffect.m
ITSlideHorizontallyWindowEffect.m
ITSlideVerticallyWindowEffect.m
ITWindowEffect.h
ITWindowEffect.m

index 2340dbf..a33bac3 100755 (executable)
             [NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil];
 }
 
++ (unsigned int)listOrder
+{
+    return 100;
+}
+
 
 /*************************************************************************/
 #pragma mark -
index 180f80e..6e5011a 100755 (executable)
             [NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil];
 }
 
++ (unsigned int)listOrder
+{
+    return 200;
+}
+
 
 /*************************************************************************/
 #pragma mark -
index bcf4f54..b5fe7c9 100755 (executable)
 }
 
 
++ (unsigned int)listOrder
+{
+    return 500;
+}
+
+
 /*************************************************************************/
 #pragma mark -
 #pragma mark APPEAR METHODS
index 26f8db7..e1b3066 100755 (executable)
 }
 
 
++ (unsigned int)listOrder
+{
+    return 400;
+}
+
+
 /*************************************************************************/
 #pragma mark -
 #pragma mark APPEAR METHODS
index d930373..6f2f47a 100755 (executable)
 }
 
 
++ (unsigned int)listOrder
+{
+    return 300;
+}
+
+
 /*************************************************************************/
 #pragma mark -
 #pragma mark APPEAR METHODS
index 23fe4ad..8663331 100755 (executable)
@@ -32,6 +32,7 @@ typedef enum {
 @protocol ITWindowEffect
 + (NSString *)effectName;
 + (NSDictionary *)supportedPositions;
++ (unsigned int)listOrder;
 - (void)performAppear;
 - (void)performVanish;
 - (void)cancelAppear;
index 1e2e750..5745bd7 100755 (executable)
             [NSNumber numberWithBool:NO], @"Right", nil] , @"Bottom" , nil];
 }
 
++ (unsigned int)listOrder
+{
+    NSLog(@"ITWindowEffect does not implement +listOrder.");
+    return 0;
+}
+
 - (void)performAppear
 {
-    NSLog(@"ITWindowEffect does not implement performAppear.");
+    NSLog(@"ITWindowEffect does not implement -performAppear.");
 }
 
 - (void)performVanish
 {
-    NSLog(@"ITWindowEffect does not implement performVanish.");
+    NSLog(@"ITWindowEffect does not implement -performVanish.");
 }
 
 - (void)cancelAppear
 {
-    NSLog(@"ITWindowEffect does not implement cancelAppear.");
+    NSLog(@"ITWindowEffect does not implement -cancelAppear.");
 }
 
 - (void)cancelVanish
 {
-    NSLog(@"ITWindowEffect does not implement cancelVanish.");
+    NSLog(@"ITWindowEffect does not implement -cancelVanish.");
 }
 
 - (void)releaseWhenIdle;