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

A view controller letting the player pick the game theme in the settings screen. More...

#include <SettingsThemeViewController.h>

Inheritance diagram for SettingsThemeViewController:
Collaboration diagram for SettingsThemeViewController:

Instance Methods

(instancetype) - initWithStyle:
 Sets the navigation title to "THEME", builds the "Change Theme" commit button disabled, and seeds the selection from the theme currently in effect.
(void) - buttonCommitChange:
 Commits the picked theme by handing it to -[JubeatAppDelegate changeTheme:].
(void) - loadView
 Loads the table view and sets its row height to 42 points.

Properties

UIBarButtonItem * changeBarBtn
 The navigation-bar button that commits the picked theme.

Detailed Description

A view controller letting the player pick the game theme in the settings screen.

Method Documentation

◆ buttonCommitChange:

- (void) buttonCommitChange: (nullable id) sender

Commits the picked theme by handing it to -[JubeatAppDelegate changeTheme:].

Parameters
senderThe bar-button item that fired the action.
Ghidra address:
0x1443b4

◆ initWithStyle:

- (instancetype) initWithStyle: (UITableViewStyle) style

Sets the navigation title to "THEME", builds the "Change Theme" commit button disabled, and seeds the selection from the theme currently in effect.

Parameters
styleThe table-view style handed to UITableViewController.
Returns
The initialised controller.
Ghidra address:
0x144198
Ghidra address:
0x144198

◆ loadView

- (void) loadView

Loads the table view and sets its row height to 42 points.

Ghidra address:
0x14440c

Property Documentation

◆ changeBarBtn

- (UIBarButtonItem*) changeBarBtn
readwritenonatomicstrong

The navigation-bar button that commits the picked theme.

Backed by _changeBarBtn. Created in -initWithStyle:, wired to -buttonCommitChange:, and left disabled until the player selects a theme other than the one currently in effect.

Ghidra address:
0x1449c4 (getter)
Ghidra address:
0x1449d4 (setter)

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