Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
menufield.h
Go to the documentation of this file.
1/*
2 * Copyright 2026 dogtopus
3 * SPDX-License-Identifier: MIT
4 */
5
10
11#ifndef __MUTEKI_UI_TYPES_MENUFIELD_H__
12#define __MUTEKI_UI_TYPES_MENUFIELD_H__
13
14#include "framework.h"
15#include "menu_common.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
37
42
55 unsigned short theme_param;
59 short unk_0x36;
73 unsigned short *current_index_p;
78 short max_x1;
83 unsigned short menufield_flags;
88};
89
90#ifdef __cplusplus
91} // extern "C"
92#endif
93
94#endif // __MUTEKI_UI_TYPES_MENUFIELD_H__
UI framework type (component, group, event) definitions.
struct ui_component_s ui_component_t
ui_component_s
Definition framework.h:71
Menu type definitions that are shared among several menu implementations.
struct ui_menu_entry_s ui_menu_entry_t
Menu entry struct used by various menu widgets.
Menu field struct.
Definition menufield.h:46
unsigned short * current_index_p
Borrowed reference to the memory storing the current index.
Definition menufield.h:73
int unk_0x48
Unknown.
Definition menufield.h:87
short max_x1
Maximum text area x1 coordinate.
Definition menufield.h:78
void(*) post_update(ui_menufield_t *self)
Post update callback.
Definition menufield.h:64
unsigned short theme_param
Not used but set to 1. Likely used by the widget theming module.
Definition menufield.h:55
short unk_0x36
Unknown. Probably padding bytes.
Definition menufield.h:59
unsigned short menufield_flags
Flags.
Definition menufield.h:83
ui_component_t component
The inherited component struct.
Definition menufield.h:50
const ui_menu_entry_t * menu_entries
Menu entry array.
Definition menufield.h:68
struct ui_menufield_s ui_menufield_t
Menu field type.
Definition menufield.h:41
ui_menufield_flag_e
Menu field flags.
Definition menufield.h:24
@ UI_MENUFIELD_FILEPICKER
Set by the file picker user. Purpose unclear.
Definition menufield.h:35
@ UI_MENUFIELD_FLAG_NOTIFY
Notify others of a new selection.
Definition menufield.h:31