mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
19 lines
508 B
Objective-C
19 lines
508 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <LegacyComponents/PGCamera.h>
|
|
|
|
@interface TGCameraFlashControl : UIControl
|
|
|
|
@property (nonatomic, assign) PGCameraFlashMode mode;
|
|
@property (nonatomic, assign) UIInterfaceOrientation interfaceOrientation;
|
|
|
|
@property (nonatomic, copy) void(^modeChanged)(PGCameraFlashMode mode);
|
|
|
|
- (void)setFlashUnavailable:(bool)unavailable;
|
|
- (void)setFlashActive:(bool)active;
|
|
|
|
- (void)setHidden:(bool)hidden animated:(bool)animated;
|
|
|
|
@end
|
|
|
|
extern const CGFloat TGCameraFlashControlHeight;
|