From fbba11af37d178707a315f40e5ce78b7f7a40ad3 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 11 Mar 2021 12:28:49 +0100 Subject: [PATCH] fix(obj style) rename lv_obj_set_pad...() to lv_obj_set_style_pad...() --- src/lv_core/lv_obj_style.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lv_core/lv_obj_style.h b/src/lv_core/lv_obj_style.h index 22f451b9c..e32c2c1a1 100644 --- a/src/lv_core/lv_obj_style.h +++ b/src/lv_core/lv_obj_style.h @@ -207,24 +207,24 @@ void lv_obj_fade_out(struct _lv_obj_t * obj, uint32_t time, uint32_t delay); #include "lv_obj_style_gen.h" -static inline void lv_obj_set_pad_all(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { +static inline void lv_obj_set_style_pad_all(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { lv_obj_set_style_pad_left(obj, part, state, value); lv_obj_set_style_pad_right(obj, part, state, value); lv_obj_set_style_pad_top(obj, part, state, value); lv_obj_set_style_pad_bottom(obj, part, state, value); } -static inline void lv_obj_set_pad_hor(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { +static inline void lv_obj_set_style_pad_hor(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { lv_obj_set_style_pad_left(obj, part, state, value); lv_obj_set_style_pad_right(obj, part, state, value); } -static inline void lv_obj_set_pad_ver(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { +static inline void lv_obj_set_style_pad_ver(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { lv_obj_set_style_pad_top(obj, part, state, value); lv_obj_set_style_pad_bottom(obj, part, state, value); } -static inline void lv_obj_set_pad_gap(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { +static inline void lv_obj_set_style_pad_gap(struct _lv_obj_t * obj, uint32_t part, uint32_t state, lv_coord_t value) { lv_obj_set_style_pad_row(obj, part, state, value); lv_obj_set_style_pad_column(obj, part, state, value); }