mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 11:50:56 +00:00
git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
39 lines
1.2 KiB
Objective-C
39 lines
1.2 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <LegacyComponents/TGVideoMessageScrubber.h>
|
|
|
|
@class TGVideoMessageCaptureControllerAssets;
|
|
@class TGModernConversationInputMicPallete;
|
|
|
|
@interface TGVideoMessageControls : UIView
|
|
|
|
@property (nonatomic, readonly) TGVideoMessageScrubber *scrubberView;
|
|
|
|
@property (nonatomic, assign) CGFloat controlsHeight;
|
|
@property (nonatomic, copy) void (^positionChanged)(void);
|
|
@property (nonatomic, copy) void (^cancel)(void);
|
|
@property (nonatomic, copy) void (^deletePressed)(void);
|
|
@property (nonatomic, copy) void (^sendPressed)(void);
|
|
|
|
@property (nonatomic, copy) bool(^isAlreadyLocked)(void);
|
|
|
|
@property (nonatomic, assign) bool positionChangeAvailable;
|
|
|
|
@property (nonatomic, strong) TGModernConversationInputMicPallete *pallete;
|
|
|
|
@property (nonatomic, weak) id<TGVideoMessageScrubberDelegate, TGVideoMessageScrubberDataSource> parent;
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame assets:(TGVideoMessageCaptureControllerAssets *)assets;
|
|
|
|
- (void)captureStarted;
|
|
- (void)recordingStarted;
|
|
- (void)setShowRecordingInterface:(bool)show velocity:(CGFloat)velocity;
|
|
- (void)buttonInteractionUpdate:(CGPoint)value;
|
|
- (void)setLocked;
|
|
- (void)setStopped;
|
|
|
|
- (void)showScrubberView;
|
|
|
|
- (void)setDurationString:(NSString *)string;
|
|
|
|
@end
|