* Add padding to 'Trims' and 'Throttle' setup pages.
* Add padding to pre-flight checks page.
Make button size consistent.
Fit more buttons per row,
Display proper pot and slider names for center beeps.
* Add padding to radio setup pages (Sound, Vario, Haptic, Alarm, Backlight and GPS).
Move backlight inactivity timer to its own line and add a label (requires translation).
* Update translation.
* Hide Backlight controls that are not relevant to the backlight mode selected.
* Update translation.
* Update translation.
* Update translation.
* Update translation.
* Update translation.
* Display time on main screen and telemetry for B&W radios.
Fix position for timer0 display on telemetry screen (was off screen).
* Put the time between the trim bars.
Center the stick boxes and the pot/slider bars.
* Remove code for unsupported radios.
* Fixes for B&W radio UI screens.
* Fix curve display to fit new size. Adjust curve for better horizontal symmetry. Adjust position crosshair to better fit curve line.
* fix(cpn): Model print global and special functions
* fix(cpn): Model print sf/gf adjust gvar abbreviate further
* fix(cpn): Model print gf/sf move to table format
* fix(cpn): Model print gf housekeeping
* Add external module to hardware settings
* Use serial port aux1 rather than radio profile externalaccessmod
Move module conversion function from OpenTxFirmare to ModuleData
* Remove externalaccessmod from radio profile options
* Unnecessary CMake option HARDWARE_EXTERNAL_ACCESS_MOD removed.
---------
Co-authored-by: rotorman <risto.koiva@web.de>
* Simplify layouts code, use data driven layout definition.
Generate icon bitmap at runtime to account for screen orientation.
Move old layout png images to companion folder (still used in companion).
* Align buffer for bitmap.
* Use 'free' instead 'delete' for bitmap buffer to avoid failed build test.
* Convert theme select, theme edit and color edit pages to LVGL flex.
Add 'Edit Color' string to language files (requires translations).
Simplify theme edit 'onCancel' logic.
Fix size of buttons in ConfirmDialog for portrait layout.
Truncate item strings in ListBox to fit available space.
Set window background color on Page and TabsGroup classes instead of using 'paint' function.
Replace strncpy and strncat with strAppend - avoid possible unterminated strings and string overrun.
Truncate display of long name and author strings in theme pages.
* Revert code to truncate ListBox entry strings as it causes other issues.
* Adjust layout for theme color editor to fit large hex string size.
* Remove unnecessary copying of the ThemeFile object being edited.
Refresh TabsGroup page background color when theme changes.
* Set selected theme in list on long press as well as short press.
Comment out unused 'title' in ListBox.
* Handle default theme like custom themes on SD card:
- show logo when selecting theme
- support background_WxH.png names for background images
Use f_stat( via isFileAvailable) instead of opening and closing files to check for existence.
* Remove debug print.
* Fix rebase.
* Update long press handler on model select page.
Long press (via touch) on any model will select it and open the menu.
* Open menu for model just selected on long touch press.
* chore(pc): convert simu/simulator/companion to use SDL2
* switch companion builds to SDL2 - OSX is not converted
the linux change is done a bit hacky, it should be done by updating the EdgeTX docker container
* update build system setup scripts
* add compatibility for old and new SDL2 cmake integration
* fix windows installer
* fix simulator audio on windows by using DirectSound vie SDL2
* fix windows audio with SDL2
enable simu for windows builds
* remove workflow changes for linux builds, this needs to be fixed in the build environment
* fix OSX build, thx @pafleraf
* fix windows audio for companion and simulator with SDL2
* select SDL2 branch of the build-docker environment
* Revert "select SDL2 branch of the build-docker environment"
This reverts commit da801609d78e1aed513ad7d9d8ab3ebded2900b9.
* fix tests with SDL2
In file included from /builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.cpp:25:
/builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.h:30:42: error: 'uint32_t' has not been declared
30 | extern std::string wrap(std::string str, uint32_t width);
| ^~~~~~~~
Fixes#3222.
* Adds option to align value widget label and value to left, center or right border of the widget zone.
* Cpn sync
* Typofix thx to @Eldenroot
* fix: Add `TW` translation
* fix: Two spaces for indent
---------
Co-authored-by: elecpower <neilh713@tpg.com.au>
* Store 'zone' rectangle dat in Lua registry and update it when the screen layout changes or full screen mode changes. Allows Lua widgets to adjust to layout changes.
* Call widget 'update' function is layout has changed.