relace lv_coord_t with int32_t in some performance ciritcal functions

This commit is contained in:
Gabor Kiss-Vamosi
2020-02-04 02:09:15 +01:00
parent eef239fe70
commit 720322ca9e
27 changed files with 511 additions and 453 deletions

View File

@@ -908,6 +908,14 @@ static inline void lv_obj_set_style_##func_name (lv_obj_t * obj, uint8_t part, v
{ \
lv_obj_set_style##style_type (obj, part, LV_STYLE_##prop_name, value); \
} \
static inline int16_t lv_style_get_##func_name (lv_style_t * style, void * res) \
{ \
return lv_style_get##style_type (style, LV_STYLE_##prop_name, res); \
} \
static inline void lv_style_set_##func_name (lv_style_t * style, lv_style_state_t state, value_type value) \
{ \
lv_style_set##style_type (style, LV_STYLE_##prop_name | (state), value); \
} \
LV_OBJ_STYLE_SET_GET_DECLARE(RADIUS, radius, lv_style_int_t,_int);