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_arc_1.c (346B)

      1 #include "../../lv_examples.h"
      2 
      3 #if LV_USE_ARC && LV_BUILD_EXAMPLES
      4 
      5 void lv_example_arc_1(void)
      6 {
      7     /*Create an Arc*/
      8     lv_obj_t * arc = lv_arc_create(lv_scr_act());
      9     lv_obj_set_size(arc, 150, 150);
     10     lv_arc_set_rotation(arc, 135);
     11     lv_arc_set_bg_angles(arc, 0, 270);
     12     lv_arc_set_value(arc, 40);
     13     lv_obj_center(arc);
     14 }
     15 
     16 #endif