Henrik Rydgård
0829543987
Third part of getting rid of PanicAlert
2020-07-19 20:34:02 +02:00
Henrik Rydgård
7e5527285d
Screen: Unlock the inputLock_ mutex slightly earlier in processFinishDialog
...
It's really just there to protect the stack.
2020-07-05 11:56:04 +02:00
Henrik Rydgård
34a2713c3f
Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it.
2020-05-31 23:23:13 +02:00
Unknown W. Brackets
544576e6c2
UI: Lock around removal from dispatch queue.
2020-05-24 10:57:32 -07:00
Henrik Rydgård
fabe987c8f
Add a name tag for all render steps (GL/Vulkan). Helps with debugging and should be cheap enough (a single pointer per "step").
2020-05-21 11:24:05 +02:00
Unknown W. Brackets
03fc86a147
UI: Return to game settings after restart.
...
This is more convenient. Also restarts the game if needed.
Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Henrik Rydgård
3838a1c94f
Support drawing around notches on Android displays. Fixes #12261
2020-03-31 00:47:01 +02:00
iota97
d89a858dcd
Rember cheat scroll position
2020-03-26 10:59:08 +01:00
Unknown W. Brackets
3bc59b0ef7
Windows: Fix strange build error.
2020-03-23 08:14:36 -07:00
Unknown W. Brackets
89595e0d8f
UI: Translate HAT and left analog the same way.
...
Before, we were resetting our HAT state for each axis we got, so we'd act
like you pressed the arrow more times for each axis your device has.
A similar thing was possible if you had multiple pads.
2020-03-23 07:58:24 -07:00
Henrik Rydgård and GitHub
0faa3f2ce3
Merge pull request #12743 from unknownbrackets/ui-minor
...
UI: Disable render dup frames where it can't work
2020-03-22 11:37:19 +01:00
Unknown W. Brackets
da9158b34b
UI: Allow startup without UI assets.
...
On platforms where we render fonts, it is at least somewhat usable without
assets. A much better experience than a segfault.
On other platforms, it'll probably be mostly unusable, but you can already
get that with an old/wrong assets file.
2020-03-21 21:35:43 -07:00
Unknown W. Brackets
3b05e839e1
UI: Disable render dup frames where it can't work.
...
Fixes #12724 .
2020-03-21 18:33:54 -07:00
Henrik Rydgård
819c62e21e
Android: Fix upside-down joystick navigation (due to an old sin).
...
(Android's joystick Y axis is upside down, and we should have corrected it on the Java
side instead of in all our mappings everywhere).
2020-03-10 01:04:26 +01:00
Henrik Rydgård
6fc073ffa7
UI: Simple joystick navigation. Fixes #10996 .
2020-03-08 16:52:15 +01:00
Henrik Rydgård
34456773c6
Comment fix
2020-03-08 16:27:01 +01:00
Henrik Rydgård
c176c6c114
Also move out the global stuff from view.cpp/h to root.cpp/h
2020-03-08 15:16:32 +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
45d94c4877
Switch all images to dynamic lookup in the atlas by string ID.
...
SLN fix
It works, but with the wrong images and the wrong characters!
Fix another bug in atlastool's binary output
Get Android building again.
Oops, didn't mean to disable this permanently.
Error checking
Minor cleanup
Gotta tweak my git ignores...
Regenerate metadata
2020-03-01 12:06:47 +01:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
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 and GitHub
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