Commit Graph

127 Commits

Author SHA1 Message Date
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
Henrik Rydgård 19e4de5088 Change global UI messages to use an enum instead of strings.
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
German Semenov c498a42e92 Core, UI, Windows: Removed excess converting C-string in params 2023-09-15 13:54:11 +03:00
Unknown W. Brackets 23b05b9037 UI: Fix search within savedata screen. 2023-09-07 17:34:23 -07:00
Henrik Rydgård 8a59ed0062 Add function ApplySafeSubstitution for translation strings with parameters 2023-07-16 16:26:49 +02:00
Henrik Rydgård 84fffec4f3 Switch all NativeMessageReceived to System_PostUIMessage 2023-07-06 17:26:02 +02:00
Henrik Rydgård a17710a914 Remove additional ifdef checks for inputbox 2023-06-22 09:06:19 +02:00
M4xw 71639acd16 [Switch] Enable all System_InputBoxGetString usages 2023-06-22 00:47:00 +02:00
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
Unknown W. Brackets 441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Henrik Rydgård de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +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 9f3851678e Add tags to all our UI screens. Useful to debug UI problems. 2022-09-16 10:14:00 +02:00
Unknown W. Brackets 8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets 0f83901838 UI: Keep buttons at bottom for savedata.
Also make them wider, looks like a layout mistake.
2021-10-05 23:55:51 -07:00
Unknown W. Brackets e8a83269bb UI: Add scroll to savedata viewer for long descs. 2021-10-05 23:50:21 -07:00