mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 17:37:33 +01:00
27 lines
730 B
Objective-C
27 lines
730 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@class SSignal;
|
|
@class PGPhotoHistogram;
|
|
|
|
@protocol TGPhotoEditorToolView <NSObject>
|
|
|
|
@property (nonatomic, assign) CGSize actualAreaSize;
|
|
@property (nonatomic, copy) void(^titleChanged)(NSString *title);
|
|
|
|
@property (nonatomic, copy) void(^valueChanged)(id newValue, bool animated);
|
|
@property (nonatomic, strong) id value;
|
|
|
|
@property (nonatomic, readonly) bool isTracking;
|
|
@property (nonatomic, copy) void(^interactionEnded)(void);
|
|
|
|
@property (nonatomic, readonly) bool hideTitle;
|
|
@property (nonatomic, assign) bool isLandscape;
|
|
@property (nonatomic, assign) CGFloat toolbarLandscapeSize;
|
|
|
|
- (bool)buttonPressed:(bool)cancelButton;
|
|
|
|
@optional
|
|
- (void)setHistogramSignal:(SSignal *)signal;
|
|
|
|
@end
|