feat: Add options to disable radio and model menu tabs (#3484)
* Add options to disable radio and model menu tabs. - Update radio and model data structs - UI for color LCD radios - Convert existing 'noGlobalFunctions' property. - Language strings. * Make 'theme' control specific to color LCD radios. * Add B&W radio UI. * Simplify code, reduce compiled code size. Fix page count display on model select tab. Fix GVARS for 212x64 radios. * Collapse timer sections if timer is off. * Remove 'Use global functions' checkbox from B&W model setup. * Make preflight checks, throttle and view options sections expand & collapse (default collapsed). * Fix build. * Add view options to companion data classes, save and load values in YAML files. Fix scrolling for radio setup view options. * Add Companion UI for view option settings. * Remove 'Mixes' from list of tabs that can be hidden. * Updated Companion UI from elecpower. * Use view options flags to enable/disable functionality: - skip heli mixer logic if heli not enabled - Remove heli, gvars and telemetry options from source selection if not enabled * Remove 'flight mode', 'curve' and 'global variable' settings from input & mix editors if option disabled. * Rename 'View Options' to 'Enabled Features'. Put GVAR option under Flight Mode and indent text. Make relationship between FM and GV more obvious. * Remove global variable option dependency on flight modes. Hide FM1-FM8 in global variables if flight modes hidden. * Hide 'Custom Mixer Scripts' in source selection menu popup if disabled. * Add translation strings for Hebrew language file. * Fix typo. Add comment for double call to setCurrentTab.
This commit is contained in:
@@ -1286,3 +1286,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "信号强度输出"
|
||||
#define TR_SERIAL_BUS "串行总线"
|
||||
#define TR_SYNC "同步"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1288,3 +1288,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1301,3 +1301,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal uddata"
|
||||
#define TR_SERIAL_BUS "Seriel bus"
|
||||
#define TR_SYNC "Synk"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1287,3 +1287,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1280,3 +1280,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1291,3 +1291,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1304,3 +1304,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1308,3 +1308,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1284,3 +1284,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1285,3 +1285,8 @@
|
||||
#define TR_SIGNAL_OUTPUT "Segnale d'uscita"
|
||||
#define TR_SERIAL_BUS "Bus seriale"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
|
||||
@@ -1281,3 +1281,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1301,3 +1301,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1285,3 +1285,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1294,3 +1294,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1325,3 +1325,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "Signal output"
|
||||
#define TR_SERIAL_BUS "Serial bus"
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
@@ -1284,3 +1284,7 @@
|
||||
#define TR_SIGNAL_OUTPUT "信號強度輸出"
|
||||
#define TR_SERIAL_BUS "串行總線"
|
||||
#define TR_SYNC "同步"
|
||||
|
||||
#define TR_VIEW_OPTIONS "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
|
||||
Reference in New Issue
Block a user