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

40 commits

Author SHA1 Message Date
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