lv_label_private.h

struct _lv_label_t

Public Members

lv_obj_t obj
char *text
char dot[3 + 1]

Bytes that have been replaced with dots

uint32_t dot_begin

Offset where bytes have been replaced with dots

lv_draw_label_hint_t hint
uint32_t sel_start
uint32_t sel_end
lv_point_t size_cache

Text size cache

lv_point_t offset

Text draw position offset

lv_label_long_mode_t long_mode

Determine what to do with the long texts

uint8_t static_txt

Flag to indicate the text is static

uint8_t recolor

Enable in-line letter re-coloring

uint8_t expand

Ignore real width (used by the library with LV_LABEL_LONG_MODE_SCROLL)

uint8_t invalid_size_cache

1: Recalculate size and update cache