Henrik Rydgård
b226dd329f
Postshader: Fix issue where some changes weren't reflected until resizing the window
2024-10-29 16:15:46 +01:00
Henrik Rydgård
f86b55c481
Postshader: Work around a play-reported race condition (haven't figured out how to hit it, though).
2024-10-29 15:50:47 +01:00
Henrik Rydgård
2c283fbb07
Minor cleanups, crashfixes
2024-10-14 23:57:19 +02:00
Henrik Rydgård
d7d37e58d4
Remove the title from the "Rotation" popup button. Fixes #17201
2024-07-19 09:55:22 +02:00
Herman Semenov
117e5f088c
[UI] Fixed 'info' always true
2024-04-12 13:54:26 +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
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
6d51fbc1e6
Refactor UI background rendering. There's now a BackgroundScreen.
2023-12-10 22:26:46 +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
84fffec4f3
Switch all NativeMessageReceived to System_PostUIMessage
2023-07-06 17:26:02 +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
Henrik Rydgård
4e0babc950
Add a "reset to default" for all float-slider settings
...
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.
Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Henrik Rydgård
8f96ec371e
Rename iBufFilter -> iDisplayFilter
2023-04-05 09:34:18 +02:00
Henrik Rydgård
d223d3c316
Rename CenterDisplayOutputRect to CalculateDisplayOutputRect
2023-04-02 22:29:08 +02:00
Henrik Rydgård
2fa93982ea
Add support for integer scale factor for display
...
This is mainly useful if you want an authentic pixellated look with 1x
rendering (or software) and nearest display filter. It'll simply round
down the auto-scaled sized to the nearest integer scale factor,
configuring exactly which one isn't that interesting since they all are
gonna look good.
Fixes #17093
2023-04-02 22:29:08 +02: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
07c043a4ee
Move the "Ignore insets when centering" setting to the display layout screen.
2022-12-17 16:18:35 +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
fe470c790e
Postshader: Reset ini keys for defaults.
...
Should fix the Vignette shader defaults, see #16562 .
2022-12-12 19:11:20 -08:00
Unknown W. Brackets
f202029d0b
Postshader: Don't save default setting values.
...
This way the defaults can change in the future without problems.
2022-12-12 19:09:14 -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
4280a9f51c
Force postshaders with the usePreviousFrame flag to the end of the order
2022-12-09 17:19:08 +01:00
Henrik Rydgård
7ff0030772
Added vertical layout for display layout screen
2022-12-08 16:04:20 +01:00
Henrik Rydgård
600cb907bd
Auto-open settings if there's only one post-shader
2022-12-08 13:02:44 +01:00
Henrik Rydgård
3e7f7ad8d7
Add CSS-style padding support to LinearLayout. Use to improve the look
2022-12-08 00:01:46 +01: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
8401250a90
Postshaders: Move delete button directly to the items.
2022-12-07 16:21:53 +01:00
Henrik Rydgård
ed7f3d69a7
Rename Postprocessing shader to Postprocessing shaders. Make low-effort attempt at updating
2022-12-07 12:09:32 +01:00
Henrik Rydgård
509d04844b
Combine two translation strings, add another
2022-12-07 11:21:15 +01:00
Henrik Rydgård
241dd4093b
Change the Settings toggle to a specially styled checkbox
2022-12-07 11:12:29 +01:00
Henrik Rydgård
59c4ff6af4
Make translatable
2022-12-07 10:27:02 +01:00
Henrik Rydgård
a83a3f9d5d
Declutter using a context menu, which I had to create from scratch.
2022-12-07 10:27:02 +01:00
Henrik Rydgård
39b627c0c1
Fix layout issues, misc cleanup and comments
2022-12-07 10:27:02 +01:00
Henrik Rydgård
aed5d76fbc
Make the post shader list more editable
2022-12-07 10:27:02 +01:00
Henrik Rydgård
82680633e7
More usability tweaks
2022-12-07 10:27:02 +01:00
Henrik Rydgård
5381086996
Don't ignore insets for UI on the display layout screen (no longer needed)
2022-12-04 00:01:31 +01:00
Henrik Rydgård
e46b036482
Reorganize the DisplayLayoutScreen again - flip left/right sides, move mode switch to bottom.
2022-12-03 19:13:39 +01:00
Henrik Rydgård
f5c0dc717a
Sort post-shaders alphabetically in the list.
2022-12-03 18:58:47 +01:00
Henrik Rydgård
9d9a64be8b
Fix Aspect Ratio translation category
2022-12-01 13:38:35 +01:00
Henrik Rydgård
9a108a46d4
Disable the PowerVR swapchain hack after driver version 1.386.1368.
...
See #15773
2022-12-01 10:17:53 +01:00
Lubos
804a336a1e
OpenXR - Hide unsupported layout options
2022-11-28 19:58:49 +01:00
Henrik Rydgård
e02db20a2d
Some more UI fixes. Live update for the aspect slider
2022-11-27 21:59:04 +01:00
Henrik Rydgård
72ec865f7e
Fix for the aspect ratio plugin variable. Disable aspect ratio control in stretch mode.
2022-11-27 21:55:22 +01:00
Henrik Rydgård
0a3d78221e
Fix drag-background-through-buttons problem by adding "touch exclusive" mode to viewgroups.
...
Not using universally because I don't want to debug all the issues...
2022-11-27 16:16:18 +01:00
Henrik Rydgård
d310636eb4
Break out the background into a separate view.
2022-11-27 16:16:18 +01:00
Henrik Rydgård
d8ff6876cd
Rework UI a bit (first step, will clean up more).
2022-11-27 16:16:18 +01:00
Henrik Rydgård
bdfde4cbac
Implement the new screen sizing parameters
2022-11-27 16:16:04 +01:00
Henrik Rydgård
8c31625fdc
Make post-shader parameter values update live
2022-11-25 10:28:03 +01:00
Henrik Rydgård
23ba0d0515
Fix layout issues in AbstractChoiceWithValueDisplay. Remove title text from post shaders to fit.
2022-11-25 10:23:59 +01:00
Henrik Rydgård
0c03f5bad7
Move the screen scaling filter to the DisplayLayoutEditor
2022-11-24 19:06:07 +01:00