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

@@ -0,0 +1,16 @@
using System.Collections.ObjectModel;
using Aaru.CommonTypes;
using Avalonia.Media.Imaging;
namespace Aaru.Gui.Models
{
public class PartitionModel
{
public PartitionModel() => FileSystems = new ObservableCollection<FileSystemModel>();
public string Name { get; set; }
public Bitmap Icon { get; set; }
public ObservableCollection<FileSystemModel> FileSystems { get; }
public Partition Partition { get; set; }
}
}