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:
parent
a7cd42d5a3
commit
650f2fc6fa
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user