Files
UVtools/UVtools.GUI/Mutation.cs
T
Tiago Conceição 292db4090f v0.6.5.0
* (Add) Mutators: Custom kernels, auto kernels and anchor where applicable
* (Add) Mutator - Blur: Box Blur
* (Add) Mutator - Blur: Filter2D
* (Improvement) Mutator: Group all blurs into one window
* (Fix) Mutators: Sample images was gone
* (Fix) Mutator - Solidify: Remove the disabled input box
* (Fix) Mutator - Pixel Dimming: Disable word wrap on pattern text box
2020-08-08 03:10:16 +01:00

40 lines
1.1 KiB
C#

/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
using System.Drawing;
using UVtools.Core;
namespace UVtools.GUI
{
public class Mutation
{
#region Properties
public LayerManager.Mutate Mutate { get; }
public string MenuName { get; }
public string Description { get; }
public Image Image { get; }
public Image MenuImage { get; }
#endregion
#region Constructor
public Mutation(LayerManager.Mutate mutate, string menuName, Image menuImage, string description, Image image = null)
{
Mutate = mutate;
MenuName = menuName ?? mutate.ToString();
Description = description;
MenuImage = menuImage ?? Properties.Resources.filter_filled_16x16;
Image = image;
}
#endregion
}
}