Ref T515, context menus for re-matching

* added re-matching for single aircraft
* re-ordered
This commit is contained in:
Klaus Basan
2019-01-17 12:48:34 +01:00
committed by Mat Sutcliffe
parent a90d4465a2
commit a0c8f3778b
6 changed files with 54 additions and 16 deletions

View File

@@ -51,7 +51,7 @@ namespace BlackGui
void setAircraftMode(Models::CSimulatedAircraftListModel::AircraftMode mode);
//! Configure the menu
void configureMenu(bool menuHighlightAndFollow, bool menuEnableAircraft, bool menuFastPositionUpdates, bool menuGndFlag);
void configureMenu(bool menuRecalculate, bool menuHighlightAndFollow, bool menuEnableAircraft, bool menuFastPositionUpdates, bool menuGndFlag);
//! Configure fast position updates menu
void configureMenuFastPositionUpdates(bool menuFastPositionUpdates);
@@ -113,6 +113,12 @@ namespace BlackGui
//! Fully recalculate all aircraft
void recalculateAllAircraft();
//! Match all aircraft again
void doMatchingsAgain();
//! Match all aircraft again
void doMatchingsAgainForSelected();
//! Enable fast position updates
void enableFastPositionUpdates(const BlackMisc::Simulation::CSimulatedAircraft &aircraft);
@@ -128,6 +134,7 @@ namespace BlackGui
//! Network context
static BlackCore::Context::IContextNetwork *networkContext();
bool m_withRecalculate = true;
bool m_withMenuHighlightAndFollow = true;
bool m_withMenuEnableAircraft = true;
bool m_withMenuEnableGndFlag = true;