luavgl
luavgl copied to clipboard
lua + lvgl = luavgl An optimized lvgl Lua binding
Exposing the Widgets creation API directly to the global environment creates the UI in the following form. ```lua Object{ w = lvgl.SIZE_CONTENT, h = lvgl.SIZE_CONTENT Object{ Button{ text = "btn"...
### Introduce the problem Would need these three API and some constants. lv_palette_main(LV_PALETTE_...) lv_palette_lighten(LV_PALETTE_..., v) lv_palette_darken(LV_PALETTE_..., v) ### Proposal _No response_
### Introduce the problem I don't see any way to construct an image, either draw_ctx or canvas. I need to construct RGB and HSL spectrum gradient bitmaps. I can make...
### Introduce the problem Avoid including string.h etc. directly since it may not be available. ### Proposal _No response_
### Introduce the problem APIs for lvgl.display is missing in file lvgl.lua ### Proposal _No response_
### Introduce the problem Add one simple build test is enough for now. ### Proposal _No response_
### Introduce the problem Use LVGL's property API instead of manually calling every widget's property API like `lv_image_set_rotation` could simplify the porting layer between LVGL and LUA. Also need to...
ToDos
- [x] obj:anim rework to use uservalue table instead of C arrays. - [x] obj:anim add done_cb support, so application knows when anim is done. - [x] use pcall instead...
### Introduce the problem I think Lua is very good language for embedded systems, however LVGL doesn't have an officially supported Lua binding yet. Your solution seems quite complete and...
### Introduce the problem Just like the micropython CI in lvgl. Develop a basic UI test case in lua, so it can run from lvgl's CI. ### Proposal 1. Snapshot...