Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_label.h31 #define LV_LABEL_DOT_NUM 3 macro
35 LV_EXPORT_CONST_INT(LV_LABEL_DOT_NUM);
58 char tmp[LV_LABEL_DOT_NUM + 1]; /*Directly store the characters if <=4 characters*/
Dlv_label.c1110 …else if(_lv_txt_get_encoded_length(label->text) <= LV_LABEL_DOT_NUM) { /*Don't turn to dots all … in lv_label_refr_text()
1118 LV_LABEL_DOT_NUM; /*Shrink with dots*/ in lv_label_refr_text()
1136 while(byte_id + LV_LABEL_DOT_NUM > txt_len) { in lv_label_refr_text()
1145 for(i = 0; i <= LV_LABEL_DOT_NUM; i++) { in lv_label_refr_text()
1148 if(len > LV_LABEL_DOT_NUM || byte_id > txt_len) { in lv_label_refr_text()
1154 for(i = 0; i < LV_LABEL_DOT_NUM; i++) { in lv_label_refr_text()
1157 label->text[byte_id_ori + LV_LABEL_DOT_NUM] = '\0'; in lv_label_refr_text()
1158 label->dot_end = letter_id + LV_LABEL_DOT_NUM; in lv_label_refr_text()
1176 uint32_t letter_i = label->dot_end - LV_LABEL_DOT_NUM; in lv_label_revert_dots()