Movie Window: Move customization options from Menu Bar to OSD pane, but add options to toggle the window and to open the OSD pane.

Add new setting to show/hide the Movie Window.
This commit is contained in:
TryTwo 2025-09-20 15:04:07 -07:00
commit 3b11280c20
10 changed files with 38 additions and 42 deletions

View file

@ -583,6 +583,7 @@ void MainWindow::ConnectMenuBar()
connect(m_menu_bar, &MenuBar::StopRecording, this, &MainWindow::OnStopRecording);
connect(m_menu_bar, &MenuBar::ExportRecording, this, &MainWindow::OnExportRecording);
connect(m_menu_bar, &MenuBar::ShowTASInput, this, &MainWindow::ShowTASInput);
connect(m_menu_bar, &MenuBar::ConfigureOSD, this, &MainWindow::ShowOSDWindow);
// View
connect(m_menu_bar, &MenuBar::ShowList, m_game_list, &GameList::SetListView);
@ -1327,6 +1328,12 @@ void MainWindow::ShowGeneralWindow()
m_settings_window->SelectPane(SettingsWindowPaneIndex::General);
}
void MainWindow::ShowOSDWindow()
{
ShowSettingsWindow();
m_settings_window->SelectPane(SettingsWindowPaneIndex::OnScreenDisplay);
}
void MainWindow::ShowAboutDialog()
{
AboutDialog about{this};