Henrik Rydgård
dcbfa7d3ee
Custom buttons: sanitize image/shape on the one screen that didn't
...
CustomButtonMappingScreen indexes customKeyImages[36] and customKeyShapes[11] with
values read straight from the ini, and it's reachable from the main menu - so
neither GamepadEmu nor TouchControlLayoutScreen, which both sanitize first, need
have run. Those two had the same fixup copy-pasted; hoisted it into a Sanitize()
next to the tables and called it from all three.
2026-09-02 18:06:47 +02:00
Henrik Rydgård
7219cd2f5a
Split off ScreenManager from Screen.cpp
2026-08-07 14:30:36 +02:00
Henrik Rydgård
75453632f9
Handle inset adjustements on the C++ side, handle them better in the UI.
2026-03-14 18:13:37 +01:00
Henrik Rydgård
160e2c4f9b
Refactor: Call GetLayoutBounds on the screen instead of the context where possible.
...
This will allow screens to influence the layout bounds in a unified way
2026-03-14 13:07:48 +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
59ad5b4be4
More UI refactor, fixes to control customization screens
2025-11-25 19:27:57 +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
0453fb5449
Move PopupScreen base class into PopupScreens.cpp/h
2025-11-10 10:26:38 +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
4c73103c6c
Work on splitting touch controls between orientations
2025-11-05 20:29:55 +01:00
Henrik Rydgård
75020e2ed7
Add ability to put icons on tabs
2025-11-05 14:42:49 +01:00
Henrik Rydgård
7896845e0c
Rename "Custom key setting" to "Custom touch button setup"
2025-10-29 09:25:28 +01:00
Henrik Rydgård
a4f588adfb
Minor cleanup
2025-10-29 08:39:59 +01:00
Henrik Rydgård
2b9f2672bb
UI screens header cleanup
2025-10-29 00:15:41 +01: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
e4a14330e0
Correct comment, rename array
2025-08-28 10:24:30 +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
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