JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreButton.h
Go to the documentation of this file.
1
14
15#import <UIKit/UIKit.h>
16
17NS_ASSUME_NONNULL_BEGIN
18
22@interface StoreButton : UIButton
23
30@property(nonatomic, strong, nullable) UIColor *buttonColor;
31
38@property(nonatomic, strong, nullable) UIColor *disabledColor;
39
44@property(nonatomic) double cornerRadius;
45
57- (instancetype)initWithFrame:(CGRect)frame;
58
70- (nullable UIColor *)highlightColor:(double *)components factor:(double)factor;
71
77- (void)setHighlighted:(BOOL)highlighted;
78
84- (void)setSelected:(BOOL)selected;
85
97- (void)drawRect:(CGRect)rect;
98
99@end
100
101NS_ASSUME_NONNULL_END
102
103// code: language=Objective-C
104// kate: hl Objective-C;
105// vim: set ft=objc :
A button that fills itself with a solid colour and rounds its own corners.
Definition StoreButton.h:23
double cornerRadius
The corner radius the button rounds itself to.
Definition StoreButton.h:44
UIColor * buttonColor
The fill used while the button is enabled.
Definition StoreButton.m:104
UIColor * disabledColor
The fill used while the button is disabled.
Definition StoreButton.m:120