1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-27 10:39:24 +01:00
Commit graph

1555 commits

Author SHA1 Message Date
Ell
866aec871d Added the ability to specify Dropdown paragraph colors through style properties 2024-12-17 21:57:06 +01:00
Ell
e68daeb479 Added the ability for Dropdown to display an arrow texture based on its open state 2024-11-24 14:49:45 +01:00
Ell
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
Ell
b0bf55842b Improved the naming of SpriteBatchExtensions texture generation methods 2024-11-16 13:53:04 +01:00
Ell
201fd8d294 TextureExtensions improvements 2024-11-16 13:33:09 +01:00
Ell
2e1d52944a Merge remote-tracking branch 'origin/main' 2024-11-09 18:02:52 +01:00
Ell
e1e1e8db8c Fixed UiParser ImageExceptionHandler being ignored when an exception occurs during texture construction 2024-11-09 18:02:35 +01:00
Ell
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
Ell
a58470de9f three tiny fixes 2024-10-30 20:33:05 +01:00
Ell
b733d1df0e small Panel documentation improvements 2024-10-30 19:47:02 +01:00
Ell
c46b11f4fc fixed a regression where panels sometimes revert back to old, larger sizes after children change size 2024-10-30 19:34:51 +01:00
Ell
dbd52d5b9d
Fixed newly introduced issues since #28 (#30)
* fixed newly introduced stack overflow when adding/removing from scrolling panel

* added second part of issue as test

* fixed TestIssue29Inconsistencies
2024-10-29 23:31:49 +01:00
Ell
b59fe6b817 bump version (we've been adding features!) 2024-10-29 23:13:41 +01:00
Ell
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
Ell
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
Ell
78d73c2417 only leave generic font test comparison wiggle room for KNI, and make it 10% 2024-10-26 14:54:43 +02:00
Ell
f5e64eb719 clean up structure of tests that use TestGame 2024-10-26 14:41:36 +02:00
Ell
1cfdedfc80 Made fields and methods in StaticJsonConverter protected to allow extending it 2024-10-20 12:31:31 +02:00
Ell
3bc5c7f18c Fixed tooltips not being bounded correctly for viewports that don't start at the origin 2024-10-08 18:12:22 +02:00
Ell
d2774ad7d2 Added Tooltip.IgnoreViewport and allow overriding the default viewport using Tooltip.Viewport 2024-10-08 18:07:38 +02:00
Ell
db2a3dfe70 use UiMetrics to print ui test info 2024-10-07 21:51:35 +02:00
Ell
2e9e6e8980 improved ui tests and added additional performance tests 2024-10-07 18:32:22 +02:00
Ell
30eb4515bc Improve Element.Transform documentation 2024-10-07 18:03:35 +02:00
Ell
0eeeed1a27 Added TextField.OnEnterPressed event 2024-09-29 22:58:50 +02:00
Ell
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
Ell
f35730ee7c moved change to the correct changelog category 2024-09-19 20:22:04 +02:00
Ell
84bf3fa0a3 Added Panel.IsVisible method to check if a child element is visible 2024-09-19 20:21:06 +02:00
Ell
3340a5024b fixed docs not being built with .net 8 2024-09-15 23:49:46 +02:00
Ell
f22dfa0ec4 always deploy the demo on push 2024-09-15 23:18:17 +02:00
Ell
c9d7fd29df added wip disclaimer to the web demo 2024-09-15 23:01:37 +02:00
Ell
88136ab9c5 Revert "always deploy the site on push, but only build api docs on release"
This reverts commit 82dd677987.
2024-09-15 22:58:02 +02:00
Ell
82dd677987 always deploy the site on push, but only build api docs on release 2024-09-15 22:45:17 +02:00
Ell
c5f4fd27bd bump upcoming version 2024-09-14 11:48:18 +02:00
Ell
44388c0ebd Merge remote-tracking branch 'origin/main' 2024-09-14 11:39:30 +02:00
Ell
cdc4756a6a 7.1.1 2024-09-14 11:39:05 +02:00
Ell
3fc42143d5
Added web demo to the website (#24)
* work on publishing the web demo

* some fixes

* link to web demo
2024-09-14 11:37:06 +02:00
Ell
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
Ell
a6a34c3937 Construct images in UiParser.ParseImage on the main thread to support usage with KNI 2024-09-14 10:40:11 +02:00
Ell
73a02dfe19 bump upcoming version 2024-09-02 21:00:40 +02:00
Ell
17cb112360 7.1.0 2024-09-02 20:51:23 +02:00
Ell
70cf0e8ef7 only invoke the kni content builder on windows 2024-09-02 20:41:33 +02:00
Ell
db144f7880 added an experimental kni web demo 2024-09-02 20:33:04 +02:00
Ell
ea8ec69dd6 Added MLEM.KNI and friends, which are fully compatible with KNI 2024-09-02 19:55:28 +02:00
Ell
494a7ebdfe improve documentation links for MlemPlatform 2024-08-28 13:40:31 +02:00
Ell
78c4a74f4b fixed outdated version information in the readme 2024-08-18 17:56:58 +02:00
Ell
74254e6cdb Added ColorExtensions.ToHsv and ColorHelper.FromHsv 2024-07-29 20:46:40 +02:00
Ell
9c4a66ef6d bump minor version 2024-07-29 20:16:14 +02:00
Ell
943a9cbd77 Added ColorExtensions.ToHsl and ColorHelper.FromHsl 2024-07-29 19:57:33 +02:00
Ell
dd3fc6b85d bump upcoming version 2024-07-20 12:04:48 +02:00
Ell
7c3cffd2cd 7.0.0 2024-07-20 11:57:36 +02:00