Skip to content

feat(color): enhancements and fixes for Lua LVGL API#5558

Merged
pfeerick merged 12 commits into
mainfrom
philmoz/lua-lvgl-update
Sep 29, 2024
Merged

feat(color): enhancements and fixes for Lua LVGL API#5558
pfeerick merged 12 commits into
mainfrom
philmoz/lua-lvgl-update

Conversation

@philmoz

@philmoz philmoz commented Sep 24, 2024

Copy link
Copy Markdown
Collaborator

Fix some issues and add some new features to the Lua LVGL API.

New:

  • line and triangle primitives
  • message popup dialog
  • expose buttons for for font, alignment, color, timer, switch and source pickers
  • generic popup dialog that can be filled with other things
  • lvgl.isAppMode() function to let widgets know when app mode is active
  • additional containers for creating layouts (box and setting)
  • flex layouts

Fixes:

  • colors are updated when theme changes
  • fix memory leaks when stand alone scripts close
  • run stand alone scripts in a separate Lua state and use lua_pcallk() to prevent cross boundary errors (color only)

@philmoz philmoz added enhancement ✨ New feature or request color Related generally to color LCD radios lua-api Lua API related labels Sep 24, 2024
@philmoz philmoz added this to the 2.11 milestone Sep 24, 2024
@philmoz

philmoz commented Sep 24, 2024

Copy link
Copy Markdown
Collaborator Author

Example of new features:

Dialog and popups for selecting font, source, etc:
screenshot_t15_24-09-22_13-53-35

Message dialog:
screenshot_t15_24-09-22_13-53-38

Line and triangle primitives:
screenshot_t15_24-09-22_13-56-41

@philmoz
philmoz force-pushed the philmoz/lua-lvgl-update branch from 1f85ea3 to 4d2b45b Compare September 27, 2024 08:45
@pfeerick pfeerick changed the title feat(color): enhancements and fixes for Lua LVGL API. feat(color): enhancements and fixes for Lua LVGL API Sep 29, 2024
@pfeerick
pfeerick merged commit c1c600c into main Sep 29, 2024
@pfeerick
pfeerick deleted the philmoz/lua-lvgl-update branch September 29, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

color Related generally to color LCD radios enhancement ✨ New feature or request lua-api Lua API related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants