1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGMediaAvatarEditorTransition.h
2016-02-25 01:03:51 +01:00

22 lines
668 B
Objective-C

#import <Foundation/Foundation.h>
@class SSignal;
@class TGPhotoEditorController;
@interface TGMediaAvatarEditorTransition : NSObject
@property (nonatomic, copy) CGRect (^referenceFrame)(void);
@property (nonatomic, copy) CGSize (^referenceImageSize)(void);
@property (nonatomic, copy) SSignal *(^referenceScreenImageSignal)(void);
@property (nonatomic, assign) CGRect outReferenceFrame;
@property (nonatomic, strong) UIView *repView;
- (instancetype)initWithController:(TGPhotoEditorController *)controller fromView:(UIView *)fromView;
- (void)presentAnimated:(bool)animated;
- (void)dismissAnimated:(bool)animated completion:(void (^)(void))completion;
@end