summaryrefslogtreecommitdiff
path: root/grapher/Models/Options/LUT
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-06-09 16:11:18 -0700
committerJacob Palecki <[email protected]>2021-06-09 16:11:18 -0700
commitff478cda3d57457ddc205067779c335e39e9cf59 (patch)
tree26b55d130a02306e3533e8cf8a5e2e9e738a15d3 /grapher/Models/Options/LUT
parentStart of LUT points editing (diff)
downloadrawaccel-ff478cda3d57457ddc205067779c335e39e9cf59.tar.xz
rawaccel-ff478cda3d57457ddc205067779c335e39e9cf59.zip
added point option
Diffstat (limited to 'grapher/Models/Options/LUT')
-rw-r--r--grapher/Models/Options/LUT/LUTPointOption.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/grapher/Models/Options/LUT/LUTPointOption.cs b/grapher/Models/Options/LUT/LUTPointOption.cs
new file mode 100644
index 0000000..6afee4f
--- /dev/null
+++ b/grapher/Models/Options/LUT/LUTPointOption.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace grapher.Models.Options.LUT
+{
+ public class LUTPointOption
+ {
+ public LUTPointOption(Form form)
+ {
+ FieldX = new Field(new System.Windows.Forms.TextBox(), form, 0);
+ FieldY = new Field(new System.Windows.Forms.TextBox(), form, 0);
+ }
+
+ public double X { get => FieldX.Data; }
+
+ public double Y { get => FieldY.Data; }
+
+ public int Top
+ {
+ get
+ {
+ return FieldX.Top;
+ }
+ set
+ {
+ FieldX.Top = value;
+ FieldY.Top = value;
+ }
+ }
+
+ private Field FieldX { get; }
+
+ private Field FieldY { get; }
+ }
+}