1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-14 02:09:08 +01:00
Commit graph

84 commits

Author SHA1 Message Date
Ell
abac738123 Removed LINQ Any and All usage in various methods to improve memory usage 2021-07-18 22:18:46 +02:00
Ell
cca02b5396 organized UiSystem constructor 2021-06-09 00:37:44 +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
2cc77f42cd added events for when a root element is added or removed from a ui 2021-06-08 21:36:42 +02:00
Ell
b48ed479a0 streamlined TextInputWrapper into MlemPlatform and included link opening 2021-04-23 00:17:46 +02:00
Ell
e6243b831c remove unnecessary references to GraphicsDevice from UiSystem 2021-03-29 02:26:44 +02:00
Ell
28eafffa32 allow setting a custom viewport for ui systems 2021-03-29 02:15:17 +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
Ell
028e322d2f ensure opening links in uis works correctly on .net core 2020-11-25 18:41:53 +01:00
Ell
aaeda825e0 fixed some documentation issues 2020-10-06 20:14:57 +02:00
Ellpeck
02cd074a3c cleaned up changes from f1d686f0c0 2020-07-16 15:55:55 +02:00
Ellpeck
f1d686f0c0 move CustomDrawGroup behavior into Element, allowing any element to inherit it 2020-07-15 23:21:52 +02:00
Ellpeck
ca4c8731bc only throw an exception in TextInputWrapper if it is required 2020-06-24 16:54:23 +02:00
Ellpeck
096131ce15 Drop SoundEffectInstance (mis)usage in favor of new SoundEffectInfo 2020-06-22 13:59:33 +02:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
f2c544dc65 modified link behavior for paragraphs to be easier to modify 2020-06-09 18:56:01 +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
d7f43617c6 made elements also show their mouse over graphic when they're being touched 2020-06-03 15:58:08 +02:00
Ellpeck
b0309c9707 added ScaleOrigin to RootElement 2020-06-02 16:15:41 +02:00
Ellpeck
f12284169e full xml documentation for MLEM.Ui 2020-05-22 17:02:24 +02:00
Ellpeck
b836b486a2 fixed style changes not forcing ui elements to update 2020-05-20 21:22:02 +02:00
Ellpeck
979dce510e modify link regex to allow for no destination to be specified 2020-05-20 01:02:18 +02:00
Ellpeck
037ed43410 streamline ui text formatting and paragraph links 2020-05-17 00:10:29 +02:00
Ellpeck
c16c2ef693 fixed android screen sizes being incorrect 2020-04-19 14:04:44 +02: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
e96b155f99 fixed selected element looking bad with smooth scrolling 2020-03-16 15:44:53 +01:00
Ellpeck
9df1b05bee allow changing auto nav mode value 2020-03-16 15:33:25 +01:00
Ellpeck
08c4281da1 added a new text input system 2020-02-24 14:03:53 +01:00
Ellpeck
d823064979 added HasValue() to styleprop 2020-02-06 17:36:51 +01:00
Ellpeck
31e2b72197 organize ui stuff a bit better 2020-02-06 01:59:33 +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
0904368151 Revert "changed text input style to work on all devices including web"
This reverts commit 053724e4
2020-02-01 21:16:10 +01:00
Ellpeck
053724e4f8 changed text input style to work on all devices including web 2020-02-01 20:50:42 +01:00
Ellpeck
e635f23c1b remove these obsolete methods 2020-01-30 14:05:36 +01:00
Ellpeck
9aebce96e8 added the ability to add sounds to elements 2020-01-14 22:39:40 +01:00
Ellpeck
ac8b09e74f improve ui root sorting 2019-12-25 12:15:55 +01:00
Ellpeck
8d3afcf276 made CanSelectContent be set automatically by the root through adding more events 2019-12-08 21:49:15 +01:00
Ellpeck
7118e323b3 don't notify when moving to back or front 2019-12-07 18:41:58 +01:00
Ellpeck
ff42233222 made input handler and ui system gamecomponents 2019-12-05 17:52:25 +01:00
Ellpeck
0c74dfc38e allow for ui element removal during its update 2019-12-05 14:59:53 +01:00
Ellpeck
bffcab3130 added onrootremoved and on rootadded events to ui system 2019-12-05 14:53:13 +01:00
Ellpeck
89f957f8b6 set the area dirty when adding/removing ui elements 2019-11-18 02:20:09 +01:00
Ellpeck
ee35509f23 made ui styling a lot more user friendly 2019-10-14 21:28:12 +02:00
Ellpeck
78da85bbfc added some more element events 2019-09-25 16:47:27 +02:00
Ellpeck
c5170917fb fixed custom draw groups not working outside of a render target 2019-09-20 13:22:05 +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
70f926eb49 actually do this beforehand so that nothing crashes from having no system all of a sudden 2019-09-09 18:53:10 +02:00