Commit Graph
71 Commits
Author SHA1 Message Date
Henrik Rydgård c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Unknown W. Brackets e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Henrik Rydgård 3fd8f3d86d Add a setting. Various tweaks to sound triggering. 2020-08-03 12:08:11 +02:00
Henrik Rydgård 55eb2844fd Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds... 2020-08-03 12:08:11 +02:00
Henrik Rydgård 34a2713c3f Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it. 2020-05-31 23:23:13 +02: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 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 271f79ea63 UI: Break out the hierarchy functions into ui/root.cpp/h 2020-03-08 14:49:29 +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
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
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 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 4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård e1852321a0 Vulkan: Remove the old method of uploading images. 2018-02-25 12:15:29 +01: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 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 3ecd7b4c02 Get rid of collision-prone font cache keys. Stress the font cache a little less on slider dialogs. 2017-11-22 22:44:34 +01:00
Henrik Rydgård ec7e634215 Fix space stripping in a few more string input methods. Helps #9795 2017-08-08 16:42:05 +02:00
Henrik Rydgård 6bcfe539f7 Use vulkan-style clear-on-bind when switching render targets. Not optimally used yet.
Also removes a bunch of redundant render target binds.
2017-05-30 09:36:17 +02:00
Henrik Rydgård 0f171acacb Start refactoring things to be more vulkan-friendly 2017-05-30 09:36:17 +02:00
Henrik Rydgård 3b6fa9be87 Start work on separating frame from backbuffer renderpass 2017-05-30 09:36:17 +02:00
Henrik Rydgård 7d0cfbabe7 thin3d gles: Unbind buffers after drawing. Fixes #9715 2017-05-24 12:06:02 +02:00
Henrik Rydgård 79c0d895ce Found a suspicious hang report that makes me think this mutex should be recursive. 2017-05-18 13:29:18 +02:00
Henrik Rydgard d3ff35b2c0 Fix to partial restarts (when switching backends), plus misc. Helps #9666 2017-05-05 12:31:06 +02: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 0a73828042 UI: Use theme colors in more places.
Hopefully everywhere.
2017-03-26 08:57:04 -07:00
Unknown W. Brackets 07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07:00
Unknown W. Brackets 4fb8ac96ce UI: Zero initialize EventParams in typical usage.
Better to be safe.
2017-03-21 18:45:48 -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 Rydgard 26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard 20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård f86b9f7900 Guess what? More renaming 2016-12-27 11:59:06 +01:00
Henrik Rydgård 463251908b Rename things to closer match another project which I plan to share some code with 2016-12-27 11:59:02 +01:00
Henrik Rydgård 10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Henrik Rydgard bc746bd513 Merge branch 'ui-minor' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-ui-minor 2016-12-01 18:13:14 +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 a52fbfcff7 UI: Lock input while mutating views/screens.
This way we can't get an axis event while switching screens and crash.
2016-09-11 11:26:35 -07:00
Unknown W. Brackets 192d6ca60a UI: Allow explicit newlines in popup choice titles. 2016-08-07 17:44:02 -07:00
Unknown W. Brackets d6820f3cc3 UI: Allow measuring text with a scale. 2016-08-07 16:49:50 -07:00
Unknown W. Brackets 277983ce35 UI: Scale option text down when there's no space.
This way, smaller or portrait screens just get smaller text, rather than
jumbled text going off the side.  Particularly important for some
translations.
2016-08-07 15:24:49 -07:00