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

112 commits

Author SHA1 Message Date
Ell
ca89d03ca4 Some more ui style improvements 2021-10-30 15:33:38 +02:00
Ell
0809cd0218 Added style properties for a lot of hardcoded default element styles 2021-10-29 23:33:15 +02:00
Ell
866dad49ab Use FontStashSharp's built-in LineHeight property for GenericStashFont 2021-08-19 21:43:17 +02:00
Ell
527c4af3e4 updated dependencies 2021-07-20 00:55:36 +02:00
Ell
a76c14b243 Adjusted GenericStashFont line height calculations to result in the same values as GenericSpriteFont 2021-07-19 23:10:27 +02:00
Ell
60c9236cbd added InputsDown and InputsPressed to InputHandler 2021-06-20 23:05:02 +02:00
Ell
d1fbcb9559 added a sprite batch extension to generate a gradient 2021-06-03 21:33:09 +02:00
Ell
b48ed479a0 streamlined TextInputWrapper into MlemPlatform and included link opening 2021-04-23 00:17:46 +02:00
Ell
f3b3feec9b updated non-netstandard projects to net5.0 2021-04-22 02:21:36 +02:00
Ell
8078d41724 simplified GenericFont implementation 2021-04-19 14:02:28 +02:00
Ell
79ba6864e7 fixed stack overflow with nested auto-sized children 2021-03-29 06:41:38 +02:00
Ell
281cce8fba updated remaining dependencies 2021-03-24 22:31:58 +01:00
Ell
0b39928334 minor general cleanup 2021-03-08 15:12:13 +01:00
Ell
dda827b985 added GenericFont compatibility for FontStashSharp 2021-02-27 16:58:36 +01:00
Ell
69d81da70c update demos and sandbox to netcore3.1 which was long overdue 2021-02-18 16:12:44 +01:00
Ell
81d4fb2dd4 also made additional data non-relative for data texture atlas 2021-02-14 18:09:38 +01:00
Ell
c8fd2a4c17 allow storing additional coordinates in a DataTextureAtlas 2021-02-14 18:05:38 +01:00
Ell
106102adf6 clean up unused using statements 2020-12-14 21:51:27 +01:00
Ellpeck
500025090f added a CopyConstructor attribute to CopyExtensions 2020-10-25 20:11:15 +01:00
Ell
333b4b033e Added a fail-safe for elements with conflicting auto-sizing settings so that they don't cause a cryptic stack overflow 2020-09-23 00:41:24 +02:00
Ell
3b382a46cf moved raw content handling to MLEM.Data 2020-09-16 23:39:01 +02:00
Ell
534194b3ea allow loading other json file extensions in MLEM.Data by default 2020-09-16 23:24:03 +02:00
Ellpeck
52443bfa68 added some more utility functions for directions and vectors 2020-08-10 02:16:35 +02:00
Ellpeck
cb369dec75 Added DeepCopy 2020-07-31 20:24:59 +02:00
Ellpeck
ba24707b18 added object copying to MLEM.Data 2020-07-31 19:07:22 +02:00
Ellpeck
e28c39501e use Content copy instead of msbuild copy for sandbox 2020-07-24 03:12:00 +02:00
Ellpeck
fe89fc24ea added data-based texture atlases 2020-07-24 00:33:11 +02:00
Ellpeck
9477b5f1d1 added a pivot point to TextureRegion 2020-07-23 23:30:44 +02:00
Ellpeck
98937ee83f added a method for generating square and circle textures 2020-07-12 19:41:25 +02:00
Ellpeck
a17301504d added macros to text formatting 2020-07-01 14:30:47 +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
601423407d added PreventParentSpill to Element 2020-06-12 02:04:01 +02:00
Ellpeck
79e0e1a63e added percentage sizing based on own data to element 2020-06-02 23:00:40 +02:00
Ellpeck
78049c9cd8 fixed formatting codes at the beginning of strings being ignored 2020-05-30 19:17:18 +02:00
Ellpeck
dce6499a0c added TextureExtensions 2020-05-25 22:01:41 +02:00
Ellpeck
12cc7a02c7 added DrawGrid to MLEM.Extended 2020-05-23 22:31:20 +02:00
Ellpeck
500a771136 fixed generic bitmap fonts not calculating character width correctly 2020-05-18 23:24:38 +02:00
Ellpeck
9ce01bc6f2 added underlined formatting code 2020-05-15 21:31:37 +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
99d286d834 raw content manager 2020-04-22 00:30:55 +02:00
Ellpeck
e4ba2bc38f allow adding ellipsis to truncatestring 2020-04-11 15:44:55 +02:00
Ellpeck
d5ce920e52 added text aligning to generic fonts 2020-04-11 15:32:01 +02: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
9f870738b0 added some json utilities to Data 2020-02-27 18:56:49 +01:00
Ellpeck
be2498e583 added a None TextInputWrapper 2020-02-24 14:16:05 +01:00
Ellpeck
08c4281da1 added a new text input system 2020-02-24 14:03:53 +01:00
Ellpeck
56fbc77df7 added flipping to tile collisions, as well as an option to make custom collisions 2020-01-01 12:41:48 +01:00
Ellpeck
45c725f5ef added tile flipping to the renderer 2020-01-01 12:18:35 +01:00
Ellpeck
f86944ee9a added DoUpdate to MlemGame 2019-12-05 17:35:24 +01:00
Ellpeck
ee051f2ab0 added camera scaling 2019-11-10 22:36:25 +01:00
Ellpeck
84e388677c added a setfullscreen method 2019-11-08 15:35:15 +01:00
Ellpeck
6340f75acc added SetWidthBasedOnChildren 2019-11-05 21:44:51 +01:00
Ellpeck
32c8147a4c added a rectanglef class which allows mlem to use decimal coordinates 2019-11-02 14:53:59 +01:00
Ellpeck
cb7abbbbef fixed some panel issues 2019-11-02 14:21:42 +01:00
Ellpeck
ee35509f23 made ui styling a lot more user friendly 2019-10-14 21:28:12 +02:00
Ellpeck
026b79b61e fixed progress bars overshooting their ninepatch areas 2019-09-25 16:39:17 +02:00
Ellpeck
c5170917fb fixed custom draw groups not working outside of a render target 2019-09-20 13:22:05 +02:00
Ellpeck
ae849c63e7 added a sandbox 2019-09-19 20:23:18 +02:00