using System;
using Artemis.Core.LayerBrushes;
namespace Artemis.UI.Shared.LayerBrushes;
///
public class LayerBrushConfigurationDialog : LayerBrushConfigurationDialog where T : BrushConfigurationViewModel
{
///
public LayerBrushConfigurationDialog()
{
}
///
public LayerBrushConfigurationDialog(int dialogWidth, int dialogHeight)
{
DialogWidth = dialogWidth;
DialogHeight = dialogHeight;
}
///
public override Type Type => typeof(T);
}
///
/// Describes a UI tab for a layer brush
///
public abstract class LayerBrushConfigurationDialog : ILayerBrushConfigurationDialog
{
///
/// The default width of the dialog
///
public int DialogWidth { get; set; } = 800;
///
/// The default height of the dialog
///
public int DialogHeight { get; set; } = 800;
///
/// The type of view model the dialog contains
///
public abstract Type Type { get; }
}