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
18
19#ifndef __MUTEKI_UI_WIDGETS_BOOLFIELD_H__
20#define __MUTEKI_UI_WIDGETS_BOOLFIELD_H__
21
22#include "../types/boolfield.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
38extern ui_boolfield_t *CreateBoolField(unsigned short tag, short x, short y, unsigned short *value, unsigned short mask);
39
52 unsigned short tag,
53 short x,
54 short y,
55 unsigned short *value,
56 unsigned short mask,
57 const UTF16 *label
58);
59
67
68#ifdef __cplusplus
69} // extern "C"
70#endif
71
72#endif // __MUTEKI_UI_WIDGETS_BOOLFIELD_H__
#define UTF16
"Portable" Besta UTF-16 type used by other headers.
Definition common.h:54
Bool field (unlabeled checkbox) and bool text field (labeled checkbox) widget type definition.
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.
void PBOOLFIELD_draw(ui_boolfield_t *self)
The default draw method.
ui_boolfield_t * CreateBoolField(unsigned short tag, short x, short y, unsigned short *value, unsigned short mask)
Create a bool field (unlabeled checkbox) widget.
ui_booltextfield_t * CreateBoolTextField(unsigned short tag, short x, short y, unsigned short *value, unsigned short mask, const UTF16 *label)
Create a bool text field (labeled checkbox) widget.