Revision: 6588
http://skim-app.svn.sourceforge.net/skim-app/?rev=6588&view=rev
Author: hofman
Date: 2010-06-12 14:37:34 +0000 (Sat, 12 Jun 2010)
Log Message:
-----------
declared properties
Modified Paths:
--------------
trunk/SKTransitionController.m
Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m 2010-06-11 18:04:41 UTC (rev 6587)
+++ trunk/SKTransitionController.m 2010-06-12 14:37:34 UTC (rev 6588)
@@ -125,8 +125,8 @@
@interface SKTransitionAnimation : NSAnimation {
CIFilter *filter;
}
+...@property (nonatomic, readonly) CIImage *currentImage;
- (id)initWithFilter:(CIFilter *)aFilter duration:(NSTimeInterval)duration;
-- (CIImage *)currentImage;
SUBCLASS_DELEGATE_DECLARATION(SKTransitionAnimationDelegate)
@end
@@ -142,11 +142,9 @@
CIContext *context;
BOOL needsReshape;
}
-- (SKTransitionAnimation *)animation;
-- (void)setAnimation:(SKTransitionAnimation *)newAnimation;
-- (CIImage *)image;
-- (void)setImage:(CIImage *)newImage;
-- (CIImage *)currentImage;
+...@property (nonatomic, retain) SKTransitionAnimation *animation;
+...@property (nonatomic, retain) CIImage *image;
+...@property (nonatomic, readonly) CIImage *currentImage;
@end
#pragma mark -
@@ -519,6 +517,8 @@
@implementation SKTransitionAnimation
+...@dynamic currentImage;
+
- (id)initWithFilter:(CIFilter *)aFilter duration:(NSTimeInterval)duration {
if (self = [super initWithDuration:duration
animationCurve:NSAnimationEaseInOut]) {
filter = [aFilter retain];
@@ -549,6 +549,9 @@
@implementation SKTransitionView
+...@synthesize animation, image;
+...@dynamic currentImage;
+
+ (NSOpenGLPixelFormat *)defaultPixelFormat {
static NSOpenGLPixelFormat *pf;
@@ -603,10 +606,6 @@
[self display];
}
-- (SKTransitionAnimation *)animation {
- return animation;
-}
-
- (void)setAnimation:(SKTransitionAnimation *)newAnimation {
if (animation != newAnimation) {
[animation release];
@@ -616,10 +615,6 @@
}
}
-- (CIImage *)image {
- return image;
-}
-
- (void)setImage:(CIImage *)newImage {
if (image != newImage) {
[image release];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit