1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/TGPhotoAvatarCropController.h

25 lines
734 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGPhotoEditorTabController.h"
@class PGPhotoEditor;
@class TGPhotoEditorPreviewView;
@interface TGPhotoAvatarCropController : TGPhotoEditorTabController
2016-02-25 01:03:51 +01:00
@property (nonatomic, readonly) UIView *transitionParentView;
2015-10-01 18:19:52 +02:00
@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;
2016-02-25 01:03:51 +01:00
- (void)_finishedTransitionIn;
2015-10-01 18:19:52 +02:00
@end