feat(layer): add more efficient widget translucent mode (#4415)

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
_VIFEXTech
2023-08-14 13:57:19 +08:00
committed by GitHub
parent 7f5e24771e
commit 9a483c87bf
18 changed files with 986 additions and 81 deletions

View File

@@ -19,6 +19,10 @@ void lv_example_arc_1(void)
/*Manually update the label for the first time*/
lv_obj_send_event(arc, LV_EVENT_VALUE_CHANGED, NULL);
lv_obj_set_style_opa_layered(arc, LV_OPA_30, LV_PART_MAIN);
}
static void value_changed_event_cb(lv_event_t * e)