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

Uicomponents #35

Merged
merged 19 commits into from
Jan 21, 2024
Merged

Uicomponents #35

merged 19 commits into from
Jan 21, 2024

Conversation

cyclops1982
Copy link
Collaborator

This adds:

  • a UIEntity base class
  • 2 very basic uientity subclasses (UIBUtton and UISwitch)
  • An observer/subject interface so that HAEntity can notify the UIentity of any updates
  • Moves the client-lvgl to a list of button/switch controls in a flexbox
  • removes the uithread_refresh stuff and move over to the observer pattern where needed
  • cleans up some of the stuff we don't need anymore due to the above changes.

@Habbie
Copy link
Member

Habbie commented Jan 21, 2024

tested all 3 frontends, merging!

@Habbie Habbie merged commit f6eab33 into voorkant:main Jan 21, 2024
3 checks passed
src/HAEntity.cpp Show resolved Hide resolved
src/UIComponents.cpp Show resolved Hide resolved
src/UIComponents.cpp Show resolved Hide resolved
src/UIComponents.cpp Show resolved Hide resolved
src/UIComponents.cpp Show resolved Hide resolved
@cyclops1982 cyclops1982 mentioned this pull request Jan 22, 2024
@cyclops1982 cyclops1982 deleted the uicomponents branch December 5, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants