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 Feerick and GitHub
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 Feerick and GitHub
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 Koenig and GitHub
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 Feerick and GitHub
694c2dcf2d
Merge pull request #671 from jfrickmann/LuaDrawTextLines
...
Add Lua function lcd.drawTextLines(...)
2021-09-03 19:26:01 +10:00
eshifri and GitHub
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
eshifri and GitHub
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
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 Frickmann and GitHub
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
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
eshifri and GitHub
a42328a0c3
Merge branch 'EdgeTX:main' into NV14-model-setup-extra-line
2021-08-30 22:06:08 -07:00
Peter Feerick and GitHub
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 Feerick and GitHub
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 Feerick and GitHub
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 Feerick and GitHub
7b5ac35bf5
Merge pull request #634 from zyren/main
...
Optimize the date format of CN/TW
2021-08-25 11:09:53 +10:00
Peter Feerick and GitHub
6d7a9293a7
Merge pull request #624 from EdgeTX/pfeerick/issue372
...
More layouts
2021-08-25 08:04:49 +10:00
zyren
077351b23b
Optimize the date format of CN/TW
2021-08-25 00:07:31 +08:00
Risto and GitHub
525126e155
Merge pull request #617 from EdgeTX/Horus_I2C_conf
...
Adds support of LSM6DS33 IMU to TX16S via AUX1 port
2021-08-24 17:05:08 +02:00
Peter Feerick
66a1caa150
Simply 1x2 layout code
2021-08-24 19:10:57 +10:00
Peter Feerick
52f4714e4c
Implement 1x3 layout
2021-08-24 15:47:39 +10:00
Peter Feerick
a191effcf6
Implement 2x3 layout
2021-08-23 22:48:19 +10:00
Peter Feerick
88b3c14c02
Implement 2+3 layout
2021-08-23 22:38:45 +10:00
Peter Feerick
1cf957386f
Implement 1+3 layout
2021-08-23 22:15:13 +10:00
Peter Feerick and GitHub
7514c51768
Merge pull request #615 from EdgeTX/pfeerick/issue315
...
Implement 4+2 layout
2021-08-23 19:21:46 +10:00
eshifri
9150e74f50
Do not open menu on long press. Do not allow unavailable values.
2021-08-22 11:18:09 -07:00
eshifri and GitHub
eb657119aa
Merge branch 'EdgeTX:main' into eshifri/invert_switch2
2021-08-22 11:17:47 -07:00
jfrickmann and Raphael Coeffic
9d878b71ce
Improved color handling in Lua
...
LCD flags can now hold either a theme color index or a RGB value. Hence, values from lcd.RGB() and literal colors like e.g. RED, WHITE etc. can be used interchangeably with theme colors and CUSTOM_COLOR.
Also redesigned drawText, drawNumber and drawTimer, so they now use a common function to implement the party tricks with BLINK and INVERS flags.
2021-08-22 19:39:50 +02:00
jfrickmann and Raphael Coeffic
d0e4b767d3
Converted literal colors to indices that can be used everywhere.
...
Also modified lcd.setColor function so it accepts either RGB or index color as new color. That way, literal colors work as before.
2021-08-22 19:39:50 +02:00
jfrickmann and Raphael Coeffic
8fb260d2b2
Fixed Lua function drawPoint and default color
...
I had deleted the default color, now it is back again. Lua drawPoint color did not work, it does now. Some style updates to the Lua code where several different names were used for variables holding flags.
2021-08-22 19:39:50 +02:00
jfrickmann and Raphael Coeffic
4a11d7558d
Copied theme colors over to FlySky
2021-08-22 19:39:50 +02:00
jfrickmann and Raphael Coeffic
95b87db3e0
Did a scripted search and replace to replace 40 existing theme colors with 11 new theme colors.
2021-08-22 19:39:50 +02:00
jfrickmann and Raphael Coeffic
5db5783be5
Commenting out LCD tests to make it pass checks with a changed color palette
2021-08-22 19:33:03 +02:00