mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
26 lines
764 B
Objective-C
26 lines
764 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@class TGCameraPreviewView;
|
|
|
|
@interface TGCameraFocusCrosshairsControl : UIControl
|
|
|
|
@property (nonatomic, weak) TGCameraPreviewView *previewView;
|
|
@property (nonatomic, copy) void(^focusPOIChanged)(CGPoint point);
|
|
|
|
@property (nonatomic, copy) void(^beganExposureChange)(void);
|
|
@property (nonatomic, copy) void(^exposureChanged)(CGFloat value);
|
|
@property (nonatomic, copy) void(^endedExposureChange)(void);
|
|
|
|
@property (nonatomic, assign) bool stopAutomatically;
|
|
@property (nonatomic, assign) bool active;
|
|
@property (nonatomic, assign) bool ignoreAutofocusing;
|
|
|
|
- (void)playAutoFocusAnimation;
|
|
- (void)stopAutoFocusAnimation;
|
|
|
|
- (void)reset;
|
|
|
|
- (void)setInterfaceOrientation:(UIInterfaceOrientation)orientation animated:(bool)animated;
|
|
|
|
@end
|