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

Device-list and driver-selection callbacks for the Direct3D backend. More...

#include <frontend.h>

Static Public Member Functions

static int UpdateDeviceSelection (MenuWidget *pWidget)
 Draw and process the device list, updating the selected device on row activation.
static int OnSetDriver (MenuWidget *pWidget)
 Resolve the selected row's device GUID, update config, and return to video options.

Detailed Description

Device-list and driver-selection callbacks for the Direct3D backend.

Member Function Documentation

◆ UpdateDeviceSelection()

int D3DDeviceSelectUI::UpdateDeviceSelection ( MenuWidget * pWidget)
static

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

Parameters
pWidgetA non-null borrowed widget with the device list.
Returns
One.
Ghidra address:
BRD3D: 0x1003ed10

◆ OnSetDriver()

int D3DDeviceSelectUI::OnSetDriver ( MenuWidget * pWidget)
static

Resolve the selected row's device GUID, update config, and return to video options.

Device-list payload and device lookup must be valid.

Parameters
pWidgetA non-null active-screen widget, invalidated by the return transition.
Returns
Zero to end the current widget update.
Ghidra address:
BRD3D: 0x1003ecb0

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