mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
using Stylet;
|
|
|
|
namespace Artemis.Core.LayerBrushes
|
|
{
|
|
/// <summary>
|
|
/// Represents a view model for a brush configuration window
|
|
/// </summary>
|
|
public abstract class BrushConfigurationViewModel : Screen
|
|
{
|
|
/// <summary>
|
|
/// Creates a new instance of the <see cref="BrushConfigurationViewModel" /> class
|
|
/// </summary>
|
|
/// <param name="layerBrush"></param>
|
|
protected BrushConfigurationViewModel(BaseLayerBrush layerBrush)
|
|
{
|
|
LayerBrush = layerBrush;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Creates a new instance of the <see cref="BrushConfigurationViewModel" /> class with a validator
|
|
/// </summary>
|
|
/// <param name="layerBrush"></param>
|
|
/// <param name="validator"></param>
|
|
protected BrushConfigurationViewModel(BaseLayerBrush layerBrush, IModelValidator validator) : base(validator)
|
|
{
|
|
LayerBrush = layerBrush;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the layer brush this view model is associated with
|
|
/// </summary>
|
|
public BaseLayerBrush LayerBrush { get; }
|
|
}
|
|
} |