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

976 commits

Author SHA1 Message Date
Ell
293602269b prevent unnecessary allocations in GenericFont 2021-11-27 23:04:06 +01:00
Ell
53b93a34f8 Made TextFormatter string size based on the currently active font and added a formatting code to allow for inline font changes 2021-11-27 22:45:37 +01:00
Ell
ad1d6a864e Added DrawExtendedAutoTile to the AutoTiling class 2021-11-27 15:03:30 +01:00
Ell
5cb77be410 Allow using StaticSpriteBatch for AutoTiling 2021-11-27 14:27:56 +01:00
Ell
aa94217fc6 delete old docs before copying new ones to destination 2021-11-26 19:45:59 +01:00
Ell
f37179486c added some pathfinding tests, as well as some minor code improvements 2021-11-23 21:42:18 +01:00
Ell
a6c06ad980 tone down the matrix ops tests a bit 2021-11-22 19:31:08 +01:00
Ell
444b5c6afb copy base documentation for a lot of docfx unresolvable sources 2021-11-22 19:25:18 +01:00
Ell
84a6e5a29a Fixed some end-of-line inconsistencies when using the Right text alignment 2021-11-22 18:52:52 +01:00
Ell
c9c9e566b1 Throw an exception when text formatter macros resolve recursively too many times 2021-11-22 17:50:17 +01:00
Ell
84e2544dc8 Allow setting a custom effect and depth stencil state for ui drawing 2021-11-22 17:42:08 +01:00
Ell
5b99f29490 Fixed some inconsistencies with element transformations and mouse interaction 2021-11-22 15:13:08 +01:00
Ell
5c8ef3d254 Added RotationVector extension methods for Matrix and Quaternion 2021-11-22 14:48:38 +01:00
Ell
b30ec9408b Added Padding.Empty 2021-11-18 10:58:50 +01:00
Ell
3fc635fb4d display breaking changes in italics 2021-11-18 10:55:11 +01:00
Ell
a59f1eb8af Added missing easing functions Quart and Quint to Easings 2021-11-16 15:08:35 +01:00
Ell
91d34c0a83 Remember the location that a scroll bar scroller was grabbed in when scrolling 2021-11-14 21:32:13 +01:00
Ell
2a7dc119eb Removed ScrollBar ScrollerOffset (which didn't actually work) 2021-11-14 21:04:50 +01:00
Ell
cd48ad6e2a ensure that child padding stays consistent if ScrollerSize gets updated 2021-11-14 20:28:53 +01:00
Ell
04a206f728 updated TestComplexPanel test to match the new scroll bar behavior 2021-11-14 19:56:52 +01:00
Ell
9cd72e9b4e Fixed panels that don't auto-hide their scroll bars ignoring their width for child padding 2021-11-14 19:50:24 +01:00
Ell
6702efd7fa added depth sorting to StaticSpriteBatch 2021-11-13 16:42:50 +01:00
Ell
dd295aca1b clarify StaticSpriteBatch depth documentation 2021-11-12 20:31:47 +01:00
Ell
d8517a7492 StaticSpriteBatch refactor that speeds up removal.
Items will now be drawn in an arbitrary order.
2021-11-12 20:21:08 +01:00
Ell
eb323bea01 only allow clearing a static sprite batch when batching 2021-11-12 18:35:10 +01:00
Ell
4a8a55fde3 allow removing items from a static sprite batch 2021-11-12 18:12:57 +01:00
Ell
1fa9204680 added a style property for a panel's scroll bar offset 2021-11-11 16:43:27 +01:00
Ell
4e3d5705a4 removed utility scripts 2021-11-11 02:17:31 +01:00
Ell
543560feac Merge remote-tracking branch 'origin/main' 2021-11-08 23:47:04 +01:00
Ell
9ef5c35e52 Set GraphicsResource Name when loading assets using RawContentManager 2021-11-08 23:46:59 +01:00
Ell
f6c59dc403
Update FUNDING.yml 2021-11-08 15:52:32 +01:00
Ell
ed96938a1c updated documentation articles 2021-11-08 02:50:53 +01:00
Ell
dc15a9139f added a bound check for the auto-calculated scroller size 2021-11-08 02:11:05 +01:00
Ell
6d554faaac mark panel children dirty when the scroll bar's max value (the height of the children) changes 2021-11-08 02:06:50 +01:00
Ell
3d0250bf86 Calculate panel scroll bar height based on content height 2021-11-08 02:02:59 +01:00
Ell
a9e243835f always generate documentation in ci 2021-11-07 02:55:00 +01:00
Ell
b22d2d4d22 slight GenericDataHolder (and extensions) improvements and reversions 2021-11-07 00:46:35 +01:00
Ell
39138446ea added some more utility to JsonTypeSafeWrapper and revert SetData changes 2021-11-07 00:23:48 +01:00
Ell
ae559adf26 remove "see href" from xml docs since some IDEs can't display that 2021-11-06 23:42:23 +01:00
Ell
8e83cc06a6 Added JsonTypeSafeWrapper and JsonTypeSafeGenericDataHolder 2021-11-06 23:38:21 +01:00
Ell
778d416774 mark panel's relevant children dirty when the render target changes 2021-11-05 23:28:32 +01:00
Ell
543201d178 ensure that relevant panel children are updated when children are changed 2021-11-05 23:22:39 +01:00
Ell
cf48fc372e skip unnecessary relevant children updates for panels 2021-11-01 22:58:37 +01:00
Ell
115b05beaa Allow RuntimeTexturePacker to automatically dispose submitted textures when packing 2021-11-01 16:00:13 +01:00
Ell
149669df99 fixed up Element docs and added a return value to UpdateAreaIfDirty 2021-11-01 15:29:59 +01:00
Ell
f2939253b1 Skip unnecessary area updates for elements with dirty parents 2021-11-01 13:39:37 +01:00
Ell
60bd73017c period consistency 2021-11-01 01:21:53 +01:00
Ell
4966886b70 fixed a ui demo crash when leaving while the wobble button is wobbling 2021-10-30 15:35:46 +02:00
Ell
ca89d03ca4 Some more ui style improvements 2021-10-30 15:33:38 +02:00
Ell
3648352540 organized MLEM.Ui properties and fields slightly 2021-10-30 15:01:04 +02:00