Commit Graph

279 Commits

Author SHA1 Message Date
Henrik Rydgård
3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
49e5460c9c Remove count parameter from SetViewports. No use foreseen. 2023-02-25 07:12:53 +01:00
Henrik Rydgård
4287365411 Update URLs, fix feedback from #16851 2023-01-29 00:25:27 +01:00
Henrik Rydgård
9547deb0c6 Simplify away some theme parameters. Make popups look better 2023-01-10 16:00:17 +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
93e5060137 Load and cache langValuesMapping on demand 2022-12-05 12:10:45 +01:00
Henrik Rydgård
7f7af003ce UI: Darken game-as-background a bit more for UI legibility 2022-12-01 15:06:46 +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
4fe8aa7174 Fix category for "Language" string. Swedish translation improvements 2022-11-29 09:52:30 +01:00
Henrik Rydgård
6d9bb1b29e Move post-processing settings to DisplayLayoutScreen 2022-11-22 23:29:50 +01:00
Henrik Rydgård
575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00
Henrik Rydgård
57864f62ce Rework the display layout editor to ditch the preview thing.
We lose the snapping in the refactor because I ended up rewriting the
whole dragging mechanism, might reintroduce later.
2022-11-22 20:10:20 +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
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
Unknown W. Brackets
56e30495aa Common: Fix some type compare warnings on 32-bit. 2022-09-12 22:14:48 -07:00
Henrik Rydgård
02c03216bf Add Lubos to credits list 2022-09-06 11:50:01 +02:00
Unknown W. Brackets
aad5082d55 Config: Move recent ISOs access to accessors. 2022-07-11 20:44:13 -07:00
iota97
1d37ec48a4 Allow to set default background color in a theme 2022-02-18 21:02:07 +01:00
Henrik Rydgård
ce2995f952 Add UI Tint/Saturation settings
Does the color tinting in the vertex shader.
2022-02-18 14:23:57 +01:00
Henrik Rydgård
e88ddbb42a
Merge pull request #15394 from iota97/theme
Allow custom UI themes
2022-02-17 10:45:13 +01:00
iota97
561870dc25 Merge item and button style, remove hightlighed and few other fixes 2022-02-14 13:57:22 +01:00
iota97
1c313da541 Keep comment up to date 2022-02-11 19:30:25 +01:00
Cameron Cawley
5adf188ea1 UI: Mention SDL in the credits when it's being used alongside Qt 2022-01-09 23:36:20 +00:00
Unknown W. Brackets
a397bf811b UI: Fix some sign/size comparison warnings.
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00
Henrik Rydgård
c07068f89b Fix text wrapping on PromptScreen by improving the layout 2021-12-13 22:42:03 +01:00
Henrik Rydgård
0ab207adb1 Display the graphics API on logoscreen on more platforms 2021-11-30 10:11:18 +01:00
Unknown W. Brackets
b8ab7f39df jit: Lock around changes to the jit pointer. 2021-11-28 10:04:22 -08: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
564a3691cd Little fix to logo screen 2021-09-17 00:09:47 +02:00
iota97
a2f016b2d1 Fix setting info on multi choice 2021-09-12 12:06:05 +02:00
Henrik Rydgård
d876834561 Fix weird linker problem 2021-09-11 21:17:01 +02:00
Henrik Rydgård
b17ff0e5af
Merge pull request #14818 from iota97/super-wp
Focus based moving background
2021-09-11 20:50:54 +02:00
iota97
fb5b528b97 Moving Background 2021-09-10 01:55:23 +02:00
iota97
ecab31ef8b Keep track of focus position 2021-09-09 17:35:19 +02:00
iota97
9283d14a3d Fix wave on different dps 2021-09-09 11:58:02 +02:00
iota97
79b10c4d53 Add some antialiasing 2021-09-08 16:36:57 +02:00
iota97
01aaed54d6 Wave animation 2021-09-08 15:57:41 +02:00
Henrik Rydgård
b397e5c455 Assorted plumbing.
wip

Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
4d344f556a Additional feedback. 2021-05-13 10:39:17 +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