refs #283 Dedicated displayTextMessage for text messages instead of using displayStatusMessage for both.

The simulator can use this to display text messages in a different colour, for example.
This commit is contained in:
Mathew Sutcliffe
2014-08-18 20:36:36 +01:00
parent 4fc78adab9
commit d25eac66b1
8 changed files with 31 additions and 1 deletions

View File

@@ -279,6 +279,11 @@ namespace BlackSimPlugin
Q_UNUSED(hr);
}
void CSimulatorFsx::displayTextMessage(const BlackMisc::Network::CTextMessage &message) const
{
this->displayStatusMessage(message.asStatusMessage(true, true));
}
CAirportList CSimulatorFsx::getAirportsInRange() const
{
return this->m_airportsInRange;