A panel of a screen of the front end.
More...
#include <frontend.h>
A panel of a screen of the front end.
◆ MenuPanel()
Clear widget pointers and panel selections.
- Ghidra address:
- BRD3D: 0x10048470
- Ghidra address:
- BRGlide: 0x100418c0
◆ ~MenuPanel()
| virtual MenuPanel::~MenuPanel |
( |
| ) |
|
|
virtual |
Destroy the panel without deleting its widget pointers.
- Ghidra address:
- BRD3D: 0x100484e0
- Ghidra address:
- BRGlide: 0x10041930
◆ RestoreSelection()
| int MenuPanel::RestoreSelection |
( |
| ) |
|
Clamp the saved menu hover index to this panel's navigation range and select it.
- Returns
- One.
- Ghidra address:
- BRD3D: 0x100484f0
- Ghidra address:
- BRGlide: 0x10041940
◆ RunFrame()
| virtual bool MenuPanel::RunFrame |
( |
| ) |
|
|
virtual |
Run a frame of every item of the panel.
- Returns
- Whether the panel still runs.
- Ghidra address:
- BRD3D: 0x10048530
- Ghidra address:
- BRGlide: 0x10041980
◆ SetBeforeWidgetsCallback()
| void MenuPanel::SetBeforeWidgetsCallback |
( |
int(* | callback )(void) | ) |
|
|
inline |
Set the callback invoked before panel widgets run.
◆ SetAfterWidgetsCallback()
| void MenuPanel::SetAfterWidgetsCallback |
( |
int(* | callback )(void) | ) |
|
|
inline |
Set the callback invoked after panel widgets run.
◆ SetFlags()
| int MenuPanel::SetFlags |
( |
int | value | ) |
|
|
inline |
◆ GetWidgetCount()
| unsigned short MenuPanel::GetWidgetCount |
( |
| ) |
const |
|
inline |
- Returns
- The number of widgets in the panel.
◆ SetWidgetCount()
| unsigned short MenuPanel::SetWidgetCount |
( |
unsigned short | value | ) |
|
|
inline |
Replace the number of widgets in the panel.
◆ GetWidget()
| MenuWidget * MenuPanel::GetWidget |
( |
int | index | ) |
const |
|
inline |
- Returns
- The widget at
index.
◆ SetWidget()
Replace the widget at index.
◆ GetX()
| float MenuPanel::GetX |
( |
| ) |
const |
|
inline |
- Returns
- The panel's horizontal position.
◆ SetX()
| float MenuPanel::SetX |
( |
float | value | ) |
|
|
inline |
Set the panel's horizontal position.
◆ GetY()
| float MenuPanel::GetY |
( |
| ) |
const |
|
inline |
- Returns
- The panel's vertical position.
◆ SetY()
| float MenuPanel::SetY |
( |
float | value | ) |
|
|
inline |
Set the panel's vertical position.
◆ SetScreen()
Associate the panel with screen.
◆ GetNavigationCount()
| unsigned short MenuPanel::GetNavigationCount |
( |
| ) |
const |
|
inline |
- Returns
- The number of navigable widgets.
◆ SetNavigationCount()
| unsigned short MenuPanel::SetNavigationCount |
( |
unsigned short | value | ) |
|
|
inline |
Replace the number of navigable widgets.
The documentation for this class was generated from the following file: