1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-13 01:39:09 +01:00
Commit graph

363 commits

Author SHA1 Message Date
Ell
498e1d8fe6 Allow static json converters to throw an exception if a key does not exist 2024-07-19 21:10:30 +02:00
Ell
677230ce28 Moved extension methods into matching namespaces to avoid unexpected suggestions 2024-07-19 20:02:28 +02:00
Ell
b0c6067555 removed all non-recent obsolete methods, properties and types 2024-07-17 18:21:13 +02:00
Ell
b4f45ba6b5 small keybind improvements
- Added a constructor that accepts a set of combinations
- Made the Combinations collection a public property
2024-07-16 12:10:41 +02:00
Ell
6f51b3542b Revert "Added a public Combinations collection and associated constructor to Keybind"
This reverts commit b2dd81e95b.
2024-07-16 12:06:47 +02:00
Ell
b2dd81e95b Added a public Combinations collection and associated constructor to Keybind 2024-07-16 11:18:56 +02:00
Ell
2df216c15d various sprite animation improvements
- Added indexers and Count to SpriteAnimation and SpriteAnimationGroup
- Marked SpriteAnimation.ByName obsolete in favor of the new indexer
2024-07-14 19:52:32 +02:00
Ell
fa1cafd751 Added compatibility for MonoGame.Extended 4.0.0 and FNA.Extended 2024-07-10 12:03:24 +02:00
Ell
24277ba494 Allow AutoTiling overlayTextures to return null texture regions 2024-06-27 22:24:11 +02:00
Ell
bcc558f591 some panel improvements
- Added Panel.ScrollToTop and Panel.ScrollToBottom
- Fixed Panel.ScrollToElement not scrolling correctly when the panel's area is dirty
2024-06-14 22:31:32 +02:00
Ell
3a055129b5 Made the Element.Children collection public 2024-06-11 18:47:22 +02:00
Ell
fb3b586a35 Track element area update recursion count in UiMetrics 2024-06-09 20:29:23 +02:00
Ell
6a5e9a77ea Fixed auto-sized elements sometimes updating their location based on outdated parent positions 2024-06-09 20:22:24 +02:00
Ell
d7cda0d39b Fixed scroll bars doing unnecessary calculations when hidden 2024-06-02 13:26:51 +02:00
Ell
8fdc3546c6 Added the ScissorGroup element 2024-05-30 13:24:35 +02:00
Ell
d879894e30 Include the SpriteBatchContext in OnDrawn, OnElementDrawn and OnSelectedElementDrawn 2024-05-30 12:48:08 +02:00
Ell
ee2b0266aa automatically set TreatSizeAsMaximum for height-based scrolling panels 2024-05-29 23:37:42 +02:00
Ell
ab96e97f8e Fixed hidden scroll bars inhibiting scrolling on their parent panel 2024-05-29 23:34:23 +02:00
Ell
f499ed94a7 Allow scrolling panels to set height based on children with TreatSizeAsMaximum 2024-05-29 23:30:12 +02:00
Ell
85d20b6433 Added a RectangleF.FromCorners overload that accepts points 2024-04-13 21:14:34 +02:00
Ell
7bf418f8b2 Allow NumberExtensions.GetPoints to include bottom and right coordinates 2024-04-13 21:12:49 +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
e2635bf9b6 various tooltip features and improvements 2024-04-10 17:58:01 +02:00
Ell
49bc5b7f25 bump upcoming version 2024-04-05 11:14:35 +02:00
Ell
3089220d38 6.3.1 2024-04-05 11:07:47 +02:00
Ell
e8f6e09cc4 bump upcoming 2024-04-04 22:34:40 +02:00
Ell
11256b02f5 Release 6.3.0 2024-04-04 22:25:45 +02:00
Ell
7f4cc773ec Fixed scrolling panels calculating their height incorrectly when their first child is hidden 2024-03-30 12:24:57 +01:00
Ell
60af21aff4 Improved UiParser.ParseImage with locks and a callback action 2024-03-30 11:52:23 +01:00
Ell
23103613cd Allow formatting codes applied later to override settings of earlier ones 2024-03-17 21:54:06 +01:00
Ell
0c5369e687 Fixed bold and italic formatting code closing tags working on each other 2024-03-17 21:43:53 +01:00
Ell
62ef75441a Added ToHexStringRgba and ToHexStringRgb to ColorExtensions
Closes #19
2024-03-15 20:04:57 +01:00
Ell
3e76364c5d add changelog entry for ed5c4b4 2024-01-30 20:47:54 +01:00
Ell
2eaf0c0cee Expose character and line spacing in GenericStashFont
closes #16
2024-01-30 20:47:05 +01:00
Ell
bd0a723d86 Added some useful additional constructors to various elements 2023-12-28 17:16:31 +01:00
Ell
b935bd0a61 Added the ability to set a custom SamplerState for images 2023-12-13 22:57:23 +01:00
Ell
6a8e9639c1 updated dependencies 2023-12-13 22:11:31 +01:00
Ell
e191d4919b Fixed InputHandler touch states being initialized incorrectly when touch handling is disabled
Closes #10
2023-12-04 10:20:29 +01:00
Ell
764b29e120 Text input improvements:
- Allow using control and arrow keys to move the visible area of a text input
- Don't reset the caret position of a text field when selecting or deselecting it
2023-12-02 19:28:59 +01:00
Ell
294af052ae Added SetWidthBasedOnAspect and SetHeightBasedOnAspect to images 2023-11-23 22:16:31 +01:00
Ell
56a4833a49 further panel performance improvements 2023-11-11 13:09:34 +01:00
Ell
1fa563be46 Improved Panel performance when adding and removing a lot of children 2023-11-11 12:40:11 +01:00
Ell
0fab7fe859 Don't unnecessarily set areas dirty when removing a root element from the ui 2023-11-11 12:06:28 +01:00
Ell
0293ea435e Added UiControls.NavType, which stores the most recently used type of ui navigation 2023-11-08 10:31:36 +01:00
Ell
476e1dd2a6 Improved text formatter tokenization performance 2023-10-14 18:58:32 +02:00
Ell
0571e8a4e1 Fixed a stack overflow exception when a panel's scroll bar auto-hiding causes elements to gain height 2023-10-14 15:02:58 +02:00
Ell
6c07a7e900 Fixed panels updating their relevant children too much when the scroll bar is hidden 2023-10-14 14:28:27 +02:00
Ell
de1fc28376 Color parsing improvements
- Added ColorHelper.TryFromHexString, a non-throwing version of FromHexString
- Stopped the text formatter from throwing if a color can't be parsed
2023-09-30 22:50:18 +02:00
Ell
8eff529b9d Fixed various exception types not being wrapped by ContentLoadExceptions when loading raw or JSON content 2023-09-27 18:58:09 +02:00
Ell
b49ac1d053 Added the ability to draw single corners of AutoTiling's extended auto tiles 2023-08-28 01:51:25 +02:00