aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-07-25 12:05:13 +0000
committerrowanbeentje <rowan@beent.je>2010-07-25 12:05:13 +0000
commit550c112216171aa81487b32c41d7aa64adc2ec7f (patch)
tree1ddbbd28c4d46dec359caeede81e899f5970a0e5 /Source/SPDatabaseDocument.h
parent0dff71796759307023398775fde082e3bdd41d31 (diff)
downloadsequelpro-550c112216171aa81487b32c41d7aa64adc2ec7f.tar.gz
sequelpro-550c112216171aa81487b32c41d7aa64adc2ec7f.tar.bz2
sequelpro-550c112216171aa81487b32c41d7aa64adc2ec7f.zip
- Replace core animation fade of task progress window with custom drawing code, in an attempt to fix Issue #677. It appears from testing that this is only a partial fix, but does reduce hang frequency.
Diffstat (limited to 'Source/SPDatabaseDocument.h')
-rw-r--r--Source/SPDatabaseDocument.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h
index 40a221d0..9d027b4f 100644
--- a/Source/SPDatabaseDocument.h
+++ b/Source/SPDatabaseDocument.h
@@ -154,7 +154,7 @@
CGFloat taskDisplayLastValue;
CGFloat taskProgressValueDisplayInterval;
NSTimer *taskDrawTimer;
- NSViewAnimation *taskFadeAnimator;
+ NSDate *taskFadeInStartDate;
BOOL taskCanBeCancelled;
id taskCancellationCallbackObject;
SEL taskCancellationCallbackSelector;
@@ -221,7 +221,7 @@
// Task progress and notification methods
- (void)startTaskWithDescription:(NSString *)description;
-- (void)showTaskProgressWindow:(NSTimer *)theTimer;
+- (void)fadeInTaskProgressWindow:(NSTimer *)theTimer;
- (void)setTaskDescription:(NSString *)description;
- (void)setTaskPercentage:(CGFloat)taskPercentage;
- (void)setTaskProgressToIndeterminateAfterDelay:(BOOL)afterDelay;