Searched refs:scroll_x (Results 1 – 2 of 2) sorted by relevance
708 lv_coord_t scroll_x = lv_obj_get_scroll_x(obj) ; in draw_main() local728 if(rtl) cell_area.x1 = obj->coords.x2 - bg_right - 1 - scroll_x - border_width; in draw_main()729 else cell_area.x2 = obj->coords.x1 + bg_left - 1 - scroll_x + border_width; in draw_main()
371 lv_coord_t scroll_x = lv_obj_get_scroll_x(obj); in lv_obj_scroll_to_x() local372 lv_coord_t diff = -x + scroll_x; in lv_obj_scroll_to_x()