Display-mode list and configuration callbacks for the video-options screen.
More...
#include <frontend.h>
|
| static int | UpdateModeSelection (MenuWidget *pWidget) |
| | Draw and process the mode list, updating the selected mode on row activation.
|
| static int | OnSetMode (MenuWidget *pWidget) |
| | Apply the chosen display mode to the configuration and return to the video options.
|
Display-mode list and configuration callbacks for the video-options screen.
◆ UpdateModeSelection()
| int DisplayModeSelectUI::UpdateModeSelection |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Draw and process the mode list, updating the selected mode on row activation.
- Parameters
-
| pWidget | A non-null borrowed widget with the display-mode list. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x1003edf0
- Ghidra address:
- BRGlide: 0x10038320
◆ OnSetMode()
| int DisplayModeSelectUI::OnSetMode |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Apply the chosen display mode to the configuration and return to the video options.
- Parameters
-
| pWidget | A non-null active-screen widget, invalidated by the return transition. Selected list payload and display-mode references must be valid. |
- Returns
- 0.
- Ghidra address:
- BRD3D: 0x1003ed40
- Ghidra address:
- BRGlide: 0x100382d0
The documentation for this class was generated from the following file: