coastline 0.0.4
Loading...
Searching...
No Matches
DisplayModeSelectUI Class Reference

Display-mode list and configuration callbacks for the video-options screen. More...

#include <frontend.h>

Static Public Member Functions

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.

Detailed Description

Display-mode list and configuration callbacks for the video-options screen.

Member Function Documentation

◆ UpdateModeSelection()

int DisplayModeSelectUI::UpdateModeSelection ( MenuWidget * pWidget)
static

Draw and process the mode list, updating the selected mode on row activation.

Parameters
pWidgetA 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
pWidgetA 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: