Commit Graph
4226 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub 6f494e109c feat(telemetry): extend link quality warnings range (#2251)
* feat(telemetry): extend link quality warnings range

* Set default values to the old legacy FrSky values

* Companion support
2022-10-12 14:28:32 +10:00
Gábor BányászandGitHub 867d627b39 Speed up bulk menu addition. (#2516)
* Speed up bulk menu bar addition.

* libopenui reference
2022-10-12 13:04:17 +10:00
Peter FeerickandGitHub d349c281c3 fix: Style/color tweaks (#2441)
* fix: Make text color for active PRIMARY1, not 2

* fix(nv14): Portrait channel monitor single column

* fix: Tweak channel bar icons and horizontal layout

* fix: Move channel bars down slightly

* fix: Active button text color
2022-10-12 12:51:37 +10:00
e90cd0f440 feat(X10/X12S) Int/Ext Antenna UI (#1765)
* feature(colorlcd): antenna selection

* fix: let's assume all internal XJT modules used in horus targets are either X10 or X12S type

* fix NV14 compilation

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-10-11 21:48:46 +10:00
Raphael CoefficandGitHub 37002080a1 fix(color): window tree preventing superfluous drawing (#2509)
This prevents the main view to be redrawn if fully covered by a tab group, a page or a full screen dialog.
2022-10-11 16:29:59 +10:00
786fbcb411 feat: Japanese radio translation 🇯🇵 (#2456)
* Japanese radio translation

`jp.h` based on #2006 (Kudos to @ToshihiroMakuuchi)

* fix: Gyro is now IMU

* Japanese modifications were made to the display. (#2171)

* Update JP translation file

* Update JP fonts

* Fix rotary encoder mode string

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: まっく まるちぷろとこる <36994795+ToshihiroMakuuchi@users.noreply.github.com>
2022-10-11 11:42:24 +10:00
c19373538a File browser touch preview (#2492)
* do not display model image when outside of the IMAGES folder

* Trigger file action only if file already selected

Co-authored-by: eshifri <eshifri@hotmail.com>
2022-10-11 10:52:50 +10:00
ulfhedlundandGitHub 50c2e5bc77 fix: Translate widget "full screen" menu option (#2511)
* Added STR_WIDGET_FULLSCREEN

* Added STR_WIDGET_FULLSCREEN

* Added STR_WIDGET_FULLSCREEN

* Added STR_WIDGET_FULLSCREEN and corrected TR_WIDGET_SETTINGS to STR_WIDGET_SETTINGS

* Added TR_WIDGET_FULLSCREEN

* Add files via upload
2022-10-11 10:37:21 +10:00
Raphael CoefficandGitHub bece340186 feat: FullscreenDialog also support long pressed ENTER (#2506)
Resolves #2500
2022-10-11 10:29:43 +10:00
Raphael CoefficandGitHub bae5102762 feat(color): Add copy button to failsafe channel (#2507)
* feat(color): add copy button to failsafe channel

Implements #2416

* Improve custom failsafe layout slightly
2022-10-11 10:09:15 +10:00
Peter FeerickandGitHub af45201f64 feat(cpn): iFlight Commando8 support (#2244)
* feat(cpn): Initial iFlight Commando8 support

* fix: Commando8 doesn't have trainer port

* feat: Add Simulator for iFlight Commando8
Also some minor code re-order for BetaFPV LR3PRO

* chore: EEPROM_VARIANT not used

* chore: Remove EEPROM bits that don't seem needed

* fix: Build simulator plugin

* fix: Simulator PGUP/PGDN the right way around

* fix: Keep trainer mode in cpn for MPM, etc
2022-10-10 12:59:28 +10:00
Raphael CoefficandGitHub a8f1973507 fix(color): outputs in portrait mode (#2489)
Fixes #2442
2022-10-09 20:49:24 +10:00
Peter FeerickandGitHub 78e2bb05a2 feat: CPP Widget names also translatable (#2454)
* feat: CPP Widget names also translatable

* chore: Add cn, cz, de, it, se, tw translations
2022-10-09 20:39:05 +10:00
Raphael CoefficandGitHub 8c8b24225d feat(EL18): Add AFHDS3 receiver options (#2470)
* Get config after switching model ID

* Remember set model ID and change it on the fly

* Add AFHDS3 options

* Fix compiler warning

* Fix box sizing

* Apply model config before editing options
2022-10-09 19:54:55 +10:00
Peter FeerickandGitHub 9fa9a0c594 fix(color): Adjust about dialog size (#2497)
Fixes #2496

* Adjusts size of dialog to look better on NV18/EL18
* Adjusts size of dialog content depending on presence of version tag

I'm sure this could be done better using LVGL,
but is enough for now IMO.

Also let the auto-formatter loose on this file.
2022-10-09 19:51:41 +10:00
40ae2e22a8 fix(gui): add missing channel IDs to mixer and output tabs. (#2464)
* fix(gui): add missing channel IDs to mixer and output tabs. Fixes #2073

* fix: input display and more space for names

* made output names fit on all display variants

* channe id display fine tuning

* Outputs with no name are bigger
... magnifying glass was not included with tx ;)

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-10-09 15:59:19 +10:00
eshifriandGitHub 80b6e10a95 fix(color): Sliders and pot warning not working (#2494) 2022-10-09 11:19:47 +10:00
Malte LangermannandGitHub e120ea1548 fix(color): Missing highlight of the Min/Max value in output editor (#2480)
* fix(gui): add missing highlight of the Min/Max value in output editor acccording to the input

* change outputs min/max highlight

* output min/max highlight the right way

* chore: Bump `libopenui`
2022-10-06 20:15:31 +10:00
Raphael CoefficandGitHub f7e3458bac fix(multi): set bind status explicitly when aborted manually (#2455)
* fix(multi): set bind status explicitly when aborted manually

Fixes #2263

* fix: adjust MPM bind status on B&W as well
2022-10-06 20:03:39 +10:00
Raphael CoefficandGitHub d014709172 fix(color): some lines containing boxes could be scrolled horizontally (#2471) 2022-10-06 17:19:20 +10:00
MichaelandGitHub 3dc4a94715 fix(color): Changes to widget options not always being saved (#2475)
* fixes issue https://github.com/EdgeTX/edgetx/issues where a change of the source value in widget settings was not written back to the model .yml file.

* fixes https://github.com/EdgeTX/edgetx/pull/2475

extended force write to .yml to all widget settings option types

* fixes issue https://github.com/EdgeTX/edgetx/issues/2465 where a change of the source value in widget settings was not written back to the model .yml file.

* https://github.com/EdgeTX/edgetx/issues/2465

extended force write to .yml to all widget settings option types

* removed unnecessary SET_DIRTY() for ModelTextEdit() as it is already handled by ModelTextEdit()

changed indent for SET_DIRTY() in lambda for Choice()

* removed unnecessary SET_DIRTY() for ModelTextEdit() as it is already handled by ModelTextEdit()

changed indent for SET_DIRTY() in lambda for Choice()
2022-10-06 16:39:26 +10:00
Raphael CoefficandGitHub 974c7e39ad fix(lua): Touch events preventing rotary encoder events being detected (#2458)
Fixes #2457
2022-10-03 21:14:17 +10:00
Raphael CoefficandGitHub 3e73d1709d fix(color): various menu toolbar fixes (#2445)
* fix: various toolbar fixes

* chore: Bump `libopenui`
Also pulls in #2446 fix
2022-10-03 13:13:12 +10:00
Raphael CoefficandGitHub 50b7df02f6 fix: R9M access subtype (#2211)
* Remove sub-type choice for R9M ACCESS modules

* pxx2: subtype is only needed for XJT lite and ISRM
2022-10-02 18:45:34 +10:00
Gábor BányászandGitHub 823e515392 fix(color): Remove rem. Window::setTextFlags() font change usage (#2440) 2022-10-02 16:13:19 +10:00
Gábor BányászandGitHub f223e49e88 fix(color): Logical switches monitor fix (#2410)
* fix(color): Logical switches monitor fix

* Direct button style modification.

* Using a custom state

* Using the default CHECKED style. Adaptation to portrait mode.
2022-10-02 10:59:19 +10:00
CliffandGitHub ae742a13ad fix(color): Prevent occasional false duplicate models (#2429) 2022-10-02 10:10:04 +10:00
Peter FeerickandPeter Feerick 6de2c35e80 fix: "Show Channel Monitor" btn only on touch only radios
Resurrecting evil PCBNV14 define as @raphaelcoeffic said he'd quit if he
had to keep scrolling past the "show channel monitor" button
2022-10-01 20:48:32 +10:00
Malte LangermannandGitHub 491e89154c fix(lua): drawTextLines line height now same as older ETX versions (#2428)
* fix(gui): line height in EdgeTX<2.8 was smaller at the same font size as with Edgetx >=2.8
to allow lua scripts to be optimized for odler and newer versions, drawTextLines now draws the text vertically condensed

needs https://github.com/EdgeTX/libopenui/pull/69

* chore: Bump `libopenui`

* fix: `FontHeightCorrection` needs to exist
Will be optimised out since not used in bootloader
2022-10-01 16:11:03 +10:00
eshifriandGitHub c19f7eafd4 fix(color): Unable to paste after Copy/Move of a mixer line (#2423) 2022-09-30 20:14:30 +10:00
eshifriandGitHub eff7bfaeea fix(color): Add extra line in telemetry screen for vertical LCD (#2422)
TODO: Is a temporary fix only until telemetry screen is reworked
2022-09-30 12:28:18 +10:00
eshifriandGitHub 53c91ce8a0 fix(color): Restore "go to channel monitor" Button (#2390)
* Restore go to channel monitor go_to_monitor_Button

* Remove unnecessary parameter.
2022-09-30 12:26:07 +10:00
Peter FeerickandGitHub 228461acaf fix(color): Trainer stick labels not updating (#2401)
Stick labels for trainer mode should match default channel order setting
2022-09-29 19:26:54 +10:00
Malte LangermannandGitHub 6b17c26610 fix(gui): vertical tab title alignment on color lcd radios fixed (#2402) 2022-09-28 21:13:29 +10:00
Raphael CoefficandGitHub f579eeb9fc fix(color): focus order after layout choice (#2394) 2022-09-28 18:26:17 +10:00
CliffandGitHub ac091b779d fix(color): Deleting empty label caused EM/Hang (#2392)
* If deleting a label, don't check size

* If rename to blank, do nothing
2022-09-28 18:19:59 +10:00
Peter FeerickandGitHub 40018cdb69 fix(color): Radio tools buttons fit screen better (#2377) 2022-09-28 12:26:10 +10:00
73861554ec feat: Support for 8s Cell Sensor such as FrSky FLVS ADV (#2302)
* first commit for FrSky 8s Lipo Sensor

FLVS Advanced transfers up to 8 cell voltages for Cels sensor

* correcting mistake made transferring local change to PR

* complementary extension of Companion telemetry simulator to enable simulation of  8 cells

* change to allow selection of cells 7 and 8 in calculated sensor with formula Cell

* (cpn) Add bin and yml conversions and basic semantic version helper

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-09-27 20:06:26 +10:00
Raphael CoefficandGitHub d8bcecfc82 fix(color): Unify button colors (#2367)
* Button: change bg color to COLOR_THEME_PRIMARY2

And text color to COLOR_THEME_SECONDARY1

Fixes #2304

* fix: TextButton constuctor calls

Setting the font in the constructor never worked, but did set the text color to black.

* chore: Bump libopenui
2022-09-27 12:52:08 +10:00
Raphael CoefficandGitHub af7679a486 feat(color): More tuning of rotary encoder acc, enable for color picker (#2366)
* Smoother encoder acceleration

* Enable encoder accel on color picker
2022-09-27 11:52:28 +10:00
Gábor BányászandGitHub 4d85f67a00 fix(color): Remove Main View - Main Zone left side offset (#2374) 2022-09-27 11:43:17 +10:00
Malte LangermannandGitHub 83c21ad054 feat: add support UTF-8 ° symbol for B&W radios (#2359)
- remove translation workaround for the `°` symbol
- switch every use of the `@` char for a `°` char to a new define
  - same for `≥` and `}`
2022-09-26 12:45:04 +10:00
Raphael CoefficandGitHub 22d784a20e feat: Use rotary encoder velocity only on specific components (#2356)
* feature: use rotary encoder velocity iff LV_OBJ_FLAG_ENCODER_ACCEL
* chore: bump libopenui
2022-09-26 11:52:51 +10:00
Raphael CoefficandGitHub 78e99311c8 feat(GT911): Add CLI command to reset touch panel cfg (#2351)
* GT911: add CLI command to reset config

Related to #2063

* X12S: touch coordinate inversion in GT911 config

Note: config reset with CLI "reset_gt911" required.

* Remove touch sensor software inversion
2022-09-25 20:27:22 +10:00
3969b2b7e3 feat: Remove TR# mixsrc when trainer disabled (#2323)
* feat: Remove TR# mixsrc when trainer disabled
When trainer mode is not enabled, there is no point
showing the TR# mixer sources. Once you enable a
trainer option, they will become visible again.

* fix: Add missing "Input" check for B&W radios

* fix(cpn): Trainer mode default is off

* chore(cpn): If trainer mode off, hide TR/PPM srcs

* (cpn) Refresh all source lists on change of trainer mode

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-09-25 19:51:35 +10:00
Raphael CoefficandPeter Feerick e4fb5e43f4 fix: disable widget select mode when going full screen 2022-09-25 19:23:17 +10:00
Malte LangermannandGitHub 0b2cb334af fix(color): @ displayed on radios instead of ° (#2347)
fix: curve selector for predefined curves now shows °, instead of @
2022-09-25 18:42:07 +10:00
7e540594fa fix: Re-add Switch and Curve long press functionality (#2332)
* Restore go to edit curve on lobg press from inputs tab.

* Restore long press functionaliy for switches SA_UP -> !SA_UP

* chore: Auto-formatting and bump libopenui

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-09-20 19:45:29 +10:00
Raphael Coeffic e8f9f646e0 fix: prevent window trash processing in confirmationDialog()
Fixes "use after free" when confirmationDialog() is used in a menu handler.
2022-09-20 08:07:09 +02:00
Peter FeerickandGitHub bccae96917 chore: Add some translation strings + update helper script (#2328)
* fix: Update translation helper for LVGL changes
Also:
- make paths more OS agnostic
- auto-ignore `untranslated.h` since adding to all translations
- flag required parameter as required

* fix: Add more Label related translatable strings

* chore: Italian translations from @robustini
Also some minor formatting tidyup

* chore: Swedish translation from @ulfhedlund

* chore: Danish translation from @HThuren
2022-09-20 12:35:19 +10:00