JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MusicDetailViewRpl.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 UILabel *editTxt[3];
73 UIButton *infoBtn;
75 UIButton *uploadBtn;
77 UIButton *editBtn;
79 UIButton *detailScrollButton[2];
83 UIView *topcover;
85 UIImageView *scrollLamp;
87 UIImageView *diffBtnLamp;
89 UIImageView *userTagIcon;
91 char extendMbarDots[3][60];
93 UIImageView *holdMark[3];
95 UIImageView *extendMark[3];
97 UIImageView *extendOnMark[3];
100}
101
107+ (Class)layerClass;
108
115- (instancetype)initWithFrame:(CGRect)frame;
116
123- (nullable UIButton *)diffButton:(nullable NSString *)imageName;
124
129- (void)loadImages;
130
136- (void)loadContentFromDictionary:(nullable NSDictionary *)dict;
137
144- (void)loadContentFromPath:(nullable NSString *)path orData:(nullable NSData *)data;
145
151- (void)loadExtendMusicBar:(nullable NSString *)path;
152
159- (void)setInfo:(nullable TuneInfo *)info score:(nullable ScoreRecord *)score;
160
166- (void)infoChange:(int)difficulty;
167
174- (void)setExtendInfo:(nullable TuneInfo *)info score:(nullable ScoreRecord *)score;
175
181- (void)changeExtend:(int)difficulty;
182
187- (void)clearInfo;
188
193- (void)difficultyChangeAnimation;
194
200- (void)selectDiff:(nullable id)selectDiff;
201
208- (void)setScoreBoard:(int)score fullcombo:(BOOL)fullcombo;
209
215- (void)changeDifficulty:(int)difficulty;
216
222- (void)scrollChange:(nullable id)scrollChange;
223
230- (void)setMusicBarDot:(nullable char *)dots mbarRes:(nullable char *)mbarRes;
231
236- (void)editMusicBar;
237
244- (void)resetTextField:(int)index isFirst:(BOOL)isFirst;
245
251- (void)setEnableButton:(BOOL)enable;
252
257- (void)setStartButtonEnable;
258
264- (void)show:(BOOL)show;
265
270- (void)hostShareCancelled;
271
278- (void)showDataProgress:(BOOL)show animated:(BOOL)animated;
279
285- (void)pushButtonStartPlay:(nullable id)pushButtonStartPlay;
286
291- (void)editFileListViewSelectDownload;
292
297- (void)uploadStart;
298
304- (void)pushButtonUpload:(nullable id)pushButtonUpload;
305
310- (void)editFileListViewSelectEdit;
311
317- (void)pushButtonEdit:(nullable id)pushButtonEdit;
318
323- (void)editStart;
324
330- (void)pushButtonShare:(nullable id)pushButtonShare;
331
336- (void)refreshStartButton;
337
343- (void)scrollViewWillBeginDragging:(nullable UIScrollView *)scrollView;
344
350- (void)scrollViewDidScroll:(nullable UIScrollView *)scrollView;
351
357- (void)scrollViewDidEndScrollingAnimation:(nullable UIScrollView *)scrollView;
358
364- (void)scrollViewDidEndDecelerating:(nullable UIScrollView *)scrollView;
365
372- (void)scrollViewDidEndDragging:(nullable UIScrollView *)scrollView
373 willDecelerate:(BOOL)decelerate;
374
380- (void)editModalViewClose:(nullable id)editModalViewClose;
381
387- (BOOL)checkDownloadFile;
388
394- (void)pushInfoEdit:(nullable id)pushInfoEdit;
395
400- (void)loadListRelease;
401
406- (void)editPopoverOpen;
407
412- (void)editFileListViewSelectNewFile;
413
419- (void)editFileListViewSelectItem:(int)index;
420
426- (void)editFileListViewDeleteFile:(nullable NSString *)editFileListViewDeleteFile;
427
433- (void)selectEditFile:(nullable NSString *)selectEditFile;
434
440- (void)popoverPresentationControllerDidDismissPopover:
441 (nullable UIPopoverPresentationController *)popoverPresentationController;
442
448- (void)editFileListViewCancel:(nullable id)editFileListViewCancel;
449
455- (void)errorSequenceDownload:(nullable id)errorSequenceDownload;
456
462- (void)finishedSequenceDownload:(nullable id)finishedSequenceDownload;
463
469- (void)finishedSequenceOverCap:(nullable id)finishedSequenceOverCap;
470
475- (void)dealloc;
476
483- (void)customWebViewClose:(nullable id)customWebViewClose seqIndex:(nullable id)seqIndex;
484
490- (void)downloadEnd:(nullable id)downloadEnd;
491
496- (void)removeUploadView;
497
503- (void)uploadEnd:(nullable id)uploadEnd;
504
510- (nullable UIImage *)getStartImage;
511
517- (nullable UIImage *)getSingleImage;
518
523- (void)changeExtendMode;
524
531- (CGPoint)getDifficultyPos:(int)difficulty;
532
533@end
534
535NS_ASSUME_NONNULL_END
536
537// code: language=Objective-C
538// kate: hl Objective-C;
539// 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 Ripples theme.
Definition MusicDetailViewRpl.h:35
UIImageView * highscoreTextView
The "HIGH SCORE" caption drawn on the board.
Definition MusicDetailViewRpl.h:45
UIImageView * comboView
The full-combo badge.
Definition MusicDetailViewRpl.h:49
UIButton * detailScrollButton[2]
The buttons scrolling the detail card, previous then next.
Definition MusicDetailViewRpl.h:79
UIImage * ratingImg[9]
The clear-rating badge images, indexed by rating.
Definition MusicDetailViewRpl.h:55
UIButton * editBtn
The button opening the chart editor.
Definition MusicDetailViewRpl.h:77
UIImage * fullcomboImg
The full-combo badge image.
Definition MusicDetailViewRpl.h:57
UIView * topcover
The cover shading the top of the card.
Definition MusicDetailViewRpl.h:83
UIImage * highscoreNumImg[10]
The high-score digit images, indexed by digit.
Definition MusicDetailViewRpl.h:53
UIImageView * levelNumView[4]
The level number drawn on each difficulty button.
Definition MusicDetailViewRpl.h:39
UIImageView * highscoreNumView[7]
The high-score digits, most significant first.
Definition MusicDetailViewRpl.h:51
UIImage * mbarDotImg[4][8]
The measure-bar dot images, by difficulty then density level.
Definition MusicDetailViewRpl.h:67
UIImageView * scrollLamp
The lamp marking that the card can be scrolled.
Definition MusicDetailViewRpl.h:85
UIImageView * extendOnMark[3]
The extend-unlocked marks, one per difficulty.
Definition MusicDetailViewRpl.h:97
UIImageView * ratingView
The clear-rating badge.
Definition MusicDetailViewRpl.h:47
char extendMbarDots[3][60]
The extend measure-bar density map, in the same row order as mbarDots .
Definition MusicDetailViewRpl.h:91
UIImageView * mbarDotView[120]
The measure-bar dots, one per bar column.
Definition MusicDetailViewRpl.h:63
JcfUpLoadView * upLoadView
The chart upload view, live while an upload is in progress.
Definition MusicDetailViewRpl.h:81
UIImageView * diffBtnLamp
The lamp drawn on the extend difficulty button.
Definition MusicDetailViewRpl.h:87
UIImageView * extendMark[3]
The extend-available marks, one per difficulty.
Definition MusicDetailViewRpl.h:95
UIImage * levelNumImg[10]
The level digit images, indexed by digit.
Definition MusicDetailViewRpl.h:41
UILabel * editTxt[3]
The editor chart names, one per difficulty.
Definition MusicDetailViewRpl.h:71
UIImage * mbarBarImg[4]
The measure-bar backgrounds, one per difficulty.
Definition MusicDetailViewRpl.h:65
UIButton * uploadBtn
The button uploading the editor chart.
Definition MusicDetailViewRpl.h:75
UIImage * excellentImg
The excellent badge image, replacing fullcomboImg on a perfect play.
Definition MusicDetailViewRpl.h:59
BOOL bRandomBak
The random-select state as of the last refresh, used to skip redundant updates.
Definition MusicDetailViewRpl.h:99
UIImageView * holdMark[3]
The hold (favourite) marks, one per difficulty.
Definition MusicDetailViewRpl.h:93
char mbarDots[3][60]
The measure-bar density map per difficulty, rows basic, advanced, and extreme.
Definition MusicDetailViewRpl.h:69
UIImageView * highscoreBoardView
The board the high score is drawn on.
Definition MusicDetailViewRpl.h:43
UIButton * infoBtn
The button opening the tune information page.
Definition MusicDetailViewRpl.h:73
UIButton * btnDiff[4]
The difficulty buttons, indexed basic, advanced, extreme, then extend.
Definition MusicDetailViewRpl.h:37
UIImageView * mbarBarView
The measure bar the note-density dots are drawn in.
Definition MusicDetailViewRpl.h:61
UIImageView * userTagIcon
The badge marking the chart's author, or nil when there is none.
Definition MusicDetailViewRpl.h:89
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