mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-08-09 14:06:50 -05:00
Add Camera Settings menu option
This commit is contained in:
parent
8ce967e3e7
commit
6803aa32df
|
|
@ -7,6 +7,7 @@
|
|||
#include "CemuUpdateWindow.h"
|
||||
#include "GraphicPacksWindow2.h"
|
||||
#include "AudioDebuggerWindow.h"
|
||||
#include "CameraSettingsWindow.h"
|
||||
#include "input/InputSettings2.h"
|
||||
#include "input/HotkeySettings.h"
|
||||
#include "debugger/DebuggerWindow2.h"
|
||||
|
|
@ -91,6 +92,7 @@ enum
|
|||
MAINFRAME_MENU_ID_OPTIONS_AUDIO,
|
||||
MAINFRAME_MENU_ID_OPTIONS_INPUT,
|
||||
MAINFRAME_MENU_ID_OPTIONS_HOTKEY,
|
||||
MAINFRAME_MENU_ID_OPTIONS_CAMERA,
|
||||
MAINFRAME_MENU_ID_OPTIONS_MAC_SETTINGS,
|
||||
// options -> account
|
||||
MAINFRAME_MENU_ID_OPTIONS_ACCOUNT_1 = 20350,
|
||||
|
|
@ -193,6 +195,7 @@ EVT_MENU(MAINFRAME_MENU_ID_OPTIONS_GENERAL2, MainWindow::OnOptionsInput)
|
|||
EVT_MENU(MAINFRAME_MENU_ID_OPTIONS_AUDIO, MainWindow::OnOptionsInput)
|
||||
EVT_MENU(MAINFRAME_MENU_ID_OPTIONS_INPUT, MainWindow::OnOptionsInput)
|
||||
EVT_MENU(MAINFRAME_MENU_ID_OPTIONS_HOTKEY, MainWindow::OnOptionsInput)
|
||||
EVT_MENU(MAINFRAME_MENU_ID_OPTIONS_CAMERA, MainWindow::OnOptionsInput)
|
||||
EVT_MENU(MAINFRAME_MENU_ID_OPTIONS_MAC_SETTINGS, MainWindow::OnOptionsInput)
|
||||
// tools menu
|
||||
EVT_MENU(MAINFRAME_MENU_ID_TOOLS_MEMORY_SEARCHER, MainWindow::OnToolsInput)
|
||||
|
|
@ -935,6 +938,14 @@ void MainWindow::OnOptionsInput(wxCommandEvent& event)
|
|||
frame->Show();
|
||||
break;
|
||||
}
|
||||
case MAINFRAME_MENU_ID_OPTIONS_CAMERA:
|
||||
{
|
||||
auto* frame = new CameraSettingsWindow(this);
|
||||
frame->ShowModal();
|
||||
frame->Destroy();
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2248,6 +2259,7 @@ void MainWindow::RecreateMenu()
|
|||
optionsMenu->Append(MAINFRAME_MENU_ID_OPTIONS_GENERAL2, _("&General settings"));
|
||||
optionsMenu->Append(MAINFRAME_MENU_ID_OPTIONS_INPUT, _("&Input settings"));
|
||||
optionsMenu->Append(MAINFRAME_MENU_ID_OPTIONS_HOTKEY, _("&Hotkey settings"));
|
||||
optionsMenu->Append(MAINFRAME_MENU_ID_OPTIONS_CAMERA, _("&Camera settings"));
|
||||
|
||||
optionsMenu->AppendSeparator();
|
||||
optionsMenu->AppendSubMenu(m_optionsAccountMenu, _("&Active account"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user