Muteki
EABI code execution on Besta® RTOS devices.
Toggle main menu visibility
Loading...
Searching...
No Matches
static.h
Go to the documentation of this file.
1
/*
2
* Copyright 2026 dogtopus
3
* SPDX-License-Identifier: MIT
4
*/
5
29
30
#ifndef __MUTEKI_UI_WIDGETS_STATIC_H__
31
#define __MUTEKI_UI_WIDGETS_STATIC_H__
32
33
#include "
../types/static.h
"
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
61
extern
ui_static_t
*
CreateStatic
(
62
unsigned
short
tag,
63
short
x0,
64
short
y0,
65
short
x1,
66
short
y1,
67
const
UTF16
*text,
68
unsigned
short
font_type,
69
unsigned
int
text_color,
70
unsigned
int
text_options,
71
unsigned
int
style_options
72
);
73
80
static
inline
unsigned
int
ui_static_text_options
(
unsigned
short
text_flags,
short
left_inset) {
81
return
text_flags | (left_inset << 16);
82
}
83
84
#ifdef __cplusplus
85
}
// extern "C"
86
#endif
87
88
#endif
// __MUTEKI_UI_WIDGETS_STATIC_H__
UTF16
#define UTF16
"Portable" Besta UTF-16 type used by other headers.
Definition
common.h:54
static.h
Static text field (single-line label) widget type definition.
ui_static_t
struct ui_static_s ui_static_t
Static text field widget struct.
ui_static_text_options
static unsigned int ui_static_text_options(unsigned short text_flags, short left_inset)
Format the text_options parameter of the CreateStatic() syscall.
Definition
static.h:80
CreateStatic
ui_static_t * CreateStatic(unsigned short tag, short x0, short y0, short x1, short y1, const UTF16 *text, unsigned short font_type, unsigned int text_color, unsigned int text_options, unsigned int style_options)
Create a static text field widget.
include
muteki
ui
widgets
static.h
Generated by
1.18.0