#include "utf8range.h"
#include "utils.h"
Go to the source code of this file.
◆ CenterJustified
◆ DECLARE_FONT_BUFFER
| #define DECLARE_FONT_BUFFER |
( |
|
name, |
|
|
|
buffer, |
|
|
|
... |
|
) |
| |
Value: struct TEEUI_FONT_##
name {}; \
inline FontBuffer getFont(TEEUI_FONT_##
name) {
return FontBuffer(buffer, ##__VA_ARGS__); }
char * name
Definition: libf2fs.c:1403
◆ DefaultText
| #define DefaultText |
( |
|
text | ) |
static const constexpr char label_text[] = text |
◆ Font
| #define Font |
( |
|
fontbuffer | ) |
static const constexpr auto label_font = fontbuffer |
◆ FONT
| #define FONT |
( |
|
name | ) |
TEEUI_FONT_##name() |
◆ FontSize
| #define FontSize |
( |
|
fs | ) |
static const constexpr auto label_font_size = fs |
◆ HeightFromLines
| #define HeightFromLines (label_line_height * pxs(label_number_of_lines)) |
◆ HorizontalTextAlignment
| #define HorizontalTextAlignment |
( |
|
horizontalAligment | ) |
static const constexpr Alignment label_horizontal_text_alignment = horizontalAligment; |
◆ LeftJustified
◆ LineHeight
| #define LineHeight |
( |
|
height | ) |
static const constexpr auto label_line_height = height |
◆ NumberOfLines
| #define NumberOfLines |
( |
|
lines | ) |
static const constexpr auto label_number_of_lines = lines |
◆ RightJustified
◆ TextColor
| #define TextColor |
( |
|
color | ) |
static const constexpr auto label_text_color = color |
◆ TextID
| #define TextID |
( |
|
tid | ) |
static const constexpr uint64_t text_id = tid |
◆ VerticallyCentered
◆ VerticallyTop
◆ VerticalTextAlignment
| #define VerticalTextAlignment |
( |
|
verticalAligment | ) |
static const constexpr Alignment label_vertical_text_alignment = verticalAligment; |