Searched refs:hor_area (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/core/ |
D | lv_obj_scroll.c | 446 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 448 lv_area_set(hor_area, 0, 0, -1, -1); in lv_obj_get_scrollbar_area() 559 hor_area->y2 = obj->coords.y2 - bottom_space; in lv_obj_get_scrollbar_area() 560 hor_area->y1 = hor_area->y2 - tickness + 1; in lv_obj_get_scrollbar_area() 561 hor_area->x1 = obj->coords.x1; in lv_obj_get_scrollbar_area() 562 hor_area->x2 = obj->coords.x2; 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() 572 hor_area->x2 = obj->coords.x2 - right_space; in lv_obj_get_scrollbar_area() 575 hor_area->x1 = obj->coords.x1 + left_space; 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() [all …]
|
D | lv_obj.c | 259 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() 261 lv_obj_invalidate_area(obj, &hor_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() 274 lv_obj_invalidate_area(obj, &hor_area); in lv_obj_clear_flag() 634 lv_area_t hor_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() 651 if(lv_area_get_size(&hor_area) > 0) { in draw_scrollbar() [all …]
|