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

21 lines
639 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGPhotoEditorTabController.h"
@class PGPhotoEditor;
@class TGPhotoEditorPreviewView;
@interface TGPhotoAvatarCropController : TGPhotoEditorTabController
@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;
@end