X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/7c89200521dd8c6cb8fc8a17c633ac80d4b18bd2..ceb1dcca2b608f56e53188b5bb623755c4eeddbb:/ITWindowEffect.h diff --git a/ITWindowEffect.h b/ITWindowEffect.h index 71852e2..9b6c0bd 100755 --- a/ITWindowEffect.h +++ b/ITWindowEffect.h @@ -3,8 +3,8 @@ * ITWindowEffect * Protocal and abstract superclass for performing effects on windows. * - * Original Author : Matt Judy - * Responsibility : Matt Judy + * Original Author : Matthew Judy + * Responsibility : Matthew Judy * * Copyright (c) 2002 - 2003 iThink Software. * All Rights Reserved @@ -22,14 +22,17 @@ typedef enum { - ITTransientStatusWindowHiddenState, - ITTransientStatusWindowAppearingState, - ITTransientStatusWindowVisibleState, - ITTransientStatusWindowVanishingState + ITWindowHiddenState, + ITWindowAppearingState, + ITWindowVisibleState, + ITWindowVanishingState } ITWindowVisibilityState; @protocol ITWindowEffect ++ (NSString *)effectName; ++ (NSDictionary *)supportedPositions; ++ (unsigned int)listOrder; - (void)performAppear; - (void)performVanish; - (void)cancelAppear; @@ -53,8 +56,12 @@ typedef enum { ITVerticalWindowPosition _verticalPosition; ITHorizontalWindowPosition _horizontalPosition; NSTimer *_effectTimer; + BOOL __idle; + BOOL __shouldReleaseWhenIdle; } ++ (NSArray *)effectClasses; + // Designated initializer - (id)initWithWindow:(NSWindow *)window; @@ -67,4 +74,6 @@ typedef enum { - (float)effectTime; - (void)setEffectTime:(float)newTime; +- (void)releaseWhenIdle; + @end