1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-29 03:23:37 +02:00
Commit graph

111 commits

Author SHA1 Message Date
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
Ellpeck bb99a76f61 fixed old selections staying behind on re-added uis 2019-09-09 18:49:34 +02:00
Ellpeck 672e5eb548 clean up navigation a lot 2019-09-09 17:12:36 +02:00
Ellpeck 8397f47ec3 made the default selection indicator scale correctly 2019-09-08 23:55:56 +02:00
Ellpeck 619db6bb94 remove offset from draw method and use a matrix instead 2019-09-04 17:19:31 +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 334dea8b39 make the mess I made a bit nicer :^) 2019-09-01 19:33:33 +02:00
Ellpeck cfcd54dbe0 made text input not test the release build of android :V reflection is a pain 2019-09-01 18:34:19 +02:00
Ellpeck 3464fff6e5 added the ability to easily change how a selected element is drawn 2019-08-31 18:07:43 +02:00
Ellpeck 3862f78c9b made text fields work on mobile too 2019-08-30 19:05:27 +02:00
Ellpeck 353afdef6f started working on touch support for MLEM.Ui 2019-08-30 18:15:50 +02:00
Ellpeck 7eeecc19d1 remove some stuff from MlemGame so that you don't crash :^)
also make the uisystem know if it doesn't support text input natively
2019-08-29 18:46:48 +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
Ellpeck 38d72d981a removed null propagation here because I never really use it anywhere else and it's ugly 2019-08-25 21:58:01 +02:00
Ellpeck 765acc3f62 replace onclicked with much easier to make compatible onpressed 2019-08-25 21:49:27 +02:00
Ellpeck 21c17066fc added column helper and fixed some more bugs 2019-08-24 15:00:08 +02:00
Ellpeck b6d3496987 added the ability to move roots to front or back 2019-08-23 22:23:10 +02:00
Ellpeck dfe31e6726 added the option to auto-scale both the camera and ui systems 2019-08-23 19:46:36 +02:00
Ellpeck 5d8e010bad made tooltips not go off screen and fixed the ui system breaking clearing 2019-08-15 14:59:15 +02:00
Ellpeck 4624219b4e added scroll bar and overflow handling panel 2019-08-12 19:44:16 +02:00
Ellpeck 09fbdfd54e added priority to elements 2019-08-12 14:44:42 +02:00
Ellpeck a4eede5fe5 changed a lot of the math to make everything more smooth~ 2019-08-11 21:24:09 +02:00
Ellpeck adf0ce56cb made ui scaling be based on the root element as well 2019-08-11 18:02:21 +02:00
Ellpeck 0c8af5b9bf better styling 2019-08-10 21:37:10 +02:00
Ellpeck f96511d17d shuffle some things around 2019-08-10 18:41:56 +02:00
Ellpeck 3f7f06f98f added draw alpha to all components 2019-08-10 13:42:18 +02:00
Ellpeck 88da47bc00 added defaults for most element properties 2019-08-10 13:28:58 +02:00
Ellpeck 28fca1cc24 added ui system to startup 2019-08-09 23:43:50 +02:00
Ellpeck ef3726b077 added auto-scaled text, buttons and vertical space 2019-08-09 22:04:26 +02:00
Ellpeck 4943a7b6f0 hiding elements 2019-08-09 19:39:51 +02:00
Ellpeck b1d41d572c added panels and paragraphs 2019-08-09 19:28:48 +02:00
Ellpeck a67abd4661 basic element system 2019-08-09 18:26:28 +02:00