Commit graph

355 commits

Author SHA1 Message Date
Henrik Rydgård
c70f83c3a3 UI: Correct maxLen_ in text input fields 2025-01-07 18:53:15 +01:00
Henrik Rydgård
6ebbb434e4 Restrict username minimum length too (3 chars) 2025-01-07 18:09:19 +01:00
Henrik Rydgård
01b06b76c9 Infrastructure username handling: Add separate username, pick Nickname as default if valid. 2025-01-07 17:43:02 +01:00
Henrik Rydgård
88b4991753
UI fixes: Rework savedata manager a bit, default keyboard focus to Cancel in confirmation dialogs (#19771)
* Savedata manager screen: Use TabbedUIDialogScreenWithGameBackground

This fixes some minor UI issues on this screen.

* PromptScreen (used for "Are you sure?"): Default keyboard focus to Cancel

Fixes #19770
2024-12-28 10:36:05 +01:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
617bef73ee Fix a runtime warning in text rendering 2024-11-21 15:48:18 +01:00
Henrik Rydgård
dff7f5704a Implement mousewheel vertical scroll and hover in ImGui integration 2024-11-06 22:00:11 +01:00
Henrik Rydgård
8dba3a50f7 imgui: Code cleanup, fix clean shutdown 2024-11-05 11:27:16 +01:00
Henrik Rydgård
c250838167 Disable the right mouse button on "Clickables" 2024-11-05 01:08:02 +01:00
Henrik Rydgård
19f4b22a56 Cleanup, add right-click support to UI framework 2024-11-05 01:03:21 +01:00
Henrik Rydgård
ab1072224f Cleanup, add another GPU stat 2024-10-29 08:18:41 +01:00
Henrik Rydgård
2e85eb5128 More static code analysis fixes 2024-10-28 17:59:06 +01:00
Henrik Rydgård
1221a6e928 Minor code cleanups 2024-10-28 17:50:34 +01:00
Henrik Rydgård
b23fe6ff45 Reformat UIScreen::DoRecreateViews for readability 2024-10-25 21:31:58 +02:00
Henrik Rydgård
7e6ef060c6 Small UI event processing optimization. Helps debugging more than performance. 2024-10-25 21:08:01 +02:00
Henrik Rydgård
abe27dcb64 Reset tint/saturation on theme change
As requested in #18802
2024-10-23 15:30:33 +02:00
Henrik Rydgård
7e952ab795 Delete unused code, fix a comment. 2024-10-23 10:55:46 +02:00
Henrik Rydgård
f54d701a2e Decentralize the assert for AllocateAlignedMemory failures 2024-10-22 21:49:50 +02:00
Henrik Rydgård
85410305e6 Fix/hack some color issues with the 1995 theme 2024-10-22 21:26:29 +02:00
Henrik Rydgård
2c283fbb07 Minor cleanups, crashfixes 2024-10-14 23:57:19 +02:00
Henrik Rydgård
4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård
e0c12c9547 More lint warning fixes 2024-10-10 10:52:45 +02:00
Henrik Rydgård
cb06ac4af2 MacOS: Fix text input (got broken in #19441, would no longer send CHAR events)
See #19441
2024-10-02 16:21:53 +02:00
Henrik Rydgård
1b158940ac PPSSPP UI: Implement password masking in popup text inputs 2024-09-26 11:32:51 +02:00
Henrik Rydgård
f020d1d815 Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords 2024-09-26 10:48:31 +02:00
Herman Semenov
4ef014cb73 [Common] Fixes from Unknown W. Brackets: <checkins@unknownbrackets.org> 2024-09-18 11:11:25 +02:00
Herman Semenov
45429bcd85 [Common/Data/File/Input/Net/Serialize/System/UI] Using for based loop C++17 and replaced on structured binding map C++17 2024-09-17 17:42:08 +02:00
Henrik Rydgård
9d48e51205
Merge pull request #19467 from hrydgard/german-check-before-delete
[Common/Core/Windows] Removed excess check pointer before delete or free
2024-09-17 14:27:41 +02:00
Herman Semenov
3c66f149d3 [Common/Core/Windows] Removed excess check pointer before delete or free() 2024-09-17 11:34:42 +02:00
Henrik Rydgård
11210442ce Fix potential crash in reporting screenshot functionality 2024-09-17 11:24:22 +02:00
Henrik Rydgård
ba9ee8c42c Store: Minor layout fixes, bigger title text 2024-09-02 17:38:12 +02:00
Henrik Rydgård
d7d37e58d4 Remove the title from the "Rotation" popup button. Fixes #17201 2024-07-19 09:55:22 +02:00
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
3bb74ea9ad Rework the JitCompare window to hold a list of blocks, and allow some filtering and browsing 2024-06-05 18:16:33 +02:00
Henrik Rydgård
455e28da6c Rename Point to Point2D to avoid a cocoa name clash 2024-05-29 18:52:39 +02:00
Henrik Rydgård
306c28c2cc Remove lots of now-unnecessary ".c_str()" 2024-05-24 22:53:13 +02:00
Henrik Rydgård
ccbcf1369b Convert DrawString* functions to use std::string_view 2024-05-24 22:52:51 +02:00
Henrik Rydgård
804f31f424 Convert MeasureString* functions to use std::string_view 2024-05-24 14:16:40 +02:00
Henrik Rydgård
d39d4270e1 More std::string_view 2024-05-24 12:40:10 +02:00
Henrik Rydgård
0f94482d36 More string_view in text drawing 2024-05-24 12:40:10 +02:00
Henrik Rydgård
1129000d8f Add some asserts, small cleanup 2024-05-21 11:08:09 +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
a059750f5a Add basic checkbox UI for GPI switched, add display of GPO LEDs
Try it with Parappa.
2024-05-12 18:01:25 +02:00
Henrik Rydgård
c38ce2a5be Fix an issue when bringin up the dev menu with transparent background disabled 2024-05-11 21:28:26 +02:00
Herman Semenov
cfb77ce83e [Core/HLE/Common/UI] Using C++17 make smart pointers 2024-04-01 18:12:27 +03: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
c7ed87b352 Assorted paranoia and improved checks 2024-01-31 10:22:03 +01:00
Henrik Rydgård
7af6501a6f UI: ScrollView: Improve interaction with the scroll bar thingy, avoid accidental clicks 2024-01-31 09:37:11 +01:00
Henrik Rydgård
c29f81da36 Fix issue with the collapsible sections in control mapping collapsing on every change. 2024-01-29 17:57:01 +01:00