Revision: 5747
http://skim-app.svn.sourceforge.net/skim-app/?rev=5747&view=rev
Author: hofman
Date: 2009-09-12 21:18:49 +0000 (Sat, 12 Sep 2009)
Log Message:
-----------
set timing function for fullscreen window animation
Modified Paths:
--------------
trunk/SKFullScreenWindow.m
Modified: trunk/SKFullScreenWindow.m
===================================================================
--- trunk/SKFullScreenWindow.m 2009-09-12 17:24:01 UTC (rev 5746)
+++ trunk/SKFullScreenWindow.m 2009-09-12 21:18:49 UTC (rev 5747)
@@ -116,7 +116,9 @@
[NSAnimationContext beginGrouping];
[[NSAnimationContext currentContext] setDuration:0.7];
animating = block;
- [[self animationForKey:@"alphaValue"] setDelegate:self];
+ CAAnimation *animation = [self animationForKey:@"alphaValue"];
+ [animation setTimingFunction:[CAMediaTimingFunction functionWithName:block
? kCAMediaTimingFunctionEaseIn : kCAMediaTimingFunctionEaseInEaseOut]];
+ [animation setDelegate:self];
[[self animator] setAlphaValue:0.0];
[NSAnimationContext endGrouping];
while (animating)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit