Searched refs:cur_pos (Results 1 – 2 of 2) sorted by relevance
500 uint8_t cur_pos = (uint8_t)spinbox->digit_count; in lv_spinbox_updatevalue() local503 cur_pos--; in lv_spinbox_updatevalue()506 if(cur_pos > intDigits) cur_pos++; /*Skip the decimal point*/ in lv_spinbox_updatevalue()508 cur_pos -= cur_shift_left; in lv_spinbox_updatevalue()510 lv_textarea_set_cursor_pos(obj, cur_pos); in lv_spinbox_updatevalue()
216 uint32_t cur_pos = ta->cursor.pos; in lv_textarea_del_char() local218 if(cur_pos == 0) return; in lv_textarea_del_char()362 lv_point_t cur_pos; in lv_textarea_set_cursor_pos() local364 lv_label_get_letter_pos(ta->label, pos, &cur_pos); in lv_textarea_set_cursor_pos()370 if(cur_pos.y < lv_obj_get_scroll_top(obj)) { in lv_textarea_set_cursor_pos()371 lv_obj_scroll_to_y(obj, cur_pos.y, LV_ANIM_ON); in lv_textarea_set_cursor_pos()375 if(cur_pos.y + font_h - lv_obj_get_scroll_top(obj) > h) { in lv_textarea_set_cursor_pos()376 lv_obj_scroll_to_y(obj, cur_pos.y - h + font_h, LV_ANIM_ON); in lv_textarea_set_cursor_pos()380 if(cur_pos.x < lv_obj_get_scroll_left(obj)) { in lv_textarea_set_cursor_pos()381 lv_obj_scroll_to_x(obj, cur_pos.x, LV_ANIM_ON); in lv_textarea_set_cursor_pos()[all …]