mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Build ChatListUI
This commit is contained in:
33
submodules/LegacyComponents/Sources/PGPhotoEditorItem.h
Normal file
33
submodules/LegacyComponents/Sources/PGPhotoEditorItem.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#import <LegacyComponents/TGPhotoEditorToolView.h>
|
||||
|
||||
@protocol PGPhotoEditorItem <NSObject>
|
||||
|
||||
@property (nonatomic, readonly) NSString *identifier;
|
||||
@property (nonatomic, readonly) NSString *title;
|
||||
|
||||
@property (nonatomic, readonly) NSArray *parameters;
|
||||
|
||||
@property (nonatomic, readonly) CGFloat defaultValue;
|
||||
@property (nonatomic, readonly) CGFloat minimumValue;
|
||||
@property (nonatomic, readonly) CGFloat maximumValue;
|
||||
@property (nonatomic, readonly) bool segmented;
|
||||
|
||||
@property (nonatomic, strong) id value;
|
||||
@property (nonatomic, strong) id tempValue;
|
||||
@property (nonatomic, readonly) id displayValue;
|
||||
@property (nonatomic, readonly) NSString *stringValue;
|
||||
|
||||
@property (nonatomic, readonly) bool shouldBeSkipped;
|
||||
@property (nonatomic, assign) bool beingEdited;
|
||||
@property (nonatomic, assign) bool disabled;
|
||||
|
||||
@property (copy, nonatomic) void(^parametersChanged)(void);
|
||||
|
||||
- (UIView <TGPhotoEditorToolView> *)itemControlViewWithChangeBlock:(void (^)(id newValue, bool animated))changeBlock;
|
||||
- (UIView <TGPhotoEditorToolView> *)itemAreaViewWithChangeBlock:(void (^)(id newValue))changeBlock;
|
||||
|
||||
- (Class)valueClass;
|
||||
|
||||
- (void)updateParameters;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user