summaryrefslogtreecommitdiff
path: root/grapher/Form1.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-08-13 01:52:49 -0700
committerJacob Palecki <[email protected]>2020-08-13 01:52:49 -0700
commit93a22c08b3223b040c3a3644fc3c4ef82fc576f0 (patch)
tree336d99789e3dac52466c00fb5e07fc82a73c3bc8 /grapher/Form1.cs
parentAlmost working (diff)
downloadrawaccel-93a22c08b3223b040c3a3644fc3c4ef82fc576f0.tar.xz
rawaccel-93a22c08b3223b040c3a3644fc3c4ef82fc576f0.zip
Dot to show mouse move
Diffstat (limited to 'grapher/Form1.cs')
-rw-r--r--grapher/Form1.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/grapher/Form1.cs b/grapher/Form1.cs
index a90cfbc..3df1b67 100644
--- a/grapher/Form1.cs
+++ b/grapher/Form1.cs
@@ -144,7 +144,8 @@ namespace grapher
acceleration,
limitOrExponent,
midpoint,
- writeButton);
+ writeButton,
+ MouseLabel);
}
#endregion Constructor
@@ -157,6 +158,16 @@ namespace grapher
#region Methods
+ protected override void WndProc(ref Message m)
+ {
+ if (m.Msg == 0x00ff)
+ {
+ AccelGUI.MouseWatcher.ReadMouseMove(m);
+ }
+
+ base.WndProc(ref m);
+ }
+
private void Form1_Load(object sender, EventArgs e)
{