mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 10:27:46 +01:00
28 lines
818 B
Objective-C
28 lines
818 B
Objective-C
/*
|
|
* This is the source code of Telegram for iOS v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Peter Iakovlev, 2013.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface TGModernButton : 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
|