1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-01 05:10:50 +01:00
Commit graph

49 commits

Author SHA1 Message Date
Ell
48b96a10a4 Added InputHandler mouse and touch position querying that preserves the game's viewport and fixed the graphics device's viewport being ignored for mouse and touch queries
Closes #1
2022-02-06 22:07:33 +01:00
Ell
5b99f29490 Fixed some inconsistencies with element transformations and mouse interaction 2021-11-22 15:13:08 +01:00
Ell
a5a73af01c improved Keybind constructors 2021-06-20 23:48:02 +02:00
Ell
a02334a34c turned some non-event events into events and added Disposing event to ui elements 2021-06-09 00:27:50 +02:00
Ell
01b6168259 fixed the input handler querying input when the window is inactive 2021-02-18 18:36:29 +01:00
Ell
106102adf6 clean up unused using statements 2020-12-14 21:51:27 +01:00
Ellpeck
ec2416719e store all ui controls keybinds in an array 2020-07-16 16:04:18 +02:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
251261f3d7 added a more generic keybind and input handling system 2020-06-12 17:09:35 +02:00
Ellpeck
6b1e5f8dd9 better implementation of the touch mousing from yesterday 2020-06-04 20:52:21 +02:00
Ellpeck
81ed3d3bee Revert "made elements also show their mouse over graphic when they're being touched"
This reverts commit d7f43617
2020-06-03 17:01:58 +02:00
Ellpeck
f70b1266f9 Revert "only count an element as touched if no other gestures are active"
This reverts commit 08188a1a
2020-06-03 16:18:17 +02:00
Ellpeck
08188a1a8f only count an element as touched if no other gestures are active 2020-06-03 16:14:45 +02:00
Ellpeck
d7f43617c6 made elements also show their mouse over graphic when they're being touched 2020-06-03 15:58:08 +02:00
Ellpeck
f12284169e full xml documentation for MLEM.Ui 2020-05-22 17:02:24 +02:00
Ellpeck
efed3d9e12 some controls helper methods 2020-05-04 16:41:54 +02:00
Ellpeck
739d337d49 undo the width/height "fix" 2020-03-18 03:38:30 +01:00
Ellpeck
b175df7397 fixed a possible crash with empty uis 2020-03-17 19:29:52 +01:00
Ellpeck
054dc8c932 made button inputs more generic to allow for broader usage 2020-03-17 19:13:33 +01:00
Ellpeck
f4f7df0eb8 inflate view width and height for gamepad input to account for offscreen elements 2020-03-17 15:24:33 +01:00
Ellpeck
5e3fdbb8ef made controls independent of ui systems to allow for multiple controls for one ui 2020-03-17 15:04:36 +01:00
Ellpeck
9df1b05bee allow changing auto nav mode value 2020-03-16 15:33:25 +01:00
Ellpeck
b3331834e1 I did not want to push this here
This reverts commit ee511137
2020-02-06 01:51:41 +01:00
Ellpeck
ee5111372b part 1 2020-02-06 01:33:24 +01:00
Ellpeck
69fdd784a7 Revert "made the default text input style be desktopgl"
This reverts commit aa64ebc0
2020-02-01 21:16:27 +01:00
Ellpeck
aa64ebc0ef made the default text input style be desktopgl 2020-02-01 20:51:41 +01:00
Ellpeck
053724e4f8 changed text input style to work on all devices including web 2020-02-01 20:50:42 +01:00
Ellpeck
7e6534bfc1 added the option to disable buttons 2020-01-15 17:05:28 +01:00
Ellpeck
a0f0859ba2 don't consider hidden elements for the active root 2019-12-25 00:28:08 +01:00
Ellpeck
ff42233222 made input handler and ui system gamecomponents 2019-12-05 17:52:25 +01:00
Ellpeck
f1702ee5b2 added a way to tell ui controls to ignore certain input types 2019-12-04 01:17:16 +01:00
Ellpeck
32c8147a4c added a rectanglef class which allows mlem to use decimal coordinates 2019-11-02 14:53:59 +01:00
Ellpeck
76bba86b0c fixed a ui system crash when there is no active root 2019-09-17 19:30:54 +02:00
Ellpeck
07b6853e0c give access to all of the element callbacks in the ui system 2019-09-13 13:57:25 +02:00
Ellpeck
8afe9962fb added a dropdown menu and also fixed some issues 2019-09-12 12:39:18 +02:00
Ellpeck
3796cc5ef0 made a bunch of stuff in UiControls virtual so that changing more complex aspects is easier 2019-09-11 18:44:05 +02:00
Ellpeck
39be76fbbf made more buttons configurable in the ui controls 2019-09-11 10:44:23 +02:00
Ellpeck
7e8da6d838 fixed gamepad indices not being taken into account for directions in ui 2019-09-10 12:40:22 +02:00
Ellpeck
42a0ef172b optimize the active root 2019-09-09 17:18:44 +02:00
Ellpeck
672e5eb548 clean up navigation a lot 2019-09-09 17:12:36 +02:00
Ellpeck
c52c9825f0 added gamepad controls 2019-09-09 16:25:07 +02:00
Ellpeck
21dce9d60a fixed an issue where already removed uis would still be selectable 2019-09-04 15:36:47 +02:00
Ellpeck
0dff0e275d added the ability to transform the entire ui 2019-09-02 19:55:26 +02:00
Ellpeck
64eefedac0 publicize some useful ui methods 2019-09-02 18:41:05 +02:00
Ellpeck
633c5b0097 added touch compatibility to the scroll bar, which makes touch input finished! 2019-08-31 19:32:22 +02:00
Ellpeck
353afdef6f started working on touch support for MLEM.Ui 2019-08-30 18:15:50 +02:00
Ellpeck
90d292cd37 tabbing, part 2 2019-08-28 18:58:05 +02:00
Ellpeck
5c741a98e9 tabbing, part 1! 2019-08-28 18:27:17 +02:00
Ellpeck
cc20682d47 more easily allow controls to be changed 2019-08-28 16:38:58 +02:00