Revision: 4305
http://skim-app.svn.sourceforge.net/skim-app/?rev=4305&view=rev
Author: hofman
Date: 2008-07-26 21:06:07 +0000 (Sat, 26 Jul 2008)
Log Message:
-----------
rename method to follow cocoa ownership rules
Modified Paths:
--------------
trunk/SKTransitionController.m
Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m 2008-07-26 17:13:46 UTC (rev 4304)
+++ trunk/SKTransitionController.m 2008-07-26 21:06:07 UTC (rev 4305)
@@ -300,7 +300,7 @@
return transitionFilter;
}
-- (CIImage *)createCurrentImage {
+- (CIImage *)newCurrentImage {
NSRect bounds = [view bounds];
NSBitmapImageRep *contentBitmap = [view
bitmapImageRepForCachingDisplayInRect:bounds];
@@ -329,14 +329,14 @@
if (CoreGraphicsServicesTransitionsDefined()) {
if (shouldRestrict) {
[initialImage release];
- initialImage = [self createCurrentImage];
+ initialImage = [self newCurrentImage];
}
// We don't want the window to draw the next state before the
animation is run
[[view window] disableFlushWindow];
}
} else {
[initialImage release];
- initialImage = [self createCurrentImage];
+ initialImage = [self newCurrentImage];
// We don't want the window to draw the next state before the
animation is run
[[view window] disableFlushWindow];
@@ -359,7 +359,7 @@
NSRect bounds = [view bounds];
imageRect =
NSIntegralRect(NSIntersectionRect(NSUnionRect(imageRect, rect), bounds));
- finalImage = [self createCurrentImage];
+ finalImage = [self newCurrentImage];
float dx = NSMinX(bounds) - NSMinX(imageRect);
float dy = NSMinY(bounds) - NSMinY(imageRect);
@@ -425,7 +425,7 @@
NSRect bounds = [view bounds];
imageRect = NSIntegralRect(NSIntersectionRect(NSUnionRect(imageRect,
rect), bounds));
- CIImage *finalImage = [self createCurrentImage];
+ CIImage *finalImage = [self newCurrentImage];
CIFilter *transitionFilter = [self transitionFilterForRect:imageRect
forward:forward initialCIImage:initialImage finalCIImage:finalImage];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit