Searched refs:border_side (Results 1 – 9 of 9) sorted by relevance
55 dsc->border_side = LV_BORDER_SIDE_FULL; in lv_draw_rect_dsc_init()
60 lv_border_side_t border_side : 5; member
755 if(draw_rect_dsc_act.border_side & LV_BORDER_SIDE_INTERNAL) { in draw_main()756 draw_rect_dsc_act.border_side = LV_BORDER_SIDE_FULL; in draw_main()757 … if(btn_area.x1 == obj->coords.x1 + pleft) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_LEFT; in draw_main()758 … if(btn_area.x2 == obj->coords.x2 - pright) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_RIGHT; in draw_main()759 … if(btn_area.y1 == obj->coords.y1 + ptop) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_TOP; in draw_main()760 …if(btn_area.y2 == obj->coords.y2 - pbottom) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_BOTTO… in draw_main()
698 …if((rect_dsc_def.border_side & LV_BORDER_SIDE_LEFT) && cell_area_border.x1 > obj->coords.x1 + bg_l… in draw_main()701 …if((rect_dsc_def.border_side & LV_BORDER_SIDE_TOP) && cell_area_border.y1 > obj->coords.y1 + bg_to… in draw_main()704 …if((rect_dsc_def.border_side & LV_BORDER_SIDE_RIGHT) && cell_area_border.x2 < obj->coords.x2 - bg_… in draw_main()707 if((rect_dsc_def.border_side & LV_BORDER_SIDE_BOTTOM) && in draw_main()
109 bg_coords.x1 += (dsc->border_side & LV_BORDER_SIDE_LEFT) ? 1 : 0; in draw_bg()110 bg_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in draw_bg()111 bg_coords.x2 -= (dsc->border_side & LV_BORDER_SIDE_RIGHT) ? 1 : 0; in draw_bg()112 bg_coords.y2 -= (dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? 1 : 0; in draw_bg()399 if(dsc->border_side == LV_BORDER_SIDE_NONE) return; in draw_border()411 …area_inner.x1 += ((dsc->border_side & LV_BORDER_SIDE_LEFT) ? dsc->border_width : - (dsc->border_wi… in draw_border()412 …area_inner.x2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : - (dsc->border_w… in draw_border()413 …area_inner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : - (dsc->border_wid… in draw_border()414 …area_inner.y2 -= ((dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? dsc->border_width : - (dsc->border_… in draw_border()
96 …((dsc)->border_opa <= LV_OPA_MIN || (dsc)->border_width == 0 || (dsc)->border_side == LV_BORDER_SI…454 …area_inner.x1 += ((dsc->border_side & LV_BORDER_SIDE_LEFT) ? dsc->border_width : -(dsc->border_wid… in draw_border()455 …area_inner.x2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : -(dsc->border_wi… in draw_border()456 …area_inner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : -(dsc->border_widt… in draw_border()457 …area_inner.y2 -= ((dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? dsc->border_width : -(dsc->border_w… in draw_border()
83 draw_dsc->border_side = lv_obj_get_style_border_side(obj, part); in lv_obj_init_draw_rect_dsc()158 draw_dsc->border_side = lv_obj_get_style_border_side(obj, part); in lv_obj_init_draw_rect_dsc()
800 lv_border_side_t border_side = lv_obj_get_style_border_side(obj, LV_PART_MAIN); in draw_div_lines() local812 …if((border_side & LV_BORDER_SIDE_TOP) && (lv_obj_get_style_pad_top(obj, LV_PART_MAIN) == 0)) i_sta… in draw_div_lines()813 …if((border_side & LV_BORDER_SIDE_BOTTOM) && (lv_obj_get_style_pad_bottom(obj, LV_PART_MAIN) == 0))… in draw_div_lines()840 …if((border_side & LV_BORDER_SIDE_LEFT) && (lv_obj_get_style_pad_left(obj, LV_PART_MAIN) == 0)) i_s… in draw_div_lines()841 …if((border_side & LV_BORDER_SIDE_RIGHT) && (lv_obj_get_style_pad_right(obj, LV_PART_MAIN) == 0)) i… in draw_div_lines()
348 ### border_side subsection