JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MusicDetailViewKnt.h
Go to the documentation of this file.
1
15
16#import <UIKit/UIKit.h>
17
18#import "EditModalView.h"
21#import "JcfUpLoadView.h"
22#import "MusicDetailView.h"
23
24@class TuneInfo;
25@class JcfUpLoadView;
26
27NS_ASSUME_NONNULL_BEGIN
28
37 UIButton *btnDiff[4];
39 UIImageView *levelNumView[4];
41 UIImage *levelNumImg[10];
43 UIImageView *highscoreBoardView;
45 UIImageView *highscoreTextView;
47 UIImageView *ratingView;
49 UIImageView *comboView;
51 UIImageView *highscoreNumView[7];
53 UIImage *highscoreNumImg[10];
55 UIImage *ratingImg[9];
57 UIImage *fullcomboImg;
59 UIImage *excellentImg;
61 UIImageView *mbarBarView;
63 UIImageView *mbarDotView[120];
65 UIImage *mbarBarImg[4];
67 UIImage *mbarDotImg[4][8];
69 char mbarDots[3][60];
71 UIImageView *extendFrame;
73 UIImageView *extendDecription;
77 UILabel *editTxt[3];
79 UIButton *infoBtn;
81 UIButton *uploadBtn;
83 UIButton *editBtn;
85 UIButton *detailScrollButton[2];
87 UIImageView *scrollLamp;
89 UIImageView *diffBtnLamp;
91 UIImageView *userTagIcon;
95 UIView *topcover;
97 char extendMbarDots[3][60];
99 UIImageView *holdMark[3];
101 UIImageView *extendMark[3];
103 UIImageView *extendOnMark[3];
104}
105
111+ (Class)layerClass;
112
119- (instancetype)initWithFrame:(CGRect)frame;
120
127- (nullable UIButton *)diffButton:(nullable NSString *)imageName;
128
133- (void)loadImages;
134
140- (void)loadContentFromDictionary:(nullable NSDictionary *)dict;
141
148- (void)loadContentFromPath:(nullable NSString *)path orData:(nullable NSData *)data;
149
155- (void)loadExtendMusicBar:(nullable NSString *)path;
156
163- (void)setInfo:(nullable TuneInfo *)info score:(nullable ScoreRecord *)score;
164
170- (void)infoChange:(int)difficulty;
171
178- (void)setExtendInfo:(nullable TuneInfo *)info score:(nullable ScoreRecord *)score;
179
185- (void)changeExtend:(int)difficulty;
186
191- (void)clearInfo;
192
198- (void)selectDiff:(nullable id)selectDiff;
199
206- (void)setScoreBoard:(int)score fullcombo:(BOOL)fullcombo;
207
213- (void)changeDifficulty:(int)difficulty;
214
220- (void)scrollChange:(nullable id)scrollChange;
221
228- (void)setMusicBarDot:(nullable char *)dots mbarRes:(nullable char *)mbarRes;
229
234- (void)editMusicBar;
235
242- (void)resetTextField:(int)index isFirst:(BOOL)isFirst;
243
249- (void)setEnableButton:(BOOL)enable;
250
255- (void)setStartButtonEnable;
256
262- (void)show:(BOOL)show;
263
268- (void)hostShareCancelled;
269
276- (void)showDataProgress:(BOOL)show animated:(BOOL)animated;
277
283- (void)pushButtonStartPlay:(nullable id)pushButtonStartPlay;
284
289- (void)editFileListViewSelectDownload;
290
295- (void)uploadStart;
296
302- (void)pushButtonUpload:(nullable id)pushButtonUpload;
303
309- (void)pushButtonEdit:(nullable id)pushButtonEdit;
310
315- (void)editFileListViewSelectEdit;
316
321- (void)editStart;
322
328- (void)pushButtonShare:(nullable id)pushButtonShare;
329
334- (void)refreshStartButton;
335
341- (void)scrollViewWillBeginDragging:(nullable UIScrollView *)scrollView;
342
348- (void)scrollViewDidScroll:(nullable UIScrollView *)scrollView;
349
355- (void)scrollViewDidEndScrollingAnimation:(nullable UIScrollView *)scrollView;
356
362- (void)scrollViewDidEndDecelerating:(nullable UIScrollView *)scrollView;
363
370- (void)scrollViewDidEndDragging:(nullable UIScrollView *)scrollView
371 willDecelerate:(BOOL)decelerate;
372
378- (void)editModalViewClose:(nullable id)editModalViewClose;
379
385- (void)selectUpdate:(nullable id)selectUpdate;
386
392- (BOOL)checkDownloadFile;
393
399- (void)pushInfoEdit:(nullable id)pushInfoEdit;
400
405- (void)loadListRelease;
406
411- (void)editPopoverOpen;
412
417- (void)editFileListViewSelectNewFile;
418
424- (void)editFileListViewSelectItem:(int)index;
425
431- (void)editFileListViewDeleteFile:(nullable id)editFileListViewDeleteFile;
432
438- (void)selectEditFile:(nullable id)selectEditFile;
439
445- (void)popoverPresentationControllerDidDismissPopover:
446 (nullable UIPopoverPresentationController *)popoverPresentationController;
447
453- (void)editFileListViewCancel:(nullable id)editFileListViewCancel;
454
460- (void)errorSequenceDownload:(nullable id)errorSequenceDownload;
461
467- (void)finishedSequenceDownload:(nullable id)finishedSequenceDownload;
468
474- (void)finishedSequenceOverCap:(nullable id)finishedSequenceOverCap;
475
480- (void)dealloc;
481
488- (void)customWebViewClose:(nullable id)customWebViewClose seqIndex:(nullable id)seqIndex;
489
495- (void)downloadEnd:(nullable id)downloadEnd;
496
501- (void)removeUploadView;
502
508- (void)uploadEnd:(nullable id)uploadEnd;
509
515- (nullable UIImage *)getStartImage;
516
522- (nullable UIImage *)getSingleImage;
523
528- (void)changeExtendMode;
529
536- (CGPoint)getDifficultyPos:(int)difficulty;
537
538@end
539
540NS_ASSUME_NONNULL_END
541
542// code: language=Objective-C
543// kate: hl Objective-C;
544// vim: set ft=objc :
The edit-mode modal form for a custom sequence's metadata.
The navigation controller that wraps the jubeatLab custom-sequence (jcf) download web page.
The navigation controller that manages downloaded jubeatLab custom-sequence (jcf) files.
The modal board that uploads one jubeatLab custom sequence (a .jcf chart).
The music-selection detail card.
A gradient-backed board that uploads a .jcf chart and shares the outcome.
Definition JcfUpLoadView.h:43
The detail card for the Knit theme.
Definition MusicDetailViewKnt.h:35
UIImage * excellentImg
The excellent badge image, replacing fullcomboImg on a perfect play.
Definition MusicDetailViewKnt.h:59
char extendMbarDots[3][60]
The extend measure-bar density map, in the same row order as mbarDots .
Definition MusicDetailViewKnt.h:97
UIView * topcover
The cover shading the top of the card.
Definition MusicDetailViewKnt.h:95
UIButton * uploadBtn
The button uploading the editor chart.
Definition MusicDetailViewKnt.h:81
UIImage * mbarDotImg[4][8]
The measure-bar dot images, by difficulty then density level.
Definition MusicDetailViewKnt.h:67
UIImageView * userTagIcon
The badge marking the chart's author, or nil when there is none.
Definition MusicDetailViewKnt.h:91
UIButton * infoBtn
The button opening the tune information page.
Definition MusicDetailViewKnt.h:79
JcfUpLoadView * upLoadView
The chart upload view, live while an upload is in progress.
Definition MusicDetailViewKnt.h:93
UIImageView * extendMark[3]
The extend-available marks, one per difficulty.
Definition MusicDetailViewKnt.h:101
UIImageView * extendDecription
The extend section's description image.
Definition MusicDetailViewKnt.h:73
UIImageView * levelNumView[4]
The level number drawn on each difficulty button.
Definition MusicDetailViewKnt.h:39
UIButton * detailScrollButton[2]
The buttons scrolling the detail card, previous then next.
Definition MusicDetailViewKnt.h:85
UILabel * editTxt[3]
The editor chart names, one per difficulty.
Definition MusicDetailViewKnt.h:77
UIImageView * comboView
The full-combo badge.
Definition MusicDetailViewKnt.h:49
UIImageView * diffBtnLamp
The lamp drawn on the extend difficulty button.
Definition MusicDetailViewKnt.h:89
UIImageView * mbarBarView
The measure bar the note-density dots are drawn in.
Definition MusicDetailViewKnt.h:61
UIImageView * mbarDotView[120]
The measure-bar dots, one per bar column.
Definition MusicDetailViewKnt.h:63
UIImage * levelNumImg[10]
The level digit images, indexed by digit.
Definition MusicDetailViewKnt.h:41
UIButton * editBtn
The button opening the chart editor.
Definition MusicDetailViewKnt.h:83
UIImageView * holdMark[3]
The hold (favourite) marks, one per difficulty.
Definition MusicDetailViewKnt.h:99
UIButton * btnDiff[4]
The difficulty buttons, indexed basic, advanced, extreme, then extend.
Definition MusicDetailViewKnt.h:37
char mbarDots[3][60]
The measure-bar density map per difficulty, rows basic, advanced, and extreme.
Definition MusicDetailViewKnt.h:69
UIImage * fullcomboImg
The full-combo badge image.
Definition MusicDetailViewKnt.h:57
UIImageView * highscoreTextView
The "HIGH SCORE" caption drawn on the board.
Definition MusicDetailViewKnt.h:45
UIImageView * ratingView
The clear-rating badge.
Definition MusicDetailViewKnt.h:47
UIImageView * highscoreNumView[7]
The high-score digits, most significant first.
Definition MusicDetailViewKnt.h:51
UIImageView * extendFrame
The frame drawn around the extend section.
Definition MusicDetailViewKnt.h:71
UIImage * mbarBarImg[4]
The measure-bar backgrounds, one per difficulty.
Definition MusicDetailViewKnt.h:65
UIImage * highscoreNumImg[10]
The high-score digit images, indexed by digit.
Definition MusicDetailViewKnt.h:53
BOOL bRandomBak
The random-select state as of the last refresh, used to skip redundant updates.
Definition MusicDetailViewKnt.h:75
UIImage * ratingImg[9]
The clear-rating badge images, indexed by rating.
Definition MusicDetailViewKnt.h:55
UIImageView * scrollLamp
The lamp marking that the card can be scrolled.
Definition MusicDetailViewKnt.h:87
UIImageView * highscoreBoardView
The board the high score is drawn on.
Definition MusicDetailViewKnt.h:43
UIImageView * extendOnMark[3]
The extend-unlocked marks, one per difficulty.
Definition MusicDetailViewKnt.h:103
The music-selection detail card shown when a tune is picked.
Definition MusicDetailView.h:52
One tune's scores, as stored by Core Data: the per-difficulty best score, play-mode marker,...
Definition ScoreRecord.h:19
A tune, its three difficulty levels, and how it sorts.
Definition TuneInfo.h:20
What an EditModalView tells its owner.
Definition EditModalView.h:27
What a JcfDownloadPageNavController tells its owner.
Definition JcfDownloadPageNavController.h:25
What a JcfManageNavController tells its owner.
Definition JcfManageNavController.h:26
What a JcfUpLoadView tells its owner.
Definition JcfUpLoadView.h:31