mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
27 lines
834 B
Objective-C
27 lines
834 B
Objective-C
#import "TGPhotoEditorTabController.h"
|
|
|
|
@class PGPhotoEditor;
|
|
@class TGPhotoEditorPreviewView;
|
|
@class AVPlayer;
|
|
|
|
@interface TGPhotoAvatarCropController : TGPhotoEditorTabController
|
|
|
|
@property (nonatomic, readonly) UIView *transitionParentView;
|
|
|
|
@property (nonatomic, assign) bool switching;
|
|
@property (nonatomic, assign) bool skipTransitionIn;
|
|
@property (nonatomic, assign) bool fromCamera;
|
|
|
|
@property (nonatomic, copy) void (^finishedPhotoProcessing)(void);
|
|
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context photoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView;
|
|
|
|
- (void)setImage:(UIImage *)image;
|
|
- (void)setPlayer:(AVPlayer *)player;
|
|
- (void)setSnapshotImage:(UIImage *)snapshotImage;
|
|
- (void)setSnapshotView:(UIView *)snapshotView;
|
|
|
|
- (void)_finishedTransitionIn;
|
|
|
|
@end
|