mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
18 lines
634 B
Objective-C
18 lines
634 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@interface TGVideoMessageTrimView : UIControl
|
|
|
|
@property (nonatomic, copy) void(^didBeginEditing)(bool start);
|
|
@property (nonatomic, copy) void(^startHandleMoved)(CGPoint translation);
|
|
@property (nonatomic, copy) void(^endHandleMoved)(CGPoint translation);
|
|
@property (nonatomic, copy) void(^didEndEditing)(bool start);
|
|
|
|
@property (nonatomic, assign) bool trimmingEnabled;
|
|
|
|
- (void)setTrimming:(bool)trimming animated:(bool)animated;
|
|
- (void)setLeftHandleImage:(UIImage *)leftHandleImage rightHandleImage:(UIImage *)rightHandleImage;
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame forStory:(bool)forStory;
|
|
|
|
@end
|