1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/TGAttachmentSheetButtonItemView.h

17 lines
444 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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;
2016-02-25 01:03:51 +01:00
- (void)setDisabled:(bool)disabled;
2015-10-01 18:19:52 +02:00
- (void)setDestructive:(bool)destructive;
- (void)_buttonPressed;
@end