diff options
| author | Jacob Palecki <[email protected]> | 2020-09-22 14:41:56 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-22 14:41:56 -0700 |
| commit | c87bd1f04059f40f3dadd4e0b5bfcd860db67770 (patch) | |
| tree | 20ffaf04ae3a17d1eeb0da3d87c933b792e70ff8 | |
| parent | Rename active to current, make dropdown display accel type on active value set (diff) | |
| download | rawaccel-c87bd1f04059f40f3dadd4e0b5bfcd860db67770.tar.xz rawaccel-c87bd1f04059f40f3dadd4e0b5bfcd860db67770.zip | |
Rename write button
| -rw-r--r-- | grapher/Constants/Constants.cs | 4 | ||||
| -rw-r--r-- | grapher/Form1.Designer.cs | 14 | ||||
| -rw-r--r-- | grapher/Models/Options/AccelTypeOptions.cs | 2 |
3 files changed, 9 insertions, 11 deletions
diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index a51b09c..2ce6763 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -60,7 +60,7 @@ namespace grapher /// <summary> Left placement of charts when narrowed </summary> public const int NarrowChartLeft = 482; - public const int WriteButtonVerticalOffset = 50; + public const int WriteButtonVerticalOffset = 80; /// <summary> Format string for shortened x and y textboxes. </summary> public const string ShortenedFormatString = "0.###"; @@ -84,7 +84,7 @@ namespace grapher public const string AccelDropDownDefaultShortText = "Accel Type"; /// <summary> Default text to be displayed on write button. </summary> - public const string WriteButtonDefaultText = "Write To Driver"; + public const string WriteButtonDefaultText = "Apply"; /// <summary> Default text to be displayed on write button. </summary> public const string WriteButtonDelayText = "Delay"; diff --git a/grapher/Form1.Designer.cs b/grapher/Form1.Designer.cs index 5d2a645..e108720 100644 --- a/grapher/Form1.Designer.cs +++ b/grapher/Form1.Designer.cs @@ -357,11 +357,11 @@ namespace grapher // // writeButton // - this.writeButton.Location = new System.Drawing.Point(153, 293); + this.writeButton.Location = new System.Drawing.Point(154, 270); this.writeButton.Name = "writeButton"; - this.writeButton.Size = new System.Drawing.Size(102, 23); + this.writeButton.Size = new System.Drawing.Size(76, 23); this.writeButton.TabIndex = 21; - this.writeButton.Text = "Write To Driver"; + this.writeButton.Text = "Apply"; this.writeButton.UseVisualStyleBackColor = true; // // sensitivityBoxY @@ -497,8 +497,8 @@ namespace grapher // this.graphsToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.graphsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.showVelocityGainToolStripMenuItem, this.scaleByDPIToolStripMenuItem, + this.showVelocityGainToolStripMenuItem, this.showLastMouseMoveToolStripMenuItem}); this.graphsToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.graphsToolStripMenuItem.Name = "graphsToolStripMenuItem"; @@ -526,7 +526,7 @@ namespace grapher this.dPIToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.DPITextBox}); this.dPIToolStripMenuItem.Name = "dPIToolStripMenuItem"; - this.dPIToolStripMenuItem.Size = new System.Drawing.Size(169, 22); + this.dPIToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.dPIToolStripMenuItem.Text = "DPI"; // // DPITextBox @@ -540,7 +540,7 @@ namespace grapher this.pollRateToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.PollRateTextBox}); this.pollRateToolStripMenuItem.Name = "pollRateToolStripMenuItem"; - this.pollRateToolStripMenuItem.Size = new System.Drawing.Size(169, 22); + this.pollRateToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.pollRateToolStripMenuItem.Text = "Poll Rate"; // // PollRateTextBox @@ -552,7 +552,7 @@ namespace grapher // ScaleMenuItem // this.ScaleMenuItem.Name = "ScaleMenuItem"; - this.ScaleMenuItem.Size = new System.Drawing.Size(169, 22); + this.ScaleMenuItem.Size = new System.Drawing.Size(180, 22); this.ScaleMenuItem.Text = "Re-scale by above"; // // showLastMouseMoveToolStripMenuItem diff --git a/grapher/Models/Options/AccelTypeOptions.cs b/grapher/Models/Options/AccelTypeOptions.cs index ef0964b..16029ce 100644 --- a/grapher/Models/Options/AccelTypeOptions.cs +++ b/grapher/Models/Options/AccelTypeOptions.cs @@ -191,8 +191,6 @@ namespace grapher Acceleration.SetActiveValue(args.accel); LimitOrExponent.SetActiveValue(args.exponent); Midpoint.SetActiveValue(args.midpoint); - - //Layout(); } public void ShowFull() |