eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
500 stars 90 forks source link

[LVGL] Allow images from different sources #401

Open mvladic opened 4 months ago

mvladic commented 4 months ago

We currently only support images coming from variable of type lv_image_dsc_t *. Support also:

Consider supporting this with minimal changes in auto generated source files.

mvladic commented 4 months ago

For strings, we could ad an additional property to the BItmap:

[x] In the runtime load image from the string: S:/{name}.bin_______

or even as Project Settings property, so that all your images by default are from strings.

For symbols, you could directly enter for the image source property:

image

This means that we should forbid bitmap/image names to start with LV_SYMBOL.