Home
last modified time | relevance | path

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

/lvgl-latest/libs/nema_gfx/include/
Dnema_provisional.h74 float border_width, uint32_t color);
88 void nema_draw_rounded_rect_aa(float x, float y, float w, float h, float r, float border_width, uin…
119 float border_width, uint32_t color);
/lvgl-latest/src/core/
Dlv_obj_style.h259 int32_t border_width = lv_obj_get_style_border_width(obj, part); in lv_obj_get_style_space_left() local
261 return (border_side & LV_BORDER_SIDE_LEFT) ? padding + border_width : padding; in lv_obj_get_style_space_left()
267 int32_t border_width = lv_obj_get_style_border_width(obj, part); in lv_obj_get_style_space_right() local
269 return (border_side & LV_BORDER_SIDE_RIGHT) ? padding + border_width : padding; in lv_obj_get_style_space_right()
275 int32_t border_width = lv_obj_get_style_border_width(obj, part); in lv_obj_get_style_space_top() local
277 return (border_side & LV_BORDER_SIDE_TOP) ? padding + border_width : padding; in lv_obj_get_style_space_top()
283 int32_t border_width = lv_obj_get_style_border_width(obj, part); in lv_obj_get_style_space_bottom() local
285 return (border_side & LV_BORDER_SIDE_BOTTOM) ? padding + border_width : padding; in lv_obj_get_style_space_bottom()
Dlv_obj_draw.c88 draw_dsc->border_width = lv_obj_get_style_border_width(obj, part); in lv_obj_init_draw_rect_dsc()
89 if(draw_dsc->border_width) { in lv_obj_init_draw_rect_dsc()
Dlv_obj.c692 dsc->border_width = lv_obj_get_style_border_width(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc()
693 if(dsc->border_width > 0) { in scrollbar_init_draw_dsc()
Dlv_refr.c128 draw_dsc.border_width = 1; in lv_obj_redraw()
/lvgl-latest/src/draw/nema_gfx/
Dlv_draw_nema_gfx_border.c110 int32_t border_width = lv_area_get_width(&rect_coords); in lv_draw_nema_gfx_border() local
116 float w = border_width - 2 * width; in lv_draw_nema_gfx_border()
125 float w = border_width - 2 * width; in lv_draw_nema_gfx_border()
141 float x = rect_coords.x1 + border_width - width; in lv_draw_nema_gfx_border()
169 float x = rect_coords.x1 + border_width - width; in lv_draw_nema_gfx_border()
186 float x = rect_coords.x1 + border_width - width; in lv_draw_nema_gfx_border()
/lvgl-latest/examples/widgets/canvas/
Dlv_example_canvas_3.c30 dsc.border_width = 3; in lv_example_canvas_3()
36 dsc.border_width = 3; in lv_example_canvas_3()
Dlv_example_canvas_1.c18 rect_dsc.border_width = 2; in lv_example_canvas_1()
/lvgl-latest/src/widgets/textarea/
Dlv_textarea.c1221 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_CURSOR); in refr_cursor_area() local
1222 int32_t top = lv_obj_get_style_pad_top(obj, LV_PART_CURSOR) + border_width; in refr_cursor_area()
1223 int32_t bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_CURSOR) + border_width; in refr_cursor_area()
1224 int32_t left = lv_obj_get_style_pad_left(obj, LV_PART_CURSOR) + border_width; in refr_cursor_area()
1225 int32_t right = lv_obj_get_style_pad_right(obj, LV_PART_CURSOR) + border_width; in refr_cursor_area()
1410 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in draw_placeholder() local
1413 ph_coords.x1 += left + border_width; in draw_placeholder()
1414 ph_coords.x2 -= right + border_width; in draw_placeholder()
1415 ph_coords.y1 += top + border_width; in draw_placeholder()
1416 ph_coords.y2 -= bottom + border_width; in draw_placeholder()
[all …]
/lvgl-latest/examples/event/
Dlv_example_event_draw.c29 draw_dsc.border_width = 2; in event_cb()
/lvgl-latest/src/draw/
Dlv_draw_rect.h52 int32_t border_width; member
Dlv_draw_rect.c123 || dsc->border_width == 0 in lv_draw_rect()
173 if(dsc->border_width > 1 && dsc->border_opa >= LV_OPA_MAX && dsc->radius != 0) { in lv_draw_rect()
275 border_dsc->width = dsc->border_width; in lv_draw_rect()
/lvgl-latest/src/widgets/table/
Dlv_table.c687 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in draw_main() local
714 cell_area.y2 = obj->coords.y1 + bg_top - 1 - lv_obj_get_scroll_y(obj) + border_width; in draw_main()
729 if(rtl) cell_area.x1 = obj->coords.x2 - bg_right - 1 - scroll_x - border_width; in draw_main()
730 else cell_area.x2 = obj->coords.x1 + bg_left - 1 - scroll_x + border_width; in draw_main()
773 cell_area_border.x1 -= rect_dsc_def.border_width / 2; in draw_main()
776 cell_area_border.y1 -= rect_dsc_def.border_width / 2; in draw_main()
779 … cell_area_border.x2 += rect_dsc_def.border_width / 2 + (rect_dsc_def.border_width & 0x1); in draw_main()
783 … cell_area_border.y2 += rect_dsc_def.border_width / 2 + (rect_dsc_def.border_width & 0x1); in draw_main()
/lvgl-latest/src/widgets/chart/
Dlv_chart.c273 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in lv_chart_get_point_pos_by_id() local
274 p_out->x += lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in lv_chart_get_point_pos_by_id()
283 p_out->y += lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in lv_chart_get_point_pos_by_id()
735 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in draw_div_lines() local
736 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in draw_div_lines()
737 int32_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in draw_div_lines()
810 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in draw_series_line() local
811 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in draw_series_line()
812 int32_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in draw_series_line()
965 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in draw_series_scatter() local
[all …]
/lvgl-latest/src/widgets/scale/
Dlv_scale.c826 const int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in scale_draw_main() local
827 const int32_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in scale_draw_main()
828 const int32_t pad_bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_MAIN) + border_width; in scale_draw_main()
829 const int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in scale_draw_main()
830 const int32_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in scale_draw_main()
1039 const int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in scale_get_tick_points() local
1040 const int32_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in scale_get_tick_points()
1041 const int32_t pad_bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_MAIN) + border_width; in scale_get_tick_points()
1042 const int32_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in scale_get_tick_points()
1043 const int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in scale_get_tick_points()
/lvgl-latest/src/widgets/dropdown/
Dlv_dropdown.c541 int32_t border_width = lv_obj_get_style_border_width(dropdown->list, LV_PART_MAIN); in lv_dropdown_open() local
542 int32_t top = lv_obj_get_style_pad_top(dropdown->list, LV_PART_MAIN) + border_width; in lv_dropdown_open()
543 int32_t bottom = lv_obj_get_style_pad_bottom(dropdown->list, LV_PART_MAIN) + border_width; in lv_dropdown_open()
862 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in draw_main() local
863 int32_t left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in draw_main()
864 int32_t right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in draw_main()
/lvgl-latest/src/widgets/span/
Dlv_span.c577 const uint32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in lv_spangroup_get_span_coords() local
579 .x1 = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width, in lv_spangroup_get_span_coords()
580 .y1 = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width, in lv_spangroup_get_span_coords()
581 .x2 = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width, .y2 = 0 in lv_spangroup_get_span_coords()
/lvgl-latest/src/draw/nxp/pxp/
Dlv_draw_pxp.c427 rect_dsc.border_width = 1; in _pxp_execute_drawing()
/lvgl-latest/src/others/xml/
Dlv_xml_style.c154 else SET_STYLE_IF(border_width, lv_xml_atoi(value)); in lv_xml_style_register()
/lvgl-latest/src/others/xml/parsers/
Dlv_xml_obj_parser.c169 else SET_STYLE_IF(border_width, lv_xml_atoi(value)); in apply_styles()
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite.c460 rect_dsc.border_width = 1; in _vglite_execute_drawing()
/lvgl-latest/src/widgets/roller/
Dlv_roller.c256 int32_t border_width = lv_obj_get_style_border_width(obj, LV_PART_MAIN); in lv_roller_set_visible_row_count() local
257 … lv_obj_set_height(obj, (lv_font_get_line_height(font) + line_space) * row_cnt + 2 * border_width); in lv_roller_set_visible_row_count()
/lvgl-latest/src/draw/opengles/
Dlv_draw_opengles.c299 rect_dsc.border_width = border_dsc->width; in draw_to_texture()
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl.c259 rect_dsc.border_width = border_dsc->width; in draw_to_texture()
/lvgl-latest/docs/details/base-widget/styles/
Dstyle-properties.rst718 border_width subsection