refactoring: class->style, style_dsc->style_list
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user