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

A row of image buttons built from a list of artwork names. More...

#include <EditButtonViewController.h>

Inheritance diagram for EditButtonViewController:
Collaboration diagram for EditButtonViewController:

Instance Methods

(instancetype) - initWithButtonArray:selNum:delegate:ctrlName:
 Builds the row and sizes the popover to it.
(void) - pushBtn:
 The action every button targets.

Detailed Description

A row of image buttons built from a list of artwork names.

One button per name, laid out left to right with a two-point gap, each sized to its own artwork. The selected entry loads a differently-named variant of its artwork.

Method Documentation

◆ initWithButtonArray:selNum:delegate:ctrlName:

- (instancetype) initWithButtonArray: (nullable NSArray< NSString * > *) buttonArray
selNum: (int) selNum
delegate: (nullable id< EditButtonViewControllerDelegate >) delegate
ctrlName: (nullable NSString *) ctrlName 

Builds the row and sizes the popover to it.

Parameters
buttonArrayThe artwork base names, one per button, in display order.
selNumThe index whose artwork is loaded from its selected variant instead.
delegateThe object told about taps. Stored weakly.
ctrlNameThis controller's name, handed back to the delegate on every tap.
Returns
The initialised controller.
Ghidra address:
0x207348

◆ pushBtn:

- (void) pushBtn: (UIButton *) sender

The action every button targets.

Parameters
senderThe tapped button, whose tag is its index in the array.
Ghidra address:
0x20773c
Ghidra address:
0x20773c

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