Commit Graph
53 Commits
Author SHA1 Message Date
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
Unknown W. Brackets e55198f7e7 Correct some initialization order warnings.
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -07:00
Unknown W. Brackets 2e1986d0c8 Fix a few reorder warnings. 2016-05-01 09:50:03 -07:00
Unknown W. Brackets a518ad783d UI: Align screenshot preview in savestate manager. 2016-04-24 11:51:06 -07:00
Henrik Rydgard 4197148dc4 Add some paranoid checks hoping to fix crashes reported in Google Play developer console. 2016-04-09 18:27:35 +02:00
Henrik Rydgard c64064024d Initial vulkan code.
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01:00
Henrik RydgardandUnknown W. Brackets 98dc56116f Add ability to hide items from popup lists 2016-03-06 11:54:38 -08:00
Unknown W. Brackets 1318f29c8d UI: Update layout on recreate to focus subviews. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets f26d682e14 UI: Persist the last focused view on resize. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets f6772ec526 UI: Add a simple means of persisting data. 2016-01-22 22:40:16 -08:00
Henrik Rydgård 21bf73a612 Merge pull request #8281 from unknownbrackets/ui-tweaks
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård 1e2f45ec4f Merge pull request #8291 from unknownbrackets/ui-tweaks2
Show a scroll view inside the devtools window
2015-12-24 23:15:46 +01:00
Unknown W. Brackets 2389ef589e Fix a mistaken string compare. 2015-12-23 15:26:29 -08:00
Unknown W. Brackets 5c9cf65939 Allow AnchorLayouts to prevent overflow.
This is useful to propagate the bounds into children.
2015-12-22 19:52:23 -08: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
Henrik Rydgard 2634f7344a Fix some focus/dragging issues with the sliders 2015-11-12 19:25:11 +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