Commit Graph
3676 Commits
Author SHA1 Message Date
Raphael Coeffic 2c845648cf Fixed trimming spaces in editName() on stdlcd 2021-11-27 14:59:45 +01:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
67708725bd Fix GF focus issue, add channel bars to mixes edit screen, also #482 (#1074)
* fix issues:
#303
#307
#482

* move channel output display to top.  make it a multi channel bar.

* changed channel bar colors so they work in the mixer screen.  I dont like the choices of colors, but let me know what you think.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-27 21:27:08 +11:00
f97e3e77d5 [LUA] Use COLOR_THEME_PRIMARY1 as a default color (text, shapes, etc) (#1148)
* Use COLOR_THEME_PRIMARY1 as a default lua script color

* second attempt

* redefine DEFAULT as PRIMARY1

* Fixed default lua foreground color

* Revert formatting since file not changed

* Format whole file

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-11-27 20:58:36 +11:00
eshifriandGitHub fdb168a999 SF Override - fix extended limits not working (#1149)
* fix SF override limts #1145

* Cleaner fix for extended limits in SF override
2021-11-26 11:10:11 +11:00
Raphael CoefficandRaphael Coeffic 718b3ec8ec Fix compiling PXX2 without external module 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic daf8bae8e4 Added support for internal module config in stdlcd UI in radio hardware 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic e440038968 Added support for any supported internal module in 128x64 UI 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic ae552bd6fd WiP: support internal module as a hardware setting 2021-11-25 12:10:16 +01:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
6e63d2874b Theme Editor: Delay initial image load for 500ms to make UI more responsive (#1143)
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-25 12:17:33 +11:00
Peter FeerickandGitHub a05cc887b9 Add touch to Standalone Lua scripts (#1082)
Touch events to Standalone Lua scripts
2021-11-25 10:49:44 +10:00
Peter Feerick 78fc55c06d Fix unthemed text 2021-11-23 21:05:18 +10:00
Raphael CoefficandRaphael Coeffic 8c688bb6a4 Save models list after changing a model name
Resolves #1079
2021-11-22 13:23:28 +01:00
Peter FeerickandGitHub 6e51c70aa7 Reduce code repetition for sd browser firmware update handling, add some .frsk entries (#543)
* Hacky port of FRSKY_FIRMWARE_EXT update menu
More work is needed to integrate/test the remaining menu items
May just ba a matter of correct parameters for deviceFirmwareUpdate

* Functionalise, of sorts

* Formatting

* Functionalise more repeated update code
2021-11-22 17:01:22 +11:00
dlktdrandPeter Feerick 7005946808 Fix compiler error when Debug_Timers is enabled
Lug BG/FG is never used. Only LUA. Removed extra

+ Change my oopsie (model_select.cpp) compiler warning that didn't show up until I started using docker
2021-11-22 13:52:36 +10:00
ErNisandRaphael Coeffic 3e9a6b79d3 Taranis-based B/W: Initial Contrast fix 2021-11-21 22:43:28 +01:00
kkoenig1@optonline.comandRisto 2c4ec3f3c5 fixed compiler warning as per Ritso 2021-11-21 12:53:31 +01:00
Raphael Coeffic cee9b67cc6 Hotfix YAML generator 2021-11-21 11:46:37 +01:00
Raphael CoefficandRaphael Coeffic f3301e6210 Added control line and bitrate callbacks
And some additional clean-up
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 5d240e4e48 WiP internal CRSF pulses 2021-11-21 11:18:35 +01:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
a9abf028f7 Theme editor tweaks (#1066)
* 1. fixed color of lists to match menu popup as per JimB
2. added more controls to PreviewWindow() of theme editor

* 1. fixed issue with touch.  in theme list now if you touch, you must long press to get menu.  Enter works on short press
2. changed directory structure to new format, as per Issue #897
3. sorted theme list alphabetically and not by random order that the directory comes back in

* 1. make background image work correctly for new theme folder structure
2. sort theme names

* 1. fixed issues with touching previewwindow
2. fixed processing exit button on ThemeEditPage()

* fix focus issue in previewwindow

* layout enhancements for nv14

* more updates to layout

* fix nv14 issues.  Still havnt done performance optimization yet.  Lets merge first.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-20 22:54:24 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
9a795c4126 Move [outputs] "Trim => Subtrims" button to top, change btn text (#1076)
* partial implementation of 354

* implemented screen refresh and test update

* chaged add to move...after much discussion

* change move to add

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-20 22:39:13 +11:00
eshifriandGitHub 3b0e1ab25e Fix slider center beep buttons not highlighting (#1094) 2021-11-20 21:53:55 +11:00
eshifriandPeter Feerick 0dac734f9c fix split touch window for carousel #1088 2021-11-20 20:35:55 +10:00
Raphael CoefficandPeter Feerick 582cbc13a5 std::string::data() gives no guaranty on 0-termination 2021-11-20 19:18:09 +10:00
rotormanandRisto 80a51837c1 Automatically detect FlySky digital hall sticks on X10-class radios without necessity of build-time CMake option FLYSKY_HALL_STICKS.
Added special UART4 init to sample if FlySky sticks are present or not.
Added boolean globalData.flyskygimbals to save the detection result.
Removed FLYSKY_HALL_STICKS and FLYSKY_HALL_STICKS_REVERSE CMake build options.

Tested on two RM TX16S radios, one with FlySky digital hall sticks and second with stock analog sticks.
2021-11-19 21:33:03 +01:00
jfrickmann ce7b408445 Add touch to Standalone Lua scripts 2021-11-19 08:01:28 -05:00
CliffandGitHub 28da5e0447 Add live data to telemetry edit screen (#1047)
* Add live data to telemetry edit

* Move live data to top bar

* Add extra room for sensors button

Right side of telemetry ID list is being cut off. Changing to 38 gives room

* Remove incorrect comment

Seems self explanatory. I don't think this needs to be here at all.
2021-11-16 12:47:49 +11:00
Peter Feerick 52013da098 Clear buffer before drawing background image
Fixes #1058 , prevents alternating garbage drawn every cycle
2021-11-15 22:45:01 +10:00
Jesper FrickmannandGitHub f1baa383ae Fix standalone Lua script screen flicker and improve error messages (#982)
* Relax assumptions about when Lua is called in foreground and background

* Start Lua cycle timer both in foreground and background
Do not assume that background/foreground alternates

* Lua is called at every Standalone GUI cycle instead of 5 Hz
Since Lua preempts every 50 ms or so, the GUI should remain responsive.

* In standalone script, only call Lua once per GUI cycle, to avoid messing up buffer handling.

* Revamped error reporting for Standalone and Telemetry Lua scripts

* Font size for Lua error is reduced from XL to L on color if LCD_W < LCD_H

* In drawTextLines, also possible linebreaks for opening brackets.

* Smaller font for error message on tall color screen

* Make titlebar height match font size on narrow LCD
2021-11-15 12:57:14 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
7298f0ff00 Theme editor (#971)
* Add theme editor
- added theme editing support to radio
- color editing controls
- split screen into browser and editor
- removed dead code from coloreditor,
- new radio theme editing icon

* Resolve compile error & merge cleanup

* 1. fix exit key press in ThemeEditor.  It was not exiting screen
2. added ability to touch PageButton() on ColorEditPage()

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-11-15 12:36:56 +11:00
eshifriandPeter Feerick 696a761c91 Split window touch toр carousel start #981 2021-11-12 11:20:38 +10:00
Malte LangermannandGitHub 5614646861 Improve backlight handling on color lcd radios (#998)
* no more backlight off mode for color lcd radios
disable backlight input controls in radio setup screen, when they are not used by the selected backlight mode
force backlight on to be at least the brightness of backlight off

* do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON.

* Revert "do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON."

This reverts commit e153a8dc658d53f5420c912e7543d6d0a9fe6ed9.
2021-11-12 12:19:45 +11:00
Raphael CoefficandGitHub 6c1ca71740 Merge pull request #991 from EdgeTX/access-options
Access options / menus
2021-11-11 19:09:29 +01:00
Raphael Coeffic 78442c1cec Re-added inadvertently removed module options 2021-11-11 08:13:53 +01:00
Raphael Coeffic 4a5a0be38c Removed on-the-fly model conversions
This makes no sense for YAML model files, only for BIN models (when YAML is not the format of choice).
2021-11-10 11:07:03 +01:00
Raphael Coeffic bcdb9bd311 Fix model names and indexes on storage creation 2021-11-10 11:07:03 +01:00
Raphael Coeffic 3717e37e3f Set current model in ModelsList while loading 2021-11-10 11:07:03 +01:00
Raphael Coeffic cc9b146713 Output widget colors as such 2021-11-10 11:07:03 +01:00
Raphael Coeffic c2056c7585 Output source option of Value & Gauge widgets in a symbolic way 2021-11-10 11:07:03 +01:00
Raphael Coeffic e7519b6cce Extended widgetName to fill up alignment hole
widgetData is aligned on 32bit address, so that its offset was calculated wrong.
2021-11-10 11:07:03 +01:00
Raphael Coeffic 17d4ea5c62 Fix color lcd 2021-11-10 11:07:02 +01:00
Raphael Coeffic 397674021e Improved logical switches 2021-11-10 11:07:02 +01:00
Raphael Coeffic f932e9e12c Further confined v220 data structures 2021-11-10 11:07:01 +01:00
Raphael Coeffic 68bdf025c1 Fixed switch position warning display on B&W 2021-11-10 11:07:01 +01:00
Raphael Coeffic fc4cdfd9ae Implement model backup/restore 2021-11-10 11:07:01 +01:00
Raphael Coeffic c696313a4e Use simple scheme with direct model slot to model filename 2021-11-10 11:07:00 +01:00
Raphael Coeffic 4b79cdc795 Fix some b&w target compilation 2021-11-10 11:07:00 +01:00
Raphael Coeffic 5e0d0131b4 Added EEPROM conversions to YAML 2021-11-10 11:07:00 +01:00
Raphael Coeffic e48762e453 use proper define for KEY_PAGE defined 2021-11-10 11:07:00 +01:00
Raphael Coeffic 985a8760bb WiP 2021-11-10 11:06:59 +01:00