X-Plane menu improvements

* Remove start items with DBus details and replace them with a single start
* Add an item to toggle the message box
This commit is contained in:
Roland Winklmeier
2018-02-17 11:55:28 +01:00
committed by Klaus Basan
parent ff37704a59
commit 7f6dd61bb3
4 changed files with 15 additions and 6 deletions

View File

@@ -238,6 +238,9 @@ namespace XSwiftBus
//! Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted, and 1.0 is fully extended)
double getSpeedBrakeRatio() const { return m_speedBrakeRatio.get(); }
//! \copydoc XSwiftBus::CMessageBoxControl::toggle
void toggleMessageBoxVisibility() { m_messages.toggle(); }
private:
CMessageBoxControl m_messages { 128, 128, 16 };
BlackMisc::Simulation::XPlane::CNavDataReferenceList m_airports;