Commit Graph

195 Commits

Author SHA1 Message Date
Henrik Rydgård 87c0146eaa Fix main menu init
Fixes #21773
2026-06-03 16:00:51 +02:00
Henrik Rydgård 5f8e631167 Windows: Fix the hidden "ShowMenuBar" setting 2026-05-27 12:19:33 +02:00
Henrik Rydgård 6eb0b3fd51 Fix an issue with Exit icon not showing up in MessagePopup 2026-05-13 11:04:03 +02:00
Henrik Rydgård ac437ff05d Windows: Less flickery startup when starting in fullscreen 2026-03-05 00:48:03 +01:00
Henrik Rydgård a5e6e2ae4a Don't forget to set the WS_POPUP mode on the window when fullscreen, some drivers rely on that for tricks. 2026-02-22 23:35:18 +01:00
Henrik Rydgård b43a86a9f3 Windows: Fix the initial window size
Fixes #21235
2026-02-10 15:18:47 +01:00
oltolm 72f305c779 fix warnings and cmake windows build 2026-02-04 21:28:01 +01:00
Henrik Rydgård 2b31c07452 Fix bug causing the fullscreen setting not to be restored 2026-02-03 13:57:57 +01:00
Henrik Rydgård 46aa066f7b A change that got left out of the fullscreen refactor 2026-02-02 22:59:05 +01:00
Henrik Rydgård b1cb1c9b36 Add back some behavior that got lost in the refactor. 2026-02-02 13:04:14 +01:00
Henrik Rydgård ad4da764df Rework the internal API for applying the fullscreen state. Fixes. 2026-02-02 11:45:46 +01:00
Henrik Rydgård d331af58ab Rework fullscreen on Windows based on tests
Test implementation in https://github.com/hrydgard/fullscreen-test
2026-02-02 10:51:51 +01:00
Henrik Rydgård 51c3058cf6 Replace "ForceFullScreen" with a way to prevent specific settings from being saved. 2026-02-02 09:25:49 +01:00
Henrik Rydgård 926f595591 Tweak 2026-02-01 20:20:20 +01:00
Henrik Rydgård c08ed7d14b More cleanup 2026-02-01 15:26:35 +01:00
Henrik Rydgård 670eb7b3b6 Header cleanup 2026-02-01 15:20:05 +01:00
Henrik Rydgård 99a1ddb657 Assorted code cleanup 2026-02-01 15:03:23 +01:00
Henrik Rydgård 4007e973f3 Driveby cleanup: Remove use of legacy <tchar.h> 2026-02-01 14:43:40 +01:00
Henrik Rydgård b90bb6da70 Windows: Preserve the non-maximized window size
Fixes #15435
2026-01-23 18:54:17 +01:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
ThirteenAG 93f29ac51f WM_USER_GET_CURRENT_GAMEID: return 4 u32 values (compatibility with 32 bit builds) 2025-10-25 21:50:18 +03:00
ThirteenAG 6bf48c4f88 WM_USER_GET_CURRENT_GAMEID: pack return value into a pair of u64 2025-10-25 21:34:41 +03:00
ThirteenAG e24225a811 add more WM_USER messages
- WM_USER_GET_CURRENT_GAMEID
- WM_USER_GET_MODULE_INFO
2025-10-25 16:36:31 +03:00
Henrik Rydgård 16e9c57f96 Delay initializing the Backend submenu until the last possible moment. 2025-09-01 09:46:33 +02:00
Henrik Rydgård 94b47498ab Windows: Remove special code for the help menu 2025-09-01 09:34:27 +02:00
Henrik Rydgård 5751e202a5 Remove redundant .c_str() 2025-08-31 13:37:43 +02:00
Henrik Rydgård 9137eedb7b Windows/Vulkan: Correctly handle minimizing and restoring the window
We can't create a swapchain in this case but we still want emulation to
keep running. So we ditch the last renderpass in VulkanQueueRunner but
run all the rest (if PauseWhenMinimized isn't set).

Now works without any validation errors or hangs.
2025-07-18 20:01:48 +02:00
Henrik Rydgård 5e55090e67 Windows: Fix a hang during shutdown, could leave behind a running process. 2025-07-09 12:13:18 +02:00
Henrik Rydgård 5a300120ab Windows: Remove the "inner" window
For historical reasons, we've actually displayed inside an inner window
completely covering the client area of the main window. This seems to be
entirely unnecessary so I'm just getting rid of it and using the main
window directly for everything.

Not expecting any noticable change, just a nice cleanup.
2025-07-09 11:32:18 +02:00
Henrik Rydgård 2cebaa7509 Win32: Paint the window black earlier during startup 2025-07-08 15:08:19 +02:00
Henrik Rydgård f6aa92d635 More refactoring 2025-06-28 14:15:42 +02:00
Henrik Rydgård 09e067c6e1 Revert "Get rid of remains of support for non-square screen DPIs"
This reverts commit f206ed95eb.
2025-05-21 21:41:50 +02:00
Henrik Rydgård b27a022e7c Remove two states from the CoreState enum. 2025-04-05 09:18:56 +02:00
Henrik Rydgård c906cee1ed Provide a parent HWND to assert messageboxes (assert no longer appears below..) 2025-03-29 11:16:33 +01:00
Henrik Rydgård 116f8cf3af Implement resetting from a popup menu on the pause menu. 2025-03-28 14:31:01 +01:00
Henrik Rydgård 3ab625a0fa Windows: Lock when updating the window title 2025-03-06 14:24:40 +01:00
Henrik Rydgård 852018e899 Windows: Hook up the UI scale setting. Need a manual resize to update. 2025-02-20 17:06:38 -06:00
Henrik Rydgård 91360fee9b Have Native_UpdateScreenScale use the new g_display.Recalculate() 2025-02-20 15:47:02 -06:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00
Henrik Rydgård 31cf5771f4 Turn the break reason into an enum, fix some minor issues 2025-02-19 16:01:11 -06:00
Henrik Rydgård 74ee868cdb More confirmexit fixes 2025-02-17 16:20:41 -06:00
Henrik Rydgård dd119f5971 Merge the two ConfirmExit paths 2025-02-17 16:20:41 -06:00
Henrik Rydgård 6c55a37a7e Correct some window-closing code on Windows. 2025-02-17 13:26:15 -06:00
Henrik Rydgård 9bee4192ba Implement exit confirmation when closing the window on Windows. 2025-02-17 13:09:11 -06:00
Henrik Rydgård 63a41e7635 Windows: Fix mis-interaction between no-menu pause and pause on window lost focus, reported by IRVN 2025-01-23 14:32:38 +01:00
Henrik Rydgård 0d21d3764f Fix cursor shape getting stuck when switching from imgui 2025-01-20 12:20:21 +01:00
Henrik Rydgård 8cc77c0997 ImGui: Implement cursor support on Windows 2024-12-13 22:06:59 +01:00
Henrik Rydgård 43af3128e0 Fix drag/drop crash 2024-12-10 01:03:05 +01:00