Commit graph

35 commits

Author SHA1 Message Date
Henrik Rydgård
34a2713c3f Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it. 2020-05-31 23:23:13 +02: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
767b1e45b2 Fix the build - there's a Vec3 name collision, fixed it using a namespace. 2019-10-22 22:58:10 +02: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
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
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
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
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
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
0d60c3f386 Fix UI crash when keyboard navigating out of popup list. 2017-11-30 01:21:03 +01:00
Unknown W. Brackets
755429df81 UI: Fix issues with insta-close pop ups.
Not that these should happen, but at least should make sure they work.
2017-03-26 08:58:04 -07:00
Unknown W. Brackets
07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07:00
Unknown W. Brackets
09dac5dfa3 UI: Fade PopupScreens out too. 2017-03-19 17:45:39 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -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
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgård
f86b9f7900 Guess what? More renaming 2016-12-27 11:59:06 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Unknown W. Brackets
a913e0f0fc Remove some unused private properties. 2016-05-21 09:29:04 -07:00
Unknown W. Brackets
a518ad783d UI: Align screenshot preview in savestate manager. 2016-04-24 11:51:06 -07:00
Henrik Rydgard
98dc56116f Add ability to hide items from popup lists 2016-03-06 11:54:38 -08:00
Henrik Rydgard
f7f9f321a0 Qt fixes 2016-01-03 15:03:08 +01:00
Unknown W. Brackets
08ebbb4a60 Customize labels for zero in config sliders. 2015-12-20 13:13:44 -08:00
Henrik Rydgard
5d6d4a08f4 Change approach somewhat to avoid adding drawing code in the screen manager. 2015-11-18 14:18:35 +01:00
Carl Kenner
bf84fda058 Improve pop-up UI for integer slider screens. Add a text entry box and units.
# Conflicts:
#	UI/GameSettingsScreen.cpp
2015-11-06 18:55:36 +10:30
Carl Kenner
064a09bda4 Improve PopupSliderChoiceFloat to make it more usable for VR settings.
It now has a text input box.
+/- buttons are on the next line so you can cursor along slider.
And the units are optionally displayed.

# Conflicts:
#	UI/GameSettingsScreen.cpp
2015-11-06 18:42:34 +10:30
Henrik Rydgard
c2ac933dab Do not cache translation category objects in UI objects. Fixes #7996 2015-09-23 12:44:49 +02:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00
Unknown W. Brackets
f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00