The marker selection screen: a paged banner list with a live marker preview.
More...
#include <MarkerSelectView.h>
|
| (instancetype) | - initWithFrame: |
| | Initialises the view, its background, preview, banner scroll view, marker buttons, and loading overlay.
|
| (nullable NSString *) | - soundName: |
| | Builds the per-theme preview sound name for name.
|
| (nullable UIImage *) | - getCurrentBanner |
| | The background image of the button for the currently persisted marker.
|
| (void) | - loop: |
| | The CADisplayLink callback: advances the preview and hides the press button once its load has finished.
|
| (void) | - startAnimation |
| | Creates the display link targeting -loop: , adds it to the run loop, and resets the preview.
|
| (void) | - pauseAnimation |
| | Pauses the preview and the display link.
|
| (void) | - resumeAnimation |
| | Resumes the preview and the display link.
|
| (void) | - stopAnimation |
| | Invalidates and releases the display link.
|
| (void) | - startLoadMarker: |
| | Shows the loading overlay and asynchronously loads the current marker's textures.
|
| (void) | - btnMarker: |
| | Marker button action: selects the tapped marker, plays a sound, persists it, notifies the delegate, and reloads the preview.
|
| (void) | - close |
| | Stops the preview and releases the preview's textures.
|
| (void) | - scrollViewWillBeginDragging: |
| | Scroll delegate stub called when dragging begins.
|
| (void) | - scrollViewDidScroll: |
| | Wraps the paged scroll offset into the middle copy of the tiled content and re-centres the banner buttons.
|
| (void) | - scrollViewDidEndDecelerating: |
| | Scroll delegate stub called when deceleration ends.
|
| (void) | - scrollViewDidEndDragging:willDecelerate: |
| | Scroll delegate stub called when dragging ends.
|
| (void) | - updateMarkerList |
| | Rebuilds the banner scroll view and its marker buttons from the current marker list.
|
|
| id< MarkerSelectViewDelegate > | delegate |
| | The object notified when the selected marker changes; held weakly.
|
| MarkerTestView * | markerTestView |
| | The OpenGL preview of the currently loaded marker.
|
| UIScrollView * | bannerScrollView |
| | The horizontally-paged banner scroll view of marker options.
|
| NSMutableArray< UIButton * > * | arrayMarkerBtn |
| | The marker banner buttons tiled into the scroll content.
|
| UIImageView * | buttonImgView |
| | The press button graphic shown over the preview.
|
| UIImageView * | bgView |
| | The screen background image.
|
| UIView * | loadingView |
| | The dimming overlay shown while a marker loads.
|
| UIActivityIndicatorView * | indicator |
| | The activity indicator inside the loading overlay.
|
| UILabel * | labelLoading |
| | The "Loading..." label inside the loading overlay.
|
| CADisplayLink * | displayLink |
| | The display link that drives the preview and press-button lifecycle.
|
The marker selection screen: a paged banner list with a live marker preview.
◆ btnMarker:
| - (void) btnMarker: |
|
(nullable UIButton *) | sender |
|
Marker button action: selects the tapped marker, plays a sound, persists it, notifies the delegate, and reloads the preview.
- Parameters
-
| sender | The tapped marker button. |
- Ghidra address:
- 0x9a9c8
◆ close
Stops the preview and releases the preview's textures.
- Ghidra address:
- 0x9aca4
◆ getCurrentBanner
| - (UIImage *) getCurrentBanner |
|
|
|
The background image of the button for the currently persisted marker.
- Returns
- The current marker button's normal-state background image.
- Ghidra address:
- 0x99e20
- Ghidra address:
- 0x99e20
◆ initWithFrame:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
|
Initialises the view, its background, preview, banner scroll view, marker buttons, and loading overlay.
- Parameters
-
- Returns
- The initialised view.
- Ghidra address:
- 0x98afc
- Ghidra address:
- 0x98afc
◆ loop:
| - (void) loop: |
|
(nullable CADisplayLink *) | sender |
|
The CADisplayLink callback: advances the preview and hides the press button once its load has finished.
- Parameters
-
- Ghidra address:
- 0x99f20
◆ pauseAnimation
Pauses the preview and the display link.
- Ghidra address:
- 0x9a19c
◆ resumeAnimation
Resumes the preview and the display link.
- Ghidra address:
- 0x9a230
◆ scrollViewDidEndDecelerating:
| - (void) scrollViewDidEndDecelerating: |
|
(nonnull UIScrollView *) | scrollView |
|
Scroll delegate stub called when deceleration ends.
- Parameters
-
| scrollView | The banner scroll view. |
- Ghidra address:
- 0x9b04c
◆ scrollViewDidEndDragging:willDecelerate:
| - (void) scrollViewDidEndDragging: |
|
(nonnull UIScrollView *) | scrollView |
| willDecelerate: |
|
(BOOL) | decelerate |
Scroll delegate stub called when dragging ends.
- Parameters
-
| scrollView | The banner scroll view. |
| decelerate | Whether the scroll view will continue to decelerate. |
- Ghidra address:
- 0x9b050
◆ scrollViewDidScroll:
| - (void) scrollViewDidScroll: |
|
(nonnull UIScrollView *) | scrollView |
|
Wraps the paged scroll offset into the middle copy of the tiled content and re-centres the banner buttons.
- Parameters
-
| scrollView | The banner scroll view. |
- Ghidra address:
- 0x9ad48
◆ scrollViewWillBeginDragging:
| - (void) scrollViewWillBeginDragging: |
|
(nonnull UIScrollView *) | scrollView |
|
Scroll delegate stub called when dragging begins.
- Parameters
-
| scrollView | The banner scroll view. |
- Ghidra address:
- 0x9ad44
◆ soundName:
| - (nullable NSString *) soundName: |
|
(nullable NSString *) | name |
|
Builds the per-theme preview sound name for name.
- Parameters
-
| name | The base sound name (for example MUSIC_SELECT ). |
- Returns
SD_RPL_<name> , SD_KNT_<name> , or SD_<name> for the current theme.
- Ghidra address:
- 0x99d30
◆ startAnimation
Creates the display link targeting -loop: , adds it to the run loop, and resets the preview.
- Ghidra address:
- 0x9a038
◆ startLoadMarker:
| - (void) startLoadMarker: |
|
(BOOL) | scroll |
|
Shows the loading overlay and asynchronously loads the current marker's textures.
- Parameters
-
| scroll | YES to also scroll the banner list to the current marker. |
- Ghidra address:
- 0x9a354
- Ghidra address:
- 0x9a354
- Ghidra address:
- 0x9a710
- Ghidra address:
- 0x9a848
◆ stopAnimation
Invalidates and releases the display link.
- Ghidra address:
- 0x9a2c0
◆ updateMarkerList
| - (void) updateMarkerList |
|
|
|
Rebuilds the banner scroll view and its marker buttons from the current marker list.
- Ghidra address:
- 0x9b0a4
◆ arrayMarkerBtn
| - (NSMutableArray<UIButton *>*) arrayMarkerBtn |
|
readwritenonatomicstrong |
The marker banner buttons tiled into the scroll content.
- Ghidra address:
- 0x9bab8 (getter), 0x9bac8 (setter)
◆ bannerScrollView
| - (UIScrollView*) bannerScrollView |
|
readwritenonatomicstrong |
The horizontally-paged banner scroll view of marker options.
- Ghidra address:
- 0x9ba94 (getter), 0x9baa4 (setter)
◆ bgView
The screen background image.
- Ghidra address:
- 0x9bb00 (getter), 0x9bb10 (setter)
◆ buttonImgView
| - (UIImageView*) buttonImgView |
|
readwritenonatomicstrong |
The press button graphic shown over the preview.
- Ghidra address:
- 0x9badc (getter), 0x9baec (setter)
◆ delegate
The object notified when the selected marker changes; held weakly.
- Ghidra address:
- 0x9ba3c (getter), 0x9ba5c (setter)
◆ displayLink
| - (CADisplayLink*) displayLink |
|
readwritenonatomicstrong |
The display link that drives the preview and press-button lifecycle.
- Ghidra address:
- 0x9bb90 (getter), 0x9bba0 (setter)
◆ indicator
| - (UIActivityIndicatorView*) indicator |
|
readwritenonatomicstrong |
The activity indicator inside the loading overlay.
- Ghidra address:
- 0x9bb48 (getter), 0x9bb58 (setter)
◆ labelLoading
| - (UILabel*) labelLoading |
|
readwritenonatomicstrong |
The "Loading..." label inside the loading overlay.
- Ghidra address:
- 0x9bb6c (getter), 0x9bb7c (setter)
◆ loadingView
The dimming overlay shown while a marker loads.
- Ghidra address:
- 0x9bb24 (getter), 0x9bb34 (setter)
◆ markerTestView
The OpenGL preview of the currently loaded marker.
- Ghidra address:
- 0x9ba70 (getter), 0x9ba80 (setter)
The documentation for this class was generated from the following files: