first commit
This commit is contained in:
commit
e6a42e28e9
4355 changed files with 4626605 additions and 0 deletions
12
libraries/lvgl/examples/widgets/bar/lv_example_bar_1.c
Normal file
12
libraries/lvgl/examples/widgets/bar/lv_example_bar_1.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include "../../lv_examples.h"
|
||||
#if LV_USE_BAR && LV_BUILD_EXAMPLES
|
||||
|
||||
void lv_example_bar_1(void)
|
||||
{
|
||||
lv_obj_t * bar1 = lv_bar_create(lv_scr_act());
|
||||
lv_obj_set_size(bar1, 200, 20);
|
||||
lv_obj_center(bar1);
|
||||
lv_bar_set_value(bar1, 70, LV_ANIM_OFF);
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue