Searched refs:LV_DPX (Results 1 – 9 of 9) sorted by relevance
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_chart.c | 136 txt_area.y2 = draw_task->area.y1 - LV_DPX(15); in chart_event_cb() 140 bg_area.x1 = txt_area.x1 - LV_DPX(8); in chart_event_cb() 141 bg_area.x2 = txt_area.x2 + LV_DPX(8); in chart_event_cb() 142 bg_area.y1 = txt_area.y1 - LV_DPX(8); in chart_event_cb() 143 bg_area.y2 = txt_area.y2 + LV_DPX(8); in chart_event_cb() 148 rect_dsc.radius = LV_DPX(5); in chart_event_cb()
|
/lvgl-latest/demos/widgets/ |
D | lv_demo_widgets.c | 927 lv_obj_set_style_pad_column(chart3, LV_DPX(30), 0); in shop_create() 947 lv_obj_set_style_pad_column(chart3, LV_DPX(30), 0); in shop_create() 1059 lv_obj_set_style_pad_right(color_cont, disp_size == DISP_SMALL ? LV_DPX(47) : LV_DPX(55), 0); in color_changer_create() 1063 if(disp_size == DISP_SMALL) lv_obj_set_size(color_cont, LV_DPX(52), LV_DPX(52)); in color_changer_create() 1064 else lv_obj_set_size(color_cont, LV_DPX(60), LV_DPX(60)); in color_changer_create() 1066 lv_obj_align(color_cont, LV_ALIGN_BOTTOM_RIGHT, - LV_DPX(10), - LV_DPX(10)); in color_changer_create() 1089 lv_obj_set_size(btn, LV_DPX(42), LV_DPX(42)); in color_changer_create() 1090 lv_obj_align(btn, LV_ALIGN_BOTTOM_RIGHT, -LV_DPX(15), -LV_DPX(15)); in color_changer_create() 1093 lv_obj_set_size(btn, LV_DPX(50), LV_DPX(50)); in color_changer_create() 1094 lv_obj_align(btn, LV_ALIGN_BOTTOM_RIGHT, -LV_DPX(15), -LV_DPX(15)); in color_changer_create() [all …]
|
/lvgl-latest/src/display/ |
D | lv_display.h | 623 #define LV_DPX(n) LV_DPX_CALC(lv_display_get_dpi(NULL), n) macro
|
D | lv_display.c | 1088 return LV_DPX(n); in lv_dpx()
|
/lvgl-latest/src/themes/default/ |
D | lv_theme_default.c | 301 lv_style_set_shadow_width(&theme->styles.btn, LV_DPX(3)); in style_init() 303 lv_style_set_shadow_offset_y(&theme->styles.btn, LV_DPX_CALC(theme->disp_dpi, LV_DPX(4))); in style_init() 629 lv_style_set_line_width(&theme->styles.scale, LV_DPX(2)); in style_init() 631 lv_style_set_arc_width(&theme->styles.scale, LV_DPX(2)); in style_init() 632 lv_style_set_length(&theme->styles.scale, LV_DPX(6)); in style_init()
|
/lvgl-latest/src/core/ |
D | lv_obj.c | 34 #define LV_OBJ_DEF_WIDTH (LV_DPX(100)) 35 #define LV_OBJ_DEF_HEIGHT (LV_DPX(50))
|
D | lv_obj_scroll.c | 23 #define SCROLLBAR_MIN_SIZE (LV_DPX(10))
|
/lvgl-latest/src/widgets/slider/ |
D | lv_slider.c | 226 lv_obj_set_ext_click_area(obj, LV_DPX(8)); in lv_slider_constructor()
|
/lvgl-latest/docs/details/base-widget/ |
D | coord.rst | 60 DPI. Use :cpp:expr:`lv_dpx(n)` or :cpp:expr:`LV_DPX(n)` to do
|