* New curve page layout.
* Set scroll to selected curve.
* Cleanup.
* Add #define's for sizing. Show both curve number and name in title bar (if name is set).
* Remove unnecessary call to CurveEdit::SetCurrentSource. Use runtime size for layout where possible.
* Add comments
* Fix base layout position.
* Fix issue with button selection not working properly with scroll wheel.
* Convert Special / Global function page to flex layout.
Move function name text into row button so entire row acts as a button.
Display active functions first, then inactive functions as smaller buttons in a grid.
* Merge duplicate cases in switch, fix indentation.
* Keep selected button focussed after editing a function.
Add long press handler to jump between free and used functions.
* Revert to numerical order for functions list.
Use context menu for empty functions all the time.
* Fix parameter type and remove redundant lines.
* Fix incorrect function being selected when changing tabs.
* Fix selection of focussed button when using 'Clear', 'Delete' and switching tabs.
* Change button style to match input/mixes/outputs pages.
* Fix checked state display for buttons.
* Fix scroll position when adding new entries at the bottom. Center selected button after editing or changes to list.
* Remove logic that tries to center scroll around selected button (not working).
* Convert overview button to lvgl grid.
Display function as more readable expression instead of discrete values.
Single line display for overview button on landscape screen.
Fix display when editing GVAR INC/DEC value (was '--' instead of '-=').
Fix incorrect module displayed for 'Set Failsafe' (swapped).
Show all parameter and values for each function type in overview.
* Fix 'Enabled' indicator so it is not selectable with the scroll wheel and looks less like a radio button.
* Remove empty buttons and add a single '+' button at the bottom to match inputs and mixes.
* Add long press handler for quick access to the '+' button functions.
* Ensure addButton is initialised if not needed (list is full).
* Use formatNumberAsString helper function.
* Adjust grid spacing.
* fix: `STR_VALUE` not `STR_VOLUME`
* Add translations for "minutes"
* Add missing PLURAL2
* fix grammar
* Next attempt
* include limits.h
* minor cleanup
* Addin some translations for some languages based on inputs
* chore: Remove BREAKSPACE, add ignore flag
And some minor cleanup / formatting
* chore: Revert `TR_USE_VARIABLE_PLURAL`
Use `TR_USE_SINGULAR_IN_PLURAL` properly... thanks @eshifri
Co-authored-by: eshifri <eshifri@hotmail.com>
* Fix error in value conversion when loading logical switch data from YAML files (for 'Edge' and 'Timer' functions).
* Remove debug print.
* Fix handling of telemetry sensors in Companion.
* Added turning the red LED before RTC data and blue LED afterwards
With the LED turned RED if the RTC data retrieval fails it will stay red.
This will at least be an indication that the RTC startup encountered
a problem. For now there is no indication that this problem occurred.
* GH-3005 Moved LED manipulation to conditionally compiled when RTC operation happens
* migrated stack diagnostics (available, free) to using built in FreeRTOS builtin function
Note: main stack must be and is treated differently as it is not under FreeRTOS control. main stack is painted by the STM32 startup routine. free main stack is calculated checking the remaining painted stack area.
* corrected my merge error
* missed a blank
* Layout updates and bug fixes for curve editor.
- Fix issue 2972 where an invalid curve could be created
- Use vertical layout or list of points
- Add border to preview to better show end points
- Fix issue where preview was redrawn very frequently
- Better organisation of curve edit classes
* Fix to refresh curve preview on input edit page when parameters changed.
* Adjust model setup layout to better fix on portrait LCD screen.
* Set buttons to fixed width and allow to grow vertically to fit text.
* Cleanup layout logic - buttons stretched horizontally, centered vertically.
Make ButtonMatrix button text color behave like TextButton for flight modes and pre-flight checks.
Show 'GV' button as checked if corresponding input value is a global var.
* Fix rebase merge issue.
* Incorporate solution from @ParkerEde in PR #2626
* Fix selection logic for models.
* Select model on first press.
* Fix quick model selection when using scroll wheel & enter button.
Add setting to enable quick model selection.
* German translation.
* Fix behaviour when 'model quick select' is off to work like existing 2.8 logic.
* Add translations.
* Prioritise active model as selected model when the set of visible models changes.
* Fix selection ordering when using scroll wheel.
Minor code cleanup.
* centers flight mode text, 6Pos indicator and 6Pos numbers in square
replaces ticks with numbers in 6Pos indicator
* stole @philmoz idea to bold the selected switch position to make it stand out more