* chore(lua): revert useless c light function change
This change was part of the eLua LTR patches (based on 5.1), whereby this feature was already integrated in Lua 5.2.
* feat(lua): port of NodeMCU Lua53 read-only tables
# Conflicts:
# radio/src/lua/CMakeLists.txt
# radio/src/lua/api_general.cpp
* fix(nv14): missing SDRAM definition
* fix: l_mathop
* fix: use float functions in drawPower()
* fix: ltable resize
* fix: correct name is "bit32"
* fix: first Lua context must be closed last
As the lookup cache is attached to that one
* Revert to Lua using double
* Ensure byte-code compatibility
* Fix possible compatibility issue with `lua_typename`/`luaL_typename`
* Fix Bitmap symbol table
* Re-add table lib for COLORLCD
Prior to this fix, the confirmation dialog would crash because of an issue in libopenui and even then would not be displayed for the lack of the proper parent window.
Fixes#2741
Instead of calling `lv_table`'s handler, as this causes troubles when the selected cell is changed from within `LV_EVENT_VALUE_CHANGED`.
FixesEdgeTX/edgetx#2619
* Preset menu line counter. Disable update position during the fill.
* Code formating
* Redesign attempt with addLines() functions.
* .
* Menu::addLines fix for icons.
* Redesign to clean up
* Selection fix. Choice implementation.
* One more redesign.
This avoids writing a value when it is not necessary. All that is needed is to update the internal value and set the field string.
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
* fix(gui): add missing highlight of the Min/Max value in output editor acccording to the input
* change outputs min/max highlight
* output min/max highlight the right way
* chore: Bump `libopenui`
* fix(gui): line height in EdgeTX<2.8 was smaller at the same font size as with Edgetx >=2.8
to allow lua scripts to be optimized for odler and newer versions, drawTextLines now draws the text vertically condensed
needs https://github.com/EdgeTX/libopenui/pull/69
* chore: Bump `libopenui`
* fix: `FontHeightCorrection` needs to exist
Will be optimised out since not used in bootloader
* Button: change bg color to COLOR_THEME_PRIMARY2
And text color to COLOR_THEME_SECONDARY1
Fixes#2304
* fix: TextButton constuctor calls
Setting the font in the constructor never worked, but did set the text color to black.
* chore: Bump libopenui
* Restore go to edit curve on lobg press from inputs tab.
* Restore long press functionaliy for switches SA_UP -> !SA_UP
* chore: Auto-formatting and bump libopenui
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>