mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Build ChatListUI
This commit is contained in:
29
submodules/LegacyComponents/Sources/TGPhotoCropController.h
Normal file
29
submodules/LegacyComponents/Sources/TGPhotoCropController.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#import "TGPhotoEditorTabController.h"
|
||||
|
||||
#import <LegacyComponents/LegacyComponentsContext.h>
|
||||
|
||||
@class PGCameraShotMetadata;
|
||||
@class PGPhotoEditor;
|
||||
@class TGPhotoEditorPreviewView;
|
||||
|
||||
@interface TGPhotoCropController : TGPhotoEditorTabController
|
||||
|
||||
@property (nonatomic, readonly) bool switching;
|
||||
@property (nonatomic, readonly) UIImageOrientation cropOrientation;
|
||||
|
||||
@property (nonatomic, copy) void (^finishedPhotoProcessing)(void);
|
||||
@property (nonatomic, copy) void (^cropReset)(void);
|
||||
|
||||
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context photoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView metadata:(PGCameraShotMetadata *)metadata forVideo:(bool)forVideo;
|
||||
|
||||
- (void)setAutorotationAngle:(CGFloat)autorotationAngle;
|
||||
|
||||
- (void)rotate;
|
||||
- (void)mirror;
|
||||
- (void)aspectRatioButtonPressed;
|
||||
|
||||
- (void)setImage:(UIImage *)image;
|
||||
- (void)setSnapshotImage:(UIImage *)snapshotImage;
|
||||
- (void)setSnapshotView:(UIView *)snapshotView;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user