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

Text-entry and network-provider presentation callbacks for the connection menu. More...

#include <frontend.h>

Static Public Member Functions

static int OnToggleTextEdit (MenuWidget *pWidget)
 Begin text editing and toggle the primary caret when no menu text edit is active.
static int UpdateServiceProviderImage (MenuWidget *pWidget)
 Select the sprite for the current network service provider.
static int UpdateServiceProviderLabel (MenuWidget *pWidget)
 Refresh and measure the provider label, then process its text-input update.

Detailed Description

Text-entry and network-provider presentation callbacks for the connection menu.

Member Function Documentation

◆ OnToggleTextEdit()

int ConnectionUI::OnToggleTextEdit ( MenuWidget * pWidget)
static

Begin text editing and toggle the primary caret when no menu text edit is active.

Parameters
pWidgetA non-null borrowed widget with primary text storage.
Returns
One, including when editing was already active.
Ghidra address:
BRD3D: 0x10042ac0
Ghidra address:
BRGlide: 0x1003c020

◆ UpdateServiceProviderImage()

int ConnectionUI::UpdateServiceProviderImage ( MenuWidget * pWidget)
static

Select the sprite for the current network service provider.

Parameters
pWidgetThe non-null borrowed provider-image widget.
Returns
One.
Ghidra address:
BRD3D: 0x10040930
Ghidra address:
BRGlide: 0x10039e70

◆ UpdateServiceProviderLabel()

int ConnectionUI::UpdateServiceProviderLabel ( MenuWidget * pWidget)
static

Refresh and measure the provider label, then process its text-input update.

Parameters
pWidgetThe non-null borrowed label widget with primary text storage.
Returns
One.
Ghidra address:
BRD3D: 0x1003fc40
Ghidra address:
BRGlide: 0x10039180

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