summaryrefslogtreecommitdiff
path: root/grapher/Models/Options/LUT/LUTPointOption.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-22 20:49:04 -0400
committerGitHub <[email protected]>2021-09-22 20:49:04 -0400
commit8a4b6f57758338d5537d4671184099a4728a8cdd (patch)
treedf36529a344d5d21ff11f5ba021ec80afb4b68a4 /grapher/Models/Options/LUT/LUTPointOption.cs
parentMerge pull request #87 from matthewstrasiotto/streamer_mode (diff)
parentimprove converter + docs (diff)
downloadrawaccel-8a4b6f57758338d5537d4671184099a4728a8cdd.tar.xz
rawaccel-8a4b6f57758338d5537d4671184099a4728a8cdd.zip
Merge pull request #105 from a1xd/1.5.x
v1.5
Diffstat (limited to 'grapher/Models/Options/LUT/LUTPointOption.cs')
-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; }
+ }
+}