Commit graph

60 commits

Author SHA1 Message Date
Unknown W. Brackets
fc78b408b2 UI: Have scroll views directly remember their pos.
Kinda like checkboxes, cleaner this way.
2021-09-27 23:25:41 -07:00
Unknown W. Brackets
d623cae7cc UI: Fix measuring width constrained choices. 2021-09-26 07:55:38 -07:00
Unknown W. Brackets
d9b39eed02 UI: Avoid math on calculated value width.
If we add an integer and then subtract an integer, our result may change
slightly, causing wrapping.
2021-09-25 07:59:18 -07:00
Unknown W. Brackets
4c7bbad89d UI: Shrink value for all choice variants. 2021-09-24 08:21:27 -07:00
Unknown W. Brackets
d41c8b077a UI: Shrink value display if needed. 2021-09-24 08:09:43 -07:00
Unknown W. Brackets
c1fbd4dd57 UI: Measure width of choice with values properly.
Otherwise we don't give it enough width (or potentially height) for the
label and value.
2021-09-24 07:13:56 -07:00
iota97
e8ad59371d Use icon rather than string for combo key setup 2021-09-22 23:05:33 +02:00
Henrik Rydgård
50e008e385 Browse -> OK. Align buttons. 2021-09-19 20:24:28 +02:00
Henrik Rydgård
97695d1f04 Style fix 2021-09-19 20:23:46 +02:00
Henrik Rydgård
80d4450e84 Show the path to access PSP data through USB in the settings screen. 2021-09-19 20:23:46 +02:00
Henrik Rydgård
74c842c951 Add image support to UI::Choice. 2021-09-19 20:23:46 +02:00
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