Commit graph

69 commits

Author SHA1 Message Date
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
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02: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
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Henrik Rydgård
34a2713c3f Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it. 2020-05-31 23:23:13 +02:00
Unknown W. Brackets
57bd88fc33 softgpu: Allow display rotation. 2020-05-13 18:07:25 -07:00
Unknown W. Brackets
0a353cc9fa UI: General cleanup in layout editor. 2020-04-05 12:31:46 -07:00
Unknown W. Brackets
801617bfc6 UI: Prevent drag drift in layout editor.
Fixes #12797.
2020-04-05 12:02:36 -07:00
Unknown W. Brackets
44e2849105 UI: Make display layout editor support 1x PSP.
When your window is at 1x PSP, we adjust DPI which the layout editor was
confused by.
2020-04-05 11:46:04 -07:00
Unknown W. Brackets
29e1772165 UI: Avoid cached booleans for simple globals.
It's more duplicate code and not really much faster or anything.
2020-03-21 18:49:36 -07:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
d91f706206 Log why the config is being saved (we seem to do it a bit much at times) 2019-02-23 11:55:44 +01:00
Unknown W. Brackets
e2c217ab29 Core: More consistently use config enums. 2018-06-23 10:59:18 -07:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Henrik Rydgård
3e56d8bbdf Noticed that the UWP build has been broken for some time, fix it.
Should probably set up a buildbot if we care about this...
2018-02-05 16:21:39 +01:00
Unknown W. Brackets
c0f0bc88af UI: Trigger view recreate on static sized screens.
If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
2017-12-27 01:13:47 -08:00
LunaMoo
a931f1c133 Improve very small display on very large surface,
And change some variables to constants.
2017-12-11 20:54:20 +01:00
LunaMoo
18d0d45e7f Limit smallest zoom to match it's slider and well. 2017-12-11 16:39:01 +01:00
LunaMoo
89be17491b Respect sticky edge by center option and make it stick from smaller range 2017-12-11 16:13:52 +01:00