Home
last modified time | relevance | path

Searched refs:LV_DPX (Results 1 – 9 of 9) sorted by relevance

/lvgl-3.4.0/demos/widgets/
Dlv_demo_widgets.c830 lv_obj_set_style_pad_column(chart3, LV_DPX(30), 0); in shop_create()
850 lv_obj_set_style_pad_column(chart3, LV_DPX(30), 0); in shop_create()
960 lv_obj_set_style_pad_right(color_cont, disp_size == DISP_SMALL ? LV_DPX(47) : LV_DPX(55), 0); in color_changer_create()
964 if(disp_size == DISP_SMALL) lv_obj_set_size(color_cont, LV_DPX(52), LV_DPX(52)); in color_changer_create()
965 else lv_obj_set_size(color_cont, LV_DPX(60), LV_DPX(60)); in color_changer_create()
967 lv_obj_align(color_cont, LV_ALIGN_BOTTOM_RIGHT, - LV_DPX(10), - LV_DPX(10)); in color_changer_create()
990 lv_obj_set_size(btn, LV_DPX(42), LV_DPX(42)); in color_changer_create()
991 lv_obj_align(btn, LV_ALIGN_BOTTOM_RIGHT, -LV_DPX(15), -LV_DPX(15)); in color_changer_create()
993 lv_obj_set_size(btn, LV_DPX(50), LV_DPX(50)); in color_changer_create()
994 lv_obj_align(btn, LV_ALIGN_BOTTOM_RIGHT, -LV_DPX(15), -LV_DPX(15)); in color_changer_create()
[all …]
Dlv_demo_widgets.py45 def LV_DPX(n): function
189 slider.set_style_local_margin_top(lv.slider.PART.BG, lv.STATE.DEFAULT, LV_DPX(25))
191 slider.set_style_local_value_ofs_y(lv.slider.PART.KNOB, lv.STATE.FOCUSED, - LV_DPX(25))
202 slider.set_style_local_value_ofs_y(lv.slider.PART.INDIC, lv.STATE.DEFAULT, - LV_DPX(25))
553 sw.set_pos(LV_DPX(10), LV_DPX(10))
566 style_box.set_value_ofs_y(lv.STATE.DEFAULT, - LV_DPX(10))
567 style_box.set_margin_top(lv.STATE.DEFAULT, LV_DPX(30))
/lvgl-3.4.0/src/hal/
Dlv_hal.h30 #define LV_DPX(n) _LV_DPX_CALC(lv_disp_get_dpi(NULL), n) macro
/lvgl-3.4.0/src/extra/widgets/msgbox/
Dlv_msgbox.c98 lv_obj_set_ext_click_area(mbox->close_btn, LV_DPX(10)); in lv_msgbox_create()
103 lv_coord_t close_btn_size = lv_font_get_line_height(font) + LV_DPX(10); in lv_msgbox_create()
/lvgl-3.4.0/src/core/
Dlv_disp.h223 return LV_DPX(n); in lv_dpx()
Dlv_obj.c42 #define LV_OBJ_DEF_WIDTH (LV_DPX(100))
43 #define LV_OBJ_DEF_HEIGHT (LV_DPX(50))
Dlv_obj_scroll.c21 #define SCROLLBAR_MIN_SIZE (LV_DPX(10))
/lvgl-3.4.0/src/widgets/
Dlv_slider.c91 lv_obj_set_ext_click_area(obj, LV_DPX(8)); in lv_slider_constructor()
/lvgl-3.4.0/src/extra/themes/default/
Dlv_theme_default.c284 lv_style_set_shadow_width(&styles->btn, LV_DPX(3)); in style_init()
286 lv_style_set_shadow_ofs_y(&styles->btn, lv_disp_dpx(theme.disp, LV_DPX(4))); in style_init()