1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-21 04:29:14 +02:00
Commit graph

90 commits

Author SHA1 Message Date
Ellpeck
556998239e Revert "formatting code redesign, part 1: Regex!"
This reverts commit b480026b
2020-02-03 04:37:14 +01:00
Ellpeck
b480026b7e formatting code redesign, part 1: Regex! 2020-02-03 03:04:13 +01:00
Ellpeck
43b665642d made tooltips be panels and remove the weird paragraph background thing 2019-12-31 14:08:13 +01:00
Ellpeck
f3372e93cb made format settings be non-struct-like 2019-12-26 19:34:42 +01:00
Ellpeck
3d0c3cd6d1 made format settings a bit better and also added drop shadow 2019-12-26 19:30:17 +01:00
Ellpeck
e0b83f6644 [breaking change] made the one em string be determined automatically for each font 2019-12-26 19:05:26 +01:00
Ellpeck
ca258fe41a made paragraphs and images use their callbacks when updating their area so that the first visible frame already has the right data 2019-12-19 14:04:50 +01:00
Ellpeck
dbe7980add made padding a lot more versatile in mlem.ui 2019-12-14 14:00:12 +01:00
Ellpeck
f28e234392 made style props a lot easier to use 2019-11-05 13:28:41 +01:00
Ellpeck
32c8147a4c added a rectanglef class which allows mlem to use decimal coordinates 2019-11-02 14:53:59 +01:00
Ellpeck
ee35509f23 made ui styling a lot more user friendly 2019-10-14 21:28:12 +02:00
Ellpeck
bc6ad3adef allow paragraph fonts to be changed 2019-09-26 22:28:48 +02:00
Ellpeck
401a89e295 fixed paragraphs not having their hidden property initialized at startup 2019-09-26 19:35:22 +02:00
Ellpeck
c5170917fb fixed custom draw groups not working outside of a render target 2019-09-20 13:22:05 +02:00
Ellpeck
03923f91f6 some exception handling 2019-09-13 11:53:28 +02:00
Ellpeck
4a7fcd7570 Revert "added FormattedString class to make rendering formatted text a little easier"
This reverts commit 6d236fa5
2019-09-08 16:25:59 +02:00
Ellpeck
6d236fa52c added FormattedString class to make rendering formatted text a little easier 2019-09-06 18:06:53 +02:00
Ellpeck
b2b59aa78a added text animation 2019-09-06 15:49:59 +02:00
Ellpeck
a46e8fce86 moved formatting to MLEM proper 2019-09-06 12:20:53 +02:00
Ellpeck
35ee509eac added the ability to display images in paragraphs 2019-09-05 20:28:05 +02:00
Ellpeck
619db6bb94 remove offset from draw method and use a matrix instead 2019-09-04 17:19:31 +02:00
Ellpeck
5c741a98e9 tabbing, part 1! 2019-08-28 18:27:17 +02:00
Ellpeck
226640ef3a simplify text rendering quite a bit after realizing that monogame deals with multiple lines on its own 2019-08-25 19:07:45 +02:00
Ellpeck
e1baacdb0d added text formatting 2019-08-24 00:07:54 +02:00
Ellpeck
74988921b1 added line space to paragraph 2019-08-23 00:12:26 +02:00
Ellpeck
4e1c6d8128 added sliders (horizontal scroll bars) 2019-08-16 19:08:36 +02:00
Ellpeck
b42ec52017 finally center it 2019-08-15 16:29:41 +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
5d2f77e95c added a tooltip 2019-08-13 23:54:29 +02:00
Ellpeck
c114d775d4 added checkboxes and radio buttons and did some changes to the demo 2019-08-13 21:23:20 +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
0c8af5b9bf better styling 2019-08-10 21:37:10 +02:00
Ellpeck
15081a8fe0 added a text field 2019-08-10 19:23:08 +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
ef3726b077 added auto-scaled text, buttons and vertical space 2019-08-09 22:04:26 +02:00
Ellpeck
b1d41d572c added panels and paragraphs 2019-08-09 19:28:48 +02:00