refactoring: class->style, style_dsc->style_list

This commit is contained in:
Gabor Kiss-Vamosi
2020-01-16 14:26:36 +01:00
parent 8d6a5ac776
commit 805af47113
47 changed files with 355 additions and 379 deletions

View File

@@ -223,7 +223,7 @@ typedef struct _lv_obj_t
lv_design_cb_t design_cb; /**< Object type specific design function*/
void * ext_attr; /**< Object type specific extended data*/
lv_style_dsc_t style_dsc;
lv_style_list_t style_dsc;
#if LV_USE_EXT_CLICK_AREA == LV_EXT_CLICK_AREA_TINY
@@ -294,7 +294,7 @@ typedef struct
typedef struct
{
uint8_t part;
lv_style_dsc_t * result;
lv_style_list_t * result;
} lv_get_style_info_t;
typedef struct
@@ -865,7 +865,7 @@ lv_coord_t lv_obj_get_ext_draw_pad(const lv_obj_t * obj);
* Appearance get
*---------------*/
lv_style_dsc_t * lv_obj_get_style(const lv_obj_t * obj, uint8_t type);
lv_style_list_t * lv_obj_get_style(const lv_obj_t * obj, uint8_t type);
lv_style_int_t lv_obj_get_style_int(lv_obj_t * obj, uint8_t type, lv_style_property_t prop);