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

16 lines
408 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;
- (void)setDestructive:(bool)destructive;
- (void)_buttonPressed;
@end