-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCameraUI.h
More file actions
65 lines (48 loc) · 1.12 KB
/
CameraUI.h
File metadata and controls
65 lines (48 loc) · 1.12 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@interface CAMModeDial : UIControl
/**
* Modes
* 0: Photo
* 1: Normal video recording
* 2: Slo-mo video recording
*/
@property (nonatomic) int selectedMode;
@end
@interface CAMFramerateIndicatorView : UIView
@property (nonatomic, readonly) UILabel *_topLabel;
/**
* Styles
* 0: ---
* 1: 60 FPS
* 2: 120 FPS
* 3: 240 FPS
* 4: 4K
* 5: 720P
*/
@property (nonatomic) int style;
@end
@interface CAMUserPreferences : NSObject
/**
* Configurations for Slo-mo video
* 0: 240 FPS
* 1: ---
* 2: 120 FPS
*/
@property (nonatomic, readonly) int slomoConfiguration;
/**
* Configurations for normal video
* 0: 1080p@30FPS
* 1: 1080p@60FPS
* 6: 720p@30FPS
*/
@property (nonatomic, readonly) int videoConfiguration;
+ (instancetype)preferences;
@end
@interface CAMImageWell : UIButton
@end
@interface CAMBottomBar : UIView
@property(nonatomic, retain) CAMImageWell *imageWell;
@property(nonatomic, retain) CAMFramerateIndicatorView *framerateIndicatorView;
@property(nonatomic, retain) CAMModeDial *modeDial;
- (void)addFPSGestureRecognizer;
- (void)addFPSGestureRecognizerIfNecessary:(CAMFramerateIndicatorView*)view;
@end