Skip to content

Offer component to apps for setting eink refresh#45

Open
geloescht wants to merge 2 commits intoasivery:masterfrom
geloescht:display-method
Open

Offer component to apps for setting eink refresh#45
geloescht wants to merge 2 commits intoasivery:masterfrom
geloescht:display-method

Conversation

@geloescht
Copy link
Copy Markdown

This PR adds the module HostWrappers and the component DisplayMethodArea, allowing app authors to set the refresh method of parts of the screen in QML without importing proprietary modules and exposing host code or needing to resort to QMD and hashing. It also shows how to use it in the example frontend-only.
I am not sure if the plain HostWrappers is good as a module name, feel free to either adopt the module into your own namespace or leave it as it is.

@geloescht
Copy link
Copy Markdown
Author

Note that I haven't tested this on the PC emulator, since the right version of Qt6 is not available on my system. The wrapper probably needs some changes to function when not patched via QMD.
Also I guess some documentation would be nice...

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.

1 participant