1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Share/TGShareButton.h
2016-02-25 01:03:51 +01:00

20 lines
589 B
Objective-C

#import <UIKit/UIKit.h>
@interface TGShareButton : UIButton
@property (nonatomic) bool modernHighlight;
@property (nonatomic, strong) UIImage *highlightImage;
@property (nonatomic) bool stretchHighlightImage;
@property (nonatomic, strong) UIColor *highlightBackgroundColor;
@property (nonatomic) UIEdgeInsets backgroundSelectionInsets;
@property (nonatomic) UIEdgeInsets extendedEdgeInsets;
@property (nonatomic, copy) void (^highlitedChanged)(bool highlighted);
- (void)setTitleColor:(UIColor *)color;
- (void)_setHighligtedAnimated:(bool)highlighted animated:(bool)animated;
@end