JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MusicDetailViewOrg.h
Go to the documentation of this file.
1
15
16#import <QuartzCore/QuartzCore.h>
17#import <UIKit/UIKit.h>
18
19#import "EditModalView.h"
22#import "JcfUpLoadView.h"
23#import "MusicDetailView.h"
24
25@class TuneInfo;
26@class JcfUpLoadView;
27
28NS_ASSUME_NONNULL_BEGIN
29
38 UIButton *btnDiff[4];
40 UIImageView *lightView[4][2];
42 UIImageView *diffTextView[4];
44 UIImageView *levelTextView[4];
46 UIImageView *levelNumView[4];
48 UIImage *levelNumImg[5][10];
50 UIImage *levelTextImg[5];
52 CABasicAnimation *lightBlinkAnim;
54 UIImageView *highscoreBoardView;
56 UIImageView *ratingView;
58 UIImageView *comboView;
60 UIImageView *highscoreNumView[7];
62 UIImage *highscoreNumImg[10];
64 UIImage *ratingImg[9];
66 UIImage *fullcomboImg;
68 UIImageView *mbarBarView;
70 UIImageView *mbarDotView[120];
72 UIImage *mbarBarImg[4];
74 UIImage *mbarDotImg[4][8];
76 char mbarDots[3][60];
78 UILabel *editTxt[3];
80 UIButton *infoBtn;
82 UIButton *uploadBtn;
84 UIButton *editBtn;
86 UIButton *detailScrollButton[2];
88 UIImageView *scrollLamp;
90 UIImageView *diffBtnLamp;
94 UIView *topcover;
96 UIImageView *userTagIcon;
98 char extendMbarDots[3][60];
100 UIImageView *holdMark[3];
102 UIImageView *extendMark[3];
104 UIImageView *extendOnMark[3];
107}
108
114+ (Class)layerClass;
115
122- (instancetype)initWithFrame:(CGRect)frame;
123
130- (nullable UIButton *)diffButton:(nullable NSString *)imageName;
131
136- (void)loadImages;
137
143- (void)loadContentFromDictionary:(nullable NSDictionary *)dict;
144
151- (void)loadContentFromPath:(nullable NSString *)path orData:(nullable NSData *)data;
152
158- (void)loadExtendMusicBar:(nullable NSString *)path;
159
166- (void)setInfo:(nullable TuneInfo *)info score:(nullable ScoreRecord *)score;
167
173- (void)infoChange:(int)difficulty;
174
181- (void)setExtendInfo:(nullable TuneInfo *)info score:(nullable ScoreRecord *)score;
182
188- (void)changeExtend:(int)difficulty;
189
194- (void)clearInfo;
195
201- (void)selectDiff:(nullable id)selectDiff;
202
209- (void)setScoreBoard:(int)score fullcombo:(BOOL)fullcombo;
210
216- (void)changeDifficulty:(int)difficulty;
217
223- (void)scrollChange:(nullable id)scrollChange;
224
231- (void)setMusicBarDot:(nullable char *)dots mbarRes:(nullable char *)mbarRes;
232
237- (void)editMusicBar;
238
245- (void)resetTextField:(int)index isFirst:(BOOL)isFirst;
246
252- (void)setEnableButton:(BOOL)enable;
253
258- (void)setStartButtonEnable;
259
265- (void)show:(BOOL)show;
266
271- (void)hostShareCancelled;
272
279- (void)showDataProgress:(BOOL)show animated:(BOOL)animated;
280
286- (void)activateAnim:(BOOL)activate;
287
293- (void)pushButtonStartPlay:(nullable id)pushButtonStartPlay;
294
299- (void)editFileListViewSelectDownload;
300
305- (void)uploadStart;
306
312- (void)pushButtonUpload:(nullable id)pushButtonUpload;
313
319- (void)pushButtonEdit:(nullable id)pushButtonEdit;
320
325- (void)editFileListViewSelectEdit;
326
331- (void)editStart;
332
338- (void)pushButtonShare:(nullable id)pushButtonShare;
339
344- (void)refreshStartButton;
345
351- (void)scrollViewWillBeginDragging:(nullable UIScrollView *)scrollView;
352
358- (void)scrollViewDidScroll:(nullable UIScrollView *)scrollView;
359
365- (void)scrollViewDidEndScrollingAnimation:(nullable UIScrollView *)scrollView;
366
372- (void)scrollViewDidEndDecelerating:(nullable UIScrollView *)scrollView;
373
380- (void)scrollViewDidEndDragging:(nullable UIScrollView *)scrollView
381 willDecelerate:(BOOL)decelerate;
382
388- (void)editModalViewClose:(nullable id)editModalViewClose;
389
395- (BOOL)checkDownloadFile;
396
402- (void)pushInfoEdit:(nullable id)pushInfoEdit;
403
408- (void)loadListRelease;
409
414- (void)editPopoverOpen;
415
420- (void)editFileListViewSelectNewFile;
421
427- (void)editFileListViewSelectItem:(int)index;
428
434- (void)editFileListViewDeleteFile:(nullable NSString *)fileName;
435
441- (void)selectEditFile:(nullable NSString *)fileName;
442
448- (void)popoverPresentationControllerDidDismissPopover:
449 (nullable UIPopoverPresentationController *)popoverPresentationController;
450
456- (void)editFileListViewCancel:(nullable id)editFileListViewCancel;
457
463- (void)errorSequenceDownload:(nullable id)errorSequenceDownload;
464
470- (void)finishedSequenceDownload:(nullable id)finishedSequenceDownload;
471
477- (void)finishedSequenceOverCap:(nullable id)finishedSequenceOverCap;
478
483- (void)dealloc;
484
491- (void)customWebViewClose:(nullable id)customWebViewClose seqIndex:(nullable id)seqIndex;
492
498- (void)downloadEnd:(nullable id)downloadEnd;
499
504- (void)removeUploadView;
505
511- (void)uploadEnd:(nullable id)uploadEnd;
512
518- (nullable UIImage *)getStartImage;
519
525- (nullable UIImage *)getSingleImage;
526
531- (void)changeExtendMode;
532
539- (CGPoint)getDifficultyPos:(int)difficulty;
540
541@end
542
543NS_ASSUME_NONNULL_END
544
545// code: language=Objective-C
546// kate: hl Objective-C;
547// 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 original (classic) theme.
Definition MusicDetailViewOrg.h:36
UIImageView * levelNumView[4]
The level number drawn on each difficulty button.
Definition MusicDetailViewOrg.h:46
UIImageView * ratingView
The clear-rating badge.
Definition MusicDetailViewOrg.h:56
UIImageView * mbarDotView[120]
The measure-bar dots, one per bar column.
Definition MusicDetailViewOrg.h:70
char mbarDots[3][60]
The measure-bar density map per difficulty, rows basic, advanced, and extreme.
Definition MusicDetailViewOrg.h:76
JcfUpLoadView * upLoadView
The chart upload view, live while an upload is in progress.
Definition MusicDetailViewOrg.h:92
UIButton * infoBtn
The button opening the tune information page.
Definition MusicDetailViewOrg.h:80
UIButton * uploadBtn
The button uploading the editor chart.
Definition MusicDetailViewOrg.h:82
UIImage * fullcomboImg
The full-combo badge image.
Definition MusicDetailViewOrg.h:66
UIImageView * holdMark[3]
The hold (favourite) marks, one per difficulty.
Definition MusicDetailViewOrg.h:100
CABasicAnimation * lightBlinkAnim
The opacity animation blinking the extend button's light strips.
Definition MusicDetailViewOrg.h:52
char extendMbarDots[3][60]
The extend measure-bar density map, in the same row order as mbarDots .
Definition MusicDetailViewOrg.h:98
UIImageView * comboView
The full-combo badge.
Definition MusicDetailViewOrg.h:58
UIImage * ratingImg[9]
The clear-rating badge images, indexed by rating.
Definition MusicDetailViewOrg.h:64
UIImage * mbarBarImg[4]
The measure-bar backgrounds, one per difficulty.
Definition MusicDetailViewOrg.h:72
UIButton * btnDiff[4]
The difficulty buttons, indexed basic, advanced, extreme, then extend.
Definition MusicDetailViewOrg.h:38
UIImage * levelTextImg[5]
The level caption images, one per level row.
Definition MusicDetailViewOrg.h:50
UIImage * levelNumImg[5][10]
The level digit images, by level row then digit.
Definition MusicDetailViewOrg.h:48
UIImageView * highscoreBoardView
The board the high score is drawn on.
Definition MusicDetailViewOrg.h:54
UIImageView * mbarBarView
The measure bar the note-density dots are drawn in.
Definition MusicDetailViewOrg.h:68
UIView * topcover
The cover shading the top of the card.
Definition MusicDetailViewOrg.h:94
UIButton * detailScrollButton[2]
The buttons scrolling the detail card, previous then next.
Definition MusicDetailViewOrg.h:86
UIImageView * diffBtnLamp
The lamp drawn on the extend difficulty button.
Definition MusicDetailViewOrg.h:90
UIImageView * userTagIcon
The badge marking the chart's author, or nil when there is none.
Definition MusicDetailViewOrg.h:96
BOOL bRandomBak
The random-select state as of the last refresh, used to skip redundant updates.
Definition MusicDetailViewOrg.h:106
UIImageView * scrollLamp
The lamp marking that the card can be scrolled.
Definition MusicDetailViewOrg.h:88
UIButton * editBtn
The button opening the chart editor.
Definition MusicDetailViewOrg.h:84
UIImageView * highscoreNumView[7]
The high-score digits, most significant first.
Definition MusicDetailViewOrg.h:60
UIImageView * lightView[4][2]
The upper and lower light strips behind each difficulty button.
Definition MusicDetailViewOrg.h:40
UIImage * highscoreNumImg[10]
The high-score digit images, indexed by digit.
Definition MusicDetailViewOrg.h:62
UILabel * editTxt[3]
The editor chart names, one per difficulty.
Definition MusicDetailViewOrg.h:78
UIImage * mbarDotImg[4][8]
The measure-bar dot images, by difficulty then density level.
Definition MusicDetailViewOrg.h:74
UIImageView * diffTextView[4]
The difficulty name drawn on each difficulty button.
Definition MusicDetailViewOrg.h:42
UIImageView * levelTextView[4]
The "LEVEL" caption drawn on each difficulty button.
Definition MusicDetailViewOrg.h:44
UIImageView * extendOnMark[3]
The extend-unlocked marks, one per difficulty.
Definition MusicDetailViewOrg.h:104
UIImageView * extendMark[3]
The extend-available marks, one per difficulty.
Definition MusicDetailViewOrg.h:102
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