Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
ui_menufield_s Struct Reference

Menu field struct. More...

#include <menufield.h>

Data Fields

ui_component_t component
 The inherited component struct.
unsigned short theme_param
 Not used but set to 1. Likely used by the widget theming module.
short unk_0x36
 Unknown. Probably padding bytes.
void(*) post_update (ui_menufield_t *self)
 Post update callback.
const ui_menu_entry_t * menu_entries
 Menu entry array.
unsigned short * current_index_p
 Borrowed reference to the memory storing the current index.
short max_x1
 Maximum text area x1 coordinate.
unsigned short menufield_flags
 Flags.
int unk_0x48
 Unknown.

Detailed Description

Menu field struct.

Field Documentation

◆ component

ui_component_t ui_menufield_s::component

The inherited component struct.

◆ current_index_p

unsigned short* ui_menufield_s::current_index_p

Borrowed reference to the memory storing the current index.

Warning
This must be a valid pointer to a 16-bit integer at all times the widget is alive.

◆ max_x1

short ui_menufield_s::max_x1

Maximum text area x1 coordinate.

Set by the constructor. Normally should not be overridden by the user.

◆ menufield_flags

unsigned short ui_menufield_s::menufield_flags

Flags.

See also
ui_menufield_flag_e

◆ post_update

void(*) ui_menufield_s::post_update(ui_menufield_t *self)

Post update callback.

Called whenever there is a new valid menu item selection.

◆ theme_param

unsigned short ui_menufield_s::theme_param

Not used but set to 1. Likely used by the widget theming module.

Todo
Actually cross-check with the theme modules.

◆ unk_0x36

short ui_menufield_s::unk_0x36

Unknown. Probably padding bytes.


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