-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDKSlider.h
45 lines (31 loc) · 883 Bytes
/
DKSlider.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
42
43
44
45
//
// DKSlider.h
// DKRangeSliderObjectiveC
//
// Created by Darshan on 7/20/17.
//
//
#import <UIKit/UIKit.h>
typedef enum {
DKTrimMode,
} BJRangeSliderWithProgressDisplayMode;
#define DKSLIDER_THUMB_SIZE 30.0
@interface DKSlider : UIControl{
UIImageView *slider;
UIImageView *rangeImage;
UIImageView *leftThumb;
UIImageView *rightThumb;
CGFloat minValue;
CGFloat maxValue;
CGFloat currentProgressValue;
CGFloat leftValue;
CGFloat rightValue;
}
@property (nonatomic, assign) CGFloat minValue;
@property (nonatomic, assign) CGFloat maxValue;
@property (nonatomic, assign) CGFloat currentProgressValue;
@property (nonatomic, assign) CGFloat leftValue;
@property (nonatomic, assign) CGFloat rightValue;
@property (nonatomic, assign) BOOL showThumbs;
@property (nonatomic, assign) BOOL showRange;
@end