OpenFFBoard-configurator
OpenFFBoard-configurator copied to clipboard
Feature/create wheel page
Create the "Wheel Summary" tab to resume several tab in one logical page. I also fixed issue on ffb whose resend to the board the fresh received data during init, and refactor preferences to used enum instead of text string in code.
There is a new entry in the "help" menu to allow or disable "summary tab"
The "summary" tab, can also be understood as "Plugin"/"virtual" tabs, are managed in same way as others tab
- after receiving active tabs from board, a method add the summary tab if it's allowed in the help menu
- if the "summary" tab are not allow, the delete active tab will delete previous summary tab
- the summary tab have a virtual ID over 0xFFFF00 to keep space in the board for classes
The page send command to board and used existing registered command (like profile manager)
- profile system works on this tab too
- the data in all tabs are synchronized when tab is switched
- No risk of data corrupted in UI
New clean way to implement tab, with UI helper
- to send data to board when slider move
- refresh text/spinner from slider by stopping event to not loop
- generic event listener for incoming data