Move opening image code from Eto to Avalonia.

This commit is contained in:
2020-04-11 21:04:20 +01:00
parent 95f30ce5a5
commit 4696645a01
8 changed files with 602 additions and 253 deletions

View File

@@ -1,4 +1,17 @@
using System.Collections.ObjectModel;
using Aaru.CommonTypes.Interfaces;
using Avalonia.Media.Imaging;
namespace Aaru.Gui.Models
{
public class ImageModel {}
public class ImageModel
{
public ImageModel() => PartitionSchemesOrFileSystems = new ObservableCollection<RootModel>();
public string Path { get; set; }
public string FileName { get; set; }
public Bitmap Icon { get; set; }
public ObservableCollection<RootModel> PartitionSchemesOrFileSystems { get; }
public IMediaImage Image { get; set; }
}
}