Henrik Rydgard
d3ff35b2c0
Fix to partial restarts (when switching backends), plus misc. Helps #9666
2017-05-05 12:31:06 +02:00
Henrik Rydgard
9a1cd5a5e8
Add some paranoid checks around touch IDs that probably won't help #9647
...
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets
de3c4fe111
UI: Fix crash on item select with hidden items.
...
Because we can't assume the number is an index into the views, when some
of those views weren't created.
2017-04-29 13:04:28 -07:00
Henrik Rydgard
19bf222ea4
Make the gesture detector treat all touches fully individually. Fixes issues with last commit.
2017-04-06 15:51:00 +02:00
Henrik Rydgard
a8d6de26e3
Further fixes to #9554
2017-04-06 15:35:36 +02:00
Henrik Rydgard
14538a6d81
Make scroll gesture detector compatible with other touches than #0 . Should help #9554 .
2017-04-06 09:58:08 +02:00
Henrik Rydgard
f7da9204c1
Allow using any touchId to scroll. Should help #9554 .
2017-04-05 09:57:26 +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
Henrik Rydgard
dfc0b32733
More work on UWP upbring
2017-03-23 10:02:27 +01:00
Henrik Rydgård
d721b629ca
Accept DPAD_CENTER as an "Accept" key. Fixes #9471
2017-03-22 16:52:34 +01: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
Henrik Rydgård
fdfc572b69
Misc logging improvments, minor safety check
2017-03-20 13:07:22 +01: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
9f3415f43f
UI: Ask linear child views to stay inside AT_MOST.
...
Fixes the DevMenu pop up in larger windows.
2017-03-19 16:36:21 -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
9c15efaa85
UI: Consider only the lower screen's postRender.
...
This makes more sense at least than applying one of each...
2017-03-19 15:42:13 -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
e1ef359e80
Remove unused drag capture state tracking.
2017-03-14 22:07:07 -07:00
Unknown W. Brackets
9e390510df
Remove legacy InputState.
2017-03-14 22:07:07 -07:00
Unknown W. Brackets
02855e7abb
Remove unused pad_buttons and old virtual_input.
...
GamepadEmu does this now.
2017-03-13 22:57:22 -07:00
Henrik Rydgård
529d84a57b
Avoid a crash if trying to do two screen switches at once.
...
Managed to make this happen while using the UWP File Open dialog - it
lagged and I started another action while it hadn't returned.
2017-03-07 15:33:23 +01:00
Henrik Rydgård
12d839d679
UI: Fix issue where on some DPI/resolution combinations, a line of uncleared data would be visible at the bottom and right parts of the window.
2017-03-06 10:36:31 +01: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
2fabe3e1c5
Fix a number of resource leaks, both D3D11-only and general.
...
Additionally, fix D3D11 BlitFramebuffer
2017-02-17 19:23:01 +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
6a7d3a3910
Break out image file management from DrawContext (thin3d)
2017-01-24 20:58:59 +01:00
Henrik Rydgård
1b158c116c
UI: Fix scissor test issues introduced recently
2017-01-17 20:26:48 +07:00
Henrik Rydgård
9f2e83b66c
Bundle up more state in the pipeline object. Lets us get rid of Vulkan's pipeline cache.
2016-12-27 11:59:11 +01:00
Henrik Rydgård
166243e0fd
Make pipelines bound state
2016-12-27 11:59:10 +01:00
Henrik Rydgård
4462a8cc99
Rename ShaderSet to Pipeline. Get rid of scissorEnable setting (scissor is always enabled).
2016-12-27 11:59:10 +01:00
Henrik Rydgård
3de4a38527
More renaming to match
2016-12-27 11:59:10 +01:00
Henrik Rydgård
c7c541f926
Add DepthStencilStateDesc
2016-12-27 11:59:06 +01:00
Henrik Rydgård
f86b9f7900
Guess what? More renaming
2016-12-27 11:59:06 +01:00
Henrik Rydgård
9b439e4c43
Remove Thin3D prefix on more things
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 Rydgård
b60ad37146
Remove blend and sampler state presets, they didn't save any code
2016-12-25 11:37:23 +01:00
Henrik Rydgård
97d029972e
Rename SetTextures to BindTextures
2016-12-25 11:31:33 +01:00
Henrik Rydgård
1c0c755b03
Extract RasterState from thin3d, for easier d3d11 porting
2016-12-25 11:31:33 +01:00
Henrik Rydgård
4a3938958c
Thin3D: Unified DataFormat enum
2016-12-25 11:31:33 +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
Florent Castelli
4145b60a0e
symbian: Remove!
2016-10-11 18:49:08 +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
92d930887f
Android: Add both a lost and restore phase.
...
Lost = delete, restore = create. Let's stick to never overlapping.
May help #8912 .
2016-09-10 21:58:42 -07:00
Unknown W. Brackets
b3b96ad993
UI: Use powered slider repeat on all devices.
...
Some devices send through repeats, but we want to do the increased speed
thing. It might be ideal to use its repeat rate settings, but we don't
have a good way to do that cross platform...
Fixes #8696 .
2016-09-05 16:16:10 -07:00
Unknown W. Brackets
42f8bbde50
UI: Make sliders increase with button held.
2016-09-05 16:14:01 -07:00