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

Overlay Clock #65

Merged
merged 12 commits into from
Mar 3, 2024
Merged

Overlay Clock #65

merged 12 commits into from
Mar 3, 2024

Conversation

vortigont
Copy link
Owner

Виджет "часы/дата"

a set of classes to implement on-screen widgets working via overlay

PoC: one widget with Clock date/time
 - fix bootloop when starting with empty configs
 - load defaults for clock
…ossible depending on proportional font

avoid redrawing text every tick if "show seconds" is disabled
fix artefacts from previous frame
avoid useless redraw for data and time

refactor Widget's classes
…canvas or display (i.e. starting with blank configs)
it will manage creation/destruction of widgets and configuration exchange with WebUI
optimize clear routine to cover area with proportional fonts
reduce flicker on clock updated
reduce number of useless redraws for clock
this will prevent RMT engine from starting-up at gpio 0
refine widget objects creation procedures

Clock widget will track lamp on/off events and suspend timer when not needed
@vortigont vortigont merged commit bef9a28 into master Mar 3, 2024
6 checks passed
@vortigont vortigont deleted the ovrclk branch April 29, 2024 14:51
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