Home
last modified time | relevance | path

Searched refs:bg_right (Results 1 – 5 of 5) sorted by relevance

/lvgl-2.7.6/src/lv_widgets/
Dlv_page.c356 lv_style_int_t bg_right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in lv_page_get_width_fit() local
360 return lv_obj_get_width(page) - bg_left - bg_right - scrl_left - scrl_right; in lv_page_get_width_fit()
529 lv_style_int_t bg_right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in lv_page_focus() local
534 lv_coord_t right_err = scrlable_x + obj_x + obj_w - (page_w - bg_right); in lv_page_focus()
545 scrlable_x = -(obj_x + scrl_right + bg_right); in lv_page_focus()
1195 lv_style_int_t bg_right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in scrlbar_refresh() local
1233 if(scrl_w <= obj_w - bg_left - bg_right) { in scrlbar_refresh()
1243 (obj_w * (obj_w - (2 * sb_hor_pad))) / (scrl_w + bg_left + bg_right); in scrlbar_refresh()
1250 (scrl_w + bg_left + bg_right - obj_w), in scrlbar_refresh()
Dlv_switch.c216 lv_style_int_t bg_right = lv_obj_get_style_pad_right(sw, LV_SWITCH_PART_BG); in lv_switch_design() local
218 lv_coord_t max_indic_w = objw - bg_left - bg_right; in lv_switch_design()
Dlv_slider.c337 lv_style_int_t bg_right = lv_obj_get_style_pad_right(slider, LV_SLIDER_PART_BG); in lv_slider_signal() local
347 lv_coord_t indic_w = w - bg_left - bg_right; in lv_slider_signal()
349 … new_value = (slider->coords.x2 - bg_right) - p.x; /*Make the point relative to the indicator*/ in lv_slider_signal()
Dlv_bar.c441 lv_style_int_t bg_right = lv_obj_get_style_pad_right(bar, LV_BAR_PART_BG); in draw_indic() local
448 ext->indic_area.x2 -= bg_right; in draw_indic()
599 mask_indic_max_area.x2 -= bg_right; in draw_indic()
Dlv_table.c712 lv_style_int_t bg_right = lv_obj_get_style_pad_right(table, LV_TABLE_PART_BG); in lv_table_design() local
802 …pe].border_side & LV_BORDER_SIDE_RIGHT) && cell_area_border.x2 < table->coords.x2 - bg_right - 1) { in lv_table_design()
1020 lv_style_int_t bg_right = lv_obj_get_style_pad_right(table, LV_TABLE_PART_BG); in refr_size() local
1021 w += bg_left + bg_right; in refr_size()