Permalink
Browse files

Actually added source Files

  • Loading branch information...
1 parent 770d330 commit 8123fa4c45e3047f8cee96b6c9eeb2858efa77e2 @alexzielenski committed Nov 15, 2011
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,45 @@
+//
+// YRKSpinningProgressIndicator.h
+//
+// Copyright 2009 Kelan Champagne. All rights reserved.
+//
+
+
+@interface YRKSpinningProgressIndicator : NSView {
+ int _position;
+ int _numFins;
+ NSColor **_finColors;
+
+ BOOL _isAnimating;
+ BOOL _isFadingOut;
+ NSTimer *_animationTimer;
+ NSThread *_animationThread;
+
+ NSColor *_foreColor;
+ NSColor *_backColor;
+ BOOL _drawsBackground;
+
+ BOOL _displayedWhenStopped;
+ BOOL _usesThreadedAnimation;
+
+ // For determinate mode
+ BOOL _isIndeterminate;
+ double _currentValue;
+ double _maxValue;
+}
+
+@property (nonatomic, retain) NSColor *color;
+@property (nonatomic, retain) NSColor *backgroundColor;
+@property (nonatomic, assign) BOOL drawsBackground;
+
+@property (nonatomic, assign, getter=isDisplayedWhenStopped) BOOL displayedWhenStopped;
+@property (nonatomic, assign) BOOL usesThreadedAnimation;
+
+@property (nonatomic, assign, getter=isIndeterminate) BOOL indeterminate;
+@property (nonatomic, assign) double doubleValue;
+@property (nonatomic, assign) double maxValue;
+
+- (void)stopAnimation:(id)sender;
+- (void)startAnimation:(id)sender;
+
+@end
Oops, something went wrong.

0 comments on commit 8123fa4

Please sign in to comment.