mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 19:35:33 +08:00
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:
committed by
Klaus Basan
parent
ff37704a59
commit
7f6dd61bb3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user