Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
c41f875df4
Remove base/logging.h in a whole lot more places.
2020-08-15 19:09:00 +02:00
Henrik Rydgård
8835728f87
Replace base/logging.h in VulkanContext and parts of native
2020-08-15 19:08:44 +02:00
Henrik Rydgård
3fd8f3d86d
Add a setting. Various tweaks to sound triggering.
2020-08-03 12:08:11 +02:00
iota97
d89a858dcd
Rember cheat scroll position
2020-03-26 10:59:08 +01:00
Henrik Rydgård
271f79ea63
UI: Break out the hierarchy functions into ui/root.cpp/h
2020-03-08 14:49:29 +01:00
Henrik Rydgård
8d0285dedd
Android: Properly restore screenshots on the Pause screen on task switching away and back.
...
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02:00
Henrik Rydgård
3b0d307792
Fix something found by -fsanitize=undefined
2018-03-01 08:24:47 +01:00
Unknown W. Brackets
b9cd883811
UI: Only default focus visible things.
...
Also, default focus perm button.
2017-12-29 17:55:40 -08:00
Unknown W. Brackets
09bbd58b62
UI: Allow skipping transitions on set current tab.
2017-12-12 21:34:17 -08:00
Unknown W. Brackets
e7c9bb2a17
UI: Fix AnchorLayout size when wrapping content.
...
Without this, they don't actually report back their measured size when
they are set to wrap content, but just keep 0.
2017-12-12 00:19:38 -08:00
Unknown W. Brackets
d9282d4e76
UI: Pass UNSPECIFIED through on scroll views.
...
Otherwise we could end up with zero width things, just because they wrap
content.
2017-12-12 00:18:37 -08:00
Unknown W. Brackets
48c0407f21
UI: Add flex pressure to tab content.
...
On vertical game settings, didn't end up with size at all. But even with
that fixed, they don't properly fill their parent.
2017-12-11 23:05:08 -08:00
Unknown W. Brackets
ed2ac95bbb
UI: Always clip tab contents.
...
So they don't overlap tabs or etc. on transition.
2017-12-10 14:57:58 -08:00
Unknown W. Brackets
f3c01cf19c
UI: Transition tab strips on select.
...
Following their orientation setting.
2017-12-10 14:57:56 -08:00
Unknown W. Brackets
753e59c027
UI: Allow negative left/right for anchor layouts.
2017-12-10 14:57:56 -08:00
Unknown W. Brackets
715a7b7318
Global: Silence some unused declaration warnings.
...
These things aren't used on Android.
2017-12-03 19:22:03 -08:00
Unknown W. Brackets
9a71ac726b
Module: Stop reporting bad magic numbers.
...
We get these a lot, and they seem to be related to corrupt isos, not
related to actual emulation issues we can do anything about.
Even if there's a game trying to load an SFO as a PRX out there somewhere,
we'll never find it among all the noise.
2017-11-30 15:17:02 -08:00
Henrik Rydgård
0d60c3f386
Fix UI crash when keyboard navigating out of popup list.
2017-11-30 01:21:03 +01:00
Henrik Rydgard
9a1cd5a5e8
Add some paranoid checks around touch IDs that probably won't help #9647
...
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets
de3c4fe111
UI: Fix crash on item select with hidden items.
...
Because we can't assume the number is an index into the views, when some
of those views weren't created.
2017-04-29 13:04:28 -07:00
Henrik Rydgard
19bf222ea4
Make the gesture detector treat all touches fully individually. Fixes issues with last commit.
2017-04-06 15:51:00 +02:00
Henrik Rydgard
a8d6de26e3
Further fixes to #9554
2017-04-06 15:35:36 +02:00
Henrik Rydgard
14538a6d81
Make scroll gesture detector compatible with other touches than #0 . Should help #9554 .
2017-04-06 09:58:08 +02:00
Henrik Rydgard
f7da9204c1
Allow using any touchId to scroll. Should help #9554 .
2017-04-05 09:57:26 +02:00
Unknown W. Brackets
4fb8ac96ce
UI: Zero initialize EventParams in typical usage.
...
Better to be safe.
2017-03-21 18:45:48 -07:00
Henrik Rydgård
fdfc572b69
Misc logging improvments, minor safety check
2017-03-20 13:07:22 +01:00
Unknown W. Brackets
9f3415f43f
UI: Ask linear child views to stay inside AT_MOST.
...
Fixes the DevMenu pop up in larger windows.
2017-03-19 16:36:21 -07:00
Unknown W. Brackets
efbfdbb4a7
UI: Make PopupScreens animate in just a bit.
2017-03-19 16:33:32 -07:00
Unknown W. Brackets
a36ecb7065
UI: Track translate/scale/fade transform by screen.
...
This translates drawing, scissor, and touch to the transform.
2017-03-19 15:42:13 -07:00
Unknown W. Brackets
e1ef359e80
Remove unused drag capture state tracking.
2017-03-14 22:07:07 -07:00
Unknown W. Brackets
9e390510df
Remove legacy InputState.
2017-03-14 22:07:07 -07:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Florent Castelli
e0ff68b3f6
c++11: Remove compat header base/functional.h
...
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Unknown W. Brackets
f4c735ee4e
UI: Allow scrollviews to wrap content.
...
In the opposing direction, we can't AT_MOST if we don't have a good size
and we're wrapping content. This can happen inside a LinearLayout.
2016-08-14 13:09:55 -07:00
Unknown W. Brackets
ab3ed7d2ef
UI: Account for flexible things changing on wrap.
...
If something has a flexible width, that may affect its final calculated
height. This allows it to grow in such a situation.
2016-08-07 16:35:58 -07:00
Unknown W. Brackets
f7231686bd
UI: Make it easy to measure with spec info.
...
This still allows skipping a Measure() override, so that it can still
clamp properly.
2016-08-07 16:35:56 -07:00
Unknown W. Brackets
d00a2bbc04
UI: Specify max height for horizontal scroll.
2016-08-07 16:35:55 -07:00
Unknown W. Brackets
b37ac3580d
UI: Use a helper for vert/horiz margin sum.
2016-08-07 15:24:47 -07:00
Henrik Rydgard
c8457d39ed
Fix a bunch of compiler warnings, delete some unused code
2016-03-13 15:17:31 +01:00
Henrik Rydgard and Unknown W. Brackets
98dc56116f
Add ability to hide items from popup lists
2016-03-06 11:54:38 -08:00
Unknown W. Brackets
b2a3b5c7b8
UI: Allow a degree of "pull" in scroll views.
...
Also, fix a clamp issue that could've shown up for a frame while dragging.
Fixes #8505 .
2016-01-25 21:53:41 -08:00
Unknown W. Brackets
8d41664bb1
UI: Fix clipping with margins.
...
Affected text views, like "No screenshot." in save states.
2016-01-23 11:45:55 -08:00
Unknown W. Brackets
68a6f8186d
UI: Avoid scroll to top on tab restore.
...
Oops, missed this case.
Fixes #7975 , savedata manager scrolling on delete.
2016-01-23 10:52:16 -08:00
Unknown W. Brackets
c1812ae7d7
UI: Clamp scroll pos on render.
...
This way we don't clamp wrongly when views don't have sizes yet, and we
also do clamp when we need to.
We can allow a little flex by tracking the down state too.
2016-01-23 10:10:43 -08:00
Unknown W. Brackets
60f00820f8
UI: Move scrollviews to top on hide.
...
This seems like a common scrolling decision.
2016-01-23 09:15:50 -08:00
Unknown W. Brackets
f26d682e14
UI: Persist the last focused view on resize.
2016-01-23 09:07:13 -08:00
Unknown W. Brackets
78aae01cd4
UI: Allow scroll views to persist their position.
...
It'll be clamped as necessary.
2016-01-22 23:02:44 -08:00
Unknown W. Brackets
1c2ac798cd
UI: Persist selected tab on resize.
2016-01-22 22:40:36 -08:00
Unknown W. Brackets
f6772ec526
UI: Add a simple means of persisting data.
2016-01-22 22:40:16 -08:00