X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/280d630740afd8d04195f16d70829cf639a69f30..63956bb9f9984a26dc8147615be854e93ccc6b50:/ITCutWindowEffect.m diff --git a/ITCutWindowEffect.m b/ITCutWindowEffect.m index 8ab95cd..2340dbf 100755 --- a/ITCutWindowEffect.m +++ b/ITCutWindowEffect.m @@ -5,6 +5,29 @@ @implementation ITCutWindowEffect ++ (NSString *)effectName +{ + return @"Cut"; +} + ++ (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