Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_textarea.h66 uint8_t one_line : 1; /*One line mode (ignore line breaks)*/ member
Dlv_textarea.c106 if(ta->one_line && (c == '\n' || c == '\r')) { in lv_textarea_add_char()
473 if(ta->one_line == en) return; in lv_textarea_set_one_line()
475 ta->one_line = en ? 1U : 0U; in lv_textarea_set_one_line()
645 return ta->one_line == 1U; in lv_textarea_get_one_line()
823 ta->one_line = 0; in lv_textarea_constructor()
1078 (ta->one_line == 0 && align != LV_TEXT_ALIGN_RIGHT)) { in refr_cursor_area()
1281 if(ta->one_line) ph_dsc.flag |= LV_TEXT_FLAG_EXPAND; in draw_placeholder()