Skip to content

Releases: rds1983/Myra

1.4.5

28 Oct 12:55
Compare
Choose a tag to compare

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:

1.4.4

1.4.3

1.4.2

04 Jul 19:12
Compare
Choose a tag to compare
  • Dropped target "net45"
  • Fixed #357

1.4.1

09 Jun 13:46
Compare
Choose a tag to compare

1.4.0

05 May 22:51
Compare
Choose a tag to compare

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:

  • #328 - Feature Request: Widget.Scale property
  • #336 - Refactoring: Make Widget.Bounds relative to container rather than absolute
  • #352 - Issue with the cursor when using a FontEffect.

1.3.2

14 Aug 06:43
Compare
Choose a tag to compare

Closed Issues:
#342 - Bump FontStashSharp to 1.0.3
#343 - Expose ScrollViewers for ListBoxes and ComboBoxes

1.3.1

08 Aug 10:45
Compare
Choose a tag to compare

Bumped FontStashSharp to 1.0.0 and made many small fixes.

1.3.0

17 Jul 00:25
Compare
Choose a tag to compare

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.
    image
  • 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

07 Jun 04:55
Compare
Choose a tag to compare

New Features:

  • Choose positions of tabs in the TabControl widget:
    l7bp11DWnu

  • 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:

  • #295 - Extending xmmp features to ensure hardcoding is (less) necessary
  • #312 - Add TabSelectorPosition to TabControl
  • #316 - Handle UTF16 surrogate pairs in text boxes