コード例 #1
0
ファイル: MainWindow.cpp プロジェクト: ToadKing/dolphin
void MainWindow::FullScreen()
{
  // If the render widget is fullscreen we want to reset it to whatever is in
  // settings. If it's set to be fullscreen then it just remakes the window,
  // which probably isn't ideal.
  bool was_fullscreen = m_render_widget->isFullScreen();
  HideRenderWidget();
  if (was_fullscreen)
    ShowRenderWidget();
  else
    m_render_widget->showFullScreen();
}
コード例 #2
0
ファイル: MainWindow.cpp プロジェクト: Tinob/Ishiiruka
void MainWindow::OnStopComplete()
{
  m_stop_requested = false;
  HideRenderWidget();

  if (m_exit_requested)
    QGuiApplication::instance()->quit();

  // If the current emulation prevented the booting of another, do that now
  if (m_pending_boot != nullptr)
  {
    StartGame(std::move(m_pending_boot));
    m_pending_boot.reset();
  }
}
コード例 #3
0
ファイル: MainWindow.cpp プロジェクト: ToadKing/dolphin
void MainWindow::ForceStop()
{
  BootManager::Stop();
  HideRenderWidget();
}
コード例 #4
0
ファイル: MainWindow.cpp プロジェクト: aichunyu/dolphin
void MainWindow::ForceStop()
{
	BootManager::Stop();
	HideRenderWidget();
	emit EmulationStopped();
}