Win32 - Minor GUI Menu cleanup
This commit is contained in:
parent
008ec6ceca
commit
9a4b12d5a7
|
@ -1060,14 +1060,14 @@ void CollapseWindow(void)
|
|||
wrect.right = (wrect.right - ((wrect.right-wrect.left)/2));
|
||||
MemWCollapsed = true;
|
||||
SetDlgItemText(hwndMemWatch, MEMW_EXPANDCOLLAPSE, ">"); //Put Address value
|
||||
ChangeMemwMenuItemText(MEMW_OPTIONS_EXPANDCOLLAPSE, "Expand to 2 columns");
|
||||
ChangeMemwMenuItemText(MEMW_OPTIONS_EXPANDCOLLAPSE, "&Expand to 2 columns");
|
||||
}
|
||||
else
|
||||
{
|
||||
wrect.right = (wrect.right + (wrect.right-wrect.left));
|
||||
MemWCollapsed = false;
|
||||
SetDlgItemText(hwndMemWatch, MEMW_EXPANDCOLLAPSE, "<"); //Put Address value
|
||||
ChangeMemwMenuItemText(MEMW_OPTIONS_EXPANDCOLLAPSE, "Collapse to 1 column");
|
||||
ChangeMemwMenuItemText(MEMW_OPTIONS_EXPANDCOLLAPSE, "&Collapse to 1 column");
|
||||
}
|
||||
|
||||
SetWindowPos(hwndMemWatch,NULL,MemWatch_wndx,MemWatch_wndy,(wrect.right-wrect.left),(wrect.bottom-wrect.top),NULL);
|
||||
|
|
|
@ -206,33 +206,33 @@ BEGIN
|
|||
MENUITEM "&New Project\tCtrl+N", ID_FILE_NEWPROJECT
|
||||
MENUITEM "&Open Project...\tCtrl+O", ID_FILE_OPENPROJECT
|
||||
MENUITEM "&Save Project\tCtrl+S", ID_FILE_SAVEPROJECT
|
||||
MENUITEM "Save Project As...\tCtrl+Shift+S", ID_FILE_SAVEPROJECTAS
|
||||
MENUITEM "S&ave Project As...\tCtrl+Shift+S", ID_FILE_SAVEPROJECTAS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Import FM2", ID_FILE_IMPORTFM2
|
||||
MENUITEM "Export to FM2", ID_FILE_EXPORTFM2
|
||||
MENUITEM "&Import FM2", ID_FILE_IMPORTFM2
|
||||
MENUITEM "&Export to FM2", ID_FILE_EXPORTFM2
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Close\tAlt+F4", ID_TASEDIT_FILE_CLOSE
|
||||
MENUITEM "&Close\tAlt+F4", ID_TASEDIT_FILE_CLOSE
|
||||
END
|
||||
POPUP "Edit"
|
||||
POPUP "&Edit"
|
||||
BEGIN
|
||||
MENUITEM "Select All", ID_EDIT_SELECTALL
|
||||
MENUITEM "&Select All", ID_EDIT_SELECTALL
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Cut\tCtrl+X", ID_TASEDIT_CUT
|
||||
MENUITEM "Copy\tCtrl+C", ID_TASEDIT_COPY
|
||||
MENUITEM "Paste\tCtrl+V", ID_TASEDIT_PASTE
|
||||
MENUITEM "Paste to New\tCtrl+Shift+V", ID_TASEDIT_PASTETONEW
|
||||
MENUITEM "Delete\tCtrl+Delete", ID_TASEDIT_DELETE
|
||||
MENUITEM "Cu&t\tCtrl+X", ID_TASEDIT_CUT
|
||||
MENUITEM "&Copy\tCtrl+C", ID_TASEDIT_COPY
|
||||
MENUITEM "&Paste\tCtrl+V", ID_TASEDIT_PASTE
|
||||
MENUITEM "Paste to &New\tCtrl+Shift+V", ID_TASEDIT_PASTETONEW
|
||||
MENUITEM "&Delete\tCtrl+Delete", ID_TASEDIT_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Add Marker", ID_EDIT_ADDMARKER
|
||||
MENUITEM "Remove Marker", ID_EDIT_REMOVEMARKER
|
||||
MENUITEM "&Add Marker", ID_EDIT_ADDMARKER
|
||||
MENUITEM "&Remove Marker", ID_EDIT_REMOVEMARKER
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Truncate\tCtrl+T", ID_EDIT_TRUNCATE
|
||||
MENUITEM "Branch\tCtrl+B", ID_EDIT_BRANCH
|
||||
MENUITEM "&Truncate\tCtrl+T", ID_EDIT_TRUNCATE
|
||||
MENUITEM "&Branch\tCtrl+B", ID_EDIT_BRANCH
|
||||
END
|
||||
MENUITEM "View", ID_VIEW
|
||||
POPUP "Help"
|
||||
MENUITEM "&View", ID_VIEW
|
||||
POPUP "&Help"
|
||||
BEGIN
|
||||
MENUITEM "TASEdit Help", ID_HELP_TASEDITHELP
|
||||
MENUITEM "&TASEdit Help...", ID_HELP_TASEDITHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
@ -243,30 +243,30 @@ BEGIN
|
|||
MENUITEM "&Save Rom", MENU_MV_FILE_SAVE
|
||||
MENUITEM "S&ave Rom As...", MENU_MV_FILE_SAVE_AS
|
||||
MENUITEM "&Load *.TBL File", MENU_MV_FILE_LOAD_TBL
|
||||
MENUITEM "Unload *.TBL file", MENU_MV_FILE_UNLOAD_TBL
|
||||
MENUITEM "&Unload *.TBL file", MENU_MV_FILE_UNLOAD_TBL
|
||||
POPUP "&Dump to file"
|
||||
BEGIN
|
||||
MENUITEM "&Ram", MENU_MV_FILE_DUMP_RAM
|
||||
MENUITEM "&PPU Memory", MENU_MV_FILE_DUMP_PPU
|
||||
END
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Close\tAlt+F4", ID_MEMWVIEW_FILE_CLOSE
|
||||
MENUITEM "&Close\tAlt+F4", ID_MEMWVIEW_FILE_CLOSE
|
||||
END
|
||||
POPUP "&Edit"
|
||||
BEGIN
|
||||
MENUITEM "Undo\tCtrl+Z", MENU_MV_EDIT_UNDO
|
||||
MENUITEM "&Undo\tCtrl+Z", MENU_MV_EDIT_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Copy", MENU_MV_EDIT_COPY
|
||||
MENUITEM "Paste", MENU_MV_EDIT_PASTE
|
||||
MENUITEM "&Copy", MENU_MV_EDIT_COPY
|
||||
MENUITEM "&Paste", MENU_MV_EDIT_PASTE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Find...", MENU_MV_EDIT_FIND
|
||||
MENUITEM "Find Next", MENU_MV_EDIT_FIND_NEXT
|
||||
MENUITEM "&Find...", MENU_MV_EDIT_FIND
|
||||
MENUITEM "Find &Next", MENU_MV_EDIT_FIND_NEXT
|
||||
END
|
||||
POPUP "&View"
|
||||
BEGIN
|
||||
MENUITEM "NES Memory", MENU_MV_VIEW_RAM, CHECKED
|
||||
MENUITEM "PPU Memory", MENU_MV_VIEW_PPU
|
||||
MENUITEM "Rom File", MENU_MV_VIEW_ROM
|
||||
MENUITEM "&NES Memory", MENU_MV_VIEW_RAM, CHECKED
|
||||
MENUITEM "&PPU Memory", MENU_MV_VIEW_PPU
|
||||
MENUITEM "&Rom File", MENU_MV_VIEW_ROM
|
||||
END
|
||||
POPUP "&Bookmarks"
|
||||
BEGIN
|
||||
|
@ -275,32 +275,32 @@ BEGIN
|
|||
END
|
||||
POPUP "Help"
|
||||
BEGIN
|
||||
MENUITEM "Help...", MENU_MV_HELP
|
||||
MENUITEM "&Help...", MENU_MV_HELP
|
||||
END
|
||||
END
|
||||
|
||||
MEMWATCHMENU MENU
|
||||
BEGIN
|
||||
POPUP "File "
|
||||
POPUP "&File "
|
||||
BEGIN
|
||||
MENUITEM "&New...\tCtrl+N", MEMW_FILE_NEW
|
||||
MENUITEM "&Open...\tCtrl+O", MEMW_FILE_OPEN
|
||||
MENUITEM "&Save\tCtrl+S", MEMW_FILE_SAVE
|
||||
MENUITEM "Sa&ve As..\tCtrl+Shift+S", MEMW_FILE_SAVEAS
|
||||
MENUITEM "S&ave As..\tCtrl+Shift+S", MEMW_FILE_SAVEAS
|
||||
MENUITEM "&Recent", ID_FILE_RECENT
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Close\tAlt+F4", MEMW_FILE_CLOSE
|
||||
END
|
||||
POPUP "Options"
|
||||
POPUP "&Options"
|
||||
BEGIN
|
||||
MENUITEM "Load on Startup", MEMW_OPTIONS_LOADSTART
|
||||
MENUITEM "Load Last File on Startup", MEMW_OPTIONS_LOADLASTFILE
|
||||
MENUITEM "&Load on Startup", MEMW_OPTIONS_LOADSTART
|
||||
MENUITEM "Load Last &File on Startup", MEMW_OPTIONS_LOADLASTFILE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Collapse to 1 column", MEMW_OPTIONS_EXPANDCOLLAPSE
|
||||
MENUITEM "&Collapse to 1 column", MEMW_OPTIONS_EXPANDCOLLAPSE
|
||||
END
|
||||
POPUP "Help"
|
||||
POPUP "&Help"
|
||||
BEGIN
|
||||
MENUITEM "MemWatch Commands", MEMW_HELP_WCOMMANDS
|
||||
MENUITEM "&MemWatch Commands", MEMW_HELP_WCOMMANDS
|
||||
END
|
||||
END
|
||||
|
||||
|
@ -308,7 +308,7 @@ TASEDITCONTEXTMENUS MENU
|
|||
BEGIN
|
||||
POPUP "Stray"
|
||||
BEGIN
|
||||
MENUITEM "&Insert Frames", MENU_CONTEXT_STRAY_INSERTFRAMES
|
||||
MENUITEM "Insert Frames", MENU_CONTEXT_STRAY_INSERTFRAMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Truncate", ID_CONTEXT_STRAY_TRUNCATE
|
||||
END
|
||||
|
@ -339,12 +339,12 @@ BEGIN
|
|||
MENUITEM "Undo savestate", FCEUX_CONTEXT_UNDOSAVESTATE
|
||||
MENUITEM "Rewind to last auto-save", FCEUX_CONTEXT_REWINDTOLASTAUTO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Help....", FCEU_CONTEXT_MOVIEHELP
|
||||
MENUITEM "Help....", FCEU_CONTEXT_MOVIEHELP
|
||||
END
|
||||
POPUP "Game+NoMovie"
|
||||
BEGIN
|
||||
MENUITEM "&Play Movie", FCEUX_CONTEXT_REPLAYMOVIE
|
||||
MENUITEM "&Record Movie", FCEUX_CONTEXT_RECORDMOVIE
|
||||
MENUITEM "Play Movie...", FCEUX_CONTEXT_REPLAYMOVIE
|
||||
MENUITEM "Record Movie...", FCEUX_CONTEXT_RECORDMOVIE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Undo savestate", FCEUX_CONTEXT_UNDOSAVESTATE
|
||||
MENUITEM "Undo loadstate", FCEUX_CONTEXT_UNDOLOADSTATE
|
||||
|
@ -358,7 +358,7 @@ BEGIN
|
|||
MENUITEM "Open ROM", FCEU_CONTEXT_OPENROM
|
||||
MENUITEM "Last ROM used", FCEUX_CONTEXT_RECENTROM1
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Help....", FCEU_CONTEXT_FCEUHELP
|
||||
MENUITEM "Help....", FCEU_CONTEXT_FCEUHELP
|
||||
END
|
||||
POPUP "Game+Movie+readwrite"
|
||||
BEGIN
|
||||
|
|
Loading…
Reference in New Issue