Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2c0dc742aa
Fetching contributors…

Cannot retrieve contributors at this time

57 lines (41 sloc) 1.161 kb
//
// YRKSpinningProgressIndicator.h
//
// Copyright 2009 Kelan Champagne. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface YRKSpinningProgressIndicator : NSView {
int _position;
int _numFins;
BOOL _isAnimating;
NSTimer *_animationTimer;
NSThread *_animationThread;
NSColor *_foreColor;
NSColor *_backColor;
BOOL _drawBackground;
NSTimer *_fadeOutAnimationTimer;
BOOL _isFadingOut;
// For determinate mode
BOOL _isIndeterminate;
double _currentValue;
double _maxValue;
BOOL _usesThreadedAnimation;
}
- (void)stopAnimation:(id)sender;
- (void)startAnimation:(id)sender;
// Accessors
- (NSColor *)foreColor;
- (void)setForeColor:(NSColor *)value;
- (NSColor *)backColor;
- (void)setBackColor:(NSColor *)value;
- (BOOL)drawBackground;
- (void)setDrawBackground:(BOOL)value;
- (BOOL)isIndeterminate;
- (void)setIndeterminate:(BOOL)isIndeterminate;
- (double)doubleValue;
- (void)setDoubleValue:(double)doubleValue;
- (double)maxValue;
- (void)setMaxValue:(double)maxValue;
- (void)setUsesThreadedAnimation:(BOOL)useThreaded;
- (BOOL)usesThreadedAnimation;
@end
Jump to Line
Something went wrong with that request. Please try again.