Commit Graph
1275 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic a079d3987c LVGL sliders 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 49ba2e46b2 Some more fixes related to scrolling 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ba6f3dd9a2 Use LVGL scrolling events 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 014f7026af make buttons do the styling better. I still cant get text color right on focused items. 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 0328ab4a5a clean LVGL objects on Window::clear() 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic b71cfcd8eb - fix window position functions to call lvgl 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic af575f20f1 fix some lvgl lifetime management issues 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic ee1cfdf987 fix some touch issues
update min screen on input changes
2022-06-11 15:13:11 +02:00
Malte LangermannandRaphael Coeffic e575d122a1 use the lvgl canvas buffer to directly draw on 2022-06-11 15:13:11 +02:00
Malte LangermannandRaphael Coeffic 79a2c3e28a fix warning 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 78f6adb6ea more files that were left out 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 56968f42fa more changes for lvgl sync. TextEdit is much better on coloring and eventing 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 2a85442708 added factory code, and the beginnings of styling 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 3d2b5bf460 move libopenui draw canvas to the back when switching screens 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic bc961b7b8f fix changing height of a window 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 6b70baf63a 1. basic changes to mirror libopnui window hierararchy to lvgl object hierarchy
2. basic scroll support
3. Basic layer support (still pretty broken), multiple screen support
4. Preliminary impelemntation of TextEdit using lvgl.
5. Preliminary implementation of StaticText using lvgl.
6. Preliminary implementation of TextButton using lvgl.
2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic e538138ade made change to be able to use libopenui with lvgl as underlying lib 2022-06-11 15:13:11 +02:00
Raphael Coeffic 93b8bf129c Moved FreeRTOS to submodule (v10.4.6) 2022-04-03 17:01:58 +02:00
Raphael Coeffic 346de7ece4 Move extmodule_driver to stm32 common part
And add support for F2
2022-03-20 16:22:13 +01:00
Raphael Coeffic 0bb42b79ef Add newer CMSIS headers 2022-03-20 16:22:13 +01:00
Raphael Coeffic a955112160 Added newer CMSIS STM32F4xx 2022-03-20 16:22:12 +01:00
Raphael Coeffic 3f6f1499b7 Added STM32F4xx_HAL_Driver 2022-03-20 16:22:12 +01:00
88a4458cfe fix: Resolve some issues with touch TE_SLIDE_END, and tapCount on NV14 (#1434)
* move TE_SLIDE_END handling for slide inertia to libopenui
reset tapCount on TE_SLIDE_END on NV14

* Bump libopenui

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-21 20:29:18 +10:00
Malte LangermannandGitHub b624ffc631 Move TE_SLIDE_END inertia handling to completely to libopenui (#50)
stop continuing TW_SLIDE_END events after sliding stops
2022-01-21 19:56:33 +10:00
Peter FeerickandPeter Feerick e4369af048 [libopenui] Fix screen widget layout line color 2021-12-24 13:08:55 +10:00
Peter Feerick 0458ef4537 [menu] Change theme color used for drawLine 2021-12-23 10:18:48 +10:00
843d1be868 Fix wrong Chinese characters being displayed (#1257)
* Fixed wrong index calculation.

* Fixed font generation, indexing will goes wrong when no extra chars bitmap is present.

* Image width exceeded 16384 will cause trouble in CJK.

* Include libopenui update

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-17 10:32:28 +11:00
richardclliandGitHub 987bc073cd Fixed wrong index calculation (chinese character display) (#46)
Companion for EdgeTX/edgetx#1257
2021-12-17 09:48:42 +11:00
Peter Feerick dbd41d2ea9 [libopenui] Change touch end processing 2021-12-13 07:41:15 +10:00
Kevin KoenigandGitHub f81fa679d7 Change touch end processing (#45)
1. removed the generic touchedWindow processing
2. replaced it with an implicit capture processing
3. therefore it works like normal in all instances except ListBox() which explicitely captures the up.
2021-12-13 08:39:44 +11:00
Peter Feerick b7efc8a8f5 [libopenui] Fix repeated touch events and sliders 2021-12-12 20:32:56 +10:00
kkoenig1@optonline.comandPeter Feerick 580849386b fix touch end after slide 2021-12-12 20:04:34 +10:00
Malte LangermannandGitHub b8f17aa3f9 Fix repeated touch events (#44)
* fix repeated touch event execution

* handle all touch events only once, except for TE_SLIDE_END for touch inertia
2021-12-12 20:00:28 +11:00
Peter Feerick 79e52521ac [libopenui] Fix for Curve edit not working #1087 2021-12-08 21:48:20 +10:00
Peter FeerickandPeter Feerick a557b5d2fe Let buttons catch touchStart
Resolves https://github.com/EdgeTX/edgetx/issues/1087
2021-12-08 21:46:04 +10:00
Peter Feerick 3ab896ba2e [libopenui] Fix touch end segf, compiler warnings 2021-12-02 10:32:01 +10:00
RistoandGitHub 929847209d Fixed compiler warnings (#41)
Fixed 4 compiler warnings about comparison of signed and unsigned int.
2021-12-02 11:28:13 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
faae2fff8c Fix touch slide end segfault (#40)
* fix touch slide/end issue

* Revert "fix touch slide/end issue"

This reverts commit e9f11fe9905ff3e175e2f37aeafac0fa20956450.

* fix tocuh slide/end issue

* Revert "fix tocuh slide/end issue"

This reverts commit 82264c8382736a1c7b60a0e41b7188c429d2c43f.

* put the file in the wrong place

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-12-02 10:41:08 +11:00
Peter Feerick 316e18f800 Bump libopenui (non-touch compile bug) 2021-11-30 22:19:40 +10:00
Peter Feerick cd52eb9737 Fix #39 hardware touch whoopsie 2021-11-30 22:17:31 +10:00
Peter Feerick 2bdf1ff600 [libopenui ] Fix enable/disable popup menu filters
Can now enable and disable filters in popup menus (i.e. source, switch)
Active filter is now also highlighted
Use page keys to scroll through filters if no touch
Resolves #228
2021-11-30 21:19:01 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
758c56a4cf Fix being able to enable and disable popup menu filters (#39)
* fix-228

* removed commented codes

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-30 22:14:57 +11:00
jfrickmannandPeter Feerick 81cb94a4bf Added string constants to the read-only tables in Lua 2021-11-29 12:00:50 +10:00
Peter Feerick 95f853f54e [libopenui] Fix touch slide intertia
Thanks @gagarinlg!
2021-11-26 20:38:53 +10:00
Malte LangermannandGitHub 1a886dee5f Fix scroll inertia (again) (#38)
* fix scroll inertia

* scroll inertia now works like before touch on/off changes
2021-11-26 21:37:29 +11:00
Peter FeerickandPeter Feerick b3cbf73aa0 Enable lua table for colorlcd, not just horus 2021-11-25 11:18:33 +10:00
Peter Feerick a1d279a552 Bump libopenui to for #1077 fix 2021-11-21 20:56:40 +10:00
gagarinlgandPeter Feerick 4e1cba2bad fix scroll inertia 2021-11-21 20:53:50 +10:00
Raphael CoefficandRaphael Coeffic f3301e6210 Added control line and bitrate callbacks
And some additional clean-up
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic aa7b0143bd Add active polling on UART buffer and bigger USB buffers 2021-11-21 11:18:35 +01:00