Home
last modified time | relevance | path

Searched refs:prop_cnt (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_style.c154 if(style->sentinel == LV_STYLE_SENTINEL_VALUE && style->prop_cnt > 1) { in lv_style_init()
174 if(style->prop_cnt > 1) lv_mem_free(style->v_p.values_and_props); in lv_style_reset()
231 if(style->prop_cnt == 0) return false; in lv_style_remove_prop()
233 if(style->prop_cnt == 1) { in lv_style_remove_prop()
236 style->prop_cnt = 0; in lv_style_remove_prop()
242 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_remove_prop()
245 for(i = 0; i < style->prop_cnt; i++) { in lv_style_remove_prop()
249 if(style->prop_cnt == 2) { in lv_style_remove_prop()
250 style->prop_cnt = 1; in lv_style_remove_prop()
255 size_t size = (style->prop_cnt - 1) * (sizeof(lv_style_value_t) + sizeof(uint16_t)); in lv_style_remove_prop()
[all …]
Dlv_style.h60 .prop_cnt = (sizeof(prop_array) / sizeof((prop_array)[0])), \
68 .prop_cnt = (sizeof(prop_array) / sizeof((prop_array)[0])), \
335 uint8_t prop_cnt; member
454 for(i = 0; i < style->prop_cnt; i++) { in lv_style_get_prop_inlined()
467 if(style->prop_cnt == 0) return LV_STYLE_RES_NOT_FOUND; in lv_style_get_prop_inlined()
469 if(style->prop_cnt > 1) { in lv_style_get_prop_inlined()
470 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_get_prop_inlined()
473 for(i = 0; i < style->prop_cnt; i++) { in lv_style_get_prop_inlined()
/lvgl-3.7.0/src/core/
Dlv_obj_style.c111 if(style && style->prop_cnt == 0) prop = LV_STYLE_PROP_INV; in lv_obj_remove_style()
/lvgl-3.7.0/docs/
DCHANGELOG.md297 - fix(style): use compile time prop_cnt for const styles [`3609`](https://github.com/lvgl/lvgl/pull…