Commit Graph

106 Commits

Author SHA1 Message Date
Henrik Rydgård c4b81a37a4 Refactor the highlight handling and background drawing 2026-03-15 11:19:11 +01:00
Henrik Rydgård 75453632f9 Handle inset adjustements on the C++ side, handle them better in the UI. 2026-03-14 18:13:37 +01:00
Henrik Rydgård a32f550871 Merge pull request #21302 from hrydgard/android-exit-button
Android: Reintroduce the exit button (in landscape mode only)
2026-02-25 15:26:21 +01:00
Henrik Rydgård d694b3d5a4 Android: Reintroduce exit button in landscape mode only, allow exit using controller 2026-02-25 14:49:24 +01:00
Henrik Rydgård c91510039e Code cleanup on mainscreen 2026-02-25 14:28:57 +01:00
Henrik Rydgård a5029a23de Various tweaks to the update reminder UI. Now works in portrait. 2026-02-14 12:04:30 +01:00
Henrik Rydgård 1e93693f73 Revert "Remove the upgrade reminder"
This reverts commit a1a9278047.
2026-02-14 11:17:29 +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 b22b29acca Rework the logo display on the main screen 2026-01-18 14:39:52 +01:00
Henrik Rydgård b8fced5b41 Path code cleanup, move some UI code (#21037)
* 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 1ae76e871b Partial game-info-screen rework 2025-11-15 20:44:14 +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 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 45ef8120f3 Minor UX 2025-10-27 13:17:48 +01:00
Henrik Rydgård c686d48268 Add prototype Upload screen and a couple new icons. Some refactoring. 2025-10-27 12:20:20 +01:00
Henrik Rydgård 0397fe5e91 Refactor main screen code some more 2025-10-23 16:05:23 +02:00
Henrik Rydgård 21f9438682 Clean up the main screen logo view (adjust spacing, extract function) 2025-10-23 14:12:58 +02:00
Henrik Rydgård b45d07d6cb Break out TabHolder from Common/UI/ViewGroup.cpp. A few new atlas images 2025-10-23 11:19:20 +02:00
Henrik Rydgård 7ad4d33094 Start refactoring the MainScreen code 2025-10-23 10:25:28 +02:00
Henrik Rydgård 353bc9d8bf Fix display of some pinned paths on Android 2025-10-22 00:13:00 +02: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 a1a9278047 Remove the upgrade reminder
We haven't activated it for a long time, and nowadays PPSSPP has a completely
different level of compatibility and performance compared to back when
we added the upgrade reminder.

Also I'm no longer a fan of HTTP requests on startup, even if only every
10 times like we did.

So, away it goes.

Moved the potentially useful translation strings into [Dialog].
2025-06-11 09:34:20 +02:00
Henrik Rydgård 056c4024f2 Share the "launch buy gold" code between MainScreen and CreditsScreen 2025-05-19 18:38:19 +02:00
Henrik Rydgård 95550ed624 Don't create a FileLoader just to check if launched files are zip files. Snappier launches. 2025-05-15 09:48:23 +02:00
Henrik Rydgård 85410305e6 Fix/hack some color issues with the 1995 theme 2024-10-22 21:26:29 +02:00
Henrik Rydgård 4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård bdd11af620 Fix some bugs in zip file extraction, refresh game list after 2024-08-06 09:25:44 -06:00
Herman Semenov 17ecee1715 Fixed return copies from functions and const ref params 2024-04-02 18:37:00 +03:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +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
Henrik Rydgård 6ac4cc4559 Remote disc streaming: Add an option for a "Remote" tab on the main screen 2023-12-28 18:58:47 +01: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
Henrik Rydgård 67cb466ee1 Allow using a file browser to choose UMDs during disc change. 2023-09-04 21:43:10 +02:00
Henrik Rydgård d08d8f764b Remove redundant function 2023-08-18 10:21:13 +02:00
Unknown W. Brackets 19b15de2d5 UI: Add a very simplistic search to game browser.
For now, no real UI (which might include a search icon, no matches
message, banner that you're searching, etc.)  Press Ctrl-F to filter.
2023-04-29 11:45:30 -07:00
Unknown W. Brackets f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård 7ff0030772 Added vertical layout for display layout screen 2022-12-08 16:04: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
Henrik Rydgård 5d047a394b Scoped storage: Make the home button simply go to the root of the current directory tree. 2021-07-25 19:23:10 +02:00
Unknown W. Brackets f712fecefe http: Show a more standard browser for remote.
This way if we add search or otherwise, it should work.
2021-05-16 18:34:02 -07:00
Henrik Rydgård 8727679353 Clean up PathBrowser a bit
Fix UWP build

Fix booting homebrew.

Qt buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård a40b1dec5f Use Path for fullName in dirlisting. Bugfixes.
Buildfixes

UWP: Buildfix.

headless: Buildfix.

Common: Buildfix.

iOS: Buildfixes.

libretro: Buildfix.

Qt: Buildfix.
2021-05-13 10:39:16 +02: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 ae50534918 Add a new command in developer tools to list and load framedumps from framedump.ppsspp.org/repro/
Useful to make it easy to test GPU driver bugs etc, without having to
use real games or copying files around.
2021-01-31 14:42:40 +01:00
Henrik Rydgård 3c6f21173c Add a fullscreen toggle button to the main screen (Windows-only for now) 2021-01-08 20:05:43 +01:00
Henrik Rydgård 5929c78307 Add home button on all platforms 2021-01-07 00:54:50 +01:00
iota97 a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård 4f43cff5ca Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård 9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00