Home
last modified time | relevance | path

Searched refs:right (Results 1 – 23 of 23) sorted by relevance

/lvgl-2.7.6/src/lv_widgets/
Dlv_btn.h121 static inline void lv_btn_set_fit4(lv_obj_t * btn, lv_fit_t left, lv_fit_t right, lv_fit_t top, lv_… in lv_btn_set_fit4() argument
123 lv_cont_set_fit4(btn, left, right, top, bottom); in lv_btn_set_fit4()
Dlv_gauge.c204 lv_style_int_t right = lv_obj_get_style_pad_right(gauge, LV_GAUGE_PART_MAIN); in lv_gauge_set_value() local
206 lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - pad; in lv_gauge_set_value()
514 lv_style_int_t right = lv_obj_get_style_pad_right(gauge, LV_GAUGE_PART_MAIN); in lv_gauge_draw_labels() local
517 lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - scale_width - txt_pad; in lv_gauge_draw_labels()
574 lv_style_int_t right = lv_obj_get_style_pad_right(gauge, LV_GAUGE_PART_MAIN); in lv_gauge_draw_needle() local
577 lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - pad; in lv_gauge_draw_needle()
Dlv_linemeter.c139 lv_style_int_t right = lv_obj_get_style_pad_right(lmeter, LV_LINEMETER_PART_MAIN); in lv_linemeter_set_value() local
143 lv_coord_t r_out = (lv_obj_get_width(lmeter) - left - right) / 2 ; in lv_linemeter_set_value()
187 a.x2 = lmeter->coords.x2 - right + line_width; in lv_linemeter_set_value()
205 a.x2 = lmeter->coords.x2 - right + line_width; in lv_linemeter_set_value()
386 lv_style_int_t right = lv_obj_get_style_pad_right(lmeter, LV_LINEMETER_PART_MAIN); in lv_linemeter_draw_scale() local
389 lv_coord_t r_out = (lv_obj_get_width(lmeter) - left - right) / 2 ; in lv_linemeter_draw_scale()
Dlv_page.h173 static inline void lv_page_set_scrollable_fit4(lv_obj_t * page, lv_fit_t left, lv_fit_t right, lv_f… in lv_page_set_scrollable_fit4() argument
176 lv_cont_set_fit4(lv_page_get_scrollable(page), left, right, top, bottom); in lv_page_set_scrollable_fit4()
Dlv_cont.c154 void lv_cont_set_fit4(lv_obj_t * cont, lv_fit_t left, lv_fit_t right, lv_fit_t top, lv_fit_t bottom) in lv_cont_set_fit4() argument
160 …if(ext->fit_left == left && ext->fit_right == right && ext->fit_top == top && ext->fit_bottom == b… in lv_cont_set_fit4()
165 ext->fit_right = right; in lv_cont_set_fit4()
344 lv_coord_t right = lv_obj_get_style_pad_right(cont, LV_CONT_PART_MAIN); in lv_cont_layout_col() local
365 hpad_corr = -right; in lv_cont_layout_col()
Dlv_cont.h149 void lv_cont_set_fit4(lv_obj_t * cont, lv_fit_t left, lv_fit_t right, lv_fit_t top, lv_fit_t bottom…
Dlv_dropdown.c727 lv_style_int_t right = lv_obj_get_style_pad_right(ddlist, LV_DROPDOWN_PART_MAIN); in lv_dropdown_design() local
783 txt_area.x1 = ddlist->coords.x2 - right - txt_size.x; in lv_dropdown_design()
1038 lv_style_int_t right = lv_obj_get_style_pad_right(ddlist, LV_DROPDOWN_PART_LIST); in lv_dropdown_page_signal() local
1040 scrl->ext_draw_pad = LV_MATH_MAX3(scrl->ext_draw_pad, left, right); in lv_dropdown_page_signal()
1096 lv_style_int_t right = lv_obj_get_style_pad_right(ddlist, LV_DROPDOWN_PART_LIST); in lv_dropdown_page_scrl_signal() local
1097 scrl->ext_draw_pad = LV_MATH_MAX3(scrl->ext_draw_pad, left, right); in lv_dropdown_page_scrl_signal()
Dlv_page.c447 lv_style_int_t right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in lv_page_on_edge() local
454 if((edge & LV_PAGE_EDGE_RIGHT) && scrl_coords.x2 == page_coords.x2 - right) return true; in lv_page_on_edge()
1125 lv_style_int_t right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in scrl_reposition() local
1130 if(lv_area_get_width(&scrl_coords) + left + right <= lv_area_get_width(&page_coords)) { in scrl_reposition()
1138 if(scrl_coords.x2 < page_coords.x2 - right) { in scrl_reposition()
1139 …new_x = lv_area_get_width(&page_coords) - lv_area_get_width(&scrl_coords) - right; /* Right align … in scrl_reposition()
Dlv_cpicker.c648 lv_style_int_t right = lv_obj_get_style_pad_right(cpicker, LV_CPICKER_PART_KNOB); in get_knob_area() local
654 knob_area.y1 = cpicker->coords.y1 + ext->knob.pos.y - r - right; in get_knob_area()
691 lv_style_int_t right = lv_obj_get_style_pad_right(cpicker, LV_CPICKER_PART_KNOB); in lv_cpicker_signal() local
695 lv_coord_t knob_pad = LV_MATH_MAX4(left, right, top, bottom) + 2; in lv_cpicker_signal()
Dlv_imgbtn.c462 lv_style_int_t right = lv_obj_get_style_pad_right(imgbtn, LV_IMGBTN_PART_MAIN); in lv_imgbtn_signal() local
467 imgbtn->ext_draw_pad = LV_MATH_MAX(imgbtn->ext_draw_pad, right); in lv_imgbtn_signal()
Dlv_calendar.c598 lv_style_int_t right = lv_obj_get_style_pad_right(calendar, LV_CALENDAR_PART_DATE); in calculate_touched_day() local
603 days_area.x2 -= right; in calculate_touched_day()
766 lv_style_int_t right = lv_obj_get_style_pad_right(calendar, LV_CALENDAR_PART_DAY_NAMES); in draw_day_names() local
770 lv_coord_t w = lv_obj_get_width(calendar) - left - right; in draw_day_names()
Dlv_btnmatrix.c164 lv_style_int_t right = lv_obj_get_style_pad_right(btnm, LV_BTNMATRIX_PART_BG); in lv_btnmatrix_set_map() local
169 lv_coord_t max_w = lv_obj_get_width(btnm) - left - right; in lv_btnmatrix_set_map()
229 act_x = lv_obj_get_width(btnm) - right - act_x - act_unit_w - 1; in lv_btnmatrix_set_map()
239 … (act_x + act_unit_w == max_w - right && base_dir == LV_BIDI_DIR_RTL))) { in lv_btnmatrix_set_map()
Dlv_textarea.c645 lv_style_int_t right = lv_obj_get_style_pad_right(ta, LV_TEXTAREA_PART_BG); in lv_textarea_set_cursor_pos() local
648 if(label_cords.x1 + cur_pos.x + font_h + right > ta_cords.x2) { in lv_textarea_set_cursor_pos()
649 lv_obj_set_x(label_par, -(cur_pos.x - lv_obj_get_width(ta) + font_h + left + right)); in lv_textarea_set_cursor_pos()
1769 lv_style_int_t right = lv_obj_get_style_pad_right(ta, LV_TEXTAREA_PART_CURSOR); in refr_cursor_area() local
1774 cur_area.x2 = letter_pos.x + right + letter_w; in refr_cursor_area()
Dlv_win.c488 lv_coord_t right = lv_obj_get_style_pad_left(win, LV_WIN_PART_BG); in lv_win_get_width() local
490 return lv_obj_get_width_fit(scrl) - left - right; in lv_win_get_width()
Dlv_img.c833 lv_style_int_t right = lv_obj_get_style_pad_right(img, LV_IMG_PART_MAIN); in lv_img_signal() local
838 img->ext_draw_pad = LV_MATH_MAX(img->ext_draw_pad, right); in lv_img_signal()
Dlv_roller.c964 lv_style_int_t right = lv_obj_get_style_pad_right(roller, LV_ROLLER_PART_BG); in refr_width() local
978 lv_obj_set_width(roller, label_w + left + right); in refr_width()
Dlv_arc.c890 lv_coord_t right = lv_obj_get_style_pad_right(arc, LV_ARC_PART_BG); in inv_arc_area() local
893 …lv_coord_t rout = (LV_MATH_MIN(lv_obj_get_width(arc) - left - right, lv_obj_get_height(arc) … in inv_arc_area()
Dlv_label.c1539 lv_coord_t right = lv_obj_get_style_pad_right(label, LV_LABEL_PART_MAIN); in get_txt_coords() local
1543 area->x2 -= right; in get_txt_coords()
/lvgl-2.7.6/docs/
DCODE_OF_CONDUCT.md29 Project maintainers have the right and responsibility to remove, edit, or reject comments, commits,…
/lvgl-2.7.6/
DCHANGELOG.md122 - Fix drawing on right border
168 - `tabview` by default allow auto expanding the page only to right and bottom (#1573)
259 …pletely reworked. Now creates a separate list when opened and can be dropped to down/up/left/right.
/lvgl-2.7.6/src/lv_core/
Dlv_obj.h557 void lv_obj_set_ext_click_area(lv_obj_t * obj, lv_coord_t left, lv_coord_t right, lv_coord_t top, l…
Dlv_obj.c1152 void lv_obj_set_ext_click_area(lv_obj_t * obj, lv_coord_t left, lv_coord_t right, lv_coord_t top, l… in lv_obj_set_ext_click_area() argument
1158 obj->ext_click_pad.x2 = right; in lv_obj_set_ext_click_area()
1162 obj->ext_click_pad_hor = LV_MATH_MAX(left, right); in lv_obj_set_ext_click_area()
1167 (void)right; /*Unused*/ in lv_obj_set_ext_click_area()
2345 lv_style_int_t right = lv_obj_get_style_pad_right(obj, LV_OBJ_PART_MAIN); in lv_obj_get_width_fit() local
2347 return lv_obj_get_width(obj) - left - right; in lv_obj_get_width_fit()
/lvgl-2.7.6/scripts/
DDoxyfile1608 # projects and redirect the results back to the right project.