|
JubeatPlus 3.9.11
|
The challenge-mode menu container that switches between the landing menu and its sub-views with fade transitions. More...
#include <ChallengeMenuRootView.h>


Instance Methods | |
| (instancetype) | - initWithFrame: |
| Builds the dimming cover and the landing menu, both initially transparent. | |
| (void) | - enterRootMenu |
| Fades the cover and the landing menu in together. | |
| (void) | - enterMenuSelectedView: |
Lazily builds the sub-view for index and fades it in over the menu. | |
| (void) | - closeRootMenu |
| Close-button callback: plays the cancel sound, fades the cover and menu out, and tells the delegate to dismiss the root menu. | |
| (void) | - enterMenu |
| Fades the landing menu in. | |
| (void) | - outerMenu |
| Plays the cancel sound and fades the landing menu out. | |
| (void) | - switchInMenu |
| First half of the crossfade into a sub-view: fades the menu out, then fades the current sub-view in. | |
| (void) | - switchOutMenu |
| First half of the crossfade back to the menu: plays the cancel sound, tells the delegate to refresh, removes the current sub-view, then fades the menu back in and rebuilds it. | |
| (void) | - createMenuView: |
Builds (replacing any existing instance) the sub-view for index and records it as the current view. | |
| (void) | - selectMenu: |
| Menu-row callback: plays the labo-menu sound, builds the chosen sub-view, and starts the crossfade into it. | |
| (void) | - closeMenu |
| Sub-view callback: crossfades back to the landing menu. | |
| (void) | - refreshStatus |
Forwards a status refresh to the delegate when it responds to -refreshStatus . | |
| (void) | - cubePurchase |
Forwards a cube-purchase request to the delegate when it responds to -cubePurchaseStart . | |
| Instance Methods inherited from <ChallengeLoginInformationViewDelegate> | |
| (void) | - closeLoginInformation |
| The sheet's close button was tapped and the owner should dismiss the login sheet. | |
| (void) | - clickPackInfomation: |
A jbtstore://pack/<id> link was followed. | |
Properties | |
| id< ChallengeMenuRootViewDelegate > | aDelegate |
| The object told about close, refresh, and purchase events. | |
The challenge-mode menu container that switches between the landing menu and its sub-views with fade transitions.
| - (void) closeMenu |
Sub-view callback: crossfades back to the landing menu.
Reimplemented from <ChallengePresentViewDelegate>.
| - (void) closeRootMenu |
Close-button callback: plays the cancel sound, fades the cover and menu out, and tells the delegate to dismiss the root menu.
Reimplemented from <ChallengeMenuViewDelegate>.
| - (void) createMenuView: | (int) | index |
Builds (replacing any existing instance) the sub-view for index and records it as the current view.
The index maps to: 0 present list, 1 name-setting sheet, 2 rival search, 3 rival list, 4 previous ranking, and 5 login/information. Any other value does nothing. Each sub-view is built at {0, 0, self.frame.size.width, self.frame.size.height}, made its own delegate, given user interaction, faded to transparent, and added as a subview.
| index | The sub-view selector. |
| - (void) cubePurchase |
Forwards a cube-purchase request to the delegate when it responds to -cubePurchaseStart .
| - (void) enterMenu |
Fades the landing menu in.
| - (void) enterMenuSelectedView: | (int) | index |
Lazily builds the sub-view for index and fades it in over the menu.
| index | The sub-view selector (see -createMenuView:). |
| - (void) enterRootMenu |
Fades the cover and the landing menu in together.
| - (instancetype) initWithFrame: | (CGRect) | frame |
Builds the dimming cover and the landing menu, both initially transparent.
| frame | The view's frame. |
| - (void) outerMenu |
Plays the cancel sound and fades the landing menu out.
| - (void) refreshStatus |
Forwards a status refresh to the delegate when it responds to -refreshStatus .
Reimplemented from <ChallengePresentViewDelegate>.
| - (void) selectMenu: | (nullable NSNumber *) | menu |
Menu-row callback: plays the labo-menu sound, builds the chosen sub-view, and starts the crossfade into it.
| menu | The row's tag, boxed. |
Reimplemented from <ChallengeMenuViewDelegate>.
| - (void) switchInMenu |
First half of the crossfade into a sub-view: fades the menu out, then fades the current sub-view in.
| - (void) switchOutMenu |
First half of the crossfade back to the menu: plays the cancel sound, tells the delegate to refresh, removes the current sub-view, then fades the menu back in and rebuilds it.
|
readwritenonatomicweak |
The object told about close, refresh, and purchase events.
Held weakly.