X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/7f548f500563594e127d71504e73b27af58574fc..6927398d4cafaae8c6977280433be86431272986:/ITPivotWindowEffect.m?ds=sidebyside diff --git a/ITPivotWindowEffect.m b/ITPivotWindowEffect.m index 7c59705..b5fe7c9 100755 --- a/ITPivotWindowEffect.m +++ b/ITPivotWindowEffect.m @@ -17,6 +17,35 @@ @implementation ITPivotWindowEffect ++ (NSString *)effectName +{ + return @"Pivot"; +} + ++ (NSDictionary *)supportedPositions +{ + return [NSDictionary dictionaryWithObjectsAndKeys: + [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:YES], @"Left", + [NSNumber numberWithBool:NO], @"Center", + [NSNumber numberWithBool:YES], @"Right", nil] , @"Top" , + [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:NO], @"Left", + [NSNumber numberWithBool:NO], @"Center", + [NSNumber numberWithBool:NO], @"Right", nil] , @"Middle" , + [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:YES], @"Left", + [NSNumber numberWithBool:NO], @"Center", + [NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil]; +} + + ++ (unsigned int)listOrder +{ + return 500; +} + + /*************************************************************************/ #pragma mark - #pragma mark APPEAR METHODS