Commit Graph

96 Commits

Author SHA1 Message Date
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
410b35fba3 Get rid of "finish" and "setclipboardtext" messages, replace with requests. 2023-03-22 22:17:26 +01:00
Henrik Rydgård
5418be738b Make the rewind snapshot interval wall-time based instead of frame-based. 2023-02-14 10:09:51 +01:00
Henrik Rydgård
d65a74e050 Improve the pause screen in vertical layout 2022-12-08 16:17:44 +01:00
Henrik Rydgård
3f0e53e60a Let the running game show through the background of all the PromptScreen dialogs. 2022-11-29 16:29:43 +01:00
Henrik Rydgård
a87cf02dbf Rename "Display layout editor" to "Display Layout && Effects" 2022-11-24 22:43:49 +01:00
Henrik Rydgård
b80df6c360 Add transparent background to the existing Display Layout Editor. 2022-11-22 14:16:24 +01:00
Henrik Rydgård
d551d2a3ed Pause menu background: Remove complicated transparency tricks, instead draw game as part of background. 2022-11-22 12:11:20 +01:00
Henrik Rydgård
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård
63cbd9c79b Make the pause screen "transparent"
When paused (ESC or back), you now see the paused game below, darkened,
instead of the usual menu background.

Not enabled in VR mode for now because it could get weird.
Also not trivial in skip-buffered mode (would require taking a screenshot) so
disabled in that case too.
2022-11-20 12:24:17 +01:00
Henrik Rydgård
59d6266744 Orient Save State / Load State buttons horizontally
As suggested back in #7437 , this pretty much matches that screenshot.

Makes it a bit harder to misclick save/load state.

Part of #13016

Fixes #7437
2022-11-19 21:04:32 +01:00
Lubos
011592754f OpenXR - Use mouse control only 2022-11-17 12:19:17 +01:00
Unknown W. Brackets
6576b853e4 UI: Fix some logic dependent on screen tags.
9f38516 changed various tags but not code referencing them.
2022-09-17 13:36:25 -07:00
Henrik Rydgård
9f3851678e Add tags to all our UI screens. Useful to debug UI problems. 2022-09-16 10:14:00 +02:00
Unknown W. Brackets
567c7f207d UI: Fix save state scrollview height.
Fixes #14785.
2021-08-31 20:18:22 -07:00
iota97
b643d60f72 Undo last save 2021-08-07 13:28:43 +02:00
iota97
9be2bef617 Use horizontal layout 2021-08-03 21:20:01 +02:00
iota97
626dfb5bd7 Savestate load undo 2021-08-03 11:10:54 +02:00
iota97
2b8d05cfa9 Add savestate undo UI 2021-08-03 07:49:28 +02:00
Unknown W. Brackets
b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Unknown W. Brackets
d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
e2e1c677cb GameInfoCache: Don't expose the workqueue.
Was unused anyway.
2021-04-30 23:04:24 -07:00
Unknown W. Brackets
3360121b5c UI: Expose lists better in descriptions.
Explicitly marks several lists, which should make exposing text better.
2021-02-21 18:41:08 -08:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00