|
persona-3-dual
A DS demake of Persona 3
|
#include <MainMenu.hpp>


Static Public Member Functions | |
| static void | create () |
| static void | destroy () |
| static MainMenu * | getInstance () |
Public Attributes | |
| char | versionLabel [16] {} |
Private Member Functions | |
| MainMenu () | |
| virtual | ~MainMenu ()=default |
| ViewState | mainMenuOptionSelected () |
| ViewState | levelOptionSelected () |
| ViewState | settingOptionSelected () |
| void | resetHook () override |
| Used to set the default pauseMessage and options values. | |
| void | closeHook () override |
| Execute logic after the root menu is exited. | |
| void | updateSave () |
Private Attributes | |
| MenuOption | mainMenuOptions [3] |
| MenuOption | levelOptions [6] |
| MenuOption | settingOptions [1] |
Static Private Attributes | |
| static MainMenu * | instance = nullptr |
Additional Inherited Members | |
| Public Member Functions inherited from UIMenu | |
| UIMenu (bool iCustomRender=false) | |
| Construct a new UIMenu. | |
| virtual void | resetMenu () |
| Resets the menu to its initial state. | |
| virtual ViewState | updateHook () |
| Optional hook to call during the update loop. | |
| void | updateAnimation () |
| int | selectionOffset () const |
| int | getSelectedOption () const |
| Gets the index of the selected option. | |
| int | getStartIndex () const |
| Gets the index of the first visible option. | |
| etl::span< MenuOption > | getOptions () const |
| Gets the options of the active menu. | |
| void | setVisibleOptions (int count) |
| Sets the visible option count of a custom render menu, as UISystem only sets it for the menus it draws. | |
| Protected Member Functions inherited from UIMenu | |
| ViewState | changeMenu (etl::span< MenuOption > newOptions) |
| Changes the active menu. | |
| Protected Attributes inherited from UIMenu | |
| std::string | pauseMessage = "Pause" |
| bool | isActive = false |
| TextComponent * | text = nullptr |
| etl::span< MenuOption > | options |
| int | selectedOption = 0 |
| int | startIndex = 0 |
Definition at line 25 of file MainMenu.hpp.
|
inlineprivate |
|
overrideprivatevirtual |
Execute logic after the root menu is exited.
Implements UIMenu.
Definition at line 41 of file MainMenu.cpp.

|
static |
Definition at line 9 of file MainMenu.cpp.


|
static |
Definition at line 17 of file MainMenu.cpp.
|
static |
Definition at line 26 of file MainMenu.cpp.


|
private |
Definition at line 71 of file MainMenu.cpp.
|
private |
|
overrideprivatevirtual |
Used to set the default pauseMessage and options values.
Implements UIMenu.
Definition at line 35 of file MainMenu.cpp.
|
private |
Definition at line 101 of file MainMenu.cpp.
|
private |
Definition at line 114 of file MainMenu.cpp.
|
privatevirtualdefault |
|
staticprivate |
Definition at line 30 of file MainMenu.hpp.
|
private |
Definition at line 38 of file MainMenu.hpp.
|
private |
Definition at line 32 of file MainMenu.hpp.
|
private |
Definition at line 47 of file MainMenu.hpp.
| char MainMenu::versionLabel[16] {} |
Definition at line 63 of file MainMenu.hpp.