Revision: 5737
http://skim-app.svn.sourceforge.net/skim-app/?rev=5737&view=rev
Author: hofman
Date: 2009-09-10 13:10:32 +0000 (Thu, 10 Sep 2009)
Log Message:
-----------
remove unused animation ivar
Modified Paths:
--------------
trunk/SKAnimatedBorderlessWindow.h
trunk/SKAnimatedBorderlessWindow.m
Modified: trunk/SKAnimatedBorderlessWindow.h
===================================================================
--- trunk/SKAnimatedBorderlessWindow.h 2009-09-10 12:26:00 UTC (rev 5736)
+++ trunk/SKAnimatedBorderlessWindow.h 2009-09-10 13:10:32 UTC (rev 5737)
@@ -39,9 +39,7 @@
#import <Cocoa/Cocoa.h>
-...@interface SKAnimatedBorderlessWindow : NSWindow {
- NSViewAnimation *animation;
-}
+...@interface SKAnimatedBorderlessWindow : NSWindow
- (id)initWithContentRect:(NSRect)contentRect screen:(NSScreen *)screen;
- (id)initWithContentRect:(NSRect)contentRect;
Modified: trunk/SKAnimatedBorderlessWindow.m
===================================================================
--- trunk/SKAnimatedBorderlessWindow.m 2009-09-10 12:26:00 UTC (rev 5736)
+++ trunk/SKAnimatedBorderlessWindow.m 2009-09-10 13:10:32 UTC (rev 5737)
@@ -83,9 +83,6 @@
- (void)stopAnimation {
[self cancelDelayedAnimations];
- [animation stopAnimation];
- [animation release];
- animation = nil;
}
- (void)cancelDelayedAnimations {
@@ -147,19 +144,4 @@
[self fadeOutAfterTimeout];
}
-- (void)animationDidEnd:(NSAnimation*)anAnimation {
- BOOL isFadeOut = [[[[animation viewAnimations] lastObject]
objectForKey:NSViewAnimationEffectKey] isEqual:NSViewAnimationFadeOutEffect];
- [animation release];
- animation = nil;
- if (isFadeOut)
- [self orderOut:self];
- [self setAlphaValue:[self defaultAlphaValue]];
-}
-
-- (void)animationDidStop:(NSAnimation*)anAnimation {
- [animation release];
- animation = nil;
- [self setAlphaValue:[self defaultAlphaValue]];
-}
-
@end
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