mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 17:44:41 -06:00
Add Camera Settings menu option
This commit is contained in:
parent
af841071b7
commit
b35887afdf
@ -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,
|
||||
@ -192,6 +194,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)
|
||||
@ -941,6 +944,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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -2254,6 +2265,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