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
Henrik Rydgård
5eb1c8eb59
Cleanup
2022-11-23 00:01:15 +01:00
Henrik Rydgård
b42ba5b3cc
Wording tweaks, add scroll view
2022-11-22 23:49:09 +01:00
Henrik Rydgård
6d9bb1b29e
Move post-processing settings to DisplayLayoutScreen
2022-11-22 23:29:50 +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
519db766b6
Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations.
2022-11-06 19:26:56 +01:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
7f036f8431
UI: Fix L/R tab navigation.
2021-03-03 00:07:11 -08:00
Unknown W. Brackets
3c778f567c
UI: Add text description for all views.
2021-02-21 16:38:02 -08:00
Henrik Rydgård
5e501fa9fc
Fix minor rendering glitch in PPSSPP's menus on iOS
2021-01-31 15:49:52 +01:00