Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
boolfield.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_BOOLFIELD_H__
12#define __MUTEKI_UI_TYPES_BOOLFIELD_H__
13
14#include "framework.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
23typedef struct ui_boolfield_s {
32 unsigned short theme_param;
36 short unk_0x36;
40 unsigned short mask;
44 short unk_0x3a;
48 unsigned short *value;
53 const UTF16 *label;
55
59typedef struct ui_booltextfield_s {
62 */
67 short label_x0;
71 short label_x1;
77 unsigned short font_type;
81 short unk_0x4a;
83
84#ifdef __cplusplus
85} // extern "C"
86#endif
87
88#endif // __MUTEKI_UI_TYPES_BOOLFIELD_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
Bool field (unlabeled checkbox) widget struct.
Definition boolfield.h:23
unsigned short theme_param
Not used but set to 1. Likely used by the widget theming module.
Definition boolfield.h:32
unsigned short mask
Bitmask used to toggle the bits in the value bitfield.
Definition boolfield.h:40
unsigned short * value
Borrowed value bitfield.
Definition boolfield.h:48
const UTF16 * label
Text label.
Definition boolfield.h:53
ui_component_t component
The inherited component struct.
Definition boolfield.h:27
short unk_0x3a
Unknown. Seems unused.
Definition boolfield.h:44
short unk_0x36
Unknown. Seems unused.
Definition boolfield.h:36
Bool text field (labeled checkbox) widget struct.
Definition boolfield.h:62
short unk_0x4a
Unknown. Probably padding bytes.
Definition boolfield.h:81
ui_boolfield_t bf
The inherited ui_boolfield_t struct.
Definition boolfield.h:66
short label_x0
Text label start X coordinate.
Definition boolfield.h:70
short label_x1
Text label end X coordinate.
Definition boolfield.h:74
unsigned short font_type
Font type.
Definition boolfield.h:80
struct ui_booltextfield_s ui_booltextfield_t
Bool text field (labeled checkbox) widget struct.
struct ui_boolfield_s ui_boolfield_t
Bool field (unlabeled checkbox) widget struct.