Raphael Coeffic and Raphael Coeffic
648d60948b
Remove event bubbling
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
0f06fad706
Fix touch events
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
4fc2fc8ae6
Layers are only meant to backup the focus window
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael Coeffic
684a004f9e
changes for keyboard processing. It is pretty good now. The next thing will be to do the numeric keyboard. Stay tuned
2022-06-11 15:13:11 +02:00
gagarinlg and Raphael Coeffic
a6a387a87c
reduce redraw issues on screen change
...
fix crash when lvobj is already deleted, but events are still in the queue
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
7f724c187d
Fixed scrolling
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael Coeffic
2baf771c30
1. fix slider setValue and getValue.
...
2. add editMode processing so focus gets set on pressing slider.
3. fix right align of Static. Clean up color processing
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
d438525f72
Fix sliders with "getValue" begin null
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
f112e42282
Style fixes for TextEdit
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
b788bdb842
Use touch events only from LVGL
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
197d177a6c
Add slider edit style
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
56a36968b7
Fix propagating focus from LVGL to libopenui
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
a079d3987c
LVGL sliders
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
49ba2e46b2
Some more fixes related to scrolling
2022-06-11 15:13:11 +02:00
Raphael Coeffic and Raphael Coeffic
ba6f3dd9a2
Use LVGL scrolling events
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael 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
gagarinlg and Raphael Coeffic
0328ab4a5a
clean LVGL objects on Window::clear()
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael Coeffic
b71cfcd8eb
- fix window position functions to call lvgl
2022-06-11 15:13:11 +02:00
gagarinlg and Raphael Coeffic
af575f20f1
fix some lvgl lifetime management issues
2022-06-11 15:13:11 +02:00
gagarinlg and Raphael Coeffic
ee1cfdf987
fix some touch issues
...
update min screen on input changes
2022-06-11 15:13:11 +02:00
Malte Langermann and Raphael Coeffic
e575d122a1
use the lvgl canvas buffer to directly draw on
2022-06-11 15:13:11 +02:00
Malte Langermann and Raphael Coeffic
79a2c3e28a
fix warning
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael Coeffic
78f6adb6ea
more files that were left out
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael 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.com and Raphael Coeffic
2a85442708
added factory code, and the beginnings of styling
2022-06-11 15:13:11 +02:00
gagarinlg and Raphael Coeffic
3d2b5bf460
move libopenui draw canvas to the back when switching screens
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael Coeffic
bc961b7b8f
fix changing height of a window
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.com and Raphael 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
gagarinlg and Raphael Coeffic
e538138ade
made change to be able to use libopenui with lvgl as underlying lib
2022-06-11 15:13:11 +02:00
Malte Langermann and GitHub
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 Feerick
0458ef4537
[menu] Change theme color used for drawLine
2021-12-23 10:18:48 +10:00
richardclli and GitHub
987bc073cd
Fixed wrong index calculation (chinese character display) ( #46 )
...
Companion for EdgeTX/edgetx#1257
2021-12-17 09:48:42 +11:00
Kevin Koenig and GitHub
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
kkoenig1@optonline.com and Peter Feerick
580849386b
fix touch end after slide
2021-12-12 20:04:34 +10:00
Malte Langermann and GitHub
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 and Peter Feerick
a557b5d2fe
Let buttons catch touchStart
...
Resolves https://github.com/EdgeTX/edgetx/issues/1087
2021-12-08 21:46:04 +10:00
Risto and GitHub
929847209d
Fixed compiler warnings ( #41 )
...
Fixed 4 compiler warnings about comparison of signed and unsigned int.
2021-12-02 11:28:13 +11:00
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
cd52eb9737
Fix #39 hardware touch whoopsie
2021-11-30 22:17:31 +10:00
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
Malte Langermann and GitHub
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
gagarinlg and Peter Feerick
4e1cba2bad
fix scroll inertia
2021-11-21 20:53:50 +10:00
Peter Feerick and Peter Feerick
b211ce5af6
If scroll value out of range, set min or max number_edit value
2021-11-18 10:56:13 +10:00
Peter Feerick and GitHub
dd8c122db5
Adjust theme constants use by Menu
2021-11-15 22:04:31 +11:00
Malte Langermann and GitHub
01f9e83117
Implement touch disable/enable statemachine ( #34 )
...
* implemented a touch disable/enable statemachine
works as follows:
if touch is enabled, everything is processed
if touch is disabled, nothing is processed
when switching from disabled to enabled, and the display touched before, the TE_UP/TE_SLIDE_END ist ignored
when switching from enabled to disabled and the display is touched, the next TE_UP/TW_SLIDE_END will be processed, to leave nobody in a touch started but never ended state
* fix touch screen handling when staring touch while disabled and releasing touch when enabled
* touch on/off with backlight on/off is working
* setTouchEnable has to be #if defed for touch radios
2021-11-15 21:07:56 +11:00
Malte Langermann and GitHub
40432653bd
Make sliders honor the enable bool ( #33 )
2021-11-10 21:58:11 +11:00
4c0518d2d9
Fix continuously touch end events and ensuretouchEnd if no scroll
...
* minor changes to touch and slide processing. set event to TE_NONE so you don't continuously get touch end events.
also make sure you get touchEnd if you slid but there is no sliding window (e.g. no scroll happened)
* revert slide operations back to their original state
* fix merge issue
* one more try and it should be right now
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com >
2021-11-04 21:57:37 +11:00
Peter Feerick and GitHub
cabf8cca45
Merge pull request #28 from kevinkoenig/fix-slide-touch
...
Fix slide touch - merge commit to save grief with another PR
2021-10-29 11:33:59 +10:00
gagarinlg and Peter Feerick
45db1393d6
added a way to disable touch screen event handling
...
Needed for EdgeTX issue #185
2021-10-24 22:32:03 +11:00
28f224e64a
Fix drawBitmapAbs transparency (i.e. PNGs) ( #27 )
...
* fix tansparency: when a bitmap change dimension, the function
drawBitmapAbs() is called.
this function respect the original format now !
* A BitmapBuffer can be draw inside another BitmaBuffer (ex: function
paint( BitmapBuffer * dc )) If the format is different, now the drawing
is correct.
Co-authored-by: Runsys16 <rene.negre@orange.com >
2021-10-23 12:07:03 +11:00