Commit Graph
3577 Commits
Author SHA1 Message Date
rotormanandRaphael Coeffic cabf7f6155 Show raw value in first column, also in decimal; pre-processed value in second column. 2021-09-13 14:42:02 +02:00
rotormanandRaphael Coeffic 1737a52d7e Must supply full path for NV14 build to find the header. 2021-09-13 14:42:02 +02:00
rotormanandRaphael Coeffic 4af5adecef Show true raw input value on radio analogs diagnose screen for FlySky hall gimbals (signed short). 2021-09-13 14:42:02 +02:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
8f8374f3b9 Move sourcechoice and switchchoice to ChoiceEx implementation (#691)
* move sourcechoice and switchchoice to ChoiceEx implementation

* removed getTicks parameter from ChoiceEx.  Turns out it can just access timer directly

* clean up keyboard support for topbar.cpp, protect against crash in keyboard

* Switch back to edgetx libpenui and sync

* Formatting

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-13 17:09:13 +10:00
Raphael CoefficandGitHub 9bb08c2c1f Merge pull request #705 from EdgeTX/mpm-proto-list2
[color] Dynamic MPM proto list
2021-09-13 08:35:47 +02:00
542213de11 Add Bluetooth Trainer Options in Model Setup (#686)
* Initial Commit, Bluetooth Trainer options

* MasterBt & Slave working

* Cleanup BT Trainer

* Add extra defines so still works bluetooth disabled

* Add long string for not connected

* Make btMenu popup global

Also fixes not disconnecting if switches from master <-> slave bluetooth.

* Update libopenui

* Remove Global popup, add checks to if pop-up open

* Add subclass with an popup-opened bool

* Refresh GUI on BT mode change, except if pop-up open

* Don't update if OSK open

* Autoformatting

* Make trainer bottom spacer apply to all touch scns

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-13 12:00:14 +10:00
eshifriandGitHub f85ab455ed Outputs - enable using GV for Subtrim, Min, Max values (#687)
* Model Outputs - GV for Subtrim, Min, Max values #683

* fix scaling

* fix limits

* invalidate limits

* formatting

* defines added
2021-09-13 09:13:50 +10:00
Peter FeerickandGitHub e5b5c41253 Merge pull request #707 from jfrickmann/LuaWidgets
Add lcd.exitFullScreen(), removed full screen message
2021-09-12 10:57:26 +10:00
884bcec13c Allow selecting higher baud rates (#640)
* higher baud rates

* Update colorlcd models to support selectable baud tp 3.75M

# Conflicts:
#	radio/src/gui/colorlcd/radio_hardware.cpp

Co-authored-by: Jye <JyeSmith@users.noreply.github.com>
Co-authored-by: Paul Kendall <pkendall64@gmail.com>
2021-09-12 06:46:43 +10:00
jfrickmann c20fd74b3c Removed full screen message "Press [RTN] long to exit" 2021-09-11 08:35:21 -04:00
Raphael Coeffic 66066181fc Improved progress bar label 2021-09-11 11:33:03 +02:00
Raphael Coeffic ba906e1d5d [color] Dynamic MPM proto list 2021-09-11 11:10:00 +02:00
jfrickmann cf67a5c10b Double tap to enter fullscreen mode and slow tap to open widget menu 2021-09-10 17:13:25 -04:00
Peter FeerickandGitHub 1f87101e1d Merge pull request #664 from EdgeTX/pfeerick/issue663
Set more sensible default colors for output widget
2021-09-09 10:09:44 +10:00
Peter Feerick 0420d2519e Apply code formatter 2021-09-08 21:50:11 +10:00
Peter Feerick d4628ca78d Update copyright header 2021-09-08 21:37:01 +10:00
kkoenig1@optonline.com cb24ef9236 enhanced long touch to handle it without lifting finger. Now works exactly like other areas of system 2021-09-07 09:30:15 -04:00
kevinkoenig 1ad865f08a Implement long touch to launch curves in mixes and inputs 2021-09-07 07:53:01 -04:00
Peter FeerickandGitHub c71f06d625 Merge pull request #678 from kevinkoenig/jump-curve
Implement Jump to Curve Edit from input and mixer screens
2021-09-06 11:53:24 +10:00
Peter FeerickandGitHub 973e2fe300 Merge pull request #677 from jfrickmann/LuaDrawTextLines
Improved Lua draw text lines
2021-09-06 11:53:09 +10:00
kevinkoenig f4f6b219e4 fixed compilation issue 2021-09-05 07:32:05 -04:00
kevinkoenig 3113a30b94 fixed file copyright to EdgeTx 2021-09-05 07:28:29 -04:00
jfrickmann 1d2983ad93 Mask out VCENTER, CENTER and RIGHT flags 2021-09-04 15:54:44 -04:00
Kevin KoenigandGitHub f2a379ac00 Merge branch 'main' into jump-curve 2021-09-04 07:52:42 -04:00
kevinkoenig 6a10c821eb implement long press to launch curves from input and mixes 2021-09-04 07:48:50 -04:00
kevinkoenig 46fbd1d9b8 implement long press on curve in mixes to launch edit of curve 2021-09-04 07:21:09 -04:00
jfrickmann 1db80b31a0 Improved drawtextLines(...)
Now supports newline \n and automatic line break with hyphens, slashes and colons.
2021-09-04 06:05:57 -04:00
eshifri 3fd323a93f Add line to the bottom of the model_setup screen for NV!4 2021-09-03 16:44:22 -07:00
Peter FeerickandGitHub 694c2dcf2d Merge pull request #671 from jfrickmann/LuaDrawTextLines
Add Lua function lcd.drawTextLines(...)
2021-09-03 19:26:01 +10:00
eshifriandGitHub c1cd083476 allow mixes without source (#665) 2021-09-03 19:05:54 +10:00
jfrickmann b100d9a164 Add Lua function lcd.drawTextLines(...) drawing text across multiple lines inside bounding box 2021-09-02 14:33:14 -04:00
eshifriandGitHub 88b8ac86fb [Colorlcd] Support model notes with spaces and prevent radio crash due to filename (#645)
* support both versions of model notes file name. Fix for #641

* Adding support for names with spaces

* Fix compilation
2021-09-02 10:45:58 +10:00
Peter Feerick 49b91431fe Set more sensible default colors for output widget
And also allow colors to be customised!
Fixes #663
2021-09-01 20:44:50 +10:00
Peter Feerick 9a2461c7e9 Shows pot and sliders on own line, change colour
Use theme primary colour (def. black) rather than warning (def. red)
Show pot/slider list on own row, under switches
2021-09-01 14:10:40 +10:00
Peter Feerick 071ec6299f Make pots/sliders warnings not big.
Still needs a proper helper though.
2021-09-01 11:15:50 +10:00
Jesper FrickmannandGitHub cea723c56e Do not reload bitmps during theme update, unless reload argument is true (#661)
* Do not reload bitmps during theme update, unless reload argument is true
Trying to optimize speed for theme color changes.
FlySky is not optimized yet.

* Do not update theme from Lua lcd.setColor(CUSTOM_COLOR, x)
Some widgets like e.g. Timer2 constantly change CUSTOM_COLOR, and this seems to slow down things

* Lua function lcd.setColor() only updates if color is changed
To avoid that scripts calling lcd.setColor() repeatedly trash performance
2021-09-01 11:10:52 +10:00
cf91c87c77 [Colorlcd] Pot and slider model setup settings implemented (#654)
* Pots and sliders warning implemented. #647

* add slider definitions

* Remove whitespace change causing merge conflict

* add slider definitions

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-01 11:10:33 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
32da77ce02 Fix MPM Protocol Sorting (#580)
* Fixed Protocol Sorting in model_setup.cpp

* update submodule for libopenui

* Fix potential compilation issue

* Fixed Protocol Sorting in model_setup.cpp

* fix merge issue

* Submodule libopenui back to edgetx master branch

* Reset to libopenui 5c70891
As this was the submodule at the time this branch was started.
This should remove it as a change in the PR.

* fixed an off by one error in the initialization of the sorted list.  When you selected the last protocol in the list it crashed.

* Reset to libopenui 5c70891
As this was the submodule at the time this branch was started.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-01 09:47:32 +10:00
eshifriandGitHub a42328a0c3 Merge branch 'EdgeTX:main' into NV14-model-setup-extra-line 2021-08-30 22:06:08 -07:00
Peter FeerickandGitHub e533fd1af7 Merge pull request #643 from EdgeTX/pfeerick/issue178
Don't remove 2POS from avail switches for invert
2021-08-30 23:37:37 +10:00
Peter FeerickandGitHub 4ad5cc0ab5 Merge pull request #651 from jfrickmann/FixMissingColors
Fix missing colors
2021-08-30 20:46:40 +10:00
jfrickmann f8eb2adab0 Show error message in Lua widgets instead of "disabled"
Also a new function drawTextLines(...) in draw_functions that splits a string over multiple lines
2021-08-29 18:22:31 -04:00
jfrickmann 29639d76ab Fixed colors in Radio menus 2021-08-28 17:03:12 -04:00
eshifri 1c9e90245b Add extra line to the bottom of the model setup screen for NV14. Fix for #620 2021-08-28 13:47:18 -07:00
Peter Feerick a4f781ad1f Don't remove 2POS from avail switches for invert
Also prevent 'unused variable' compiler warning that results from change
Resolves #178
2021-08-27 22:19:32 +10:00
jfrickmann 5fd78ce0d7 Updated libopenui 2021-08-26 10:49:45 -04:00
jfrickmann 16d2df6a44 Fixed missing colors in model menus, except from the top bar 2021-08-26 09:23:00 -04:00
Peter FeerickandGitHub 8becbfcb49 Merge pull request #594 from eshifri/eshifri/invert_switch2 2021-08-25 11:31:08 +10:00
Peter Feerick bbe312a8fd Cleanup 2021-08-25 11:21:40 +10:00
Peter FeerickandGitHub 7b5ac35bf5 Merge pull request #634 from zyren/main
Optimize the date format of CN/TW
2021-08-25 11:09:53 +10:00