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
jfrickmann and Peter Feerick
85bd9d16ea
Added Lua constants for logical switch and special/custom functions
2021-12-15 12:24:58 +10:00
jfrickmann and Peter Feerick
a66e78fea8
Fixed string option for Lua widgets
2021-12-14 20:12:12 +10:00
Peter Feerick and Peter Feerick
b2bb0b2f28
[NV14] source_t is now uint16_t
...
Related to #1211
2021-12-14 18:08:42 +10:00
Peter Feerick and Peter Feerick
4e56f524fd
FUNC_SOUNDS, not FUNC_FIRST_WITHOUT_ENABLE
2021-12-14 18:08:42 +10:00
jfrickmann and Peter Feerick
a9c5365ccb
Truncate Mixer Lua script input and output names to 6 chars
2021-12-13 14:51:47 +10:00
Kevin Koenig and GitHub
aac60a96df
Part of dbd41d2, fixes breakage of themes list ( #1247 )
...
Listbox now explicitly captures touchEnd()
2021-12-13 15:30:27 +11:00
Peter Feerick
245790c2ff
Merge branch 'main' of https://github.com/EdgeTX/edgetx into main
2021-12-13 07:43:23 +10:00
Peter Feerick
dbd41d2ea9
[libopenui] Change touch end processing
2021-12-13 07:41:15 +10:00
Risto and GitHub
97681b2f45
Bugfix in display
2021-12-12 15:43:45 +01:00
Peter Feerick
b7efc8a8f5
[libopenui] Fix repeated touch events and sliders
2021-12-12 20:32:56 +10:00
Neil Horne and GitHub
49fe09bc58
[companion] Default sdcard sync local folder to current profile ( #1241 )
...
Set the local folder to match that set in the profiles "SD structure path" setting
2021-12-12 19:33:57 +11:00
af87e2e365
[NV14] Fix mix channel monitor size ( #1231 )
...
* fix mix channel monitor size on nv14
* add right margin to mix channel monitor on nv14
* Rebase and revert libopenui change
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-12-12 19:27:36 +11:00
Malte Langermann and GitHub
d6e1213554
Fix NV14 touch behavior ( #1242 )
...
TE_UP needs to be resettet to TE_NONE after touch read from MainWindow. If this is not done, the TE_UP event is handled multiple times
2021-12-12 12:45:04 +11:00
dlktdr and Risto
c802553189
Break non-verbose o/p on complete frames, add timestamp
2021-12-10 22:46:42 +01:00
dlktdr and Risto
99253efd75
Add verbose option
2021-12-10 22:46:42 +01:00
dlktdr and Risto
8a7ba1bd96
Add a DEBUG_BLUETOOTH option
2021-12-10 22:46:42 +01:00
Peter Feerick and Peter Feerick
48bd1ac738
Fix UI elements left visible when FLIGHT_MODES=N
2021-12-10 10:47:59 +10:00
eshifri and GitHub
928f7b3680
Fix telemetry source size on NV14 ( #1211 )
2021-12-10 11:47:07 +11:00
1912ec6426
Fix building with -DGVARS=NO ( #1232 )
...
* Fix building with -DGVARS=NO
* Thx @eshifri for the tip
Better solution
* Don't show GVARS tab if GVARS turned off
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-12-10 09:50:45 +11:00
Raphael Coeffic
665b9ee4d1
Fixes switch warning evaluation on COLORLCD
2021-12-09 10:38:04 +01:00
Raphael Coeffic
b29771c425
Do not allow 2POS warning to be set in middle position.
2021-12-09 09:51:30 +01:00
Raphael Coeffic
571cae732c
Unify switch warnings
2021-12-09 09:48:28 +01:00
Raphael Coeffic
416084b9e0
Fix unit tests for X7 derivates
2021-12-09 09:20:01 +01:00
Raphael Coeffic
865cf06b0d
Revamped switch state checking
2021-12-09 09:20:01 +01:00
Raphael Coeffic
998af78f19
Remove MENUS_LOCK
2021-12-09 09:11:00 +01:00
Neil Horne and GitHub
54e7caf07e
Align Companion radio default settings ( #1228 )
2021-12-09 11:31:05 +11:00
Peter Feerick
79e52521ac
[libopenui] Fix for Curve edit not working #1087
2021-12-08 21:48:20 +10:00
Peter Feerick and Peter Feerick
17af4b5775
[colorlcd] Re-enable GHOST tools entry
...
There is a known bug, but it is better than not config tool for now
2021-12-07 19:49:05 +10:00
Peter Feerick and Peter Feerick
90df2540ba
[NV14] Enable GHOST by default
...
As is already the case with Horus colorlcd targets
2021-12-07 19:49:05 +10:00
Peter Feerick and GitHub
8fa1d91e65
SD Card version cleanup + update more OTX references ( #1194 )
...
* Remove references to `REQUIRED_SDCARD_VERSION`
* EdgeTX, not OpenTX
* Alignment
2021-12-07 20:48:36 +11:00
16fc05ad8e
Fix showing of non-existent pots in warnings group ( #1129 )
...
* pots warning enabled fix
* yaml_generator whitespace
* Fix UART_MODE_DEBUG
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-12-07 20:03:28 +11:00
Peter Feerick and Peter Feerick
15a6b6f1d4
Ensure stock internal module is set where possible
...
e.g. where before a complete wipe or unsupported upgrade path failure
failed to enable NV14 internal module by default.
2021-12-07 18:32:31 +10:00
jfrickmann and Peter Feerick
4d3c8d52a5
Making tests pass with new trim limits
2021-12-07 18:32:09 +10:00
jfrickmann and Peter Feerick
5efd910edc
Changed the max. trim values to the suggested
2021-12-07 18:32:09 +10:00
Peter Feerick
0618d6ef6a
[colorlcd] Fix Frsky 9-16 TELEM OFF not working
...
Resolves #1197
2021-12-06 09:37:31 +10:00
9694689067
[colorlcd] Sort Lua scripts before building UI in radio tools ( #1150 )
...
* sort lua scripts before building ui in radio tools
* Formatting
* Case insensitive sorting
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com >
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-12-05 23:50:52 +11:00
71dd6bca89
More optimisations to Theme Editor ( #1210 )
...
* fix some minor issues
* 1. fixed issue with FullScreenDialog when over a window that processes onTouchStart
2. Fixed Huse and RFB bar positioning
3. added the ability to pause the filecarosell
4. now when the Theme Browser isnt the top of the stack it pauses the FileCarosell. Good for perf
5. Add more preview controls so all colors can be seen
6. Lots of little layout issues fixed
* layout changes for nv14
* fix listbox. dont call selection handler if the newly selected item is the same as the selected one.
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com >
2021-12-05 12:09:08 +11:00
eshifri and GitHub
ee883c8354
Support file copy within the same folder ( #1209 )
...
* support file copy to the same folder #294
* support file copy to the same folder; B&W radios added.
* fix the syntax
2021-12-05 11:50:08 +11:00
Malte Langermann and GitHub
ec01fa8df9
RLE for greyscale lcd (gives more firmware space!) ( #1142 )
...
* use RLE encodes bitmaps on 212x64 pixel radios
* fix model image display
fix icon display
* implement RLE bitmaps in companion for splash image on 212x64 radios
reserve 3kB for RLE bitmaps in firmware
* fix size check
* use defines instead of magic numbers
* fix display of splash screens on 212x64 radios
* add warning message if compressed image is larger than the reserved space
2021-12-04 15:06:23 +11:00
Raphael Coeffic and GitHub
995e41469e
Fixed "lua(...,...)" source ( #1208 )
...
Resolves #1205
2021-12-04 14:37:03 +11:00
Malte Langermann and GitHub
789692fc8e
Fix crash on tab group sub page access/exit ( #1206 )
...
Fixes where touching first widget space on top bar when editing would lead to segfault / radio crash
2021-12-03 10:26:30 +11:00
Peter Feerick and GitHub
8a47acd809
Fix model## format model notes not working ( #1202 )
...
use yml instead of bin to construct notes file name from model file n…
2021-12-02 11:52:23 +10:00
eshifri
3ab7489d6c
use definitions rather than hard-coded lines
2021-12-01 17:11:09 -08:00
66086e0c10
Fix minor compiler warnings ( #1200 )
...
* Fix compiler warning
Fix compiler warning about comparing signed with unsigned.
* Fix minor bug
category->size() is unsigned int, not long unsigned int
* Typo
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-12-02 12:06:09 +11:00
eshifri
8da84ad59b
use yml instead of bin to construct notes file name from model file name. #1198
2021-12-01 16:38:46 -08:00
Peter Feerick
3ab896ba2e
[libopenui] Fix touch end segf, compiler warnings
2021-12-02 10:32:01 +10:00
jfrickmann and Peter Feerick
28b211ff48
Reload Lua scripts when a function script is changed on COLORLCD
2021-12-02 10:08:27 +10:00
jfrickmann and Risto
14f72e1d82
Added new Lua API functions for switches
...
getSwitchId(positionName)
getSwitchName(switchId)
getSwitchValue(switchId)
getPhysicalSwitches()
2021-12-01 18:41:04 +01:00
Ari Stehney and Peter Feerick
d94b6fb9e8
Fix filename when saved manually via flasher.
...
Added trailing - on access radio versions to fix the naming on saved files.
x7-edgetx-v2.5.0 would stay
x7-accessedgetx-v2.5.0 would change to x7-access-edgetx-v2.5.0
2021-12-01 13:34:10 +10:00