Searched refs:part1 (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_smart_meter.c | 232 lv_obj_t * part1 = lv_obj_get_child(box, 0); in widget1_open_part1_anim_cb() local 237 lv_obj_set_height(part1, lv_map(val, 0, 1000, min, max)); in widget1_open_part1_anim_cb() 238 lv_obj_set_style_bg_image_opa(part1, lv_map(val, 0, 1000, 255, 0), 0); in widget1_open_part1_anim_cb() 240 lv_obj_set_style_opa(lv_obj_get_child(part1, 1), lv_map(val, 0, 1000, 0, 255), 0); in widget1_open_part1_anim_cb() 246 lv_obj_set_style_text_color(lv_obj_get_child(part1, 0), th == &lv_demo_high_res_theme_light in widget1_open_part1_anim_cb() 257 lv_obj_t * part1 = lv_obj_get_child(box, 0); in widget1_open_part2_anim_cb() local 262 lv_obj_set_height(part1, lv_map(val, 0, 1000, max, min)); in widget1_open_part2_anim_cb() 263 lv_obj_set_style_bg_image_opa(part1, lv_map(val, 0, 1000, 0, 255), 0); in widget1_open_part2_anim_cb() 265 lv_obj_set_style_opa(lv_obj_get_child(part1, 1), lv_map(val, 0, 1000, 255, 0), 0); in widget1_open_part2_anim_cb() 271 lv_obj_set_style_text_color(lv_obj_get_child(part1, 0), th == &lv_demo_high_res_theme_light in widget1_open_part2_anim_cb() [all …]
|