JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreDetailHeaderViewV2.h
Go to the documentation of this file.
1
13
14#import <UIKit/UIKit.h>
15
16#import "AlertViewManager.h"
17#import "StoreButton.h"
18#import "StoreLinkButton.h"
19#import "StorePackInfo.h"
20
21NS_ASSUME_NONNULL_BEGIN
22
28
33@property(nonatomic, strong, nullable) UILabel *labelName;
34
39@property(nonatomic, strong, nullable) UILabel *labelComment;
40
45@property(nonatomic, strong, nullable) StoreButton *buttonPurchase;
46
51@property(nonatomic, strong, nullable) UIButton *buttonExtendDownload;
52
57@property(nonatomic, readonly, nullable) StoreLinkButton *buttonLink;
58
63@property(nonatomic, readonly, nullable) NSArray *relationBtnArray;
64
71- (instancetype)initWithFrame:(CGRect)frame;
72
79- (void)loadPackInfo:(nullable StorePackInfo *)packInfo;
80
86- (void)setArtwork:(nullable UIImage *)artwork;
87
94- (void)setRelationColor:(int)selectedIndex selectable:(BOOL)selectable;
95
101- (void)tapRelationButton:(nullable id)sender;
102
103@end
104
105NS_ASSUME_NONNULL_END
106
107// code: language=Objective-C
108// kate: hl Objective-C;
109// vim: set ft=objc :
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
A rounded, flat-coloured button used throughout the store.
A store button that draws its own disclosure chevron.
One purchasable pack in the store.
A button that fills itself with a solid colour and rounds its own corners.
Definition StoreButton.h:23
A pack's detail header: artwork with its reflection, name, comment, purchase and extend buttons,...
Definition StoreDetailHeaderViewV2.h:27
NSArray * relationBtnArray
The two relation-tab buttons of the relation strip.
Definition StoreDetailHeaderViewV2.h:63
StoreLinkButton * buttonLink
The related-site link button.
Definition StoreDetailHeaderViewV2.h:57
UILabel * labelName
The pack's title label.
Definition StoreDetailHeaderViewV2.h:33
StoreButton * buttonPurchase
The purchase button.
Definition StoreDetailHeaderViewV2.h:45
UIButton * buttonExtendDownload
The "download extension" button, hidden unless the pack has an extension.
Definition StoreDetailHeaderViewV2.h:51
UILabel * labelComment
The pack's description label.
Definition StoreDetailHeaderViewV2.h:39
A button with a chevron drawn at its trailing edge, in the title's own colour.
Definition StoreLinkButton.h:25
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18