* [nv14] Add crash causing missing curveDataEdit
* Allow horizontal touch sliding
Thanks for catching this @kevinkoenig
* Prevent hori scroll where it shouldn't scroll
Why `model_inputs` scrolls is still a mystery, but it behaves now
* DRY is in effect
* Make img buf only size of img not whole widget
* Don't draw buffer if there's no image
* If there's no image, draw model name
* Add some options, draw model name if img not set
Add options for text colour, size, fill enable and colour
* Use valid values for defaults
* Get right colours
* Add concept of a 'friendly name to widgets'
Allows for separation of internal and user visible names
* Use new theme constants
* Use right version of libopenui
* `displayName` instead of `friendlyName`
* Allow using theme colour or custom for name
SBUS period wasn't functional before. It was using the ppm.framelength, both in color and B/W.
Reduced maximum period to 32.5ms as it overflows the unsigned 16bit int otherwise
Tested with scope, color only.
* Force BitmapBuffer format for widget ModelBmp and the file viewer
This patch run with the patch fix-transpareny in libopenui
* Bump libopenui
Co-authored-by: Runsys16 <rene.negre@orange.com>
* Removed all "Basic color definitions" except BLACK and WHITE in colors.h
Please ref. discussion on Discord: https://discord.com/channels/839849772864503828/839856795781431317/895858311579181066
* Removed theme color from the bootloader and replaced by RGB() like for e.g. green.
* Wrong color in Value widget default background color; should be white, not black
* Fix widget timer.
Modifie getStrString() for using hms
* Timer over blink with COLOR_THEME_WARNING
Timer unit in uppercase
* Use lowercase unit with small timer display, use uppercase unit in large
display
* Auto formatting
Co-authored-by: Runsys16 <rene.negre@orange.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Fixed a bug where a standalone Lua script w/o a run function will hang the GUI on non-color radios
* Prevent Lua standalone window from opening if Lua failed on load
* Fixed scroll down key in TX12 simulator
Copied key definitions from TX16S
* Fixed the Lua error trying to call nil value when no scripts are loaded.
* I messed up in the previous commit; now it does not freeze and it does not call nil.
* add range and high power to MV14
* remove spaces
* fix compilation
* compilation fix 2
* Whitespace cleanup and placate git
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Trying to align LUA options with radio/src/CMakeLists.txt
-DLUA=NO: no Lua of any kind
-DLUA=ON: everything but mixer scripts
-DLUA=YES: also mixer scripts
* Color LCD with -DLUA=NO is probably a rare combination, so it needed a little help with #defines.
* Some strange error using floor function w/o <math> - probably because -DLUA=NO is not normally used w/ color.
* Statistics screen theming
Basically none of the text was using theme colours.
* Formatting
* Use COLOR_THEME_PRIMARY2 for prefixes
* Remove NO_FOCUS stopping reset button from working
Fixes#841
* initial support for color theming using yml files in the THEME directory
* initial theming support using yml files (without yml support)
* fixed issues with themes actually working on radio.
* fix another issue with drive access
* more theme changes. Added author, and info to display. Also display an image of the theme if it is present.
* theme files now support both RGB() and 0x syntax
* quick fix for possible variable overflow.
* more tweaks after JimB tested
* fixed layout issues with NV14 and also added word wrap correctly.
* added edgetx headers to new string functions.
* Whitespace / unused code cleanup
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* consolidated all color fixes and screen enhancements into one new branch
* Bump libopenui
* enhanced telementry sensor display
* fix discover and add sensor buttons on NV14.
* changed quick menu to not use theme colors as per JimB. Fixed telemetry buttons for NV14
* fix colors on trainer page
* Merge cleanup
* Update libopenui
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>