JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MusicSelectBottomView Class Reference

The music-select screen's bottom bar. More...

#include <MusicSelectBottomView.h>

Inheritance diagram for MusicSelectBottomView:
Collaboration diagram for MusicSelectBottomView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the bar: the playlists button, the jubeat Lab.
(void) - tapPlaylists:
 The playlists button's action: forwards to the delegate.
(void) - btnTouchesBegan:
 A control's touch-down action: forwards to the delegate so it can show a pressed state.
(void) - btnTouchesCancel:
 A control's touch-cancel action: forwards to the delegate so it can clear a pressed state.
(CGRect) - getPlayListBtnRect
 The playlists button's frame in the bar's own coordinate space.
(void) - playlistButtonChanged:
 Retitles or re-icons the playlists button for the selected playlist.
(void) - tapStoreInfo:
 The store-info ticker's action: resolves the current message's link and forwards it to the delegate.
(void) - setCommentTable:
 Installs the ticker's message list and starts the cycle.
(void) - showNextStoreText
 Shows the next ticker message: sets the label text, resets the scroll, fades the label in, then scrolls it to its end (the marquee).
(void) - hideStoreText
 Hides the current ticker message: disables the button, advances the index, and fades the label out, then shows the next message.
(void) - animStop
 Stops the ticker button's title animation by removing all layer animations.
(void) - tapJubeatLab:
 The jubeat Lab.

Properties

id< MusicSelectBottomViewDelegate > aDelegate
 The object told about bar-button and ticker taps.
MusicPlaylistManager * playlistManager
 The playlist model consulted to name a custom playlist.

Detailed Description

The music-select screen's bottom bar.

Lays out three controls sized to the bar's own height (30 points): a left playlists button, a right jubeat Lab. button, and a centred store-info ticker built from a background image view, a scroll view, and an InfoLabel. The ticker cycles messages drawn from arrayStoreInfo with a fade-in, a marquee scroll, and a fade-out driven by a repeating NSTimer.

Method Documentation

◆ animStop

- (void) animStop

Stops the ticker button's title animation by removing all layer animations.

Ghidra address:
0x1d7ba0

◆ btnTouchesBegan:

- (void) btnTouchesBegan: (nullable id) sender

A control's touch-down action: forwards to the delegate so it can show a pressed state.

Parameters
senderThe pressed control.
Ghidra address:
0x1d67dc

◆ btnTouchesCancel:

- (void) btnTouchesCancel: (nullable id) sender

A control's touch-cancel action: forwards to the delegate so it can clear a pressed state.

Parameters
senderThe released control.
Ghidra address:
0x1d688c

◆ getPlayListBtnRect

- (CGRect) getPlayListBtnRect

The playlists button's frame in the bar's own coordinate space.

Returns
The playlists button's frame.
Ghidra address:
0x1d693c
Ghidra address:
0x1d693c

◆ hideStoreText

- (void) hideStoreText

Hides the current ticker message: disables the button, advances the index, and fades the label out, then shows the next message.

Ghidra address:
0x1d79d8
Ghidra address:
0x1d7b34
Ghidra address:
0x1d7b80

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the bar: the playlists button, the jubeat Lab.

button, and the store-info ticker (background image view, scroll view, and InfoLabel), all sized to the bar height.

Parameters
frameThe bar's frame.
Returns
The initialised view.
Ghidra address:
0x1d5824
Ghidra address:
0x1d5824

◆ playlistButtonChanged:

- (void) playlistButtonChanged: (NSInteger) index

Retitles or re-icons the playlists button for the selected playlist.

On the phone the button carries a title string; on the pad it carries an artwork icon. The argument is a sentinel index: -12/-11/-2 are the "all songs" variants, -10 the level playlist, -1 the not-yet-played playlist, a negative default clears the button, and any non-negative index names the custom playlist through playlistManager (phone) or shows the custom icon (pad).

Parameters
indexThe selected playlist's sentinel or custom index.
Ghidra address:
0x1d69ac
Ghidra address:
0x1d69ac

◆ setCommentTable:

- (void) setCommentTable: (nullable NSArray *) table

Installs the ticker's message list and starts the cycle.

Copies the messages, picks a random starting index, shows the ticker button, schedules the repeating hide timer, and shows the first message.

Parameters
tableThe array of message dictionaries (each carrying "Message" and "Link" keys).
Ghidra address:
0x1d7278

◆ showNextStoreText

- (void) showNextStoreText

Shows the next ticker message: sets the label text, resets the scroll, fades the label in, then scrolls it to its end (the marquee).

Ghidra address:
0x1d7410
Ghidra address:
0x1d7778
Ghidra address:
0x1d77c4
Ghidra address:
0x1d791c
Ghidra address:
0x1d7978

◆ tapJubeatLab:

- (void) tapJubeatLab: (nullable id) sender

The jubeat Lab.

button's action: forwards to the delegate.

Parameters
senderThe tapped button.
Ghidra address:
0x1d7c0c

◆ tapPlaylists:

- (void) tapPlaylists: (nullable id) sender

The playlists button's action: forwards to the delegate.

Parameters
senderThe tapped button.
Ghidra address:
0x1d672c

◆ tapStoreInfo:

- (void) tapStoreInfo: (nullable id) sender

The store-info ticker's action: resolves the current message's link and forwards it to the delegate.

A jbtstore:// URL with a pack or genre path becomes a one-entry dictionary; a jbtchallenge:// URL becomes a challenge dictionary; any other scheme is opened externally and reported as nil.

Parameters
senderThe tapped ticker button.
Ghidra address:
0x1d6dec

Property Documentation

◆ aDelegate

- (id<MusicSelectBottomViewDelegate>) aDelegate
readwritenonatomicweak

The object told about bar-button and ticker taps.

Held weakly.

Ghidra address:
0x1d7cbc (getter), 0x1d7cdc (setter)

◆ playlistManager

- (MusicPlaylistManager*) playlistManager
readwritenonatomicweak

The playlist model consulted to name a custom playlist.

Held weakly.

Ghidra address:
0x1d7cf0 (getter), 0x1d7d10 (setter)

The documentation for this class was generated from the following files: