Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.GUI/Mutation.cs')
-rw-r--r--UVtools.GUI/Mutation.cs26
1 files changed, 3 insertions, 23 deletions
diff --git a/UVtools.GUI/Mutation.cs b/UVtools.GUI/Mutation.cs
index 0ae56d7..e9ba085 100644
--- a/UVtools.GUI/Mutation.cs
+++ b/UVtools.GUI/Mutation.cs
@@ -6,35 +6,15 @@
* of this license document, but changing it is not allowed.
*/
using System.Drawing;
+using UVtools.Core;
namespace UVtools.GUI
{
public class Mutation
{
- #region Enum
- public enum Mutates : byte
- {
- Resize,
- Solidify,
- //LayerSmash,
- Erode,
- Dilate,
- Opening,
- Closing,
- Gradient,
- TopHat,
- BlackHat,
- HitMiss,
- PyrDownUp,
- SmoothMedian,
- SmoothGaussian,
-
- }
- #endregion
-
#region Properties
- public Mutates Mutate { get; }
+ public LayerManager.Mutate Mutate { get; }
public string Description { get; }
@@ -43,7 +23,7 @@ namespace UVtools.GUI
#region Constructor
- public Mutation(Mutates mutate, string description, Image image = null)
+ public Mutation(LayerManager.Mutate mutate, string description, Image image = null)
{
Mutate = mutate;
Description = description;