Commit Graph

65 Commits

Author SHA1 Message Date
Unknown W. Brackets 3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Henrik Rydgård 0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård 4f43cff5ca Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård 989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård 9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård 2e19d7aa0a Touch control layout screen: Make the expanded click zone around the controls symmetrical.
Just a minor tweak.
2020-07-12 10:39:25 +02:00
iota97 23f7f27c45 Fix decimal part 2020-07-12 09:47:44 +02:00
Henrik Rydgård 8e9061539f Touch control layout: Make dragging a lot less "jumpy" 2020-07-12 09:15:31 +02:00
Henrik Rydgård 1df9a84213 TouchControlLayoutScreen: Reorder functions in the file to make more sense. 2020-07-12 00:21:46 +02:00
Henrik Rydgård 1f7fcc1b5a Refactor TouchControlLayoutScreen - break out the actual editor into a separate view.
This solves most or all offset issues.
2020-07-12 00:21:30 +02:00
Unknown W. Brackets e291a1d833 UI: Small cleanup in touch control layout editor. 2020-04-05 12:50:13 -07:00
iota97 a4a1b05842 Touch layout clean up 2020-04-01 11:34:54 +02:00
Unknown W. Brackets 02e5049375 UI: Properly clamp control positioning in edit. 2020-03-31 21:43:18 -07:00
iota97 e7bcf9a4c2 Use 2 different button for CW and CCW 2020-03-23 09:24:36 +01:00
iota97 45da319ce7 Auto rotating analog 2020-03-23 00:45:22 +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
iota97 f42e6a984f Rapid fire touch control 2020-01-28 08:52:18 +01:00
Henrik Rydgård 8203c79e43 Merge pull request #12567 from iota97/snap2
Use snap grid on resize as well
2020-01-26 11:36:28 +01:00
iota97 1332e3c1cc Flush other UI element draw before changing to noTex 2020-01-16 06:16:46 +01:00
iota97 b69cdea29e Fix line rendering in texmode 2020-01-15 18:48:43 +01:00
iota97 4395da7c7e Render grid 2020-01-14 19:18:27 +01:00
iota97 53ba31aef8 Avoid divison by 0 2020-01-12 14:28:51 +01:00
iota97 f8632b9142 Remove extra newline 2020-01-12 11:54:06 +01:00
iota97 28ce721ff5 Snap resize 2020-01-12 11:52:49 +01:00
iota97 e53895f687 Hide "Control" label on top 2019-12-19 11:56:42 +01:00
iota97 7a8c39d7bf Disabled grid size if snap is disabled 2019-12-19 09:05:08 +01:00
iota97 d7be4f883e Fix 2019-12-19 01:26:23 +01:00
iota97 f99a651c6a Touch controll grid snap 2019-12-19 00:41:32 +01:00
LunaMoo 5e09d57b6c Add right analog for touch controls. 2019-07-18 03:18:15 +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 4aded5c11f UI: Implement a glowing border touch control style.
It barely glows, though.
2018-09-30 16:48:02 -07:00
Unknown W. Brackets f2956a1c1a UI: Show custom speed toggle buttons.
This allows more flexibility if unthrottle is too fast or too uneven.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets 69dd59d9b9 UI: Refactor touch control config handling.
Much cleaner this way, less repetition.
2018-06-23 10:59:18 -07: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 e24216e55b UI: Add some missing overrides. 2017-06-06 19:50:19 -07:00
Unknown W. Brackets cb1b8f23bb UI: Fix fade-out when editing touch controls. 2017-06-03 09:45:53 -07:00
Unknown W. Brackets 84d815768b UI: Set tags on tab views, in the typical case. 2016-01-22 22:39:58 -08:00
xiushu 14e7658bbb Implement on-screen touch combo keys.
Replace A,B,cross1,square1,triangle1 with number images 1-6

Rebuild the atlas, update the code to use combo keys 1-5

Also add psp_display.png from pull request #8082.
2015-10-24 13:22:43 +02:00
vnctdj d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +02:00
vnctdj d48ee947ac Consistently use *co for the Controls i18n category 2015-07-01 22:31:04 +02: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
Henrik Rydgard ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgard 4d00a9b4bc Reduce use of display.h (dp_xres, dp_yres) now that uicontext has bounds 2014-02-10 12:44:36 +01:00
adrian17 c52c2375c0 Removed dead code from UI 2014-01-19 13:51:24 +01:00
Henrik Rydgard e7ef34d1e6 last minute fix: Reset the control layout when upgrading from 0.9.5.
The settings are not compatible.
2013-12-12 14:52:46 +01:00
Henrik Rydgard 0bfe9db9ab DPad cosmetics: Move the arrows outwards a bit 2013-12-11 20:52:13 +01:00