Releases: rds1983/Myra
Releases · rds1983/Myra
0.9.7.185
New Features:
- Multi-colored text:
- Non-modal windows:
Corresponding sample had been added: https://github.com/rds1983/Myra/tree/master/samples/Myra.Samples.NonModalWindows
API Changes:
- Desktop class had became static. See Quick Start Turorial and samples to see how to work with the static Desktop.
Closed Issues:
- #145: Add event Window.Closing
- #146: Separate Desktop.Render into UpdateInput, UpdateLayout and RenderVisual
- #147: Make Desktop static class
- #137: Add method Window.Show
- #138: Word selection with double click
- #143: Refactoring: Try to use ListBox as drop-down for ComboBox
- #144: Feature Request: Add Widget.MinWidth/MaxWidth, MinHeight/MaxHeight properties
- #142: Make SpinButton lose mouse wheel focus on click/touch outside of bounds
- #136: Return colored text to text drawing widgets
0.9.6.184
New Features:
API Changes:
- UI Stylesheet XML had been changed slightly for HorizontalMenu and VerticalMenu widgets. See default ui skin as example.
Closed Issues:
- #70: Feature Request: Show keyboard shortcuts in Menu widget
- #74: MyraPad: Add Undo(Ctrl+Z)/Redo(Ctrl+R) to the Edit menu
- #75: MyraPad: add key shortcuts
- #124: Make it so if widget that accepts mouse wheel focus isn't set(_desktop.FocusedMouseWheelWidget == null), then first such widget(AcceptsMouseWheelFocus == true) is set automatically
0.9.5.183
API changes:
-
Following widgets had been renamed to make Myra naming closer to WPF:
TextBlock -> Label
TextField -> TextBox
HorizontalBox -> HorizontalStackPanel
VerticalBox -> VerticalStackPanel
ScrollPane -> ScrollViewerMML still supports old naming, however C# code should be updated manually.
To update MML to the new naming, open it in MyraPad and do "Edit/Format Source".
Closed issues:
0.9.4.180
New features:
- Default proportion properties for both Grid and Box.
See following for more details:
https://github.com/rds1983/Myra/wiki/Grid-Layout#default-proportions
https://github.com/rds1983/Myra/wiki/Box-Layout#default-proportions
API changes:
- MML is closer to XAML now - complex properties are prefixed with the class name.
I.e. if MML code before 0.9.4 looked like this:After 0.9.4 it looks like this:<Grid ColumnSpacing="8" RowSpacing="8"> <RowsProportions> <Proportion Type="Auto" /> <Proportion Type="Auto" /> <Proportion Type="Auto" /> </RowsProportions> </Grid>
Old MML code is still supported.<Grid ColumnSpacing="8" RowSpacing="8"> <Grid.RowsProportions> <Proportion Type="Auto" /> <Proportion Type="Auto" /> <Proportion Type="Auto" /> </Grid.RowsProportions> </Grid>
However if you want to convert it to the new one, then open it in MyraPad and do "Edit/Format Source".
Closed issues:
- #111: Make default value of both Box alignments = Stretch
- #112: Export to C#: Prevent exporting GridRow/GridColumn for children of Box and SplitPane containers.
- #114: Clipboard crashes on Linux
- #115: MyraPad: Change how Edit/Format Source works
- #116: Add MML support for Grid properties DefaultHorizontalProportion and DefaultVerticalProportion
- #119: MyraPad throws a null reference exception if you press shift + backspace in widget text property
- #121: Refactoring: Replace ResourceAssetResolver class with static class Res
- #122: MyraPad crashes when RowSpan is set
- #123: Feature Request: when a key is being hold, it should periodically generate KeyDown events
- #125: MML: Prefix complex properties with class name, like in XAML
- #126: Use Environment.ExpandEnvironment on ExportOptions.ExportPath
0.9.3.177
New features:
- Added new container Box: https://github.com/rds1983/Myra/wiki/Box-Layout
- Toggleable Menu Items
API changes:
- Proportion/ProportionType are no longer nested class/enum of Grid. So code like 'Grid.Proportion'/'Grid.ProportionType' should be replaced with just 'Proportion'/'ProportionType'.
Closed issues:
- #103: C# Generation: Parent class must be specified in .Generated.cs, not in .cs
- #104: Feature Request: Add Toggleable Menu Items
- #106: MyraPad: Select first item in the auto-fill drop-down
- #107: Myra breaks in Linux with exception "Entry point not found" in the Desktop.UpdateTouch
- #108: It is possible to click buttons in the background, when modal window is shown
- #109: Add HorizontalBox and VerticalBox containers
- #110: FileDialog: When ChooseFolder mode is used, just selecting folder must choose it(it shouldnt be required to enter it)
0.9.2.175
0.9.1.173
New features:
- #94: Add ellipsis feature to TextBlock
API changes:
- Texture atlases and stylesheets use xml instead of json. Binary release contains two new utilities to convert old format to new.
Rectangle Desktop.Bounds
property had been replaced withFunc<Rectangle> Desktop.BoundsFetcher
, which is initially set to Func returning the entire screen(Desktop.DefaultBoundsFetcher
).
So code like following should be removed from the apps using Myra:
_desktop.Bounds = new Rectangle(0, 0, GraphicsDevice.PresentationParameters.BackBufferWidth,
GraphicsDevice.PresentationParameters.BackBufferHeight);