-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSuperSlider.h
More file actions
40 lines (28 loc) · 878 Bytes
/
SuperSlider.h
File metadata and controls
40 lines (28 loc) · 878 Bytes
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
//
// SuperSlider.h
// RadialDialDemo
//
// Created by Eytan Moudahi on 11-09-26.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SuperSlider : UIViewController
@property (readwrite) CGFloat startIndex;
@property (readwrite) CGFloat endIndex;
@property (readwrite) CGFloat currentIndex;
@property (readwrite) BOOL isMovingThumb;
@property (readwrite) BOOL flipThumb;
@property (readwrite) CGFloat thumbOffset;
@property (nonatomic, retain) IBOutlet UIView *thumbView;
// Default properties
@property CGPoint circleCenter;
@property CGFloat circleRadius;
@property CGFloat circleIndexToAngle;
@end
@interface SuperSlider (MethodsSubclassMustImplement)
- (CGPoint) pointForIndex:(CGFloat)index;
@end
@interface LineSlider : SuperSlider
@property (assign) CGPoint startPoint;
@property (assign) CGPoint endPoint;
@end