Ref T111, aligned cockpit UI elements

* naming
* allow to set cockpit values by simulated aircraft
This commit is contained in:
Klaus Basan
2017-08-08 02:51:19 +02:00
committed by Mathew Sutcliffe
parent 753bbc1847
commit 1ec3f4566d
3 changed files with 19 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ namespace BlackGui
virtual ~CCockpitComForm();
//! COM frequencies displayed
void setFrequencyDisplays(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2);
void setFrequencies(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2);
//! Set the XPDR values
void setTransponder(const BlackMisc::Aviation::CTransponder &transponder);
@@ -54,6 +54,9 @@ namespace BlackGui
//! Set to BlackMisc::Aviation::CTransponder::StateIdent
void setTransponderModeStateIdent();
//! Set all values
void setValue(const BlackMisc::Simulation::CSimulatedAircraft &aircraft);
//! Get SELCAL
BlackMisc::Aviation::CSelcal getSelcal() const;
@@ -74,12 +77,12 @@ namespace BlackGui
//! \copydoc BlackGui::Components::CTransponderModeSelector::transponderStateIdentEnded
void transponderStateIdentEnded();
//! SELCAL value changed
void selcalChanged(const BlackMisc::Aviation::CSelcal &selcal);
//! Request to test SELCAL
void testSelcal();
//! SELCAL value changed
void changedSelcal(const BlackMisc::Aviation::CSelcal &selcal);
//! GUI values changed
void changedCockpitValues(const BlackMisc::Simulation::CSimulatedAircraft &aircraft);