mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-06-08 15:23:59 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
43 lines
1.5 KiB
Objective-C
43 lines
1.5 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <LegacyComponents/TGVideoMessageScrubber.h>
|
|
#import <LegacyComponents/TGPhotoEditorSparseView.h>
|
|
|
|
@class TGVideoMessageCaptureControllerAssets;
|
|
@class TGModernConversationInputMicPallete;
|
|
|
|
@interface TGVideoMessageControls : TGPhotoEditorSparseView
|
|
|
|
@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) bool (^sendPressed)(void);
|
|
@property (nonatomic, copy) bool (^sendLongPressed)(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 forStory:(bool)forStory assets:(TGVideoMessageCaptureControllerAssets *)assets slowmodeTimestamp:(int32_t)slowmodeTimestamp slowmodeView:(UIView *(^)(void))slowmodeView;
|
|
|
|
- (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;
|
|
|
|
- (CGRect)frameForSendButton;
|
|
|
|
@end
|