acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_example_bar_1.c (265B)

      1 #include "../../lv_examples.h"
      2 #if LV_USE_BAR && LV_BUILD_EXAMPLES
      3 
      4 void lv_example_bar_1(void)
      5 {
      6     lv_obj_t * bar1 = lv_bar_create(lv_scr_act());
      7     lv_obj_set_size(bar1, 200, 20);
      8     lv_obj_center(bar1);
      9     lv_bar_set_value(bar1, 70, LV_ANIM_OFF);
     10 }
     11 
     12 #endif