X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/7f548f500563594e127d71504e73b27af58574fc..d7b837d03d47a5ffa60975081a2a7598edc839e3:/ITPivotWindowEffect.m 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