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

@@ -217,6 +217,11 @@ namespace BlackSimPlugin
QMetaObject::invokeMethod(m_fs9Host, "sendTextMessage", Q_ARG(QString, message.toQString()));
}
void CSimulatorFs9::displayTextMessage(const BlackMisc::Network::CTextMessage &message) const
{
this->displayStatusMessage(message.asStatusMessage(true, true));
}
CAirportList CSimulatorFs9::getAirportsInRange() const
{
return this->m_airportsInRange;