From 7faafe50af3d0d3b3c1eeb40af77d57328fcc0cb Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Tue, 10 Nov 2009 00:00:26 +0000 Subject: [Author: dmaclach] Forgot NSAnimationContext when adding duration support. R=thomasvl DELTA=13 (13 added, 0 deleted, 0 changed) TBR=thomasvl --- AppKit/GTMNSAnimation+Duration.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'AppKit/GTMNSAnimation+Duration.h') diff --git a/AppKit/GTMNSAnimation+Duration.h b/AppKit/GTMNSAnimation+Duration.h index 54b3070..fa1d86f 100644 --- a/AppKit/GTMNSAnimation+Duration.h +++ b/AppKit/GTMNSAnimation+Duration.h @@ -16,25 +16,26 @@ // the License. // +// Categories for changing the duration of an animation based on the current +// event. Right now they track the state of the shift and control keys to slow +// down animations similar to how minimize window animations occur. + #import #import "GTMDefines.h" -// A category for changing the duration of an animation based on the current -// event. Right now it tracks the state of the shift and control keys to slow -// down animations appropriately similar to how minimize window animations -// occur. @interface NSAnimation (GTMNSAnimationDurationAdditions) - (void)gtm_setDuration:(NSTimeInterval)duration; @end + #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 #import -// A category for changing the duration of an animation based on the current -// event. Right now it tracks the state of the shift and control keys to slow -// down animations appropriately similar to how minimize window animations -// occur. +@interface NSAnimationContext (GTMNSAnimationDurationAdditions) +- (void)gtm_setDuration:(NSTimeInterval)duration; +@end + @interface CAAnimation (GTMCAAnimationDurationAdditions) - (void)gtm_setDuration:(CFTimeInterval)duration; @end -- cgit v1.2.3