Allow to save interpolation/rendering setup

- setting trait
- save/load logic in context
- adjusted UI, allow to reset global setup
This commit is contained in:
Klaus Basan
2018-09-15 03:16:49 +02:00
parent c61171bde3
commit c12e1585fd
5 changed files with 91 additions and 33 deletions

View File

@@ -68,7 +68,7 @@ namespace BlackGui
void saveSetup();
//! Delete a setup
void removeSetup();
void removeOrResetSetup();
//! Values from global setup
void setUiValuesFromGlobal();
@@ -77,7 +77,7 @@ namespace BlackGui
void displaySetupsPerCallsign();
//! Check prerequisites before saving etc.
bool checkPrerequisites(bool showOverlay);
bool checkPrerequisites(bool checkSim, bool showOverlay);
//! Send to context
bool setSetupsToContext(const BlackMisc::Simulation::CInterpolationSetupList &setups, bool force = false);