86 Commits

Author SHA1 Message Date
Henrik Rydgård 72ee82844d Doesn't yet work 2026-06-24 23:04:17 +02: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 160e2c4f9b Refactor: Call GetLayoutBounds on the screen instead of the context where possible.
This will allow screens to influence the layout bounds in a unified way
2026-03-14 13:07:48 +01:00
Henrik Rydgård 59ad5b4be4 More UI refactor, fixes to control customization screens 2025-11-25 19:27:57 +01:00
Henrik Rydgård e37c0cbef3 Introduce SimpleBaseDialogScreen, TabbedBaseDialogScreen's simpler cousin 2025-10-29 08:39:59 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård 69aa84e3b0 Split out the backgrounds and base screen classes from MiscScreens.h 2025-10-29 00:02:43 +01:00
Henrik Rydgård 7ffd72b32e Rename some screen classes 2025-10-29 00:02:43 +01:00
Henrik Rydgård 9ed3fc0eaa Some work on the credits screen, main screen 2025-10-28 11:27:31 +01:00
Henrik Rydgård aebaeb1070 Allow dragging the list on the credits screen 2025-10-16 11:07:05 +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 7936f2a8dd Splash screen tweak 2025-05-25 15:16:39 +02:00
Henrik Rydgård a1453c6436 Add shiny gold icon animation 2025-05-25 11:22:04 +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 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 26f0117421 Replace mentions of Twitter with X 2024-10-25 21:07:23 +02: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 e8f70594a4 Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
Henrik Rydgård 6d51fbc1e6 Refactor UI background rendering. There's now a BackgroundScreen. 2023-12-10 22:26:46 +01:00
Henrik Rydgård 22295a6412 Plumb through a ScreenRenderMode parameter 2023-12-10 13:05:17 +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 ce802664ea Minor SettingInfo cleanup 2023-07-12 10:24:06 +02:00
Henrik Rydgård c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +01:00
Henrik Rydgård a3a949f5e6 Remove touch() return values from screen hierarchy 2023-01-10 10:12:37 +01:00
Henrik Rydgård 3053f763f6 Add setting for transparent UI background
Fixes #16593
2022-12-16 09:15:08 +01:00
Unknown W. Brackets a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08: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 42b74c6a9a Add background to the scroll views. Not really pretty but more readable 2022-12-07 23:12:09 +01:00
Henrik Rydgård aed5d76fbc Make the post shader list more editable 2022-12-07 10:27:02 +01:00
Henrik Rydgård dd22ec6fa7 Show the name of the chosen language on the choice button. Looks weird not to. 2022-12-05 12:10:45 +01:00
Henrik Rydgård 93e5060137 Load and cache langValuesMapping on demand 2022-12-05 12:10:45 +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 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 c668736924 Add a couple of stereo display shaders, add infrastructure, compile stereo pipelines 2022-10-27 11:05:58 +02: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 992ad801e7 Add a crude way to blacklist post/texture shaders from certain vendors.
Use it to work around #14530 for now.
2021-09-28 23:39:52 +02:00
Henrik Rydgård 76df060349 Show the logo screen before the memstick screen on first boot with scoped storage 2021-09-19 20:23:46 +02:00
iota97 a2f016b2d1 Fix setting info on multi choice 2021-09-12 12:06:05 +02:00
Henrik Rydgård b397e5c455 Assorted plumbing.
wip

Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård 2e16e83159 It never ends... 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 1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
Henrik Rydgård 894cb9f28f Slight simplification in LogoScreen
Not that I think those crashes actually are from this...
2021-02-11 22:11:50 +01:00
Henrik Rydgård ed8188e821 Do the title screen animation by accumulator instead, to avoid a long first frame breaking it. 2021-02-07 20:09:57 +01:00
Henrik Rydgård 5fe6492b9b Make a couple of UI animations refresh rate independent 2021-02-04 08:55:21 +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
iota97 0c885db052 User chain support 2020-09-13 21:48:00 +02:00
Unknown W. Brackets 5ff75f4ca8 UI: Add setting for texture upload shader. 2020-08-01 21:28:18 -07:00
Unknown W. Brackets 03fc86a147 UI: Return to game settings after restart.
This is more convenient.  Also restarts the game if needed.

Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00