Win32 - view comments context menu item
This commit is contained in:
parent
adcb406887
commit
df4aed36ab
|
@ -327,6 +327,7 @@ BEGIN
|
|||
BEGIN
|
||||
MENUITEM "Play Movie from Beginning", FCEU_CONTEXT_PLAYMOVIEFROMBEGINNING
|
||||
MENUITEM "Stop Movie Replay", FCEU_CONTEXT_STOPMOVIE
|
||||
MENUITEM "View comments and subtitles", FCEUX_CONTEXT_VIEWCOMMENTSSUBTITLES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Rewind to last auto-save", FCEUX_CONTEXT_REWINDTOLASTAUTO
|
||||
MENUITEM SEPARATOR
|
||||
|
@ -352,6 +353,7 @@ BEGIN
|
|||
BEGIN
|
||||
MENUITEM "Play Movie From Beginning", FCEU_CONTEXT_PLAYMOVIEFROMBEGINNING
|
||||
MENUITEM "Stop Movie Recording", FCEU_CONTEXT_STOPMOVIE
|
||||
MENUITEM "View comments and subtitles", FCEUX_CONTEXT_VIEWCOMMENTSSUBTITLES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Rewind to last auto-save", FCEUX_CONTEXT_REWINDTOLASTAUTO
|
||||
MENUITEM SEPARATOR
|
||||
|
@ -1617,7 +1619,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|||
//
|
||||
|
||||
IDD_REPLAY_METADATA DIALOGEX 0, 0, 325, 250
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Movie Metadata"
|
||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||
BEGIN
|
||||
|
|
|
@ -617,6 +617,9 @@
|
|||
#define FCEUX_CONTEXT_REWINDTOLASTAUTO 40307
|
||||
#define ID_GAME_REWINDTOLASTAUTO40308 40308
|
||||
#define ID_GAME_REWINDTOLASTAUTO40309 40309
|
||||
#define ID_GAME_VIEWCOMMENTSSUBTITLES 40310
|
||||
#define FCEUX_CONTEXT_VIEWCOMMENTSSUBTITLES 40311
|
||||
#define ID_GAME_VIEWCOMMENTSSUBTITLES40312 40312
|
||||
#define IDC_DEBUGGER_ICONTRAY 55535
|
||||
#define MW_ValueLabel2 65423
|
||||
#define MW_ValueLabel1 65426
|
||||
|
@ -626,7 +629,7 @@
|
|||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 125
|
||||
#define _APS_NEXT_COMMAND_VALUE 40310
|
||||
#define _APS_NEXT_COMMAND_VALUE 40313
|
||||
#define _APS_NEXT_CONTROL_VALUE 1191
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
|
|
|
@ -91,7 +91,7 @@ void SetAutoFirePattern(int onframes, int offframes);
|
|||
void SetAutoFireOffset(int offset);
|
||||
void ShowNetplayConsole(void); //mbg merge 7/17/06 YECH had to add
|
||||
void MapInput(void);
|
||||
|
||||
extern BOOL CALLBACK ReplayMetadataDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); //Metadata dialog
|
||||
//AutoFire-----------------------------------------------
|
||||
|
||||
static int CheckedAutoFirePattern = MENU_AUTOFIRE_PATTERN_1;
|
||||
|
@ -1264,6 +1264,11 @@ LRESULT FAR PASCAL AppWndProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
|||
break;
|
||||
|
||||
//Context Menus------------------------------------------------------
|
||||
//View comments and subtitles
|
||||
case FCEUX_CONTEXT_VIEWCOMMENTSSUBTITLES:
|
||||
CreateDialog(fceu_hInstance, "IDD_REPLAY_METADATA", hWnd, ReplayMetadataDialogProc, (LPARAM)0);
|
||||
|
||||
//Load last auto-save
|
||||
case FCEUX_CONTEXT_REWINDTOLASTAUTO:
|
||||
FCEUI_Autosave();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue