Home
last modified time | relevance | path

Searched refs:LV_LABEL_DOT_NUM (Results 1 – 3 of 3) sorted by relevance

/lvgl-latest/src/widgets/label/
Dlv_label.h30 #define LV_LABEL_DOT_NUM 3 macro
39 LV_EXPORT_CONST_INT(LV_LABEL_DOT_NUM);
Dlv_label_private.h34 char dot[LV_LABEL_DOT_NUM + 1]; /**< Bytes that have been replaced with dots */
Dlv_label.c1162 …lv_text_get_encoded_length(label->text) > LV_LABEL_DOT_NUM) { /*Do not turn all characters into do… in lv_label_refr_text()
1167 LV_LABEL_DOT_NUM; /*Shrink with dots*/ in lv_label_refr_text()
1185 while(byte_id + LV_LABEL_DOT_NUM > txt_len) { in lv_label_refr_text()
1205 for(int i = 0; i < LV_LABEL_DOT_NUM + 1 && label->dot[i]; i++) { in lv_label_revert_dots()
1218 lv_strncpy(label->dot, &label->text[dot_begin], LV_LABEL_DOT_NUM + 1); in lv_label_set_dots()
1223 for(; i < LV_LABEL_DOT_NUM && label->text[dot_begin + i]; i++) { in lv_label_set_dots()