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
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
1129000d8f
Add some asserts, small cleanup
2024-05-21 11:08:09 +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
c29f81da36
Fix issue with the collapsible sections in control mapping collapsing on every change.
2024-01-29 17:57:01 +01:00
Henrik Rydgård
7a318b46e8
Draw the line between the tabs and contents as a spacer instead of custom code.
2024-01-19 14:56:29 +01:00
Henrik Rydgård
0e03b66a95
Make vertical tabs scrollable
2024-01-19 14:56:29 +01:00
Henrik Rydgård
a094637ab1
Remove left-behind debug code
2023-12-28 10:46:41 +01:00
Henrik Rydgård
9cb3d03098
Add categories for control bindings
2023-12-20 16:20:26 +01:00
Henrik Rydgård
6e369e5188
Add play/pause button to the bottom right of the pause screen
2023-12-11 13:56:16 +01:00
Henrik Rydgård
5146a2a967
Remove modifyLock_ from ViewGroup
2023-11-11 11:25:41 +01:00
Henrik Rydgård
e0c0cb9a6d
Change loops to the shorter form.
2023-11-11 10:55:45 +01:00
Henrik Rydgård
01191ff23a
Extract ApplyAnchorLayoutParams from the anchor viewgroup
2023-08-01 00:28:54 +02:00
Henrik Rydgård
aa46d3aae3
UI: CollapsibleHeader no longer shows the open/close icon if there are no items
2023-07-23 11:11:44 +02:00
Henrik Rydgård
7eb1bfe1aa
Spacing default 0.0 in collapsible sections, set spacing for achievements a little higher
2023-07-16 18:23:43 +02:00
Henrik Rydgård
f8b7346b8d
Make the achievement lists collapsible on the main achievements screen
2023-07-16 18:13:36 +02:00
Henrik Rydgård
f27850ec1d
Minor cleanup in MoveFocus, set tags on screen roots for debugging
2023-07-06 16:34:54 +02:00
Henrik Rydgård
cbd012f522
Cleanups around focus moves
2023-07-06 16:13:25 +02:00
Unknown W. Brackets
ce0324b611
UI: Correct grid view V_GONE handling.
2023-04-29 11:44:55 -07: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
c27689910e
Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h
2023-01-11 10:56:31 +01:00
Henrik Rydgård
30c591e813
Fix smooth touchpad scrolling on Windows
...
Forgot that I had half-implemented it but not finished it up..
2023-01-01 22:23:14 +01:00
Henrik Rydgård
630b7830fa
Improve background drag behavior on display layout screen
...
If you moved into and mouse-up-ed over one of the menus while dragging
the background, it stopped registering movement and "up events" which
felt really awkward.
This is not super pretty, better would be a win32-SetCapture-like
mechanism but works okay.
2022-12-13 00:27:22 +01:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
3e7f7ad8d7
Add CSS-style padding support to LinearLayout. Use to improve the look
2022-12-08 00:01:46 +01:00
Henrik Rydgård
42b74c6a9a
Add background to the scroll views. Not really pretty but more readable
2022-12-07 23:12:09 +01:00
Henrik Rydgård
39b627c0c1
Fix layout issues, misc cleanup and comments
2022-12-07 10:27:02 +01:00
Henrik Rydgård
aed5d76fbc
Make the post shader list more editable
2022-12-07 10:27:02 +01:00
Henrik Rydgård
82680633e7
More usability tweaks
2022-12-07 10:27:02 +01:00
Henrik Rydgård
b938992da4
Add a new centering capability to AnchorLayout
2022-12-03 19:13:21 +01:00
Henrik Rydgård
25e8f8385e
Redo the control UI screen layout, slightly update the look
2022-11-30 10:56:29 +01:00
Henrik Rydgård
20a337f25b
Initialization cleanup (no effect)
2022-11-30 10:15:36 +01:00
Henrik Rydgård
0ff5e0a955
Add checks preventing a number of "possible" divisions by 0 in layout
2022-11-30 10:15:30 +01:00
Henrik Rydgård
0a3d78221e
Fix drag-background-through-buttons problem by adding "touch exclusive" mode to viewgroups.
...
Not using universally because I don't want to debug all the issues...
2022-11-27 16:16:18 +01:00
Lubos
011592754f
OpenXR - Use mouse control only
2022-11-17 12:19:17 +01:00
Unknown W. Brackets
c20bcc1f08
UI: Avoid enum/float comparisons.
2022-11-12 12:30:04 -08:00
iota97
561870dc25
Merge item and button style, remove hightlighed and few other fixes
2022-02-14 13:57:22 +01:00
Unknown W. Brackets
49c64e12d1
UI: Add a way to disable tabs in tab strips.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
931ba43216
UI: Remove scroll to top on size change.
...
It wasn't actually used anywhere, and I don't see a reason for it now.
2021-09-27 23:39:33 -07:00
Unknown W. Brackets
374569ce7e
UI: Keep scroll position on async load.
...
For the saved scroll position in the game list.
2021-09-27 23:37:31 -07:00
Unknown W. Brackets
fc78b408b2
UI: Have scroll views directly remember their pos.
...
Kinda like checkboxes, cleaner this way.
2021-09-27 23:25:41 -07:00
iota97
c94e9ad73c
Support ScrollView for focus position
2021-09-10 02:06:51 +02:00
Unknown W. Brackets
e9ebd86439
UI: Fix scrollview focus scroll before relayout.
...
Need to use the position of the bounds as of last layout, not the new
desired position.
2021-08-29 17:35:58 -07:00
Unknown W. Brackets
7a29a8bd48
UI: Handle WRAP_CONTENT in flexible scroll views.
...
If the scroll view had weight, it'd grow to the max size always. Now it
still fits to the container, if that's what it's set to.
2021-08-29 16:39:14 -07:00
Unknown W. Brackets
5e3ffe94b3
UI: Allow scoll views to have specific height.
2021-08-29 14:11:32 -07:00
Unknown W. Brackets
cf22268bc1
UI: Fix grids in ScrollViews and adjust gravity.
2021-08-29 14:10:14 -07:00
Unknown W. Brackets
202a9db885
UI: Add a screen to visualize PSP controls.
...
Currently, doesn't do anything. But looks about right.
2021-08-28 14:09:06 -07:00