Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
835aa02a28
Add basic soft-keyboard support on iOS
...
This uses the old UIKeyInput which is a bit limited language-wise, however, it's enough
to log into RetroAchievements and change your nickname, at least, and it was the easiest to implement.
So, this solves 90% of the problems caused by missing keyboard support, at least.
2024-05-20 19:08:35 +02:00
Henrik Rydgård
f61baa3b51
Switch UI event notifications (used for soft-keyboard) from strings to enums
2024-05-20 18:25:16 +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
Herman Semenov
2a31f8c6c0
[Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope)
2023-12-20 12:33:56 +03:00
Henrik Rydgård
e8f70594a4
Implement running the game in the background on the pause screen. Fix some bugs.
2023-12-11 12:41:44 +01:00
Henrik Rydgård
6d51fbc1e6
Refactor UI background rendering. There's now a BackgroundScreen.
2023-12-10 22:26:46 +01:00
Henrik Rydgård
48d60d8613
Remove UIContext knowledge of screen tags
2023-12-10 22:21:50 +01:00
Henrik Rydgård
3832b32bbc
Add the concept of a background screen
2023-12-10 22:21:48 +01:00
Henrik Rydgård
0ff0ad9140
Remove preRender/postRender methods from screens, in favor of a mode parameter.
2023-12-10 14:09:55 +01:00
Henrik Rydgård
22295a6412
Plumb through a ScreenRenderMode parameter
2023-12-10 13:05:17 +01:00
Henrik Rydgård
85001bf71f
Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define.
2023-12-07 17:30:15 +01:00
Henrik Rydgård
676a4de4d7
Remove an ifdef controlling dialog button order
2023-12-07 17:30:15 +01:00
Henrik Rydgård
19e4de5088
Change global UI messages to use an enum instead of strings.
...
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
ee93e4a2ca
Batch axis events all the way into ControlMapper
2023-09-29 11:14:19 +02:00
Henrik Rydgård
4df4adb936
Fix closing the chat window with ESC, see #18134
2023-09-11 17:37:50 +02:00
Henrik Rydgård
109205a56a
Add return value to UnsyncTouch
2023-09-04 11:00:06 +02:00
Bashar Astifan
4e2652bd4b
OSK support final update
...
- Renamed few functions to avoid confusion
- Now UI will report text (gotfocus, lostfocus), popup_closed to the frontend
- Both cases (DPad, Keyboard) covered
2023-08-24 06:33:36 +04:00
Bashar Astifan
17f1ab306b
OSK behavior correction
2023-08-24 03:30:09 +04:00
Henrik Rydgård
0d4a2a7594
Call draw->Begin/EndFrame from outside the screen manager.
...
Just a very small refactoring that I want in a separate commit.
2023-08-09 23:24:28 +02:00
Henrik Rydgård
85f5136a81
Add a GetProperty query for the git version
2023-07-20 10:57:52 +02:00
Henrik Rydgård
5023f2cb6c
Fix key event processing issue.
...
Fixes #17712
2023-07-14 12:01:38 +02:00
Henrik Rydgård
bb40baefb5
Fix issue with volume keys in the app UI
2023-06-13 00:47:48 +02:00
Henrik Rydgård
50aa598ed1
Fix handling events in "empty" (no root) UIScreens
2023-05-27 00:35:25 +02:00
Henrik Rydgård
3715b1ffa1
Split the functions up, so you don't have to care about the Unsync ones at all in most cases while still getting synced behavior.
2023-05-26 18:41:13 +02:00
Henrik Rydgård
cca613e785
Initial work on queueing up UI events for processing. Key events excepted for now.
2023-05-26 18:41:13 +02:00
Henrik Rydgård
311a1a0fe2
Fix glitch when mapping analog inputs, caused by multiple TriggerFinish caused by stray analog axis events.
...
ADd some guards all over the place against the same thing.
2023-05-06 15:33:28 +02:00
Henrik Rydgård
a132b72ba1
Paranoia
2023-05-04 01:24:31 +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
88fe4799a5
UI: Fix weird misbehavior dragging outside a popup dialog
...
Fixes #17107
2023-03-24 00:11:49 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
49e5460c9c
Remove count parameter from SetViewports. No use foreseen.
2023-02-25 07:12:53 +01:00
Henrik Rydgård
9e3cc66809
Tilt: Add visualizer to customize tilt dialog. Improve defaults.
2023-02-01 15:35:57 +01:00
Henrik Rydgård
b97749d623
Assorted initialization cleanup and similar, found by valgrind and warnings
2023-01-30 18:31:49 +01:00
Unknown W. Brackets
7d13d87435
Windows: Fix MSVC 2017 compile.
2023-01-14 16:35:28 -08:00
Henrik Rydgård
c27689910e
Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h
2023-01-11 10:56:31 +01:00
Henrik Rydgård
9547deb0c6
Simplify away some theme parameters. Make popups look better
2023-01-10 16:00:17 +01:00
Henrik Rydgård
07114c6aaf
Remove return value from axis functions in API
2023-01-10 10:12:37 +01:00
Henrik Rydgård
a3a949f5e6
Remove touch() return values from screen hierarchy
2023-01-10 10:12:37 +01:00
Henrik Rydgård
7ff0030772
Added vertical layout for display layout screen
2022-12-08 16:04:20 +01:00
Henrik Rydgård
cd24d3edf9
Fix context menu translation support
2022-12-07 16:15:02 +01:00
Henrik Rydgård
a83a3f9d5d
Declutter using a context menu, which I had to create from scratch.
2022-12-07 10:27:02 +01:00
Henrik Rydgård
39b627c0c1
Fix layout issues, misc cleanup and comments
2022-12-07 10:27:02 +01:00
Henrik Rydgård
23ba0d0515
Fix layout issues in AbstractChoiceWithValueDisplay. Remove title text from post shaders to fit.
2022-11-25 10:23:59 +01:00
Lubos
ade606bc3c
OpenXR - Hookup VR API into Vulkan
2022-10-12 16:21:54 +02:00
Henrik Rydgård
0b9d6f9cb0
Log the screen tag when logging scissor errors.
2022-09-16 10:32:09 +02:00
Lubos
c2c0561be2
OpenXR - OPENXR ifdef removal
2022-08-27 17:33:37 +02:00
Lubos
c71ecd7756
OpenXR - Unused parameter removed
2022-08-14 11:47:33 +02:00
Lubos
8daba0d881
OpenXR - Finalize VR renderer interface
2022-07-24 14:14:21 +02:00
Lubos
a08325e52f
OpenXR - UI scale/resolution fixed
2022-07-17 14:55:20 +02:00