X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/280d630740afd8d04195f16d70829cf639a69f30..63956bb9f9984a26dc8147615be854e93ccc6b50:/ITSlideHorizontallyWindowEffect.m diff --git a/ITSlideHorizontallyWindowEffect.m b/ITSlideHorizontallyWindowEffect.m index 2382cc4..26f8db7 100755 --- a/ITSlideHorizontallyWindowEffect.m +++ b/ITSlideHorizontallyWindowEffect.m @@ -17,6 +17,29 @@ @implementation ITSlideHorizontallyWindowEffect ++ (NSString *)effectName +{ + return @"Slide Horizontally"; +} + ++ (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:YES], @"Left", + [NSNumber numberWithBool:NO], @"Center", + [NSNumber numberWithBool:YES], @"Right", nil] , @"Middle" , + [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:YES], @"Left", + [NSNumber numberWithBool:NO], @"Center", + [NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil]; +} + + /*************************************************************************/ #pragma mark - #pragma mark APPEAR METHODS