Adapt playback layout and fonts for displays and add contrast fading

This commit is contained in:
maze committed 2026-10-29 17:30:04 +01:00
1 parent f2dd9d03e2
commit e887fdba8e
9 files changed
+104 -28

No files matched your search

+6
View File
@@ -26,6 +26,8 @@ type controllerContext struct {
previous app.Layout
settingsLayout app.Layout
settings *config.Settings
contrast uint8
contrastTarget uint8
}
func (c controllerContext) Display() display.Display {
@@ -240,4 +242,8 @@ func (c *controllerContext) handleRotaryLongPress() {
c.Show(c.settingsLayout)
}
func (c *controllerContext) SetContrast(level uint8) {
c.contrastTarget = level
}
var _ app.Context = (*controllerContext)(nil)