Commit Graph
197 Commits
Author SHA1 Message Date
Henrik Rydgård 767b1e45b2 Fix the build - there's a Vec3 name collision, fixed it using a namespace. 2019-10-22 22:58:10 +02:00
Henrik Rydgård 1f742fd07a UI: Better way of showing game/savedata images. Fixes #12408 2019-10-11 17:34:38 +02:00
Henrik Rydgård 0698944752 Fixes 2019-10-06 00:20:49 +02:00
Unknown W. Brackets 010da8080c UI: Fix crash with no buttons in popup. 2019-08-18 12:00:21 -07:00
Unknown W. Brackets 30dcc2a13a UI: Validate address entered in settings. 2019-08-18 10:12:22 -07:00
Unknown W. Brackets f52afb48ac UI: Cleanup hostname entry to use a dialog. 2019-08-17 17:18:43 -07:00
Henrik Rydgård c5b9e9f718 Comment some confusing code 2019-06-25 21:37:40 +02:00
Unknown W. Brackets 8c282db225 UI: Clear queued events on Event destruct.
May help a crash seen in #11890.
2019-06-23 11:13:14 -07:00
Henrik Rydgård eb3faf5370 Fix some further static analysis warnings 2019-06-18 01:08:25 +02:00
Henrik Rydgård a0dc85a9d7 Fix a bunch of inconsequential uninitialized variables 2019-06-18 00:18:40 +02:00
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