30 Commits

Author SHA1 Message Date
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 94b47498ab Windows: Remove special code for the help menu 2025-09-01 09:34:27 +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 116f8cf3af Implement resetting from a popup menu on the pause menu. 2025-03-28 14:31:01 +01:00
Henrik Rydgård 74ee868cdb More confirmexit fixes 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 5042555d7b Make a dedicated system request KEEP_SCREEN_BRIGHT, unify behavior between Windows and Android more 2024-05-20 14:03:54 +02:00
Henrik Rydgård 9ec5efdcc5 Add facility to run callbacks on the window thread 2024-04-06 12:14:29 +02:00
Henrik Rydgård 56c26eef4d Remove the old AsyncFileDialog thingy 2023-03-24 21:32:20 +01:00
Henrik Rydgård e9f5394f59 Move the Windows open file dialog to the new system, switch the background image selector over. 2023-03-22 14:53:07 +01:00
Unknown W. Brackets 2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets 85b7b221be Debugger: Correct delayed symbol listbox updates.
With the dialogs no longer created on start, this message wasn't coming
through.
2021-12-31 09:10:40 -08:00
Henrik Rydgård fc26beca4b Also delay-load the VFPU dialog, just because 2021-11-13 22:24:30 +01:00
Henrik Rydgård c004e9ca9d Windows debugger: Load the dialogs on demand.
I think this is especially good for the Ge dialog since we now can avoid
initializing that extra GL context unless you open the dialog.
2021-11-13 22:10:37 +01:00
Unknown W. Brackets f7607316ab Windows: Remove UI for auto texture scaling.
Functionality removed in 887f610.
2021-10-05 19:33:33 -07:00
Unknown W. Brackets 43a13f7ec6 Windows: Handle fullscreen message consistently.
This handles it the same way as SDL, etc. so that the new button on the
main screen works again.
2021-01-09 14:17:41 -08:00
shenweip a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
root 42c50a0ab0 Fixes for Unknown 2018-11-04 01:59:37 +00:00
root c19d3fe06a MRFIXIT2001: This patch adds a second frameskip setting, one for setting the # of frames to skip, one for setting the % of frames to skip based off fps 2018-11-03 01:33:41 +00:00
Unknown W. Brackets e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Unknown W. Brackets 6642bf3170 Windows: Make UI update significantly cheaper.
Setting menu strings, reloading shaders, and redrawing the menu were all
a bit slow.  This skips those things unless they've changed.
2017-04-04 20:33:22 -07:00
Unknown W. Brackets e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgard 03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
Unknown W. Brackets 6e48f907dd Support minimize and maximize state.
Fixes #6893.  Minimize is mostly useful for tooling, and maximize is a
more user-friendly way of specifying a fullscreen shortcut.
2015-12-25 19:18:32 -08:00
Henrik Rydgard ec63663ad5 More consistent handling of resolution changes. Should help #7995 2015-09-23 12:25:38 +02:00
Henrik Rydgard 2dcf50cf5e Fix crash toggling fullscreen from within the Settings menu.
See #7957
2015-09-20 23:57:51 +02:00
Henrik Rydgard 9bf47514b8 Assorted Windows cleanup 2015-09-19 14:43:50 +02:00
Henrik Rydgard 6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00