Commit Graph

67 Commits

Author SHA1 Message Date
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård ed25b5e991 Add convenient UI on the pause screen for changing/locking the screen orientation 2025-11-26 11:14:37 +01:00
Henrik Rydgård c92fa17741 Update more screen layouts 2025-11-25 19:33:15 +01:00
Henrik Rydgård 59ad5b4be4 More UI refactor, fixes to control customization screens 2025-11-25 19:27:57 +01:00
Henrik Rydgård cf927ca809 Disallow disabling the pause button on iOS in the visibility UI too 2025-11-25 16:02:37 +01:00
Henrik Rydgård 7a8a642aed Convert the pause button to a normal customizable touch screen button 2025-11-25 15:47:05 +01:00
Henrik Rydgård 8b52cf67af Add a way to put the "ExtraButtons" in a popup menu, use on control mapping screen 2025-11-15 20:44:14 +01:00
Henrik Rydgård 9de8e75709 AnchorLayout: Allow centering separately for horizontal and vertical 2025-11-10 12:10:08 +01:00
Henrik Rydgård 063c7d4f7e Get separate touch screen config for portrait working 2025-11-05 21:01:37 +01:00
Henrik Rydgård 75020e2ed7 Add ability to put icons on tabs 2025-11-05 14:42:49 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård f4073cfa0e Convert TouchControlVisibilityScreen to use Tabbed... 2025-10-24 01:18:38 +02:00
Henrik Rydgård 7b743071d2 Prepare for adding more sensible back buttons to TabbedDialogScreen portrait mode 2025-10-23 12:46:07 +02:00
Henrik Rydgård b45d07d6cb Break out TabHolder from Common/UI/ViewGroup.cpp. A few new atlas images 2025-10-23 11:19:20 +02:00
Henrik Rydgård 58456ae950 Remove the UI::EventReturn return values. Makes editing the UI nicer. 2025-09-15 11:09:00 -06:00
Henrik Rydgård 0ba92081ed Add banner support to tab holders 2025-03-23 22:48:51 +01:00
Katharine Chui d7fd44280a allow binding custom right stick to analog 2024-07-16 16:06:13 +02:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård 48fab112b9 Collapse the "Custom 1", "Custom 2" etc translation strings 2023-06-20 10:42:56 +02:00
Henrik Rydgård 73836e7bcb Custom buttons: Store them in an array, remove as many count restrictions as possible. 2023-06-20 10:42:53 +02:00
Henrik Rydgård ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård dcab34670f Finish renaming the screen. 2023-03-26 11:22:54 +02:00
Henrik Rydgård 5c36aec484 More renaming 2023-03-26 11:21:34 +02:00
Henrik Rydgård e1ff498ba3 Rename "Combo" to "Custom" in the touch key mappings.
Need the name "Combo" for the new feature from PR #17168.
2023-03-26 11:05:39 +02:00
Henrik Rydgård 575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00
Henrik Rydgård 928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
iota97 bac96bd47c Allow to disable right analog diagonal 2021-08-07 12:47:50 +02:00
iota97 4a0a1864b0 Make tap to customize translatable 2021-08-01 21:34:37 +02:00
iota97 a80dabc087 Clean up unused event 2021-07-28 12:55:39 +02:00
iota97 498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00
Unknown W. Brackets 3360121b5c UI: Expose lists better in descriptions.
Explicitly marks several lists, which should make exposing text better.
2021-02-21 18:41:08 -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 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
vnctdj b0221a9064 Reuse some already translated strings
+ fix a typo
2020-06-20 23:48:11 +02:00
Henrik Rydgård 2843b8ef5f Merge pull request #12486 from iota97/dpad
Rebindable touch right analog
2020-05-17 20:51:40 +02: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
iota97 7836776337 Squash commit 2020-03-01 17:13:55 +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
vnctdj 15fe162676 Rename rapid fire touch control
It already exists for control mapping, let's reuse the translation.
2020-02-20 00:04:28 +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
LunaMoo 8bb267727e Make things clear for people that never saw real PSP. 2019-07-18 15:27:59 +02: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 c50f5cc3db UI: Fix leak in control visibility screen. 2018-06-23 10:59:19 -07:00
Unknown W. Brackets 0b0d4c1edf UI: Make touch control visibility more consistent.
Now it looks more like other screens.
2018-06-23 10:59:19 -07:00
Unknown W. Brackets 70e5ae4fad UI: Sort touch control visibility better. 2018-06-23 10:59:18 -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