Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c446 void lv_obj_get_scrollbar_area(lv_obj_t * obj, lv_area_t * hor_area, lv_area_t * ver_area) in lv_obj_get_scrollbar_area() argument
449 lv_area_set(ver_area, 0, 0, -1, -1); in lv_obj_get_scrollbar_area()
515 ver_area->y1 = obj->coords.y1; in lv_obj_get_scrollbar_area()
516 ver_area->y2 = obj->coords.y2; in lv_obj_get_scrollbar_area()
518 ver_area->x1 = obj->coords.x1 + left_space; in lv_obj_get_scrollbar_area()
519 ver_area->x2 = ver_area->x1 + tickness - 1; in lv_obj_get_scrollbar_area()
522 ver_area->x2 = obj->coords.x2 - right_space; in lv_obj_get_scrollbar_area()
523 ver_area->x1 = ver_area->x2 - tickness + 1; in lv_obj_get_scrollbar_area()
532 ver_area->y1 = obj->coords.y1 + top_space; in lv_obj_get_scrollbar_area()
533 ver_area->y2 = obj->coords.y2 - bottom_space - hor_req_space - 1; in lv_obj_get_scrollbar_area()
[all …]
Dlv_obj.c259 lv_area_t hor_area, ver_area; in lv_obj_add_flag() local
260 lv_obj_get_scrollbar_area(obj, &hor_area, &ver_area); in lv_obj_add_flag()
262 lv_obj_invalidate_area(obj, &ver_area); in lv_obj_add_flag()
272 lv_area_t hor_area, ver_area; in lv_obj_clear_flag() local
273 lv_obj_get_scrollbar_area(obj, &hor_area, &ver_area); in lv_obj_clear_flag()
275 lv_obj_invalidate_area(obj, &ver_area); in lv_obj_clear_flag()
635 lv_area_t ver_area; in draw_scrollbar() local
636 lv_obj_get_scrollbar_area(obj, &hor_area, &ver_area); in draw_scrollbar()
638 if(lv_area_get_size(&hor_area) <= 0 && lv_area_get_size(&ver_area) <= 0) return; in draw_scrollbar()
657 if(lv_area_get_size(&ver_area) > 0) { in draw_scrollbar()
[all …]