1
0
Fork 0
wasp-os/wasp
Daniel Thompson b8ba1a9eba widgets: ConfirmationView: Fix hit box problems
The ConfirmationView became broken when we converted it's images over to
2-bit RLE. That happened because the confirmation view relied on the
the 1-bit RLE to dynamically generate hit boxes.

Currently the code pre-calculates the hit box which is a waste of RAM.
Let's rip out the existing hit box logic and replace it with much larger
("fat finger") hit targets.

We make the touch() method more closely adopt the idioms of other UI
components (e.g. don't return the dialog status... just whether or
not we handled the touch).

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-12-30 10:29:02 +00:00
..
apps widgets: ConfirmationView: Fix hit box problems 2020-12-30 10:29:02 +00:00
boards simulator: Better align simulator RTC API with the nRF API 2020-12-29 16:07:37 +00:00
drivers boards: simulator: Improve spi.write() simulation 2020-12-12 12:57:06 +00:00
fonts icons, fonts.digits: Switch over to 2-bit RLE encoding 2020-12-28 12:01:15 +00:00
modules bma42x-upy: Implement step counter reset 2020-12-30 09:56:22 +00:00
boot.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
draw565.py draw565: Add lighten/darken functions 2020-12-29 12:30:20 +00:00
gadgetbridge.py Notify level in settings app 2020-11-29 20:20:03 +00:00
icons.py widgets: Checkbox: Add a simple checkbox widget 2020-12-29 12:32:38 +00:00
logo.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
main.py Introduction basic notification support 2020-07-19 20:50:33 +01:00
ppg.py ppg: Pull the PPG signal processing into a seperate library 2020-06-25 21:59:32 +01:00
requirements.txt simulator: Introduce fully automatic testint 2020-12-04 20:11:41 +00:00
shell.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
wasp.py widgets: BatteryMeter: Fix theme handling 2020-12-13 16:51:07 +00:00
widgets.py widgets: ConfirmationView: Fix hit box problems 2020-12-30 10:29:02 +00:00