JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StorePackRecommendPackView.h
Go to the documentation of this file.
1
10
11#import <UIKit/UIKit.h>
12
13#import "StoreImageView.h"
14#import "StorePackInfo.h"
15
16NS_ASSUME_NONNULL_BEGIN
17
21@interface StorePackRecommendPackView : UIView
22
24@property(nonatomic, strong, nullable) StoreImageView *artworkView;
26@property(nonatomic, strong, nullable) UILabel *labelName;
28@property(nonatomic, strong, nullable) UILabel *labelArtist;
30@property(nonatomic, strong, nullable) UILabel *labelLevels;
32@property(nonatomic, strong, nullable) UIButton *buttonSample;
34@property(nonatomic, strong, nullable) UIButton *buttonLink;
36@property(nonatomic, strong, nullable) UIImageView *extendImg;
38@property(nonatomic, strong, nullable) UIActivityIndicatorView *indicatorSample;
39
46- (instancetype)initWithFrame:(CGRect)frame;
47
53- (void)setInfo:(nullable StorePackInfo *)info;
54
59- (void)sampleStop;
60
65- (void)sampleDownloading;
66
71- (void)samplePlaying;
72
73@end
74
75NS_ASSUME_NONNULL_END
76
77// code: language=Objective-C
78// kate: hl Objective-C;
79// vim: set ft=objc :
An image view that fetches its own artwork over HTTP.
One purchasable pack in the store.
An image view that loads itself from imageURL on demand.
Definition StoreImageView.h:24
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
A recommended-pack tile: jacket, name, and the (here unused) sample and link controls.
Definition StorePackRecommendPackView.h:22
UIButton * buttonSample
The sample-play button.
Definition StorePackRecommendPackView.h:32
UILabel * labelLevels
The difficulty-levels label (cleared by -setInfo:).
Definition StorePackRecommendPackView.h:30
UILabel * labelArtist
The artist label (cleared by -setInfo:).
Definition StorePackRecommendPackView.h:28
UIButton * buttonLink
The iTunes link button.
Definition StorePackRecommendPackView.h:34
UIImageView * extendImg
The extension marker.
Definition StorePackRecommendPackView.h:36
void samplePlaying()
Shows the sample button in its playing state.
Definition StorePackRecommendPackView.m:222
void sampleDownloading()
Shows the sample button downloading, with the spinner running.
Definition StorePackRecommendPackView.m:215
void sampleStop()
Shows the sample button in its stopped state.
Definition StorePackRecommendPackView.m:208
UIActivityIndicatorView * indicatorSample
The sample-download spinner over the sample button.
Definition StorePackRecommendPackView.h:38
UILabel * labelName
The pack name label.
Definition StorePackRecommendPackView.h:26
StoreImageView * artworkView
The pack jacket, which loads itself from a URL.
Definition StorePackRecommendPackView.h:24