mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user