|
JubeatPlus 3.9.11
|
A row of image buttons built from a list of artwork names. More...
#include <EditButtonViewController.h>


Instance Methods | |
| (instancetype) | - initWithButtonArray:selNum:delegate:ctrlName: |
| Builds the row and sizes the popover to it. | |
| (void) | - pushBtn: |
| The action every button targets. | |
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.
| - (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.
| buttonArray | The artwork base names, one per button, in display order. |
| selNum | The index whose artwork is loaded from its selected variant instead. |
| delegate | The object told about taps. Stored weakly. |
| ctrlName | This controller's name, handed back to the delegate on every tap. |
| - (void) pushBtn: | (UIButton *) | sender |
The action every button targets.
| sender | The tapped button, whose tag is its index in the array. |