1
0
Fork 0
wasp-os/wasp/boards
Daniel Thompson 1cb1d96ef4 boards: simulator: Pick up out-of-bounds drawing
Currently, if we ask the simulator to draw out-of-bounds then it will
do exactly that, it will draw outside of the "screen" and corrupt the
pixels of the watch frame that surrounds it. This is an obviously poor
simulation of the real watch and when the out-of-bounds error is only
an out-by-one error can be easily overlooked until we load the code on
the device.

Let's just throw an exception if we draw out-of-bounds. That can easily
be picked up during testing.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-02-25 07:36:15 +00:00
..
dsd6 dsd6, nitrogen: Make them build again 2020-06-17 21:35:19 +01:00
k9 apps: testapp: Automatically report free memory 2020-12-13 16:07:24 +00:00
nitrogen dsd6, nitrogen: Make them build again 2020-06-17 21:35:19 +01:00
p8 apps: testapp: Automatically report free memory 2020-12-13 16:07:24 +00:00
pinetime apps: testapp: Automatically report free memory 2020-12-13 16:07:24 +00:00
simulator boards: simulator: Pick up out-of-bounds drawing 2021-02-25 07:36:15 +00:00
sphinx widgets: ConfirmationView: Adopt the button widget 2021-01-10 10:34:37 +00:00
manifest_240x240.py steplogger: Introduce code to perform data logging 2021-02-21 20:27:48 +00:00