Searched refs:LV_DPX (Results 1 – 7 of 7) sorted by relevance
/lvgl-2.7.6/src/lv_themes/ |
D | lv_theme_material.c | 68 #define BORDER_WIDTH LV_DPX(2) 69 #define OUTLINE_WIDTH ((theme.flags & LV_THEME_MATERIAL_FLAG_NO_FOCUS) ? 0 : LV_DPX(2)) 72 #define PAD_DEF (lv_disp_get_size_category(NULL) <= LV_DISP_SIZE_MEDIUM ? LV_DPX(15) : (LV_DPX(30))) 210 lv_style_set_radius(&styles->bg, LV_STATE_DEFAULT, LV_DPX(8)); in basic_init() 297 lv_style_set_pad_left(&styles->btn, LV_STATE_DEFAULT, LV_DPX(40)); in basic_init() 298 lv_style_set_pad_right(&styles->btn, LV_STATE_DEFAULT, LV_DPX(40)); in basic_init() 299 lv_style_set_pad_top(&styles->btn, LV_STATE_DEFAULT, LV_DPX(15)); in basic_init() 300 lv_style_set_pad_bottom(&styles->btn, LV_STATE_DEFAULT, LV_DPX(15)); in basic_init() 301 lv_style_set_pad_inner(&styles->btn, LV_STATE_DEFAULT, LV_DPX(20)); in basic_init() 317 … lv_disp_get_size_category(NULL) <= LV_DISP_MEDIUM_LIMIT ? LV_DPX(20) : LV_DPX(40)); in basic_init() [all …]
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_disp.h | 217 #define LV_DPX(n) (n == 0 ? 0 :LV_MATH_MAX((( lv_disp_get_dpi(NULL) * (n) + 80) / 160), 1)) /*+80… macro 221 return LV_DPX(n); in lv_dpx()
|
D | lv_obj.c | 49 #define LV_OBJ_DEF_WIDTH (LV_DPX(100)) 50 #define LV_OBJ_DEF_HEIGHT (LV_DPX(50))
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_switch.c | 93 lv_obj_set_size(sw, LV_DPX(60), LV_DPX(35)); in lv_switch_create()
|
D | lv_win.c | 115 ext->btn_w = LV_DPX(65); in lv_win_create() 128 lv_obj_set_height(ext->header, LV_DPX(65)); in lv_win_create()
|
D | lv_msgbox.c | 111 lv_obj_set_width(mbox, LV_MATH_MIN(fit_w, LV_DPX(400))); in lv_msgbox_create()
|
D | lv_dropdown.c | 127 lv_obj_set_width(ddlist, LV_DPX(150)); in lv_dropdown_create()
|