Releases: rds1983/Myra
1.4.5
New Features:
Improvements and new samples for the Myra.PlatformAgnostic.
See wiki entry for the details: https://github.com/rds1983/Myra/wiki/Using-platform-agnostic-version-of-Myra
Myrapad Changes
Now Myrapad stores its configuration file(Myrapad.config) in the same folder as the Myrapad.exe. Before it was stored in the users' Documents folder.
Closed Issues & Merged Pull Requests:
- Dialog crashes if its Close is called in handler subscribed on Button PressedChanged event
- Myra.Stride NuGet package not compatible with Stride 4.1
- Feature Request: Add ability for Myra.PlatformAgnostic to be rendered through quads of vertexes
- Borders are calculated wrong
- Fixed grid spacing
- Implemented fixed tab item height
1.4.4
1.4.3
New Features:
Support of the new FontStashSharp rich text syntax: https://github.com/rds1983/Myra/wiki/Rich-Text
Closed Issues:
Move to the latest FontStashSharp with Rich Text support
TextBox Bug: when going down through Down key, the caret moves by additional symbol
PropertyGrid: Add special attribute that would open file dialog for string properties
MyraPad rich text support
1.4.2
1.4.1
New Feature: ability to rotate widgets.
See new wiki article for more info: https://github.com/rds1983/Myra/wiki/Widget-Transformations
Closed Issues:
1.4.0
Changes:
- Major Layout System Revamp. Previously Myra used global coordinates only. And the property Widget.Bounds was relative to the screen. Now Widget.Bounds is zero-based. Two new methods had been added - Widget.ToGlobal and Widget.ToLocal - to convert between global screen and local widget coordinates.
- New Property Widget.Scale. It allows to set Scale for individual widgets. Also it is possible to set the scale for the whole Desktop(see Desktop.Scale).
Closed Issues:
1.3.2
1.3.1
Bumped FontStashSharp to 1.0.0 and made many small fixes.
1.3.0
New Features:
- MyraEnvironment.SmoothText. Turning this setting to true switches the texture filtering to linear when rendering text. It makes the whole rendering somewhat slower as the texture filtering is switched between nearest and linear often. However the text becomes more smooth. It is quite noticeable if
Desktop
is upscaled (i.e.Desktop.Transform = Matrix.CreateScale(2.0f, 2.0f, 1.0f);
). - New Sample: Myra.Samples.TextRendering. This sample allows to test various scaling and text rendering settings. Also it's first sample that uses two
Desktop
objects at once.
- New Property: Widget.ZIndex.
- Now it's no longer required to click on a ScrollViewer for it to accept mouse wheel focus. Moving mouse over is enough.
- Changed default stylesheet font to Inter-Regular.ttf(https://fonts.google.com/specimen/Inter)
Closed Issues:
#323 - Feature Request: Widget.ZOrder property
#325 - Add PlacedChanged event handler to Widget
#327 - Add overload for drawing arcs & shorten methods
#330 - Feature Request: Desktop.TextureFilter property
#331 - New Sample: Myra.Samples.TextRendering
#332 - Feature Request: '\n' new line text command
#333 - Make default stylesheet font dynamic(aka loaded from ttf)
#334 - Bump FontStashSharp to 0.9.5
#335 - ScrollViewer should receive mouse wheel focus just by aiming mouse. The click shouldn't be necessary.
1.2.4
New Features:
-
New parameter in Project.LoadFromXml that allows to pass an object which will be used to subscribe for ui events. See #295 for more details.
Closed Issues:
- #307 - Bug?: TabItem.SelectedChanged only fires on deselect
- #313 - Bug: Removing TabItems from a TabCollection throws NullReferenceException
- #318 - Weird behavior of the scrollbar in the left panel of GUI in Myra AllSamples demo in a Myra.PlatformAgnostic
- #319 - Editing stylesheet in MyraPad shows an error: Mandatory attribute 'TextureRegionAtlas' doesnt exist
- #320 - MyraPad doesn't show suggestion to add MenuItem within MenuItem
- #321 - Bug: Changing Slider value from external source does not set position of knob correctly
- #322 - There is no way to tell Myra.PlatformAgnostic that the game is disposed leading to crashes and graphical glitches.
Merged PRs: