Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/
Dlv_draw_rect.c53 dsc->border_side = LV_BORDER_SIDE_FULL; in lv_draw_rect_dsc_init()
Dlv_draw_rect.h54 lv_border_side_t border_side : 5; member
/lvgl-3.7.0/src/draw/nxp/vglite/
Dlv_draw_vglite.c408 rel_coords.x1 += (dsc->border_side & LV_BORDER_SIDE_LEFT) ? 1 : 0; in lv_draw_vglite_bg()
409 rel_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in lv_draw_vglite_bg()
410 rel_coords.x2 -= (dsc->border_side & LV_BORDER_SIDE_RIGHT) ? 1 : 0; in lv_draw_vglite_bg()
411 rel_coords.y2 -= (dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? 1 : 0; in lv_draw_vglite_bg()
456 if(dsc->border_side != (lv_border_side_t)LV_BORDER_SIDE_FULL) in lv_draw_vglite_border()
/lvgl-3.7.0/src/widgets/
Dlv_btnmatrix.c792 if(draw_rect_dsc_act.border_side & LV_BORDER_SIDE_INTERNAL) { in draw_main()
793 draw_rect_dsc_act.border_side = LV_BORDER_SIDE_FULL; in draw_main()
794 … if(btn_area.x1 == obj->coords.x1 + pleft) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_LEFT; in draw_main()
795 … if(btn_area.x2 == obj->coords.x2 - pright) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_RIGHT; in draw_main()
796 … if(btn_area.y1 == obj->coords.y1 + ptop) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_TOP; in draw_main()
797 …if(btn_area.y2 == obj->coords.y2 - pbottom) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_BOTTO… in draw_main()
Dlv_table.c771 …if((rect_dsc_def.border_side & LV_BORDER_SIDE_LEFT) && cell_area_border.x1 > obj->coords.x1 + bg_l… in draw_main()
774 …if((rect_dsc_def.border_side & LV_BORDER_SIDE_TOP) && cell_area_border.y1 > obj->coords.y1 + bg_to… in draw_main()
777 …if((rect_dsc_def.border_side & LV_BORDER_SIDE_RIGHT) && cell_area_border.x2 < obj->coords.x2 - bg_… in draw_main()
780 if((rect_dsc_def.border_side & LV_BORDER_SIDE_BOTTOM) && in draw_main()
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_rect.c106 bg_coords.x1 += (dsc->border_side & LV_BORDER_SIDE_LEFT) ? 1 : 0; in draw_bg()
107 bg_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in draw_bg()
108 bg_coords.x2 -= (dsc->border_side & LV_BORDER_SIDE_RIGHT) ? 1 : 0; in draw_bg()
109 bg_coords.y2 -= (dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? 1 : 0; in draw_bg()
402 if(dsc->border_side == LV_BORDER_SIDE_NONE) return; in draw_border()
414 …area_inner.x1 += ((dsc->border_side & LV_BORDER_SIDE_LEFT) ? dsc->border_width : - (dsc->border_wi… in draw_border()
415 …area_inner.x2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : - (dsc->border_w… in draw_border()
416 …area_inner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : - (dsc->border_wid… in draw_border()
417 …area_inner.y2 -= ((dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? dsc->border_width : - (dsc->border_… in draw_border()
/lvgl-3.7.0/src/core/
Dlv_obj_draw.c84 draw_dsc->border_side = lv_obj_get_style_border_side(obj, part); in lv_obj_init_draw_rect_dsc()
148 draw_dsc->border_side = lv_obj_get_style_border_side(obj, part); in lv_obj_init_draw_rect_dsc()
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_rect.c126 …((dsc)->border_opa <= LV_OPA_MIN || (dsc)->border_width == 0 || (dsc)->border_side == LV_BORDER_SI…
716 …area_inner.x1 += ((dsc->border_side & LV_BORDER_SIDE_LEFT) ? dsc->border_width : -(dsc->border_wid… in draw_border()
717 …area_inner.x2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : -(dsc->border_wi… in draw_border()
718 …area_inner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : -(dsc->border_widt… in draw_border()
719 …area_inner.y2 -= ((dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? dsc->border_width : -(dsc->border_w… in draw_border()
/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c799 lv_border_side_t border_side = lv_obj_get_style_border_side(obj, LV_PART_MAIN); in draw_div_lines() local
811 …if((border_side & LV_BORDER_SIDE_TOP) && (lv_obj_get_style_pad_top(obj, LV_PART_MAIN) == 0)) i_sta… in draw_div_lines()
812 …if((border_side & LV_BORDER_SIDE_BOTTOM) && (lv_obj_get_style_pad_bottom(obj, LV_PART_MAIN) == 0))… in draw_div_lines()
839 …if((border_side & LV_BORDER_SIDE_LEFT) && (lv_obj_get_style_pad_left(obj, LV_PART_MAIN) == 0)) i_s… in draw_div_lines()
840 …if((border_side & LV_BORDER_SIDE_RIGHT) && (lv_obj_get_style_pad_right(obj, LV_PART_MAIN) == 0)) i… in draw_div_lines()
/lvgl-3.7.0/docs/overview/
Dstyle-props.md366 ### border_side subsection