Commit graph

149 commits

Author SHA1 Message Date
Henrik Rydgård
357293cd9f Implement the new MemStick screen experience (rough cut) 2021-09-19 20:23:46 +02:00
Henrik Rydgård
cc9a739faf Fix the look of buttons with images. Use one. 2021-09-19 20:23:46 +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
Henrik Rydgård
d3abcf1b56 Draw bullet points as circles for a consistent look regardless of system font. 2021-09-10 23:41:44 +02:00
iota97
c94e9ad73c Support ScrollView for focus position 2021-09-10 02:06:51 +02:00
iota97
ecab31ef8b Keep track of focus position 2021-09-09 17:35:19 +02:00
Unknown W. Brackets
e9ebd86439 UI: Fix scrollview focus scroll before relayout.
Need to use the position of the bounds as of last layout, not the new
desired position.
2021-08-29 17:35:58 -07:00
Unknown W. Brackets
7a29a8bd48 UI: Handle WRAP_CONTENT in flexible scroll views.
If the scroll view had weight, it'd grow to the max size always.  Now it
still fits to the container, if that's what it's set to.
2021-08-29 16:39:14 -07:00
Unknown W. Brackets
5e3ffe94b3 UI: Allow scoll views to have specific height. 2021-08-29 14:11:32 -07:00
Unknown W. Brackets
cf22268bc1 UI: Fix grids in ScrollViews and adjust gravity. 2021-08-29 14:10:14 -07:00
Unknown W. Brackets
f7b92ebb29 UI: Try to keep button visible while mapping. 2021-08-28 16:29:27 -07:00
Unknown W. Brackets
202a9db885 UI: Add a screen to visualize PSP controls.
Currently, doesn't do anything.  But looks about right.
2021-08-28 14:09:06 -07:00
Henrik Rydgård
b6228a1036 Add additional autoconf layout for xbox pads on Android. Revert the normal pad layout. 2021-08-28 15:38:03 +02:00
Henrik Rydgård
2e621a25a0 Keyboard/gamepad navigation: Change the formula for scoring neighbors.
Better behavior in the control mapping screen. Seems the distance bonus is no
longer required, the overlap is enough, especially if you boost it a little.
2021-08-22 12:13:09 +02:00
Unknown W. Brackets
b43069109b UI: Avoid reselecting on page up at top. 2021-08-08 15:23:12 -07:00
Unknown W. Brackets
700a7baa9b UI: Refactor to reuse distance logic. 2021-08-08 15:20:18 -07:00
Unknown W. Brackets
b52a495b96 UI: Handle focus on page up/down.
This moves keyboard focus along with paging, but it also only responds to
paging when already focused inside the scroll view.
2021-08-08 14:46:05 -07:00
Unknown W. Brackets
8df188af2b UI: Change focus with home/end. 2021-08-08 13:40:55 -07:00
Unknown W. Brackets
fe949aafda UI: Track page up/down and home/end as focus moves.
Doesn't actually do anything yet when pressed.
2021-08-08 13:38:19 -07:00
Henrik Rydgård
707795e2e4 Improve translatability of memstick screen 2021-08-06 22:34:22 +02:00
Henrik Rydgård
3be1ff6ce4 Get the new setup flow going, with a confirmation dialog etc.
Moving the folder while already installed still crashes.
2021-08-04 23:22:43 +02:00
iota97
4489f1b312 Accept numpad enter as well 2021-07-26 08:28:46 +02:00
Henrik Rydgård
bf18408418 Cleanup, layout fix on memory stick screen, reorder some settings 2021-06-07 00:26:26 +02:00
Unknown W. Brackets
b0de7ee0e1 UI: Move to ScreenManager for mapping.
Otherwise we'll detect repeated axis for some devices and you won't be
able to map what you want.
2021-05-23 15:18:21 -07:00
Henrik Rydgård
bfee168175 Don't even bother checking touch.id == 0 for closing popup windows. It's fine to close with any touch.
Fixes issue with touch on Windows mentioned in #14387

Also includes a warning fix.
2021-04-17 22:34:35 +02:00
Henrik Rydgård
0150dcfd44 Change pointer ID allocation on iOS. Fixes part of #14240
The dialog code checks for touch.id != 0 to decide whether to close.

Not sure if really necessary, but keeping it and just changing the IDs.
2021-04-17 12:11:21 +02:00
Unknown W. Brackets
eca3a405b6 UI: Flip Y analog direction based on config. 2021-04-04 08:39:49 -07:00
Henrik Rydgård
977b48ff34
Merge pull request #14237 from unknownbrackets/ui-search
Add initial search to savedata manager
2021-03-08 23:06:55 +01:00
Unknown W. Brackets
7f036f8431 UI: Fix L/R tab navigation. 2021-03-03 00:07:11 -08:00
Unknown W. Brackets
6202e46e2c UI: Wrap long info items.
Avoid overlapping the label.
2021-02-28 15:04:00 -08:00
Unknown W. Brackets
9a10325513 UI: Require buttons always have text. 2021-02-21 18:48:01 -08:00
Unknown W. Brackets
3360121b5c UI: Expose lists better in descriptions.
Explicitly marks several lists, which should make exposing text better.
2021-02-21 18:41:08 -08:00
Unknown W. Brackets
7f9a68afeb UI: Omit invisible views from viewgroup describe. 2021-02-21 17:38:50 -08:00
Unknown W. Brackets
1aa7109c04 UI: Lock only if mutating views. 2021-02-21 16:45:31 -08:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets
7c72fe7110 UI: Rename Describe() method for logging. 2021-02-21 12:42:56 -08:00
Unknown W. Brackets
f448e8e923 UI: Divert background only on change.
To avoid triggering a transition and event.
2021-02-17 00:32:58 -08:00
Unknown W. Brackets
9692ddccba UI: Correct tweens repeatedly finishing. 2021-02-17 00:32:39 -08:00
Unknown W. Brackets
ee1a15291d UI: Use atomic to check for events.
Prevents a lock in the very common case of no events.
2021-02-17 00:31:38 -08:00
Henrik Rydgård
c76fe9cec4 Assorted paranoid cleanups, inspired by #14082 2021-02-10 00:20:52 +01: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
02a771c049 Add texture to flat shaded test. 2021-01-17 13:44:57 +01:00
Henrik Rydgård
a30b521257 Adds two new tests to GPU driver test screen: Adreno shader logic test and flat shading
The adreno test tests for the bug mentioned in #13910.
Very clear repro on Adreno 630, Pocophone F1.

The flat shading test is an untested attempt at a repro of

(will test that tomomorrow).
2021-01-17 13:29:36 +01:00
Henrik Rydgård
3c6f21173c Add a fullscreen toggle button to the main screen (Windows-only for now) 2021-01-08 20:05:43 +01:00
Henrik Rydgård
e30d079fb5 UI tweaks 2021-01-07 09:40:01 +01:00
iota97
a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård
8761bf2bc9 Move text rendering to Common. 2020-10-05 00:05:28 +02: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