forked from lsamayoa/DCProgressView
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDCProgressView.h
41 lines (30 loc) · 1.08 KB
/
DCProgressView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// DCProgressView.h
//
// Created by Dalton Cherry on 4/20/13.
// Copyright 2013 Basement Krew. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#import <UIKit/UIKit.h>
@interface DCProgressView : UIView
{
float animateProgress;
}
//your fill (background) color
@property(nonatomic,strong)UIColor* fillColor;
//your tint (bar) color
@property(nonatomic,strong)UIColor* tintColor;
//the width of the border
@property(nonatomic,assign)CGFloat borderWidth;
//the width of the border
@property(nonatomic,strong)UIColor* borderColor;
//the amount to round the corners
@property(nonatomic,assign)CGFloat rounding;
//the corners to round
@property(nonatomic,assign)UIRectCorner corners;
//the progress of the bar
@property(nonatomic,assign)CGFloat progress;
//set the progress bar with animation
-(void)setProgress:(CGFloat)pro animated:(BOOL)animated;
@end