Add File -> Show Saved Replay Buffers menu entry
This commit is contained in:
parent
04ce520708
commit
f35e835758
1
OBS.rc
1
OBS.rc
@ -940,6 +940,7 @@ BEGIN
|
||||
MENUITEM "MainMenu.File.Save", ID_FILE_SAVE2
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "MainMenu.File.OpenRecordingsFolder", ID_RECORDINGSFOLDER
|
||||
MENUITEM "MainMenu.File.ShowSavedReplayBuffers", ID_SAVEDREPLAYBUFFERS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "MainMenu.File.Exit", ID_FILE_EXIT
|
||||
END
|
||||
|
@ -3335,9 +3335,11 @@ LRESULT CALLBACK OBS::OBSProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||
break;
|
||||
|
||||
case ID_RECORDINGSFOLDER:
|
||||
case ID_SAVEDREPLAYBUFFERS:
|
||||
{
|
||||
String path = OSGetDefaultVideoSavePath();
|
||||
path = GetExpandedRecordingDirectoryBase(GetPathWithoutExtension(AppConfig->GetString(TEXT("Publish"), TEXT("SavePath"), path.Array()))).FindReplace(L"/", L"\\");
|
||||
path = AppConfig->GetString(L"Publish", LOWORD(wParam) == ID_SAVEDREPLAYBUFFERS ? L"ReplayBufferSavePath" : L"SavePath", path.Array());
|
||||
path = GetExpandedRecordingDirectoryBase(GetPathWithoutExtension(path)).FindReplace(L"/", L"\\");
|
||||
String lastFile = App->lastOutputFile.FindReplace(L"/", L"\\");
|
||||
|
||||
LPITEMIDLIST item = nullptr;
|
||||
|
@ -431,13 +431,14 @@
|
||||
#define ID_MAINMENU_MAINMENU40078 40078
|
||||
#define ID_SCENECOLLECTION_IMPORT 40079
|
||||
#define ID_SCENECOLLECTION_EXPORT 40080
|
||||
#define ID_SAVEDREPLAYBUFFERS 40081
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 152
|
||||
#define _APS_NEXT_COMMAND_VALUE 40081
|
||||
#define _APS_NEXT_COMMAND_VALUE 40082
|
||||
#define _APS_NEXT_CONTROL_VALUE 1209
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
|
@ -109,6 +109,7 @@ MainMenu.Settings.Projector="&Projector"
|
||||
|
||||
MainMenu.File.Exit="E&xit"
|
||||
MainMenu.File.OpenRecordingsFolder="Open &Recordings Folder"
|
||||
MainMenu.File.ShowSavedReplayBuffers="Show Saved Replay &Buffers"
|
||||
MainMenu.File.Save="&Save"
|
||||
|
||||
MainMenu.Help.OpenHelp="Open Help Page"
|
||||
|
Loading…
x
Reference in New Issue
Block a user