Commit Graph
42 Commits
Author SHA1 Message Date
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
Henrik Rydgård 2e621a25a0 Keyboard/gamepad navigation: Change the formula for scoring neighbors.
Better behavior in the control mapping screen. Seems the distance bonus is no
longer required, the overlap is enough, especially if you boost it a little.
2021-08-22 12:13:09 +02:00
Unknown W. Brackets b43069109b UI: Avoid reselecting on page up at top. 2021-08-08 15:23:12 -07:00
Unknown W. Brackets 700a7baa9b UI: Refactor to reuse distance logic. 2021-08-08 15:20:18 -07:00
Unknown W. Brackets b52a495b96 UI: Handle focus on page up/down.
This moves keyboard focus along with paging, but it also only responds to
paging when already focused inside the scroll view.
2021-08-08 14:46:05 -07:00
Unknown W. Brackets 8df188af2b UI: Change focus with home/end. 2021-08-08 13:40:55 -07:00
Unknown W. Brackets 7f036f8431 UI: Fix L/R tab navigation. 2021-03-03 00:07:11 -08: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
Unknown W. Brackets 7f9a68afeb UI: Omit invisible views from viewgroup describe. 2021-02-21 17:38:50 -08:00
Unknown W. Brackets 3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Henrik Rydgård 5e501fa9fc Fix minor rendering glitch in PPSSPP's menus on iOS 2021-01-31 15:49:52 +01:00
iota97 a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01: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årdandGitHub 4f43cff5ca Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00