Commit Graph

90 Commits

Author SHA1 Message Date
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
Lubos 48cd392861 OpenXR - Rendering UI fixed 2022-07-15 21:52:34 +02:00
iota97 0288717206 Add numpad enter as a confirm 2022-06-21 08:32:57 +02:00
iota97 dd58923adb Add search on SDL 2022-06-07 17:16:06 +02:00
iota97 b1cf29bb38 Fix live update 2022-02-18 14:24:48 +01:00
iota97 3f505f760c Disable darkening background, also allow to over saturate up to 2 2022-02-18 14:24:46 +01:00
Henrik Rydgård ce2995f952 Add UI Tint/Saturation settings
Does the color tinting in the vertex shader.
2022-02-18 14:23:57 +01:00
iota97 aa9d097d11 More fixes for themes 2022-02-14 15:07:33 +01:00
Unknown W. Brackets d9b39eed02 UI: Avoid math on calculated value width.
If we add an integer and then subtract an integer, our result may change
slightly, causing wrapping.
2021-09-25 07:59:18 -07:00
Unknown W. Brackets 4c7bbad89d UI: Shrink value for all choice variants. 2021-09-24 08:21:27 -07:00
Unknown W. Brackets d41c8b077a UI: Shrink value display if needed. 2021-09-24 08:09:43 -07:00
Unknown W. Brackets c1fbd4dd57 UI: Measure width of choice with values properly.
Otherwise we don't give it enough width (or potentially height) for the
label and value.
2021-09-24 07:13:56 -07:00
Unknown W. Brackets f7b92ebb29 UI: Try to keep button visible while mapping. 2021-08-28 16:29:27 -07:00
Henrik Rydgård bfee168175 Don't even bother checking touch.id == 0 for closing popup windows. It's fine to close with any touch.
Fixes issue with touch on Windows mentioned in #14387

Also includes a warning fix.
2021-04-17 22:34:35 +02:00
Henrik Rydgård 0150dcfd44 Change pointer ID allocation on iOS. Fixes part of #14240
The dialog code checks for touch.id != 0 to decide whether to close.

Not sure if really necessary, but keeping it and just changing the IDs.
2021-04-17 12:11:21 +02:00
Unknown W. Brackets 1aa7109c04 UI: Lock only if mutating views. 2021-02-21 16:45:31 -08:00
Unknown W. Brackets 3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets 7c72fe7110 UI: Rename Describe() method for logging. 2021-02-21 12:42:56 -08: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ård 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