Commit Graph
3708 Commits
Author SHA1 Message Date
Peter Feerick ee74bd408b Add more vertical centering 2021-12-18 11:49:39 +10:00
kkoenig1@optonline.com 1d80a62d8b fixed 376 by making each line 10 pixels higher. 2021-12-17 05:01:40 -05:00
Tony CakeandGitHub f8357be887 [ghost] Fix RTN behavior on Ghost config menus (#1261)
* Fix menu back behavior in the Ghost menu

When backing out of a ghost sub-menu one level, don't close the module menu unless already in the root menu.

* Fix formatting
2021-12-17 10:38:19 +11:00
843d1be868 Fix wrong Chinese characters being displayed (#1257)
* Fixed wrong index calculation.

* Fixed font generation, indexing will goes wrong when no extra chars bitmap is present.

* Image width exceeded 16384 will cause trouble in CJK.

* Include libopenui update

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-17 10:32:28 +11:00
Kevin KoenigandGitHub aac60a96df Part of dbd41d2, fixes breakage of themes list (#1247)
Listbox now explicitly captures touchEnd()
2021-12-13 15:30:27 +11:00
af87e2e365 [NV14] Fix mix channel monitor size (#1231)
* fix mix channel monitor size on nv14

* add right margin to mix channel monitor on nv14

* Rebase and revert libopenui change

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-12 19:27:36 +11:00
Peter FeerickandPeter Feerick 48bd1ac738 Fix UI elements left visible when FLIGHT_MODES=N 2021-12-10 10:47:59 +10:00
1912ec6426 Fix building with -DGVARS=NO (#1232)
* Fix building with -DGVARS=NO

* Thx @eshifri for the tip

Better solution

* Don't show GVARS tab if GVARS turned off

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-10 09:50:45 +11:00
Peter FeerickandPeter Feerick 17af4b5775 [colorlcd] Re-enable GHOST tools entry
There is a known bug, but it is better than not config tool for now
2021-12-07 19:49:05 +10:00
16fc05ad8e Fix showing of non-existent pots in warnings group (#1129)
* pots warning enabled fix

* yaml_generator whitespace

* Fix UART_MODE_DEBUG

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-07 20:03:28 +11:00
Peter Feerick 0618d6ef6a [colorlcd] Fix Frsky 9-16 TELEM OFF not working
Resolves #1197
2021-12-06 09:37:31 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
9694689067 [colorlcd] Sort Lua scripts before building UI in radio tools (#1150)
* sort lua scripts before building ui in radio tools

* Formatting

* Case insensitive sorting

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-05 23:50:52 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
71dd6bca89 More optimisations to Theme Editor (#1210)
* fix some minor issues

* 1. fixed issue with FullScreenDialog when over a window that processes onTouchStart
2.  Fixed Huse and RFB bar positioning
3. added the ability to pause the filecarosell
4. now when the Theme Browser isnt the top of the stack it pauses the FileCarosell.  Good for perf
5. Add more preview controls so all colors can be seen
6. Lots of little layout issues fixed

* layout changes for nv14

* fix listbox.  dont call selection handler if the newly selected item is the same as the selected one.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-12-05 12:09:08 +11:00
eshifriandGitHub ee883c8354 Support file copy within the same folder (#1209)
* support file copy to the same folder #294

* support file copy to the same folder; B&W  radios added.

* fix the syntax
2021-12-05 11:50:08 +11:00
Malte LangermannandGitHub ec01fa8df9 RLE for greyscale lcd (gives more firmware space!) (#1142)
* use RLE encodes bitmaps on 212x64 pixel radios

* fix model image display
fix icon display

* implement RLE bitmaps in companion for splash image on 212x64 radios
reserve 3kB for RLE bitmaps in firmware

* fix size check

* use defines instead of magic numbers

* fix display of splash screens on 212x64 radios

* add warning message if compressed image is larger than the reserved space
2021-12-04 15:06:23 +11:00
Malte LangermannandGitHub 789692fc8e Fix crash on tab group sub page access/exit (#1206)
Fixes where touching first widget space on top bar when editing would lead to segfault / radio crash
2021-12-03 10:26:30 +11:00
Peter FeerickandGitHub 8a47acd809 Fix model## format model notes not working (#1202)
use yml instead of bin to construct notes file name from model file n…
2021-12-02 11:52:23 +10:00
eshifri 3ab7489d6c use definitions rather than hard-coded lines 2021-12-01 17:11:09 -08:00
66086e0c10 Fix minor compiler warnings (#1200)
* Fix compiler warning

Fix compiler warning about comparing signed with unsigned.

* Fix minor bug

category->size() is unsigned int, not long unsigned int

* Typo

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-02 12:06:09 +11:00
eshifri 8da84ad59b use yml instead of bin to construct notes file name from model file name. #1198 2021-12-01 16:38:46 -08:00
jfrickmannandPeter Feerick 28b211ff48 Reload Lua scripts when a function script is changed on COLORLCD 2021-12-02 10:08:27 +10:00
Peter FeerickandPeter Feerick 3c725dda35 Fix lines missed in #1117 2021-12-01 10:41:57 +10:00
Peter FeerickandPeter Feerick a87a484780 [B&W] Don't add entries for non-existant rows
BACKUP_EEPROM & FACTORY_RESET
2021-12-01 10:41:57 +10:00
Peter FeerickandPeter Feerick d3f35e8334 Use theme colours on shutdown screen
Uses COLOR_THEME_PRIMARY2 and COLOR_THEME_SECONDARY1
 (i.e. the topbar icon and background colours) unless default theme.
2021-11-29 12:01:47 +10:00
Peter FeerickandPeter Feerick 765750b34b Add isDefaultTheme() to ThemePersistance 2021-11-29 12:01:47 +10:00
Malte LangermannandGitHub 15233e1add Fix sliding on inactive part of tab bar grabbing input focus (#1180)
* fix #298, keys not working, after sliding on tabs bar

* fix for touch end event with start x,y coordinate is triggered after the last slide event

* remove selecting tabs on the tab top bar by sliding as it does break sliding the tab bar.
2021-11-29 12:07:22 +11:00
Raphael Coeffic eabb20a9ad Fixed type in SensorSourceChoice 2021-11-28 12:59:38 +01:00
Raphael CoefficandPeter Feerick 20a24f265e Add support for FLEX on color targets 2021-11-28 21:03:59 +10:00
Raphael CoefficandPeter Feerick dc102f7d03 Remove FLEX options (and make it default) 2021-11-28 21:03:59 +10:00
rotormanandRisto 58d15c11ab Do not list EX3 and EX4 if FlySky gimbals are not detected.
Tested on two RM TX16S - one with FlySky Paladin EV gimbals, other with analog gimbals.
EX3 and EX4 are listed under SYSTEM -> Hardware -> Pots only, when FlySky gimbals are detected.

Please do not spoil the surprise, by discussing the other changes of this commit in public before the date.
2021-11-28 09:59:09 +01:00
Malte LangermannandGitHub 9a5663e611 Fix colorlcd auto power off on cleared shutdown warning trigger (#1164) 2021-11-28 12:39:40 +11:00
jfrickmannandPeter Feerick 229c59dae3 Removed the call to update() when widget leaves fullscreen mode 2021-11-28 11:38:36 +10:00
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