Commit Graph

235 Commits

Author SHA1 Message Date
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 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 f342d8d856 Logging improvements 2019-10-06 13:21:57 +02:00
Henrik Rydgård 349e64fe31 Improve the touchscreen test screen with some numbers.
Getting closer to finding out what's wrong on the MOQI I7S when
using the system fullscreen button...
2019-10-03 18:31:20 +02:00
Henrik Rydgård 0b9353b1dc Touchscreen: Apply weihouya's fix, add a touchscreen test screen. See #12381. 2019-10-02 22:05:34 +02:00
Henrik Rydgård 87ee8029a3 Another fix for AnalogTestScreen rendering (it broke again somehow?) 2019-09-22 10:31:20 +02:00
Henrik Rydgård 90de634d1e Analog test screen: Fix drawing of the X marks 2019-09-03 00:05:18 +02:00
LunaMoo b7a49be184 Ignore mouse mappings for UI 2019-07-14 21:32:44 +02:00
Henrik Rydgård d91f706206 Log why the config is being saved (we seem to do it a bit much at times) 2019-02-23 11:55:44 +01:00
Unknown W. Brackets 6bc596d3a7 Windows: Hide accelerators when they are disabled.
Currently, mapping something to load state / save state / etc. causes the
default accelerators to become disabled.  In this case, it can be
confusing when the menu still shows them.

Fixes #11395.
2019-02-17 12:17:41 -08:00
Henrik Rydgård 2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01:00
Unknown W. Brackets f1bd54148b UI: Cleanup common message handling.
Most of it can just be handled by the common parent classes.
2017-12-02 11:55:06 -08:00
Unknown W. Brackets e945ad6ac1 UI: Avoid navigation with an active dialog.
Cleaning up next.
2017-12-02 11:55:05 -08:00
Henrik Rydgård 1b6c5c4832 Fix typo causing Y axis in joystick tester not to be mirrored correctly if backwards. Should fix #9300 2017-09-29 20:51:59 +02:00
Unknown W. Brackets cbd107b03d Merge pull request #9898 from vnctdj/master
Make more strings translatable
2017-08-19 17:28:33 -04:00
vnctdj b31b76c536 Make control mapping pop-up title translatable 2017-08-17 23:10:12 +02:00
vnctdj 2c8b0e7069 Make keys names translatable in pop-up 2017-08-14 11:33:14 +02:00
LunaMoo 45304476e2 Polish the new workaround, seems to be nice and simple. 2017-04-27 11:12:11 +02:00
LunaMoo a0b904c7e8 Try on a nicer mapping workaround. 2017-04-27 10:09:57 +02:00
LunaMoo 26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +02:00
Unknown W. Brackets 07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -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 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 b14e10632d Take the mapping direction into account in AnalogTestScreen. Hopefully will solve #9300. 2017-02-19 14:33:59 +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
Henrik Rydgard f77ba7ba3a Make the last commit slightly safer by adding a mutex 2016-09-11 18:59:06 +02:00
Henrik Rydgard 0926cabb00 Possible workaround (not a proper fix) for #8969. Also filter out accelerometer events.
We should really make sure the events come in on the UI thread
instead...
2016-09-11 18:48:45 +02:00
Unknown W. Brackets 4507bb8466 Fix more cases of FILL_PARENT used as WRAP_CONTENT.
Fixes #8915.
2016-08-15 20:40:44 -07:00
Unknown W. Brackets a913e0f0fc Remove some unused private properties. 2016-05-21 09:29:04 -07:00
Unknown W. Brackets c0238de4ee UI: Add tags to all the scroll views. 2016-01-22 22:52:13 -08:00
Henrik Rydgård 47cb288d6b Don't add Autoconfigure button when the device has builtin controls. Restore to Default should suffice. 2015-10-04 13:25:57 +02:00
Henrik Rydgård 9636e4cef4 Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976 2015-09-17 22:46:59 +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
Henrik Rydgard 53e80d7f54 Fix #7940 (analog test screen). "Debounce" doubleclicks. 2015-09-07 22:27:29 +02:00
Jonas Höglund afb82e3998 Add axis event listener to the analog test screen. 2015-08-28 01:24:38 +02:00
Unknown W. Brackets 40dcd585a0 Update "Back" buttons to match a bit better. 2015-07-04 08:41:23 -07:00
vnctdj 95f83570f4 Consistently use *km for the KeyMapping i18n category 2015-07-01 23:54:35 +02:00
vnctdj d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +02:00
vnctdj 2765d8489f Make "Back" button translatable on the analogs testing screen 2015-01-04 02:01:05 +01:00
Henrik Rydgard d545908b6c Show the last key event on the analogs testing screen
(which I guess is now a generic testing screen)

May help investigating #7254
2015-01-03 17:59:43 +01:00
Unknown W. Brackets 1284b109d0 Small warning fix. 2014-10-12 10:28:42 -07:00
Henrik Rydgard 422ae62b63 D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.
MANAGED textures are not allowed though so compensate for that by making them dynamic for now.
2014-09-09 22:28:35 +02:00
Henrik Rydgard ab0b999010 Add really basic test screen for mapped analog sticks. Only works with the first mapped axis if several. 2014-09-05 23:21:07 +02:00
Henrik Rydgard 808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Unknown W. Brackets 913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07:00
Henrik Rydgard e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00