1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGPhotoEditorPreviewView.h
2015-10-01 19:19:52 +03:00

32 lines
797 B
Objective-C

#import <UIKit/UIKit.h>
@class PGPhotoEditorView;
@interface TGPhotoEditorPreviewView : UIView
@property (nonatomic, readonly) PGPhotoEditorView *imageView;
@property (nonatomic, copy) void(^touchedDown)(void);
@property (nonatomic, copy) void(^touchedUp)(void);
@property (nonatomic, copy) void(^interactionEnded)(void);
@property (nonatomic, readonly) bool isTracking;
- (void)setSnapshotImage:(UIImage *)image;
- (void)setSnapshotView:(UIView *)view;
- (UIView *)originalSnapshotView;
- (void)performTransitionInWithCompletion:(void (^)(void))completion;
- (void)setNeedsTransitionIn;
- (void)performTransitionInIfNeeded;
- (void)prepareTransitionFadeView;
- (void)performTransitionFade;
- (void)prepareForTransitionOut;
- (void)performTransitionToCropAnimated:(bool)animated;
@end