* 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>
* 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>
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.
* 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.
* 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
* 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>
* Issue #132
Added 16 shared memory variables which can be accessed bot from Lua widgets and other Lua scripts.
* Notice Only available on radios with color display
* 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.