forked from Mirror/Ryujinx
32 lines
No EOL
709 B
C#
32 lines
No EOL
709 B
C#
using Avalonia.Media;
|
|
using Ryujinx.Ava.UI.ViewModels;
|
|
|
|
namespace Ryujinx.Ava.UI.Models
|
|
{
|
|
public class ProfileImageModel : BaseModel
|
|
{
|
|
public ProfileImageModel(string name, byte[] data)
|
|
{
|
|
Name = name;
|
|
Data = data;
|
|
}
|
|
|
|
public string Name { get; set; }
|
|
public byte[] Data { get; set; }
|
|
|
|
private SolidColorBrush _backgroundColor = new(Colors.White);
|
|
|
|
public SolidColorBrush BackgroundColor
|
|
{
|
|
get
|
|
{
|
|
return _backgroundColor;
|
|
}
|
|
set
|
|
{
|
|
_backgroundColor = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
}
|
|
} |