Raphael Coeffic
10e1982b23
Form field: re-implemented enable/disable
2022-08-22 09:04:27 +02:00
Michael and GitHub
34dadf7b65
fix: Audio/haptic feedback for all hard keys except trim switches ( #2201 )
...
* Added audio/haptic feedback for all hard keys excpet trim switches.
Changed logic from application decides if feedback has to be given (was inconsistent and inefficient) to key driver detects button down and triggers immediate feedback if radio settings allowed for acoustic and/or haptic feedback (radio settings, radio setup, sound set to All)
With this change all instances of the application calling for feedback were removed in favor of the centralized approach.
This first commit also introduces a dummy function for providing feedback on key presses in boot.cpp because keys.cpp is also used as the bootloader key driver but with no logic to determine if feedback is allowed. Using a define that indicates keys.cpp is compiled for use in the bootloader would make a much nicer and backwards compatible solution.
* don't want to change libopenui so silence onKeyPress (application requests feedback) in audio.cpp
* made generation of acoustic/haptic feedback conditional on BOOT define, i.e. no feedback if keys.cpp is compiled for the bootloader
* removed onKeyPress()
* fixed crash on acoustic/haptic feedback on hard keys by restoring keys.cpp and moving logic to LvglWrapper.cpp/keyboardDriverRead().
Removed call to getWindowEvent() which would just call getEvent(false) by directly calling getEvent(false). This allowed to remove getWindowEvent() entirely as it was only used by keyboardDriverRead().
* fix: Audio header include no longer needed
2022-08-19 15:00:50 +10:00
Michael and GitHub
e227c18113
Remove onKeyPress() and unused getWindowsEvent()
...
* deleted onKeyPress() due to PR https://github.com/EdgeTX/edgetx/pull/2201
* deleted reference to getWindowEvent(), no longer used due to PR https://github.com/EdgeTX/edgetx/pull/2201
* cosmetics - remove commented out getWindowsEvent()
2022-08-19 13:30:53 +10:00
Peter Feerick and Peter Feerick
8c228bc50f
chore: Bump submodule libopenui
2022-08-18 12:38:35 +10:00
Raphael Coeffic and Peter Feerick
2c4533ddbd
textedit: extra_chars has been removed
2022-08-18 12:38:35 +10:00
Raphael Coeffic and Peter Feerick
647d19bbc9
Fix access settings pop-ups
2022-08-18 12:38:35 +10:00
Raphael Coeffic and Peter Feerick
84f402569f
textedit: simplified implementation
2022-08-18 12:12:02 +10:00
Raphael Coeffic and Peter Feerick
7ab53f757f
window: clear lvobj before deleting it
2022-08-18 12:12:02 +10:00
Raphael Coeffic
9767b4baf1
textedit: removed useless code and added update()
2022-08-06 08:43:35 +02:00
Raphael Coeffic
aecc5104f8
Update libopenui
...
Fixes issue with NumberEdit not editable via keys
2022-08-01 11:23:10 +02:00
Raphael Coeffic
9c4a0d78a9
number edit: install call back regardless of _getValue
2022-08-01 11:22:00 +02:00
Cliff and GitHub
eb6f0e56cd
Menu multiselect with checkmark ( #54 )
...
* Menu multiselect with checkmark
* missed brace
2022-07-30 12:53:46 +10:00
gagarinlg
4084497c70
fix: use libopenui with working pixel draw check
2022-07-26 21:12:29 +02:00
gagarinlg and Raphael Coeffic
4d34becd2c
fix: the check to prevent out of screenbuffer drawing did not work
2022-07-25 10:28:39 +02:00
gagarinlg
bc12aa2b6d
fix: compilation with -DDEBUG_WINDOWS enabled
2022-07-24 16:36:51 +02:00
gagarinlg
d76c6415c9
fix compilation with -DDEBUG_WINDOWS
2022-07-24 16:26:58 +02:00
Raphael Coeffic
1bc35f54de
color: fix print format warnings
2022-07-04 07:56:28 +02:00
Raphael Coeffic
87ef19a9de
static: fix format warnings
2022-07-04 07:54:39 +02:00
Raphael Coeffic
6b1ca16c7f
progress: limit value to 100
2022-07-03 07:16:46 +02:00
Raphael Coeffic and Raphael Coeffic
81e60eb5a2
Custom failsafe: flex layout and channel hold / no pulse
2022-06-25 15:37:11 +02:00
Raphael Coeffic
0d8b36a0cf
virtual BaseNumberEdit::update()
2022-06-20 16:28:58 +02:00
Raphael Coeffic
9f24e2d131
Radio setup: prevent scrolling with wrap boxes
2022-06-20 08:05:09 +02:00
Raphael Coeffic
f4916a3c4f
FormGroup::Line: add setLayout()
2022-06-20 08:03:23 +02:00
Raphael Coeffic
0255bd5f3c
base number edit: allow setting _getValue later and update from current value
2022-06-19 14:24:03 +02:00
Raphael Coeffic
0d8628f0ce
form line: add constructor without lvobj
2022-06-19 14:24:03 +02:00
Raphael Coeffic
42b98362c3
checkbox: allow setting _getValue later
2022-06-19 14:24:03 +02:00
Raphael Coeffic
ff6a0bca56
number edit: allow null _getValue
2022-06-19 14:24:03 +02:00
Raphael Coeffic
e10545b53f
flex grid layout: copy constructor
2022-06-19 14:24:03 +02:00
Kevin Koenig and GitHub
8874711cb4
Keep highlighted row with lv_table on touch release ( #2059 )
2022-06-19 14:22:29 +02:00
kevin koenig
314e5dc538
rename table
2022-06-17 15:23:42 -04:00
kevin koenig
732cb1ba19
fix table behavor on touch release (Highlight)
2022-06-17 06:02:01 -04:00
Raphael Coeffic and Raphael Coeffic
e91e4e9c80
Padding adjustments
2022-06-14 22:57:59 +02:00
Raphael Coeffic and Raphael Coeffic
51ca20535b
radio hardware: flex layout WiP
2022-06-14 22:57:59 +02:00
Raphael Coeffic
85cdf709a0
window: add padding methods
2022-06-14 09:42:40 +02:00
Raphael Coeffic
015c4795ca
Padding adjustments & dialog autosize
2022-06-14 09:42:39 +02:00
Raphael Coeffic and Raphael Coeffic
e75ec459f1
Cleanup
2022-06-13 22:43:45 +02:00
Raphael Coeffic and Raphael Coeffic
3ae39a3050
Add inactivity counter reset to LVGL device drivers
2022-06-13 22:43:45 +02:00
Raphael Coeffic and Raphael Coeffic
6f15104bb4
main window: remove last rest of touch handling
2022-06-13 21:02:24 +02:00
Raphael Coeffic
27f55f5260
Update libopenui
2022-06-12 19:19:55 +02:00
Raphael Coeffic
7679077632
window: allow for accessing LVGL obj / children in close handler
2022-06-12 19:19:35 +02:00
Raphael Coeffic
41ab90ad36
fix(dynamic numbers): precision flags
2022-06-12 11:58:57 +02:00
Raphael Coeffic
0f60134dd5
fix(logical switches): fixed "ddd"
2022-06-12 11:31:48 +02:00
Raphael Coeffic
cda44291f7
base number edit: streamlined code a bit
2022-06-12 11:30:56 +02:00
Raphael Coeffic and Raphael Coeffic
691b2a5b06
Update libopenui to merged master branch
2022-06-11 15:38:08 +02:00
Raphael Coeffic and Raphael Coeffic
dff0478351
file browser: re-add bitmap preview
2022-06-11 15:38:08 +02:00
Raphael Coeffic and Raphael Coeffic
7e5d8ee7ac
Fixed compilation on non-touch targets
2022-06-11 15:38:08 +02:00
Raphael Coeffic and Raphael Coeffic
10615b0201
trainer page: flex layout
2022-06-11 15:38:08 +02:00
Raphael Coeffic and Raphael Coeffic
eae8a93525
Update libopenui (scroll on focus fix)
2022-06-11 15:38:08 +02:00
Raphael Coeffic and Raphael Coeffic
2a22220a65
Update libopenui (button fix)
2022-06-11 15:38:08 +02:00
gagarinlg and Raphael Coeffic
1df4d43eb3
finalize radio setup page
2022-06-11 15:38:08 +02:00