Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Sep 24, 2024

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
Copy link
Collaborator Author

philmoz commented Sep 24, 2024

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

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.

1 participant