Commit Graph

142 Commits

Author SHA1 Message Date
Henrik Rydgård
cc0ece038c Clean up the string type in RequestCallback - somehow was both char* and std::string????
Might be related to #21695
2026-05-18 14:16:34 +02:00
Henrik Rydgård
341e034f0b Handle savedata files better on the game browser tab 2026-02-18 11:54:13 +01:00
Henrik Rydgård
f1f931551a Add a "Savestate slot count" setting. 2026-01-09 12:20:39 +01:00
Henrik Rydgård
b8fced5b41 Path code cleanup, move some UI code (#21037)
Some checks failed
Generate Linux AppImage / build (aarch64) (push) Has been cancelled
Generate Linux AppImage / build (x86_64) (push) Has been cancelled
Build / build-windows (ARM64) (push) Has been cancelled
Build / build-windows (x64) (push) Has been cancelled
Build / build-uwp (push) Has been cancelled
Build / test-windows (push) Has been cancelled
Build / build (ios) (push) Has been cancelled
Build / build (macos) (push) Has been cancelled
Build / build (clang-normal) (push) Has been cancelled
Build / build (gcc-normal) (push) Has been cancelled
Build / build (macos-libretro) (push) Has been cancelled
Build / build (android-libretro) (push) Has been cancelled
Build / build (qt) (push) Has been cancelled
Build / build (android-vr) (push) Has been cancelled
Build / build (android-arm64) (push) Has been cancelled
Build / build (android-arm32) (push) Has been cancelled
Build / build (android-x86_64) (push) Has been cancelled
Build / build (clang-libretro) (push) Has been cancelled
Build / build (gcc-libretro) (push) Has been cancelled
Build / test (macos-latest) (push) Has been cancelled
Build / test (ubuntu-latest) (push) Has been cancelled
Build / test-headless-alpine (push) Has been cancelled
Generate Docker Layer / build (push) Has been cancelled
* Move a bunch of path logic into Core/Util/PathUtil.cpp/h

.

* Move GameImageView out from SaveDataScreen

* More cleanup, add a translation string
2025-11-25 00:44:24 +01:00
Henrik Rydgård
3116eba395 More UI work (#21035)
* Improve a couple of on-screen buttons (menu, fastforward)

* Fix the new continue button, oops

* Add some missing translations

* Split a translation string to make portrait look better

* More GameScreen redesign

* Don't accidentally go into game-specific mode

* Fix layout issue with popupscreens, fix context menu positioning

* One more icon
2025-11-24 20:33:13 +01:00
Henrik Rydgård
3d20251500 Game background in menus: Crop to fit instead of stretch to fit. Generally looks better, I think. 2025-11-15 20:44:14 +01:00
Henrik Rydgård
8b52cf67af Add a way to put the "ExtraButtons" in a popup menu, use on control mapping screen 2025-11-15 20:44:14 +01:00
Henrik Rydgård
4f91d7a71a More layout work, more use of MessagePopupScreen instead of PromptScreen 2025-11-10 15:23:29 +01:00
Henrik Rydgård
0453fb5449 Move PopupScreen base class into PopupScreens.cpp/h 2025-11-10 10:26:38 +01:00
Henrik Rydgård
67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård
2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård
7ffd72b32e Rename some screen classes 2025-10-29 00:02:43 +01:00
Henrik Rydgård
138be54f6a More misc work 2025-10-28 11:54:07 +01:00
Henrik Rydgård
58456ae950 Remove the UI::EventReturn return values. Makes editing the UI nicer. 2025-09-15 11:09:00 -06:00
Henrik Rydgård
e78341b822 Hide theme behind an accessor (so we can expose it only as const) 2025-09-15 09:31:18 -06:00
Nab
3259757a57 Improve icon alignments on main and game screens 2025-08-12 22:10:21 +02:00
Henrik Rydgård
eb5c98cd07 Don't use PIC0 as background if PIC1 is missing (actually this time). Remove dark background. 2025-08-02 23:20:13 +02:00
oltolm
ce4415eeed use operator "==" instead of "strcmp" 2025-06-09 12:21:32 +02:00
Henrik Rydgård
7712cf5331 When deleting important files like savedata or games, move to trash.
This currently only works on Windows, where it changes the Delete button
to "Move to trash".
2025-04-10 09:02:44 +02:00
Henrik Rydgård
abff8a078f Work around bad null decoding (overlong) in Jak & Daxter savedata title. 2025-04-09 11:59:17 +02:00
Henrik Rydgård
130bd7bbb6 Savedata title fix, see #20180 2025-03-30 11:22:19 +02:00
Henrik Rydgård
7138722f36 Do some string sanitization, which turned out not to be the issue 2025-03-29 18:48:05 +01:00
Henrik Rydgård
4e4866d1cd Fix titles in savedata manager (remove linebreaks)
Fixes #20106
2025-03-27 14:46:44 +01:00
Henrik Rydgård
ae7586e313 Fix regression in save data manager search 2025-03-27 14:46:08 +01:00
Henrik Rydgård
6efb758893 CHange the TabbedDialog create-tab API to allow for future lazy-loading 2025-03-23 22:48:57 +01:00
Henrik Rydgård
f59ba78f0b Add Show In Folder button, delete confirmation to savedata manager popup 2025-03-07 09:43:54 +01:00
Henrik Rydgård
ee90971762 Fix layout issue on savedata screen
Fixes #20030
2025-02-25 09:47:42 -06:00
Henrik Rydgård
88b4991753 UI fixes: Rework savedata manager a bit, default keyboard focus to Cancel in confirmation dialogs (#19771)
* Savedata manager screen: Use TabbedUIDialogScreenWithGameBackground

This fixes some minor UI issues on this screen.

* PromptScreen (used for "Are you sure?"): Default keyboard focus to Cancel

Fixes #19770
2024-12-28 10:36:05 +01:00
Henrik Rydgård
680bb2bf22 Remove a bad debug assert 2024-10-17 21:11:52 +02:00
Henrik Rydgård
4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård
66993c8ff2 Android buildfix, warning fix 2024-09-26 12:04:29 +02:00
Henrik Rydgård
f020d1d815 Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords 2024-09-26 10:48:31 +02:00
Henrik Rydgård
514f29d63b Fix save data manager dialog popup 2024-09-07 16:17:28 +02:00
Henrik Rydgård
48a0c0f068 Fix using ESC in savedata screen. Warning fix 2024-09-07 16:00:52 +02:00
Henrik Rydgård
8186f14a57 Much more UI work on savedata import
fix
2024-09-07 15:28:57 +02:00
Henrik Rydgård
3a047369fd Add ability to install savedata from GameFAQs-style ZIP files 2024-09-05 17:12:10 +02:00
Henrik Rydgård
eb317378e3 Typo fix, thanks oltolm 2024-05-31 13:01:41 +02:00
Henrik Rydgård
5999690af5 i18n: Remove our awkward ampersand-escape support, except in [DesktopUI] 2024-05-31 09:45:59 +02:00
Henrik Rydgård
72c77ea2cd Update SavedataScreen.cpp - preserve the old behavior 2024-04-02 13:41:50 +02:00
Herman Semenov
0f94ac9189 Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType() 2024-04-02 14:25:26 +03:00
Henrik Rydgård
76242cb9f7 More gameinfocache fixes 2024-01-30 12:27:58 +01:00
Henrik Rydgård
d7e5928b2c Minor tweaks to spacing on savedata popup.
Might help #18762
2024-01-30 11:33:08 +01:00
Henrik Rydgård
a93b55c215 Handle icon loading failures better (avoid retrying every frame). 2024-01-29 10:44:46 +01:00
Henrik Rydgård
884c366692 Fix some longstanding issues with the GameInfoCache and optimize away double work 2024-01-28 16:23:27 +01:00
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Herman Semenov
95f535dab0 [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
Henrik Rydgård
b78c7ad470 Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov
3d422b11c0 [GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params 2023-12-14 14:23:31 +03:00
Henrik Rydgård
75e96df448 Don't use ManagedTexture in GameInfoCache, not needed. 2023-12-12 22:34:31 +01:00
Henrik Rydgård
87ddb3f3b1 Add easy way to verify games against the Redump database, supplied as CSV. 2023-10-23 19:11:01 -05:00