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

Application-exit confirmation and root-menu return callbacks. More...

#include <frontend.h>

Static Public Member Functions

static int OnConfirmQuit (MenuWidget *pWidget)
 Back up choices, save config, shut down the front end and DirectPlay, and exit the application.
static int OnBack (MenuActionWidget *pItem)
 Destroy quit confirmation, clear its cache, and restore the root menu.

Detailed Description

Application-exit confirmation and root-menu return callbacks.

Member Function Documentation

◆ OnConfirmQuit()

int QuitGameConfirmUI::OnConfirmQuit ( MenuWidget * pWidget)
static

Back up choices, save config, shut down the front end and DirectPlay, and exit the application.

Parameters
pWidgetA non-null active-screen widget used during shutdown.
Returns
Does not return after application shutdown; the native routine has an unreachable return of one.
Ghidra address:
BRD3D: 0x10043710
Ghidra address:
BRGlide: 0x1003cc60

◆ OnBack()

int QuitGameConfirmUI::OnBack ( MenuActionWidget * pItem)
static

Destroy quit confirmation, clear its cache, and restore the root menu.

Parameters
pItemA non-null active-screen widget, invalidated when its panels are destroyed.
Returns
Zero to end the current widget update.
Ghidra address:
BRD3D: 0x100464a0
Ghidra address:
BRGlide: 0x1003f940

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