Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c503 lv_coord_t ver_reg_space = ver_draw ? tickness : 0; in lv_obj_get_scrollbar_area() local
564 lv_coord_t sb_w = ((obj_w - left_space - right_space - ver_reg_space) * obj_w) / content_w; in lv_obj_get_scrollbar_area()
566 rem = (obj_w - left_space - right_space - ver_reg_space) - in lv_obj_get_scrollbar_area()
571 hor_area->x1 = obj->coords.x1 + left_space + ver_reg_space - 1; in lv_obj_get_scrollbar_area()
576 hor_area->x2 = obj->coords.x2 - right_space - ver_reg_space - 1; in lv_obj_get_scrollbar_area()
584 hor_area->x1 = obj->coords.x1 + sb_x + left_space + ver_reg_space; in lv_obj_get_scrollbar_area()
586 if(hor_area->x1 < obj->coords.x1 + left_space + ver_reg_space) { in lv_obj_get_scrollbar_area()
587 hor_area->x1 = obj->coords.x1 + left_space + ver_reg_space; in lv_obj_get_scrollbar_area()
608 if(hor_area->x2 > obj->coords.x2 - ver_reg_space - right_space) { in lv_obj_get_scrollbar_area()
609 hor_area->x2 = obj->coords.x2 - ver_reg_space - right_space; in lv_obj_get_scrollbar_area()