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

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