Searched refs:scroll_value (Results 1 – 2 of 2) sorted by relevance
37 …tic void scroll_area_into_view(const lv_area_t * area, lv_obj_t * child, lv_point_t * scroll_value,683 …tic void scroll_area_into_view(const lv_area_t * area, lv_obj_t * child, lv_point_t * scroll_value, in scroll_area_into_view() argument702 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view()703 lv_coord_t bottom_diff = -(parent->coords.y2 - pbottom - area_tmp->y2 - scroll_value->y); in scroll_area_into_view()744 lv_coord_t left_diff = parent->coords.x1 + pleft - area_tmp->x1 - scroll_value->x; in scroll_area_into_view()745 lv_coord_t right_diff = -(parent->coords.x2 - pright - area_tmp->x2 - scroll_value->x); in scroll_area_into_view()793 scroll_value->x += anim_en == LV_ANIM_OFF ? 0 : x_scroll; in scroll_area_into_view()794 scroll_value->y += anim_en == LV_ANIM_OFF ? 0 : y_scroll; in scroll_area_into_view()
143 static int scroll_value = 0;147 scroll_value = lv_obj_get_scroll_top(screen);148 printf("%d pixels are scrolled out on the top\n", scroll_value);