mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 00:40:09 +00:00
(Windows) Add Toggle Desktop Menu to UI menubar
This commit is contained in:
parent
0b426b2022
commit
0f9fd971e2
@ -68,6 +68,7 @@ IDR_MENU MENU
|
||||
MENUITEM "9x", ID_M_WINDOW_SCALE_9X
|
||||
MENUITEM "10x", ID_M_WINDOW_SCALE_10X
|
||||
}
|
||||
MENUITEM "Toggle Desktop Menu", ID_M_TOGGLE_DESKTOP
|
||||
MENUITEM "Toggle Exclusive Full Screen", ID_M_FULL_SCREEN
|
||||
// Shader dialog is disabled for now, until video_threaded issues are fixed.
|
||||
//MENUITEM "Shader Parameters", ID_M_SHADER_PARAMETERS
|
||||
|
@ -65,6 +65,7 @@ IDR_MENU MENU
|
||||
MENUITEM "9x", ID_M_WINDOW_SCALE_9X
|
||||
MENUITEM "10x", ID_M_WINDOW_SCALE_10X
|
||||
}
|
||||
MENUITEM "Toggle Desktop Menu", ID_M_TOGGLE_DESKTOP
|
||||
MENUITEM "排他的なフルスクリーン切り替え", ID_M_FULL_SCREEN
|
||||
// Shader dialog is disabled for now, until video_threaded issues are fixed.
|
||||
//MENUITEM "シェーダーのパラメータ", ID_M_SHADER_PARAMETERS
|
||||
|
@ -237,6 +237,9 @@ LRESULT win32_menu_loop(HWND owner, WPARAM wparam)
|
||||
case ID_M_QUIT:
|
||||
do_wm_close = true;
|
||||
break;
|
||||
case ID_M_TOGGLE_DESKTOP:
|
||||
cmd = CMD_EVENT_UI_COMPANION_TOGGLE;
|
||||
break;
|
||||
default:
|
||||
if (mode >= ID_M_WINDOW_SCALE_1X && mode <= ID_M_WINDOW_SCALE_10X)
|
||||
{
|
||||
|
@ -28,3 +28,4 @@
|
||||
#define ID_M_STATE_INDEX_AUTO 40024
|
||||
#define ID_M_TAKE_SCREENSHOT 40025
|
||||
#define ID_M_MUTE_TOGGLE 40026
|
||||
#define ID_M_TOGGLE_DESKTOP 40027
|
||||
|
Loading…
x
Reference in New Issue
Block a user