1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-16 10:44:32 +02:00
Commit graph

54 commits

Author SHA1 Message Date
Ell
35af9eee25 fixed some number parsing not using invariant culture 2021-03-28 06:20:27 +02:00
Ell
602f19a2a8 some minor code style and format improvements 2021-03-24 22:44:39 +01:00
Ell
0411add4d1 added a newline macro to the default text formatter 2021-03-09 17:45:49 +01:00
Ell
267cbc8d9c allow image codes to copy the text's color 2020-12-29 12:41:29 +01:00
Ell
106102adf6 clean up unused using statements 2020-12-14 21:51:27 +01:00
Ell
bb596c91ff cleaned up color extensions and move some methods to colorhelper instead 2020-11-04 23:44:41 +01:00
Ell
8b29903444 Replace ImageCode and TextField character ToString usage with ToCachedString for memory performace 2020-09-28 20:43:37 +02:00
Ellpeck
a17301504d added macros to text formatting 2020-07-01 14:30:47 +02:00
Ellpeck
d891e19d2a reduce string allocations when rendering text 2020-06-21 23:23:52 +02:00
Ellpeck
64b9246aa5 clean up GenericFont changes 2020-06-20 12:12:34 +02:00
Ellpeck
73f2e1c565 use measurechar where applicable 2020-06-20 01:20:39 +02:00
Ellpeck
90e0ff55d1 use a custom character for image codes rather than trying to calculate spaces 2020-06-20 01:18:27 +02:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
0a8a3c3660 removed some obsolete features 2020-06-12 17:19:19 +02:00
Ellpeck
1d38262388 only use nbsp in image codes if the font supports it 2020-06-04 22:18:53 +02:00
Ellpeck
3d1b660c9f don't use nbsp for image codes 2020-06-03 00:23:04 +02:00
Ellpeck
78049c9cd8 fixed formatting codes at the beginning of strings being ignored 2020-05-30 19:17:18 +02:00
Ellpeck
e9cc9b7d99 document raw content and text formatting 2020-05-21 12:53:42 +02:00
Ellpeck
2461b78f1b made multi-line links be highlighted together 2020-05-19 21:52:29 +02:00
Ellpeck
728e2a53f2 fixed font formatting codes not having priority 2020-05-17 14:26:45 +02:00
Ellpeck
037ed43410 streamline ui text formatting and paragraph links 2020-05-17 00:10:29 +02:00
Ellpeck
fad06f28be modified link codes to use paragraphs' OnPressed 2020-05-16 01:56:00 +02:00
Ellpeck
7f0a8289e3 added link formatting codes! 2020-05-15 22:15:24 +02:00
Ellpeck
9ce01bc6f2 added underlined formatting code 2020-05-15 21:31:37 +02:00
Ellpeck
8229ce8517 maybe actually commit everything! 2020-05-15 19:56:16 +02:00
Ellpeck
fcd898e16b finished the new formatting, finally! 2020-05-15 19:55:59 +02:00
Ellpeck
011f9dd4f1 added old formatting codes to the new system 2020-05-15 14:22:33 +02:00
Ellpeck
d28239291c fixed line splitting with the new formatting 2020-05-15 13:16:03 +02:00
Ellpeck
8398499edd new text formatting, part 1 2020-05-15 00:34:04 +02:00
Ellpeck
f4bec17448 made text formatting codes ignore case 2020-04-06 02:20:57 +02:00
Ellpeck
80f36c78bd a lot of font cleanup 2020-03-28 22:25:06 +01:00
Ellpeck
26264bf576 allow a lot of mem classes to have custom data added to them 2020-03-21 00:49:43 +01:00
Ellpeck
9f43924e47 made the GetOneEmString method more generic 2020-03-21 00:12:09 +01:00
Ellpeck
a3f39f170a added some more information to formatted text 2020-03-20 20:58:15 +01:00
Ellpeck
2083868874 fixed animations using the wrong index 2020-02-08 18:29:07 +01:00
Ellpeck
72eff17d5f made text formatting and line splitting preserve spaces properly 2020-02-08 18:24:14 +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
e37cfed757 added the ability to have mixed formatting 2020-02-03 15:38:27 +01:00
Ellpeck
556998239e Revert "formatting code redesign, part 1: Regex!"
This reverts commit b480026b
2020-02-03 04:37:14 +01:00
Ellpeck
d78448a4ed Revert "part 2: format state and making the codes do the work"
This reverts commit 02b25236
2020-02-03 04:36:49 +01:00
Ellpeck
02b25236b1 part 2: format state and making the codes do the work 2020-02-03 04:25:12 +01:00
Ellpeck
b480026b7e formatting code redesign, part 1: Regex! 2020-02-03 03:04:13 +01:00
Ellpeck
1ec8416ab7 allowed to set a speed multiplier for animations 2020-01-09 21:38:04 +01:00
Ellpeck
e20a51ef23 allowed formatting codes to contain sprite animations 2020-01-04 00:27:45 +01:00
Ellpeck
324055d82e bleh 2019-12-26 19:38:54 +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
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