1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/TGAttachmentSheetButtonItemView.h
2016-02-25 01:03:51 +01:00

17 lines
444 B
Objective-C

#import "TGAttachmentSheetItemView.h"
@interface TGAttachmentSheetButtonItemView : TGAttachmentSheetItemView
@property (nonatomic, copy) void (^pressed)();
- (instancetype)initWithTitle:(NSString *)title pressed:(void (^)())pressed;
- (void)setTitle:(NSString *)title;
- (void)setBold:(bool)bold;
- (void)setImage:(UIImage *)image;
- (void)setDisabled:(bool)disabled;
- (void)setDestructive:(bool)destructive;
- (void)_buttonPressed;
@end