How to draw progress bar


i want to draw progress bar.But i can’t find object for progress bar.Would you give some giodance?

There’s a widget called bar. See the lvgl widgets tutorial, specifically the lv_bar examples. You could use an event handler to update the values and show progress.

Thanks a lot.

i want to draw this .would you give some guidance?

It’s probably best to use an image and optionally rotate it if you want it to spin.

How to rotate it if used an image?

and search for ‘rotate’

You will find the following functions:

Thanks a lot

i want to implement signature function by Touchpad.would you give some guidance?

lv_obj_t* title = lv_label_create(lv_scr_act(), NULL);
lv_label_set_text(title, “TEST”);
lv_obj_set_size(title, 320, 10);
lv_obj_align(title, NULL, LV_ALIGN_IN_TOP_MID, 0, 30);
lv_obj_set_style_local_bg_color(title, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_ORANGE);
lv_obj_set_style_local_bg_opa(title, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_COVER);

i want color area(320*10),maybe any setting missed.would you give some guidance?