* 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>
* fix: Get current values for MPM options
* fix: Don't show sub-proto dropdown when empty
* Add suggested call to `update()`
* Add callback to refresh when subtype changed
* Trip `SetValueHandler` rather than setting value
Thank you to @raphaelcoeffic for the hint ;)
* fix: Saving values when changed is a good idea!
* Load option flags properly when using internal proto list
* NumberEdit fields don't implement LV_EVENT_VALUE_CHANGED, use update() instead
* Fix checkbox behaviour
* Fix autobind checkbox after switching away from DSM
* Fix more parameter needing update on MPM sub-proto changes
* fix: Also update servo rate if present
* fix: Channel mapping needs updating also
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>