Home
last modified time | relevance | path

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

/lvgl-latest/src/core/
Dlv_obj_scroll.c515 int32_t obj_h = lv_obj_get_height(obj); in lv_obj_get_scrollbar_area() local
529 int32_t content_h = obj_h + st + sb; in lv_obj_get_scrollbar_area()
542 int32_t sb_h = ((obj_h - top_space - bottom_space - hor_req_space) * obj_h) / content_h; in lv_obj_get_scrollbar_area()
544 sb_h = LV_MIN(sb_h, obj_h); /*Limit scrollbar length to parent height*/ in lv_obj_get_scrollbar_area()
545 rem = (obj_h - top_space - bottom_space - hor_req_space) - in lv_obj_get_scrollbar_area()
547 … int32_t scroll_h = content_h - obj_h; /*The size of the content which can be really scrolled*/ in lv_obj_get_scrollbar_area()