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_WIDGETS_MENUFIELD_H__
12#define __MUTEKI_UI_WIDGETS_MENUFIELD_H__
13
14#include "../types/menufield.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
34 unsigned short tag,
35 short x,
36 short y,
37 unsigned short *index_p,
38 const ui_menu_entry_t *entries,
39 unsigned short flags
40);
41
49
58
59#ifdef __cplusplus
60} // extern "C"
61#endif
62
63#endif // __MUTEKI_UI_WIDGETS_MENUFIELD_H__
struct ui_event_std_s ui_event_t
ui_event_std_s
Definition framework.h:96
struct ui_menu_entry_s ui_menu_entry_t
Menu entry struct used by various menu widgets.
Menu field widget type definition.
struct ui_menufield_s ui_menufield_t
Menu field type.
Definition menufield.h:41
void PMENUFIELD_handleEvent(ui_menufield_t *self, ui_event_t *event)
Default event handler of menu field.
ui_menufield_t * CreateMenuField(unsigned short tag, short x, short y, unsigned short *index_p, const ui_menu_entry_t *entries, unsigned short flags)
Create a menu field widget.
void PMENUFIELD_draw(ui_menufield_t *self)
Default draw callback of menu field.