Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/widgets/
Dlv_textarea.c103 const char * letter_buf; in lv_textarea_add_char() local
109 letter_buf = (char *)&u32_buf; in lv_textarea_add_char()
112 if(c != 0) while(*letter_buf == 0) ++letter_buf; in lv_textarea_add_char()
115 lv_res_t res = insert_handler(obj, letter_buf); in lv_textarea_add_char()
138 lv_label_ins_text(ta->label, ta->cursor.pos, letter_buf); /*Insert the character*/ in lv_textarea_add_char()
142 …ta->pwd_tmp = lv_mem_realloc(ta->pwd_tmp, strlen(ta->pwd_tmp) + strlen(letter_buf) + 1); /*+2: the… in lv_textarea_add_char()
146 _lv_txt_ins(ta->pwd_tmp, ta->cursor.pos, (const char *)letter_buf); in lv_textarea_add_char()
1323 char letter_buf[8] = {0}; in draw_cursor() local
1324 …lv_memcpy(letter_buf, &txt[ta->cursor.txt_byte_pos], _lv_txt_encoded_size(&txt[ta->cursor.txt_byte… in draw_cursor()
1337 lv_draw_label(draw_ctx, &cur_label_dsc, &cur_area, letter_buf, NULL); in draw_cursor()