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

Lap selection, timing labels, and submenu callbacks for race-results information. More...

#include <frontend.h>

Static Public Member Functions

static int OnSelectLap1 (MenuWidget *pWidget)
 Select the first lap's recorded time for results display.
static int OnSelectLap2 (MenuWidget *pWidget)
 Select the second lap's recorded time for results display.
static int OnSelectLap3 (MenuWidget *pWidget)
 Select the third lap's recorded time for results display.
static int OnSelectTotalTime (MenuWidget *pWidget)
 Select the complete race time for results display.
static int OnOpenOptions (MenuActionWidget *pItem)
 Open Options and install its return callback to race-results information.
static int OnOpenSaveSeason (MenuActionWidget *pItem)
 Open season saving and install its return callback to race-results information.
static int UpdateSelectedTimeLabel (MenuWidget *pWidget)
 Format and draw the selected lap or complete race time using the primary font.

Detailed Description

Lap selection, timing labels, and submenu callbacks for race-results information.

Member Function Documentation

◆ OnSelectLap1()

int RaceResultsInfoUI::OnSelectLap1 ( MenuWidget * pWidget)
static

Select the first lap's recorded time for results display.

Parameters
pWidgetThe unused widget pointer, possibly null.
Returns
One.
Ghidra address:
BRD3D: 0x100412c0
Ghidra address:
BRGlide: 0x1003a820

◆ OnSelectLap2()

int RaceResultsInfoUI::OnSelectLap2 ( MenuWidget * pWidget)
static

Select the second lap's recorded time for results display.

Parameters
pWidgetThe unused widget pointer, possibly null.
Returns
One.
Ghidra address:
BRD3D: 0x100412d0
Ghidra address:
BRGlide: 0x1003a830

◆ OnSelectLap3()

int RaceResultsInfoUI::OnSelectLap3 ( MenuWidget * pWidget)
static

Select the third lap's recorded time for results display.

Parameters
pWidgetThe unused widget pointer, possibly null.
Returns
One.
Ghidra address:
BRD3D: 0x100412e0
Ghidra address:
BRGlide: 0x1003a840

◆ OnSelectTotalTime()

int RaceResultsInfoUI::OnSelectTotalTime ( MenuWidget * pWidget)
static

Select the complete race time for results display.

Parameters
pWidgetThe unused widget pointer, possibly null.
Returns
One.
Ghidra address:
BRD3D: 0x100412f0
Ghidra address:
BRGlide: 0x1003a850

◆ OnOpenOptions()

int RaceResultsInfoUI::OnOpenOptions ( MenuActionWidget * pItem)
static

Open Options and install its return callback to race-results information.

Parameters
pItemThe unused widget forwarded to ShowOptionsMenu(), possibly null.
Returns
One without propagating the screen-opening result.
Ghidra address:
BRD3D: 0x10045800
Ghidra address:
BRGlide: 0x1003ec90

◆ OnOpenSaveSeason()

int RaceResultsInfoUI::OnOpenSaveSeason ( MenuActionWidget * pItem)
static

Open season saving and install its return callback to race-results information.

Parameters
pItemThe unused widget forwarded to ShowSaveSeasonScreen(), possibly null.
Returns
One without propagating the screen-opening result.
Ghidra address:
BRD3D: 0x10045820
Ghidra address:
BRGlide: 0x1003ecb0

◆ UpdateSelectedTimeLabel()

int RaceResultsInfoUI::UpdateSelectedTimeLabel ( MenuWidget * pWidget)
static

Format and draw the selected lap or complete race time using the primary font.

Parameters
pWidgetA non-null borrowed label widget; the selected lap must be in 0..3.
Returns
One after drawing a time or the missing-time placeholder.
Ghidra address:
BRD3D: 0x10040ee0
Ghidra address:
BRGlide: 0x1003a420

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