Muteki
EABI code execution on Besta® RTOS devices.
Toggle main menu visibility
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
25
extern
"C"
{
26
#endif
27
38
extern
ui_boolfield_t
*
CreateBoolField
(
unsigned
short
tag,
short
x,
short
y,
unsigned
short
*value,
unsigned
short
mask);
39
51
extern
ui_booltextfield_t
*
CreateBoolTextField
(
52
unsigned
short
tag,
53
short
x,
54
short
y,
55
unsigned
short
*value,
56
unsigned
short
mask,
57
const
UTF16
*label
58
);
59
66
extern
void
PBOOLFIELD_draw
(
ui_boolfield_t
*self);
67
68
#ifdef __cplusplus
69
}
// extern "C"
70
#endif
71
72
#endif
// __MUTEKI_UI_WIDGETS_BOOLFIELD_H__
UTF16
#define UTF16
"Portable" Besta UTF-16 type used by other headers.
Definition
common.h:54
boolfield.h
Bool field (unlabeled checkbox) and bool text field (labeled checkbox) widget type definition.
ui_booltextfield_t
struct ui_booltextfield_s ui_booltextfield_t
Bool text field (labeled checkbox) widget struct.
ui_boolfield_t
struct ui_boolfield_s ui_boolfield_t
Bool field (unlabeled checkbox) widget struct.
PBOOLFIELD_draw
void PBOOLFIELD_draw(ui_boolfield_t *self)
The default draw method.
CreateBoolField
ui_boolfield_t * CreateBoolField(unsigned short tag, short x, short y, unsigned short *value, unsigned short mask)
Create a bool field (unlabeled checkbox) widget.
CreateBoolTextField
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.
include
muteki
ui
widgets
boolfield.h
Generated by
1.18.0