refs #335, refs #342 improved simulator states

* new signal sending all 3 states together (connected, running, paused)
* renamed ISimulator::Status to ConnectionStatus
* consolidated some member / signal names
* for FS9/XPlane implemented stub functions
This commit is contained in:
Klaus Basan
2014-11-01 18:47:42 +01:00
committed by Roland Winklmeier
parent 326ae96def
commit a94bceddab
16 changed files with 202 additions and 112 deletions

View File

@@ -59,11 +59,11 @@ namespace BlackGui
{
if (!this->isVisibleWidget()) return; // no updates on invisible widgets
if (!this->getIContextOwnAircraft()) return;
if (!this->getIContextSimulator()->isConnected())
if (!this->getIContextSimulator()->isRunning())
{
if (this->rowCount() == 1) return;
this->clear();
this->addOrUpdateByName("info", "sim not connected", CIcons::StandardIconWarning16);
this->addOrUpdateByName("info", "sim not running", CIcons::StandardIconWarning16);
return;
}