refactor(style): store constant property IDs with a pointer instead of directly (#3506)

This commit is contained in:
embeddedt
2022-07-20 05:32:40 -04:00
committed by GitHub
parent 9ed5b3fe06
commit d6e5200013
7 changed files with 373 additions and 93 deletions

View File

@@ -176,7 +176,7 @@ Styles can be built as `const` too to save RAM:
const lv_style_const_prop_t style1_props[] = {
LV_STYLE_CONST_WIDTH(50),
LV_STYLE_CONST_HEIGHT(50),
LV_STYLE_PROP_INV,
LV_STYLE_CONST_PROPS_END
};
LV_STYLE_CONST_INIT(style1, style1_props);