mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move opening image code from Eto to Avalonia.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user