mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
25 lines
734 B
Objective-C
25 lines
734 B
Objective-C
#import "TGPhotoEditorTabController.h"
|
|
|
|
@class PGPhotoEditor;
|
|
@class TGPhotoEditorPreviewView;
|
|
|
|
@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)initWithPhotoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView;
|
|
|
|
- (void)setImage:(UIImage *)image;
|
|
- (void)setSnapshotImage:(UIImage *)snapshotImage;
|
|
- (void)setSnapshotView:(UIView *)snapshotView;
|
|
|
|
- (void)_finishedTransitionIn;
|
|
|
|
@end
|