Ell
76eb5d0679
use faster draw methods for formatting codes
2024-04-10 20:33:53 +02:00
Ell
9a03a8c62d
Added the ability for formatted (tokenized) strings to be drawn with custom rotation, origin and flipping
...
Closes #18
2024-04-10 20:27:00 +02:00
Ell
0c5369e687
Fixed bold and italic formatting code closing tags working on each other
2024-03-17 21:43:53 +01:00
Ell
476e1dd2a6
Improved text formatter tokenization performance
2023-10-14 18:58:32 +02:00
Ell
3968f7dfae
Added a simple outline formatting code
2023-02-23 15:18:07 +01:00
Ell
eb8a8568e1
Some ui system improvements
...
- Allow initializing a ui system's text formatter without default codes and macros
- Fixed UiStyle.LinkColor not being applied to the ui system when changed
2023-01-08 11:21:20 +01:00
Ell
500736e20f
Added subscript and superscript formatting codes
2023-01-07 22:02:22 +01:00
Ell
066ed9f8f7
fixed some issues with the new code width system
2022-12-06 17:10:04 +01:00
Ell
b374d50815
Allow formatting codes to have an arbitrary custom width
2022-12-06 16:49:19 +01:00
Ell
8d689952cc
Made GenericFont and TokenizedString support UTF-32 characters like emoji
2022-10-15 13:48:45 +02:00
Ell
6f05263980
ensure that SimpleEndCode doesn't end formatting codes with shorter names
2022-06-26 17:18:38 +02:00
Ell
6e2c2b3730
Improved the way terminating formatting codes work by introducing SimpleEndCode
2022-06-26 15:08:11 +02:00
Ell
61055148ef
some fixes and doc changes to make MLEM.FNA more in line with MLEM
2022-06-24 21:33:24 +02:00
Ell
5d7d238630
added MLEM.FNA
2022-06-24 14:01:26 +02:00
Ell
aabb1ed5df
added .editorconfig
2022-06-17 18:23:47 +02:00
Ell
d5ec0b8001
Allow setting a default color for clickable links in UiStyle
2022-03-07 12:00:33 +01:00
Ell
856d69b7db
Fixed a formatting Code only knowing about the last Token that it is applied in
...
Closes #3
2022-02-13 22:43:51 +01:00
Ell
f7cf9460d6
Renamed GenericFont.OneEmSpace to Emsp (and marked OneEmSpace as obsolete)
2022-01-24 11:16:23 +01:00
Ell
29bbd61f8b
reformat and cleanup
2021-12-28 14:56:11 +01:00
Ell
3da97fcc83
fixed UnderlineCode being a font code, making it end in the wrong places
2021-05-24 17:12:02 +02:00
Ell
e916ddb7a8
allow for underline and shadow codes to be mixed with font codes
2021-05-18 16:19:40 +02:00
Ell
602f19a2a8
some minor code style and format improvements
2021-03-24 22:44:39 +01:00
Ell
267cbc8d9c
allow image codes to copy the text's color
2020-12-29 12:41:29 +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
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
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
e9cc9b7d99
document raw content and text formatting
2020-05-21 12:53:42 +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
8398499edd
new text formatting, part 1
2020-05-15 00:34:04 +02:00