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 |
animimg.md (1027B)
1 ```eval_rst 2 .. include:: /header.rst 3 :github_url: |github_link_base|/widgets/extra/animimg.md 4 ``` 5 # Animation Image (lv_animimg) 6 7 ## Overview 8 9 The animation image is similar to the normal 'Image' object. The only difference is that instead of one source image, you set an array of multiple source images. 10 11 You can specify a duration and repeat count. 12 13 14 ## Parts and Styles 15 - `LV_PART_MAIN` A background rectangle that uses the typical background style properties and the image itself using the image style properties. 16 17 18 ## Usage 19 20 ### Image sources 21 To set the image in a state, use the `lv_animimg_set_src(imgbtn, dsc[], num)`. 22 23 24 ## Events 25 No special events are sent by image objects. 26 27 See the events of the Base object too. 28 29 Learn more about [Events](/overview/event). 30 31 32 ## Keys 33 No Keys are processed by the object type. 34 35 Learn more about [Keys](/overview/indev). 36 37 38 ## Example 39 40 ```eval_rst 41 42 .. include:: ../../../examples/widgets/animimg/index.rst 43 44 ``` 45 46 ## API 47 48 ```eval_rst 49 50 .. doxygenfile:: lv_animimg.h 51 :project: lvgl 52 53 ```