Commit Graph
187 Commits
Author SHA1 Message Date
Henrik Rydgård 7790e61b12 Merge pull request #11866 from unknownbrackets/keyup
UI: Pass touch/button releases to all screens
2019-03-18 11:16:35 +01:00
Henrik Rydgård 624587c594 Fix a VK validation failure when opening the homebrew menu 2019-03-11 16:42:41 +01:00
Unknown W. Brackets 1205753289 UI: Pass touch/button releases to all screens.
This way, if you go into a menu and release a button, it still gets
noticed.  This also goes for axis centering (and therefore vkeys.)

Also, move TOUCH_RELEASE_ALL to all screen switches.
2019-03-03 17:50:54 -08:00
Henrik Rydgard 0aedf3755f Fix checkbox bug introduced in #11758. Fixes #11761. 2019-02-04 13:22:58 +01:00
Unknown W. Brackets 304c90934b UI: Add bitfield checkbox. 2019-02-03 14:57:08 -08:00
Henrik Rydgård 2c83574377 Finish up the test 2018-12-19 13:48:58 +01:00
Henrik Rydgård df98721e73 Write rough framework for GPU discard test screen 2018-12-19 13:48:54 +01:00
Henrik Rydgård 260fd3c9ee ActivateTopScissor doesn't belong in UIContext::Begin. 2018-12-18 10:37:39 +01:00
Henrik Rydgård 2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01:00
Unknown W. Brackets 3bba9df133 UI: Keep report image at right aspect ratio. 2018-09-21 23:24:36 -07:00
Unknown W. Brackets 23ecd2ad62 UI: Make sliders able to show disabled.
For alternate speed, we'll allow separate speeds to be "on" or "off".
2018-06-23 10:59:18 -07:00
Unknown W. Brackets 40c7f5ddfd UI: Make button padding configurable.
Useful for buttons on the MainScreen which look out of place with the
default padding.
2018-06-07 14:14:20 -07:00
Henrik Rydgård b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02: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 f39897cfa5 Don't forget to initialize.. fixes #10802 2018-03-26 00:05:29 +02:00
Henrik Rydgård 4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård ee752f5399 Some error handling and assert improvements, trying to understand #10662 2018-03-01 12:21:58 +01:00
Henrik Rydgård 3b0d307792 Fix something found by -fsanitize=undefined 2018-03-01 08:24:47 +01:00
Henrik Rydgård e1852321a0 Vulkan: Remove the old method of uploading images. 2018-02-25 12:15:29 +01:00
Henrik Rydgård b9b41f52c5 Add a simple spinner to the game load screen to not look frozen. 2018-02-08 12:03:29 +01:00
Unknown W. Brackets d4400b358a UI: Actually offset text shadow.
It wasn't actually visible before, since it was strictly underneath text
that was usually white.
2018-01-01 22:58:07 -08:00
Henrik Rydgård b5e5d72a0a Complete the separation of depth and stencil renderpass flags 2017-12-30 22:52:22 +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 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
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 52ee2f7790 UI: Give ItemHeaders intrinsic size. 2017-12-12 00:16:05 -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 21272a4c24 UI: Clip scissor to screen. 2017-12-10 14:57:57 -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 6783394ae1 UI: Add tween for translating anchor offsets. 2017-12-10 14:57:55 -08:00
Unknown W. Brackets bdac150aab UI: Reset transitions after too long a time. 2017-12-10 12:21:57 -08:00
Unknown W. Brackets b00f6ac8c1 UI: Transition button and item focus/presses.
Just a quick touch of transition.
2017-12-10 09:00:53 -08:00
Unknown W. Brackets 6194ef60be UI: Add an event for tween finish. 2017-12-10 09:00:53 -08:00
Unknown W. Brackets 46ea88e096 UI: Add delay to tweens.
Also allow them to start out in an invalid state and accept first divert.
2017-12-10 09:00:52 -08:00
Unknown W. Brackets 7b6e73b37a UI: Always apply tweens after restore.
Fixes "Loading game..." persisting on load state, since that view was
created VISIBLE, and the tween wasn't making it INVISIBLE.
2017-12-09 18:18:23 -08:00
Unknown W. Brackets cf6ccfca99 UI: Persist tween data on view recreate. 2017-12-09 14:10:42 -08:00
Henrik Rydgård 7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård cf5ede493b Merge pull request #10247 from unknownbrackets/ui-tween
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01: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 c29ae5ff56 fixup! UI: Ensure tweens always complete. 2017-12-03 11:49:34 -08:00
Unknown W. Brackets f23c7cf93b UI: Apply tweens on Update(). 2017-12-03 10:40:09 -08:00
Unknown W. Brackets e32545b9c9 UI: Ensure tweens always complete. 2017-12-03 10:28:53 -08:00
Unknown W. Brackets b4b850bce8 UI: Add a simple tween class. 2017-12-03 09:39:50 -08:00
Unknown W. Brackets 68a5861f60 UI: Send messages to dialog parents by default.
If it has no sendMessage(), it probably still makes sense to send to the
parent (especially cpu change, clear cache, etc.)

This fixes the ability to change CPU cores ingame, and also fixes other
settings which weren't properly clearing caches.
2017-12-02 11:55:04 -08:00
Henrik Rydgård 04515946e6 Comment, minor cleanup 2017-12-01 18:47:01 +01: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