Example #1
0
void
SystemConfiguration()
{
  const UISettings old_ui_settings = CommonInterface::GetUISettings();

  SettingsEnter();
  dlgConfigurationShowModal();
  SettingsLeave(old_ui_settings);
}
Example #2
0
void
SystemConfiguration()
{
  if (!is_simulator() &&
      XCSoarInterface::LockSettingsInFlight &&
      XCSoarInterface::Basic().flight.Flying) {
    Message::AddMessage(_("Settings locked in flight"));
    return;
  }

  SettingsEnter();
  dlgConfigurationShowModal();
  SettingsLeave();
}
Example #3
0
void SystemConfiguration(short mode) {
  if (!SIMMODE) {
	if (LockSettingsInFlight && CALCULATED_INFO.Flying) {
		DoStatusMessage(TEXT("Settings locked in flight"));
		return;
	}
  }

  #if TESTBENCH
  StartupStore(_T("... SETTINGS enter @%s\n"),WhatTimeIsIt());
  #endif
  SettingsEnter();
  dlgConfigurationShowModal(mode);
  #if TESTBENCH
  StartupStore(_T("... SETTINGS leave @%s\n"),WhatTimeIsIt());
  #endif
  SettingsLeave();
}