Myra - UI Library for the MonoGame

Revamed Grid wiki entry: https://github.com/rds1983/Myra/wiki/Grid
Now it should be much more helpful.

Myra 0.8.2 is out!
Two major features had been added:

  • New Widget: TabControl

  • Support for Xenko Engine

New binary distribution link: https://github.com/rds1983/Myra/releases/download/0.8.2.161/Myra.0.8.2.161.zip

Myra Project Site: https://github.com/rds1983/Myra

2 Likes

Hi Roman…

Sorry for not replying earlier but I have been with other projects in the past few weeks. As to the Assets issue I had asked about…

If I simply comment out the using clause at the top of my “MainGame.cs” class (Game1.cs), the application compiles and runs without any issues. However, if I upgrade to the latest Myra version, the application coughs up a compile issue say that it is missing the Assets library.

I found the exact issue I have been having with the Assets library… Here is the code that is causing the problem…

coBitmapFont = Myra.DefaultAssets.Font;

My Myra General Info Display relies on this font… What is the replacement then???

Hi Steve,
Older Myra DefaultAssets’ Font had MonoGame.Extended.BitmapFont type. Today Myra.DefaultAssets.Font type is ordinary Microsoft.Xna.Framework.Graphics.SpriteFont: https://github.com/rds1983/Myra/blob/bef71568ed6cd394ce5e78b976724ab715cff7ac/src/Myra/DefaultAssets.cs#L72

So probably you need to change type of coBitmapFont to SpriteFont.

I got the font working and my version of Myra upgraded to the latest version you just released… :relaxed:

Probably wasn’t really concentrating earlier when I was having trouble… :disappointed_relieved:

1 Like

Myra 0.8.3 is out.
I’ve finally removed Newtonsoft.Json dependency. So new Myra doesnt have any external dependencies.

3 Likes

Myra 0.8.5 is out.
StbTextEditSharp and TextCopy libraries had been integrated in the Myra.
Which resulted in the many new features for the TextField widget(clipboard operations, undo/redo, cursor movements, etc.).

Myra: https://github.com/rds1983/Myra
StbTextEditSharp: https://github.com/rds1983/StbTextEditSharp
TextCopy: https://github.com/SimonCropp/TextCopy

Link to the new binary distribution(it contains Notepad sample, which is demonstrated on the animated gif): https://github.com/rds1983/Myra/releases/download/0.8.5.163/Myra.0.8.5.163.zip

1 Like

Myra 0.8.6 is out.
New UI design tool called MyraPad had been added to the project(click on the below animated gif to see it in action):

New binary distribution: https://github.com/rds1983/Myra/releases/download/0.8.6.166/Myra.0.8.6.166.zip

Myra project site: https://github.com/rds1983/Myra

3 Likes

Love it, but ts there a forum or community for discussing Myra? I cannot figure out how to re-scale the bounds of my Combobox.

Open Myra project site
Open “Issues”
Ask a question.
The developer will well answer :))

Another way is to join official MG discord: https://discord.gg/ct7GQgW
I hang there most of the time.

1 Like

btw, following wiki entry lists layout properties of a widget: https://github.com/rds1983/Myra/wiki/Widget

Myra 0.8.7 is out.
MyraPad had gained a new feature - tag auto-completion:

Link to the new binary distribution(which contains MyraPad): https://github.com/rds1983/Myra/releases/download/0.8.7.167/Myra.0.8.7.167.zip

Myra Project Site: https://github.com/rds1983/Myra

1 Like

Myra 0.8.8 is out.
No new features, just bug fixes.

1 Like

Myra(UI Library for MonoGame, FNA and Xenko) 0.9 is out.
That is another stabilization release without new features, but with many bug fixes.
Also MyraPad had become primary UI design tool: https://youtu.be/NZUCq2RMgZU

Important. Button had been renamed to ImageTextButton.

1 Like

Myra 0.9.1 is out.
The only new feature is the ellipsis in the TextBlock widget.
Also Myra has two major API changes:

  1. Now texture atlases and stylesheets use xml instead of json. Binary release contains two new utilities to convert old format to new.
  2. Rectangle Desktop.Bounds property had been replaced with Func<Rectangle> Desktop.BoundsFetcher, which is initially set to Func returning the entire screen(Destkop.DefaultBoundsFetcher).
    So code like:
  _desktop.Bounds = new Rectangle(0, 0, GraphicsDevice.PresentationParameters.BackBufferWidth,	
    GraphicsDevice.PresentationParameters.BackBufferHeight);

should be removed from the apps using Myra.

Myra 0.9.2 is out!
Mobile support had been added finally:

There’s yet another API change: MouseUp/MouseDown/MouseDoubleClick events had been replaced with TouchUp/TouchDown/TouchDoubleClick. Latter handle mouse clicks as well as screen touches.

1 Like

Myra 0.9.3 is out: https://github.com/rds1983/Myra/releases/tag/0.9.3.177

1 Like

Myra 0.9.4 is out: https://github.com/rds1983/Myra/releases/tag/0.9.4.180

1 Like

Myra discord server had been made: https://discord.gg/ZeHxhCY

1 Like