1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

refactor(obj) rename lv_dpx_obj to lv_obj_dpx

This commit is contained in:
Gabor Kiss-Vamosi 2021-05-15 00:49:49 +02:00
parent a7cd42d5a3
commit 650f2fc6fa

View File

@ -369,7 +369,7 @@ bool lv_obj_is_valid(const lv_obj_t * obj);
* @param n the number of pixels to scale
* @return `n x current_dpi/160`
*/
static inline lv_coord_t lv_dpx_obj(const lv_obj_t * obj, lv_coord_t n)
static inline lv_coord_t lv_obj_dpx(const lv_obj_t * obj, lv_coord_t n)
{
return _LV_DPX_CALC(lv_disp_get_dpi(lv_obj_get_disp(obj)), n);
}