3ab2466d32
Fixed DataTextureAtlas creating unnamed entries if there are empty lines at the start or end of the atlas file
2024-11-16 20:24:28 +01:00
b0bf55842b
Improved the naming of SpriteBatchExtensions texture generation methods
2024-11-16 13:53:04 +01:00
201fd8d294
TextureExtensions improvements
2024-11-16 13:33:09 +01:00
2e1d52944a
Merge remote-tracking branch 'origin/main'
2024-11-09 18:02:52 +01:00
e1e1e8db8c
Fixed UiParser ImageExceptionHandler being ignored when an exception occurs during texture construction
2024-11-09 18:02:35 +01:00
6f64661817
Improve the runtime texture packer algorithm ( #31 )
...
* use a random size for testing pack times to show how truly bad the current algo is
* expand overlap test to include padding and pixel padding
* fixed TestPackTimes on KNI
* also test for whether the padding intersects
* Use a binary tree algorithm for the runtime texture packer
* update changelog and bump version
* fixed fna compile errors
* save TestPackTimes textures separately
2024-11-07 16:18:51 +01:00
b59fe6b817
bump version (we've been adding features!)
2024-10-29 23:13:41 +01:00
41fb515f80
Fixed AddedToUi and RemovedFromUi being called for freshly added or removed children whose parents are not in a ui system
2024-10-29 20:28:44 +01:00
50e864b94f
Fixed stack overflow related to panel scrolling and scrollbar auto hiding (and improved build scripts) ( #28 )
...
* add a test to recreate the issue
* fixed deploy-demo running on pull requests
* restructure cake script to run tests separately
* actually name the test step correctly
* also run the build task separately
* made all tasks explicitly depend on prepare
* install android workload manually, rather than as part of cake
* Revert "install android workload manually, rather than as part of cake"
This reverts commit 101d6d3eac
.
* don't clear a panel's scroll bar max history between area updates
* added changelog entry
2024-10-27 00:46:15 +02:00
1cfdedfc80
Made fields and methods in StaticJsonConverter protected to allow extending it
2024-10-20 12:31:31 +02:00
3bc5c7f18c
Fixed tooltips not being bounded correctly for viewports that don't start at the origin
2024-10-08 18:12:22 +02:00
d2774ad7d2
Added Tooltip.IgnoreViewport and allow overriding the default viewport using Tooltip.Viewport
2024-10-08 18:07:38 +02:00
0eeeed1a27
Added TextField.OnEnterPressed event
2024-09-29 22:58:50 +02:00
4c378f7cd9
Fixed formatting codes at the start of strings not being added to the AllCodes collection
...
Closes #26
2024-09-29 12:17:47 +02:00
f35730ee7c
moved change to the correct changelog category
2024-09-19 20:22:04 +02:00
84bf3fa0a3
Added Panel.IsVisible method to check if a child element is visible
2024-09-19 20:21:06 +02:00
c5f4fd27bd
bump upcoming version
2024-09-14 11:48:18 +02:00
cdc4756a6a
7.1.1
2024-09-14 11:39:05 +02:00
c4bd03ff04
Image loading improvements:
...
- Added TextureExtensions.PremultipliedCopy for textures
- Create a premultiplied copy of UiParser images to support usage with KNI
2024-09-14 10:48:04 +02:00
a6a34c3937
Construct images in UiParser.ParseImage on the main thread to support usage with KNI
2024-09-14 10:40:11 +02:00
73a02dfe19
bump upcoming version
2024-09-02 21:00:40 +02:00
17cb112360
7.1.0
2024-09-02 20:51:23 +02:00
ea8ec69dd6
Added MLEM.KNI and friends, which are fully compatible with KNI
2024-09-02 19:55:28 +02:00
74254e6cdb
Added ColorExtensions.ToHsv and ColorHelper.FromHsv
2024-07-29 20:46:40 +02:00
9c4a66ef6d
bump minor version
2024-07-29 20:16:14 +02:00
943a9cbd77
Added ColorExtensions.ToHsl and ColorHelper.FromHsl
2024-07-29 19:57:33 +02:00
dd3fc6b85d
bump upcoming version
2024-07-20 12:04:48 +02:00
7c3cffd2cd
7.0.0
2024-07-20 11:57:36 +02:00
ecc0c3b963
Allow static json converters to write null values
2024-07-19 21:35:47 +02:00
498e1d8fe6
Allow static json converters to throw an exception if a key does not exist
2024-07-19 21:10:30 +02:00
677230ce28
Moved extension methods into matching namespaces to avoid unexpected suggestions
2024-07-19 20:02:28 +02:00
b0c6067555
removed all non-recent obsolete methods, properties and types
2024-07-17 18:21:13 +02:00
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
6f51b3542b
Revert "Added a public Combinations collection and associated constructor to Keybind"
...
This reverts commit b2dd81e95b
.
2024-07-16 12:06:47 +02:00
b2dd81e95b
Added a public Combinations collection and associated constructor to Keybind
2024-07-16 11:18:56 +02:00
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
fa1cafd751
Added compatibility for MonoGame.Extended 4.0.0 and FNA.Extended
2024-07-10 12:03:24 +02:00
24277ba494
Allow AutoTiling overlayTextures to return null texture regions
2024-06-27 22:24:11 +02:00
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
3a055129b5
Made the Element.Children collection public
2024-06-11 18:47:22 +02:00
fb3b586a35
Track element area update recursion count in UiMetrics
2024-06-09 20:29:23 +02:00
6a5e9a77ea
Fixed auto-sized elements sometimes updating their location based on outdated parent positions
2024-06-09 20:22:24 +02:00
d7cda0d39b
Fixed scroll bars doing unnecessary calculations when hidden
2024-06-02 13:26:51 +02:00
8fdc3546c6
Added the ScissorGroup element
2024-05-30 13:24:35 +02:00
d879894e30
Include the SpriteBatchContext in OnDrawn, OnElementDrawn and OnSelectedElementDrawn
2024-05-30 12:48:08 +02:00
ee2b0266aa
automatically set TreatSizeAsMaximum for height-based scrolling panels
2024-05-29 23:37:42 +02:00
ab96e97f8e
Fixed hidden scroll bars inhibiting scrolling on their parent panel
2024-05-29 23:34:23 +02:00
f499ed94a7
Allow scrolling panels to set height based on children with TreatSizeAsMaximum
2024-05-29 23:30:12 +02:00
85d20b6433
Added a RectangleF.FromCorners overload that accepts points
2024-04-13 21:14:34 +02:00
7bf418f8b2
Allow NumberExtensions.GetPoints to include bottom and right coordinates
2024-04-13 21:12:49 +02:00