Create new Movie menu.
This commit is contained in:
parent
124df2e134
commit
f40e8a5cd0
|
@ -157,19 +157,6 @@ wxMenuBar* CFrame::CreateMenu()
|
||||||
emulationMenu->Append(IDM_RESET, GetMenuLabel(HK_RESET));
|
emulationMenu->Append(IDM_RESET, GetMenuLabel(HK_RESET));
|
||||||
emulationMenu->AppendSeparator();
|
emulationMenu->AppendSeparator();
|
||||||
emulationMenu->Append(IDM_TOGGLE_FULLSCREEN, GetMenuLabel(HK_FULLSCREEN));
|
emulationMenu->Append(IDM_TOGGLE_FULLSCREEN, GetMenuLabel(HK_FULLSCREEN));
|
||||||
emulationMenu->AppendSeparator();
|
|
||||||
emulationMenu->Append(IDM_RECORD, GetMenuLabel(HK_START_RECORDING));
|
|
||||||
emulationMenu->Append(IDM_PLAYRECORD, GetMenuLabel(HK_PLAY_RECORDING));
|
|
||||||
emulationMenu->Append(IDM_RECORDEXPORT, GetMenuLabel(HK_EXPORT_RECORDING));
|
|
||||||
emulationMenu->Append(IDM_RECORDREADONLY, GetMenuLabel(HK_READ_ONLY_MODE), wxEmptyString, wxITEM_CHECK);
|
|
||||||
emulationMenu->Append(IDM_TASINPUT, _("TAS Input"));
|
|
||||||
emulationMenu->AppendCheckItem(IDM_TOGGLE_PAUSEMOVIE, _("Pause at end of movie"));
|
|
||||||
emulationMenu->Check(IDM_TOGGLE_PAUSEMOVIE, SConfig::GetInstance().m_PauseMovie);
|
|
||||||
emulationMenu->AppendCheckItem(IDM_SHOWLAG, _("Show lag counter"));
|
|
||||||
emulationMenu->Check(IDM_SHOWLAG, SConfig::GetInstance().m_ShowLag);
|
|
||||||
emulationMenu->Check(IDM_RECORDREADONLY, true);
|
|
||||||
emulationMenu->AppendSeparator();
|
|
||||||
|
|
||||||
emulationMenu->Append(IDM_FRAMESTEP, GetMenuLabel(HK_FRAME_ADVANCE), wxEmptyString);
|
emulationMenu->Append(IDM_FRAMESTEP, GetMenuLabel(HK_FRAME_ADVANCE), wxEmptyString);
|
||||||
|
|
||||||
wxMenu *skippingMenu = new wxMenu;
|
wxMenu *skippingMenu = new wxMenu;
|
||||||
|
@ -214,6 +201,21 @@ wxMenuBar* CFrame::CreateMenu()
|
||||||
|
|
||||||
menubar->Append(emulationMenu, _("&Emulation"));
|
menubar->Append(emulationMenu, _("&Emulation"));
|
||||||
|
|
||||||
|
// Movie menu
|
||||||
|
wxMenu* movieMenu = new wxMenu;
|
||||||
|
movieMenu->Append(IDM_RECORD, GetMenuLabel(HK_START_RECORDING));
|
||||||
|
movieMenu->Append(IDM_PLAYRECORD, GetMenuLabel(HK_PLAY_RECORDING));
|
||||||
|
movieMenu->Append(IDM_RECORDEXPORT, GetMenuLabel(HK_EXPORT_RECORDING));
|
||||||
|
movieMenu->Append(IDM_RECORDREADONLY, GetMenuLabel(HK_READ_ONLY_MODE), wxEmptyString, wxITEM_CHECK);
|
||||||
|
movieMenu->Append(IDM_TASINPUT, _("TAS Input"));
|
||||||
|
movieMenu->AppendSeparator();
|
||||||
|
movieMenu->AppendCheckItem(IDM_TOGGLE_PAUSEMOVIE, _("Pause at end of movie"));
|
||||||
|
movieMenu->Check(IDM_TOGGLE_PAUSEMOVIE, SConfig::GetInstance().m_PauseMovie);
|
||||||
|
movieMenu->AppendCheckItem(IDM_SHOWLAG, _("Show lag counter"));
|
||||||
|
movieMenu->Check(IDM_SHOWLAG, SConfig::GetInstance().m_ShowLag);
|
||||||
|
movieMenu->Check(IDM_RECORDREADONLY, true);
|
||||||
|
menubar->Append(movieMenu, _("&Movie"));
|
||||||
|
|
||||||
// Options menu
|
// Options menu
|
||||||
wxMenu* pOptionsMenu = new wxMenu;
|
wxMenu* pOptionsMenu = new wxMenu;
|
||||||
pOptionsMenu->Append(wxID_PREFERENCES, _("Co&nfigure..."));
|
pOptionsMenu->Append(wxID_PREFERENCES, _("Co&nfigure..."));
|
||||||
|
@ -399,10 +401,10 @@ wxString CFrame::GetMenuLabel(int Id)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case HK_START_RECORDING:
|
case HK_START_RECORDING:
|
||||||
Label = _("Start Re&cording");
|
Label = _("Start Re&cording Input");
|
||||||
break;
|
break;
|
||||||
case HK_PLAY_RECORDING:
|
case HK_PLAY_RECORDING:
|
||||||
Label = _("P&lay Recording...");
|
Label = _("P&lay Input Recording...");
|
||||||
break;
|
break;
|
||||||
case HK_EXPORT_RECORDING:
|
case HK_EXPORT_RECORDING:
|
||||||
Label = _("Export Recording...");
|
Label = _("Export Recording...");
|
||||||
|
|
Loading…
Reference in New Issue