Skip to content

py,st3m: Only redraw overlays when something changes

dos requested to merge dos/flow3r-firmware:overlay-redraw into main

Let each overlay report whether it needs to redraw itself and what region of the screen it's interested in.

In order to not introduce unneccessary allocations, a single mutable region object gets passed into each overlay.

The mechanism around tray Icons could be a bit cleaner, but maybe later :P

Edited by dos

Merge request reports