Application-exit confirmation and root-menu return callbacks.
More...
#include <frontend.h>
|
| 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.
|
Application-exit confirmation and root-menu return callbacks.
◆ OnConfirmQuit()
| int QuitGameConfirmUI::OnConfirmQuit |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Back up choices, save config, shut down the front end and DirectPlay, and exit the application.
- Parameters
-
| pWidget | A 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()
Destroy quit confirmation, clear its cache, and restore the root menu.
- Parameters
-
| pItem | A 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: