96b2ad44ad
TextLayout, match rendered text with measured text, implement word wrapping
dnesov2026-06-02 01:55:59 +02:00
8ba21166be
Expose scissor mode, use it in UI
dnesov2026-06-02 00:59:29 +02:00
b29ab443fe
New dirty flag system. Avoid calling updates in rendering (yuck!)
dnesov2026-06-02 00:54:36 +02:00
2576ea87bc
Move element update out of Render in UISystem, fix Size property retriggering MarkDirty.
dnesov2026-06-01 22:45:05 +02:00
7bbfab8359
Use enums for ActionTypes in InputField, use ReadOnlySpan<char> for Font measurements, only measure placeholderSize if the input is empty.
dnesov2026-06-01 22:30:54 +02:00
828ff3561b
Backspace and direction key echoing in InputField.
dnesov2026-05-31 23:01:50 +02:00
c7acc70dcd
Input fields and refactors required to support them
dnesov2026-05-31 22:14:25 +02:00
b506b78c32
Fix explicit definition of nested styles, resolve parent style if the style for the variant is not present in the stylesheet.
dnesov2026-05-31 19:34:51 +02:00
11423d86e5
Document GridSet, fix resource hot reload on every frame.
dnesov2025-11-15 17:20:22 +01:00
828ec4973f
Add docs to UIInputContext.
dnesov2025-07-04 19:13:52 +02:00
bef27762ee
Prepare UIElement and Style for animated style implementation.
dnesov2025-06-30 18:34:04 +02:00
8a3ed42bb7
Make Merge a method of Style.
dnesov2025-06-30 18:04:29 +02:00
b3c1db3145
Show fallback glyph if its not present in the font, add Japanese font to TestGame.
dnesov2025-06-29 16:21:34 +02:00
9bc9810c8f
WIP: use kerning for text measuring.
dnesov2025-06-29 15:53:29 +02:00
0ec4e45c38
WIP: measure text in Font.
dnesov2025-06-29 15:10:37 +02:00
6b108ba56c
Make Rect a core type, move Color out of Utils.
dnesov2025-06-29 14:29:52 +02:00
e0e8d6e9ff
Move some FreeType operations to Font itself, add lazy loading for Glyph data, remove IDisposable from base Resource.
dnesov2025-06-29 14:28:39 +02:00
552e05d498
WIP: use Unicode for charmaps inside a font, try read all unicode symbols.
dnesov2025-06-29 14:09:11 +02:00
17196c9437
WIP: load fonts with FreeType.
dnesov2025-06-25 23:20:46 +02:00
03668849bc
Fix any remaining bugs with anchor positioning system, use LocalPosition for UIElement, and make containers use that for arrangement.
dnesov2025-06-24 19:45:18 +02:00
61ac079f2b
Unify Containers and Widgets by creating a base UIElement, add more anchor types, make anchor calculations an extension of Anchor.
dnesov2025-06-22 23:28:30 +02:00
95ae2de7ac
Apply an anchor offset for Anchor.TopRight too.
dnesov2025-06-22 15:56:05 +02:00
84efb2a3d1
Add ContainsPoint helper method to Widget.
dnesov2025-06-20 20:21:45 +02:00
5b29ea012e
Add documentation to containers.
dnesov2025-06-20 20:16:36 +02:00
f0c721bb0f
Add ConfineToChildren to Container, containers will use MinimumRect as a size if a given size is smaller than minimum, update documentation for Container.
dnesov2025-06-20 20:08:17 +02:00
6affded730
Update arrangement logic for containers, remove position property from Rect, add Size property to IElement.
dnesov2025-06-19 15:08:23 +02:00
df2c446501
BaseGame with fixed timestep.
dnesov2024-10-17 02:12:52 +02:00
775b973eb2
Finalize ParticleSystem, add angular velocity, multiple emitters, GetBool for IDataReader, use Lerp in LerpColor.
dnesov2024-10-17 00:50:49 +02:00
7c7c61fd56
Use bytes for internal RGBA components of Color, iterate particles sequentially in ParticleEmitters, increase limit for CPU particles, reduce size of Particle struct.
dnesov2024-10-16 00:28:39 +02:00