Searched refs:part2 (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_smart_meter.c | 233 lv_obj_t * part2 = lv_obj_get_child(box, 1); in widget1_open_part1_anim_cb() local 239 lv_obj_set_style_bg_image_opa(part2, lv_map(val, 0, 1000, 0, 255), 0); in widget1_open_part1_anim_cb() 241 lv_obj_set_style_opa(lv_obj_get_child(part2, 1), lv_map(val, 0, 1000, 255, 0), 0); in widget1_open_part1_anim_cb() 248 lv_obj_set_style_text_color(lv_obj_get_child(part2, 0), th == &lv_demo_high_res_theme_light in widget1_open_part1_anim_cb() 258 lv_obj_t * part2 = lv_obj_get_child(box, 1); in widget1_open_part2_anim_cb() local 264 lv_obj_set_style_bg_image_opa(part2, lv_map(val, 0, 1000, 255, 0), 0); in widget1_open_part2_anim_cb() 266 lv_obj_set_style_opa(lv_obj_get_child(part2, 1), lv_map(val, 0, 1000, 0, 255), 0); in widget1_open_part2_anim_cb() 273 lv_obj_set_style_text_color(lv_obj_get_child(part2, 0), th == &lv_demo_high_res_theme_light in widget1_open_part2_anim_cb() 322 lv_obj_t * part2 = create_widget1_part(c, box, "Production", "12.56", "90.28"); in create_widget1() local 323 lv_obj_set_flex_grow(part2, 1); in create_widget1() [all …]
|