X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/5cf6107f7fb51538c33d2839a2485493a7446c43..63956bb9f9984a26dc8147615be854e93ccc6b50:/ITDissolveWindowEffect.m?ds=sidebyside diff --git a/ITDissolveWindowEffect.m b/ITDissolveWindowEffect.m index b058548..180f80e 100755 --- a/ITDissolveWindowEffect.m +++ b/ITDissolveWindowEffect.m @@ -15,6 +15,29 @@ @implementation ITDissolveWindowEffect ++ (NSString *)effectName +{ + return @"Dissolve"; +} + ++ (NSDictionary *)supportedPositions +{ + return [NSDictionary dictionaryWithObjectsAndKeys: + [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:YES], @"Left", + [NSNumber numberWithBool:YES], @"Center", + [NSNumber numberWithBool:YES], @"Right", nil] , @"Top" , + [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:YES], @"Left", + [NSNumber numberWithBool:YES], @"Center", + [NSNumber numberWithBool:YES], @"Right", nil] , @"Middle" , + [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:YES], @"Left", + [NSNumber numberWithBool:YES], @"Center", + [NSNumber numberWithBool:YES], @"Right", nil] , @"Bottom" , nil]; +} + + /*************************************************************************/ #pragma mark - #pragma mark APPEAR METHODS