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

Menu entry struct used by various menu widgets. More...

#include <menu_common.h>

Data Structures

union  [union].__unnamed0__

Data Fields

union  
unsigned int event
 Event value emitted when selected.
unsigned short attributes
 Attributes.
short unk_0x36
 Unknown. Probably padding bytes.

Detailed Description

Menu entry struct used by various menu widgets.

Normally should be used in an empty-record-terminated array. For example:

const ui_menu_entry_t MENU[] = {
{ .label_wide = _BUL("Item"), .event = 0x10000, .attributes = 0 },
{ .label_wide = _BUL(""), .event = 0, .attributes = 0 }, // or UI_MENU_ENTRY_END
};
#define _BUL(x)
Besta UTF-16 string literal.
Definition common.h:61
struct ui_menu_entry_s ui_menu_entry_t
Menu entry struct used by various menu widgets.

ui_menu_entry_s::attributes defines extra attributes that apply to the menu entries. Some attributes are exclusive to certain subtype of menu widgets.

Field Documentation

◆ attributes

unsigned short ui_menu_entry_s::attributes

Attributes.

See also
ui_menu_entry_attribute_e

◆ unk_0x36

short ui_menu_entry_s::unk_0x36

Unknown. Probably padding bytes.


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