mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-13 03:47:40 +02:00
8e85fe2995
Mostly text updates, with a few adjustments to dialog box layouts or controls. Presets for Threshold, for example, where changed from buttons to a combobox selections. Allowed the line splits added by Designer to remain, but did fix any mid-word breaks.
30 lines
1.1 KiB
C#
30 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;
|
|
|
|
namespace UVtools.Core.Operations
|
|
{
|
|
public class OperationRotate : Operation
|
|
{
|
|
public override string Title => "Rotate";
|
|
public override string Description =>
|
|
"Rotate the layers of the model.\n";
|
|
|
|
public override string ConfirmationText =>
|
|
$"rotate layers {LayerIndexStart} through {LayerIndexEnd} {(AngleDegrees < 0?"counter-clockwise":"clockwise")} by {Math.Abs(AngleDegrees)}°?";
|
|
|
|
public override string ProgressTitle =>
|
|
$"Rotating layers {LayerIndexStart} through {LayerIndexEnd} {(AngleDegrees < 0 ? "counter-clockwise" : "clockwise")} by {Math.Abs(AngleDegrees)}°";
|
|
|
|
public override string ProgressAction => "Rotated layers";
|
|
|
|
public decimal AngleDegrees { get; set; }
|
|
}
|
|
}
|