14 Commits

Author SHA1 Message Date
Thomas Farstrike a32a020e57 Replace 'magic' value 0 with semantic lv.PART.MAIN 2026-01-26 12:30:50 +01:00
Thomas Farstrike 7b65ec7301 Simplify 2026-01-23 23:25:22 +01:00
Thomas Farstrike 5b5ac9c006 Add AppearanceManager 2026-01-23 22:26:18 +01:00
Thomas Farstrike 68b6ff3886 Cleanup WidgetAnimator framework 2026-01-23 21:37:53 +01:00
Thomas Farstrike 86d9c38902 Introduce DisplayMetrics framework 2026-01-23 20:46:36 +01:00
Thomas Farstrike 5366f37de3 Remove comments 2025-12-08 12:13:39 +01:00
MarkPiazuelo 02a35e65aa TopMenu Fix
Fixed a bug where the "drawerOpen" variable would not be updated in gesture_navigation.py. Also added the back gesture as a way to exit the drawer.
2025-12-05 13:37:11 +01:00
Thomas Farstrike e77d8ec7da gesture_navigation.py: increase small swipe sensitivity 2025-11-23 14:52:04 +01:00
Thomas Farstrike 50274e749b Gesture navigation: improve robustness 2025-11-23 09:00:38 +01:00
Thomas Farstrike fd1064d552 Cleanups 2025-11-21 09:12:45 +01:00
Thomas Farstrike ca99bcaccc UI: improve swipes
- UI: only show back and down gesture icons on swipe, not on tap
- UI: double size of back and down swipe gesture starting areas for easier gestures
2025-11-20 16:36:14 +01:00
Kili 588a17fa62 fixed bug where clicking in swipe areas was ignored
Added a short movement detection for back_swipe and top_swipe because otherwise clicks in these areas where ignored. Since I (Quasi Kili) couldn't type the Q on the new mpos_keyboard on an esp32 touchscreen this was an urgent issue. You can test the before and after by clicking on the leftmost part of the q key in the wifi app or the upper bar in the connect 4 app.
Sending pressed AND clicked AND released events to the object below might not be the cleanest solution, but the simplest and most universal.
2025-11-19 12:34:16 +01:00
Thomas Farstrike f8788ccc61 gesture_navigation.py: trigger more easily 2025-11-12 09:27:31 +01:00
Thomas Farstrike a1ac5a6b16 Rename widgets to gesture_navigation 2025-11-01 08:17:02 +01:00