mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-11 19:12:31 +02:00
8ce59f6612
* (Add) PrusaSlicer Printer "EPAX X10 4K Mono" * (Improvement) Better progress window with real progress and cancel button * (Improvement) Mutators text and name * (Fix) sl1: After save file gets decoded again * (Fix) photon, cbddlp, ctb, phz, pws, pw0: Unable to save file, not closed from the decode session * (Fix) zcodex: Unable to convert file * (Fix) images: Wasn't opening * (Fix) images: Wasn't saving * (Fix) When click on button "New version is available" sometimes it crash the program * (Fix) Force 1 layer scroll when using Mouse Wheel to scroll the tracker bar * (Fix) PrusaSlicer printers: Mirror vertically instead to produce equal orientation compared with chitubox
38 lines
974 B
C#
38 lines
974 B
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; }
|
|
#endregion
|
|
|
|
#region Constructor
|
|
|
|
public Mutation(LayerManager.Mutate mutate, string menuName, string description, Image image = null)
|
|
{
|
|
Mutate = mutate;
|
|
MenuName = menuName ?? mutate.ToString();
|
|
Description = description;
|
|
Image = image;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|