Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
controlmenu.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_CONTROLMENU_H__
12#define __MUTEKI_UI_TYPES_CONTROLMENU_H__
13
14#include "framework.h"
15#include "menu_common.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
58
63
76 unsigned short layout_mode;
80 unsigned short current_index;
94 unsigned short selection_policy;
98 unsigned short unk_0x42;
99};
100
101#ifdef __cplusplus
102} // extern "C"
103#endif
104
105#endif // __MUTEKI_UI_TYPES_BUTTON_H__
#define UTF16
"Portable" Besta UTF-16 type used by other headers.
Definition common.h:54
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.
Control menu struct.
Definition controlmenu.h:67
unsigned short current_index
Index of currently selected item.
Definition controlmenu.h:80
unsigned short selection_policy
Selection policy.
Definition controlmenu.h:94
const ui_menu_entry_t * menu_entries
Menu entry array.
Definition controlmenu.h:84
const UTF16 * menu_title_text
Title text of the pop-up menu.
Definition controlmenu.h:88
unsigned short unk_0x42
Unknown. Probably padding bytes.
Definition controlmenu.h:98
ui_component_t component
The inherited component struct.
Definition controlmenu.h:71
unsigned short layout_mode
Layout mode.
Definition controlmenu.h:76
struct ui_controlmenu_s ui_controlmenu_t
Control menu type.
Definition controlmenu.h:62
ui_controlmenu_layout_e
Control menu layout type.
Definition controlmenu.h:24
@ UI_CONTROLMENU_LAYOUT_RIGHT_HALF
Draw the control menu at the right half of the screen.
Definition controlmenu.h:56
@ UI_CONTROLMENU_LAYOUT_LEFT_HALF
Draw the control menu at the left half of the screen.
Definition controlmenu.h:36
@ UI_CONTROLMENU_LAYOUT_RIGHT_HALF_WITH_SEP
Draw the control menu at the right half of the screen with a 2-pixel separation.
Definition controlmenu.h:43
@ UI_CONTROLMENU_LAYOUT_SCREEN_WIDTH
Fill the screen horizontally.
Definition controlmenu.h:50
@ UI_CONTROLMENU_LAYOUT_ABS
Absolute X coordinates and widget height.
Definition controlmenu.h:29