Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/widgets/
Dlv_dropdown.c226 uint32_t insert_pos = old_len; in lv_dropdown_add_option() local
229 for(insert_pos = 0; dropdown->options[insert_pos] != 0; insert_pos++) { in lv_dropdown_add_option()
232 if(dropdown->options[insert_pos] == '\n') in lv_dropdown_add_option()
238 if((insert_pos > 0) && (pos >= dropdown->option_cnt)) in lv_dropdown_add_option()
239 …_lv_txt_ins(dropdown->options, _lv_txt_encoded_get_char_id(dropdown->options, insert_pos++), "\n"); in lv_dropdown_add_option()
252 …_lv_txt_ins(dropdown->options, _lv_txt_encoded_get_char_id(dropdown->options, insert_pos), ins_buf… in lv_dropdown_add_option()