mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Win32: Add the option to the Game Settings menu, too, and add a separator in NewUI.
This commit is contained in:
1 parent
9dc2a67076
commit
f6606e2e2b
4 files changed
+9
No files matched your search
@@ -262,6 +262,7 @@ void GameSettingsScreen::CreateViews() {
|
||||
style->SetEnabledPtr(&g_Config.bShowTouchControls);
|
||||
|
||||
#if defined(_WIN32) && !defined(USING_QT_UI)
|
||||
controlsSettings->Add(new ItemHeader(c->T("Keyboard", "Keyboard Control Settings")));
|
||||
controlsSettings->Add(new CheckBox(&g_Config.bIgnoreWindowsKey, c->T("Ignore Windows Key")));
|
||||
#endif
|
||||
|
||||
|
||||
@@ -603,6 +603,7 @@ namespace MainWindow
|
||||
TranslateMenuItem(ID_OPTIONS_LANGUAGE);
|
||||
TranslateMenuItem(ID_OPTIONS_TOPMOST);
|
||||
TranslateMenuItem(ID_OPTIONS_PAUSE_FOCUS);
|
||||
TranslateMenuItem(ID_OPTIONS_IGNOREWINKEY);
|
||||
TranslateMenuItem(ID_OPTIONS_MORE_SETTINGS);
|
||||
TranslateMenuItem(ID_OPTIONS_CONTROLS);
|
||||
TranslateMenuItem(ID_OPTIONS_STRETCHDISPLAY);
|
||||
@@ -1283,6 +1284,10 @@ namespace MainWindow
|
||||
NativeMessageReceived("language screen", "");
|
||||
break;
|
||||
|
||||
case ID_OPTIONS_IGNOREWINKEY:
|
||||
g_Config.bIgnoreWindowsKey = !g_Config.bIgnoreWindowsKey;
|
||||
break;
|
||||
|
||||
case ID_OPTIONS_SCREENAUTO: SetInternalResolution(RESOLUTION_AUTO); break;
|
||||
case ID_OPTIONS_SCREEN1X: SetInternalResolution(RESOLUTION_NATIVE); break;
|
||||
case ID_OPTIONS_SCREEN2X: SetInternalResolution(RESOLUTION_2X); break;
|
||||
@@ -1750,6 +1755,7 @@ namespace MainWindow
|
||||
CHECKITEM(ID_EMULATION_SOUND, g_Config.bEnableSound);
|
||||
CHECKITEM(ID_TEXTURESCALING_DEPOSTERIZE, g_Config.bTexDeposterize);
|
||||
CHECKITEM(ID_EMULATION_CHEATS, g_Config.bEnableCheats);
|
||||
CHECKITEM(ID_OPTIONS_IGNOREWINKEY, g_Config.bIgnoreWindowsKey);
|
||||
|
||||
static const int zoomitems[11] = {
|
||||
ID_OPTIONS_SCREENAUTO,
|
||||
|
||||
@@ -416,6 +416,7 @@ BEGIN
|
||||
BEGIN
|
||||
MENUITEM "Keep PPSSPP On Top", ID_OPTIONS_TOPMOST
|
||||
MENUITEM "Pause When Not Focused", ID_OPTIONS_PAUSE_FOCUS
|
||||
MENUITEM "Ignore Windows Key", ID_OPTIONS_IGNOREWINKEY
|
||||
MENUITEM "More Settings...", ID_OPTIONS_MORE_SETTINGS
|
||||
MENUITEM "Control Mapping...", ID_OPTIONS_CONTROLS
|
||||
MENUITEM "Language...", ID_OPTIONS_LANGUAGE
|
||||
|
||||
@@ -299,6 +299,7 @@
|
||||
#define ID_MEMVIEW_COPYVALUE_32 40143
|
||||
#define ID_EMULATION_SWITCH_UMD 40144
|
||||
#define ID_DEBUG_EXTRACTFILE 40145
|
||||
#define ID_OPTIONS_IGNOREWINKEY 40146
|
||||
|
||||
// Dummy option to let the buffered rendering hotkey cycle through all the options.
|
||||
#define ID_OPTIONS_BUFFEREDRENDERINGDUMMY 40500
|
||||
|
||||
Reference in new issue
Block a user