Searched refs:test_bar (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_bar.c | 158 lv_obj_t * test_bar = lv_bar_create(screen); in test_bar_normal() local 159 lv_obj_set_style_radius(test_bar, 100, 0); in test_bar_normal() 160 lv_obj_set_style_radius(test_bar, 100, LV_PART_MAIN); in test_bar_normal() 161 lv_obj_set_style_bg_opa(test_bar, LV_OPA_30, LV_PART_MAIN); in test_bar_normal() 162 lv_obj_set_style_bg_color(test_bar, bg_color, LV_PART_MAIN); in test_bar_normal() 163 lv_obj_set_style_bg_color(test_bar, indic_color, LV_PART_INDICATOR); in test_bar_normal() 164 lv_bar_set_range(test_bar, 0, 100); in test_bar_normal() 165 lv_bar_set_value(test_bar, 30, LV_ANIM_OFF); in test_bar_normal() 166 lv_obj_set_size(test_bar, w, h); in test_bar_normal() 167 lv_obj_align(test_bar, LV_ALIGN_TOP_LEFT, x, y); in test_bar_normal() [all …]
|