JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StorePackMusicView.h
Go to the documentation of this file.
1
8
9#import <UIKit/UIKit.h>
10
11#import "StoreImageView.h"
12#import "StoreMusicInfo.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
20@interface StorePackMusicView : UIView
21
23@property(nonatomic, strong, nullable) StoreImageView *artworkView;
25@property(nonatomic, strong, nullable) UILabel *labelName;
27@property(nonatomic, strong, nullable) UILabel *labelArtist;
29@property(nonatomic, strong, nullable) UILabel *labelLevels;
31@property(nonatomic, strong, nullable) UIButton *buttonSample;
33@property(nonatomic, strong, nullable) UIButton *buttonLink;
35@property(nonatomic, strong, nullable) UIImageView *extendImg;
37@property(nonatomic, strong, nullable) UIActivityIndicatorView *indicatorSample;
38
45- (instancetype)initWithFrame:(CGRect)frame;
46
52- (void)setInfo:(nullable StoreMusicInfo *)info;
53
58- (void)sampleStop;
59
64- (void)sampleDownloading;
65
70- (void)samplePlaying;
71
72@end
73
74NS_ASSUME_NONNULL_END
75
76// code: language=Objective-C
77// kate: hl Objective-C;
78// vim: set ft=objc :
An image view that fetches its own artwork over HTTP.
One purchasable track, as the store server describes it.
An image view that loads itself from imageURL on demand.
Definition StoreImageView.h:24
A store track, including the extended chart it may carry.
Definition StoreMusicInfo.h:22
A track row: jacket, title, artist, difficulty levels, a sample-play button, an iTunes link,...
Definition StorePackMusicView.h:21
UILabel * labelLevels
The difficulty-levels label.
Definition StorePackMusicView.h:29
UILabel * labelName
The track title label.
Definition StorePackMusicView.h:25
UIImageView * extendImg
The extension marker.
Definition StorePackMusicView.h:35
UIButton * buttonLink
The iTunes link button.
Definition StorePackMusicView.h:33
void sampleDownloading()
Shows the sample button downloading, with the spinner running.
Definition StorePackMusicView.m:212
UILabel * labelArtist
The artist label.
Definition StorePackMusicView.h:27
UIButton * buttonSample
The sample-play button.
Definition StorePackMusicView.h:31
void sampleStop()
Shows the sample button in its stopped state.
Definition StorePackMusicView.m:205
StoreImageView * artworkView
The track jacket, which loads itself from a URL.
Definition StorePackMusicView.h:23
void samplePlaying()
Shows the sample button in its playing state.
Definition StorePackMusicView.m:219
UIActivityIndicatorView * indicatorSample
The sample-download spinner over the sample button.
Definition StorePackMusicView.h:37