Commit graph

10 commits

Author SHA1 Message Date
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
7af6501a6f UI: ScrollView: Improve interaction with the scroll bar thingy, avoid accidental clicks 2024-01-31 09:37:11 +01:00
Henrik Rydgård
84d3bfc506 Add mouse wheel support for Android
Fixes #18471

Tested on a Poco F4 phone with a generic Bluetooth mouse.
2023-12-04 13:41:52 +01:00
Henrik Rydgård
1f2dbfaf25 Vulkan: Allow MSAA on modern-ish mobile devices, but add a little warning sign.
MSAA on tiler GPUs, the way we use it (we are not able to eliminate
load/store operations yet) can consume huge amounts of bandwidth, so let's be a
little bit careful.
2023-12-03 20:59:15 +01:00
Henrik Rydgård
2675d6ea43
Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally

* Switch axisId to enum InputAxis

* Change int keycodes to InputKeyCode where it makes sense.

* SDL input buildfix

* SDL keycode buildfix

* Switch on enum warning fixes

* Qt keycode buildfix

* iOS keycode buildfix

* UWP keycode buildfix

* More iOS buildfix

* More iOS buildfix

* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
838ef03815 Fix ScrollView crash (though the root cause is a race condition most likely) 2023-05-01 10:37:30 +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
Unknown W. Brackets
7d13d87435 Windows: Fix MSVC 2017 compile. 2023-01-14 16:35:28 -08:00
Henrik Rydgård
69ff11fb40 UI: Make vertical scrollbars directly draggable. 2023-01-11 11:58:51 +01:00
Henrik Rydgård
c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +01:00