mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
24 lines
903 B
Objective-C
24 lines
903 B
Objective-C
#import "TGPhotoPaintSettingsView.h"
|
|
|
|
#import <LegacyComponents/LegacyComponentsContext.h>
|
|
|
|
@class TGViewController;
|
|
@class TGDocumentMediaAttachment;
|
|
|
|
@interface TGPhotoStickersView : UIView <TGPhotoPaintPanelView>
|
|
|
|
@property (nonatomic, weak) TGViewController *parentViewController;
|
|
@property (nonatomic, weak) UIView *outerView;
|
|
@property (nonatomic, weak) UIView *targetView;
|
|
|
|
@property (nonatomic, copy) void (^stickerSelected)(TGDocumentMediaAttachment *, CGPoint, TGPhotoStickersView *, UIView *);
|
|
@property (nonatomic, copy) void (^dismissed)(void);
|
|
|
|
@property (nonatomic, assign) UIEdgeInsets safeAreaInset;
|
|
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context frame:(CGRect)frame;
|
|
|
|
- (void)dismissWithSnapshotView:(UIView *)view startPoint:(CGPoint)startPoint targetFrame:(CGRect)targetFrame targetRotation:(CGFloat)targetRotation completion:(void (^)(void))completion;
|
|
|
|
@end
|