Changed some step values to better match with the values being edited.

This commit is contained in:
MaxED 2016-12-30 13:43:45 +03:00
parent 9c1ea6fdea
commit 6bb37efbb9
3 changed files with 62 additions and 23 deletions

View file

@ -124,6 +124,7 @@ namespace CodeImp.DoomBuilder.Windows
this.fieldslist = new CodeImp.DoomBuilder.Controls.FieldsEditorControl();
this.imagelist = new System.Windows.Forms.ImageList(this.components);
this.tooltip = new System.Windows.Forms.ToolTip(this.components);
this.resetalpha = new System.Windows.Forms.Button();
label2 = new System.Windows.Forms.Label();
label11 = new System.Windows.Forms.Label();
label12 = new System.Windows.Forms.Label();
@ -182,7 +183,7 @@ namespace CodeImp.DoomBuilder.Windows
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(199, 21);
label6.Location = new System.Drawing.Point(189, 21);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(37, 13);
label6.TabIndex = 17;
@ -374,6 +375,7 @@ namespace CodeImp.DoomBuilder.Windows
//
this.groupsettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupsettings.Controls.Add(this.resetalpha);
this.groupsettings.Controls.Add(this.lockpick);
this.groupsettings.Controls.Add(this.alpha);
this.groupsettings.Controls.Add(label6);
@ -398,6 +400,7 @@ namespace CodeImp.DoomBuilder.Windows
// alpha
//
this.alpha.AllowDecimal = true;
this.alpha.AllowExpressions = false;
this.alpha.AllowNegative = false;
this.alpha.AllowRelative = false;
this.alpha.ButtonStep = 1;
@ -406,7 +409,7 @@ namespace CodeImp.DoomBuilder.Windows
this.alpha.ButtonStepSmall = 0.01F;
this.alpha.ButtonStepsUseModifierKeys = true;
this.alpha.ButtonStepsWrapAround = false;
this.alpha.Location = new System.Drawing.Point(243, 16);
this.alpha.Location = new System.Drawing.Point(233, 16);
this.alpha.Name = "alpha";
this.alpha.Size = new System.Drawing.Size(65, 24);
this.alpha.StepValues = null;
@ -793,6 +796,7 @@ namespace CodeImp.DoomBuilder.Windows
// frontsector
//
this.frontsector.AllowDecimal = false;
this.frontsector.AllowExpressions = false;
this.frontsector.AllowNegative = false;
this.frontsector.AllowRelative = false;
this.frontsector.ButtonStep = 1;
@ -820,6 +824,7 @@ namespace CodeImp.DoomBuilder.Windows
// lightFront
//
this.lightFront.AllowDecimal = false;
this.lightFront.AllowExpressions = false;
this.lightFront.AllowNegative = true;
this.lightFront.AllowRelative = true;
this.lightFront.ButtonStep = 16;
@ -955,6 +960,7 @@ namespace CodeImp.DoomBuilder.Windows
// backsector
//
this.backsector.AllowDecimal = false;
this.backsector.AllowExpressions = false;
this.backsector.AllowNegative = false;
this.backsector.AllowRelative = false;
this.backsector.ButtonStep = 1;
@ -982,6 +988,7 @@ namespace CodeImp.DoomBuilder.Windows
// lightBack
//
this.lightBack.AllowDecimal = false;
this.lightBack.AllowExpressions = false;
this.lightBack.AllowNegative = true;
this.lightBack.AllowRelative = true;
this.lightBack.ButtonStep = 1;
@ -1367,6 +1374,17 @@ namespace CodeImp.DoomBuilder.Windows
this.imagelist.Images.SetKeyName(0, "Check.png");
this.imagelist.Images.SetKeyName(1, "SearchClear.png");
//
// resetalpha
//
this.resetalpha.Image = global::CodeImp.DoomBuilder.Properties.Resources.Reset;
this.resetalpha.Location = new System.Drawing.Point(301, 16);
this.resetalpha.Name = "resetalpha";
this.resetalpha.Size = new System.Drawing.Size(23, 23);
this.resetalpha.TabIndex = 70;
this.tooltip.SetToolTip(this.resetalpha, "Reset");
this.resetalpha.UseVisualStyleBackColor = true;
this.resetalpha.Click += new System.EventHandler(this.resetalpha_Click);
//
// LinedefEditFormUDMF
//
this.AcceptButton = this.apply;
@ -1512,5 +1530,6 @@ namespace CodeImp.DoomBuilder.Windows
private CodeImp.DoomBuilder.Controls.TagsSelector tagsselector;
private System.Windows.Forms.Button resetfrontlight;
private System.Windows.Forms.Button resetbacklight;
private System.Windows.Forms.Button resetalpha;
}
}

View file

@ -236,14 +236,14 @@
//
// fogdensity
//
this.fogdensity.AllowDecimal = true;
this.fogdensity.AllowDecimal = false;
this.fogdensity.AllowExpressions = false;
this.fogdensity.AllowNegative = false;
this.fogdensity.AllowRelative = false;
this.fogdensity.ButtonStep = 1;
this.fogdensity.ButtonStepBig = 0.25F;
this.fogdensity.ButtonStepFloat = 0.1F;
this.fogdensity.ButtonStepSmall = 0.01F;
this.fogdensity.ButtonStep = 8;
this.fogdensity.ButtonStepBig = 16F;
this.fogdensity.ButtonStepFloat = 1F;
this.fogdensity.ButtonStepSmall = 1F;
this.fogdensity.ButtonStepsUseModifierKeys = true;
this.fogdensity.ButtonStepsWrapAround = false;
this.fogdensity.Location = new System.Drawing.Point(89, 132);
@ -845,10 +845,10 @@
this.floorglowheight.AllowExpressions = false;
this.floorglowheight.AllowNegative = false;
this.floorglowheight.AllowRelative = false;
this.floorglowheight.ButtonStep = 1;
this.floorglowheight.ButtonStepBig = 0.25F;
this.floorglowheight.ButtonStepFloat = 0.1F;
this.floorglowheight.ButtonStepSmall = 0.01F;
this.floorglowheight.ButtonStep = 8;
this.floorglowheight.ButtonStepBig = 16F;
this.floorglowheight.ButtonStepFloat = 1F;
this.floorglowheight.ButtonStepSmall = 1F;
this.floorglowheight.ButtonStepsUseModifierKeys = true;
this.floorglowheight.ButtonStepsWrapAround = false;
this.floorglowheight.Location = new System.Drawing.Point(113, 254);
@ -988,7 +988,7 @@
//
// floorAngleControl
//
this.floorAngleControl.Angle = -1620;
this.floorAngleControl.Angle = -1710;
this.floorAngleControl.AngleOffset = 90;
this.floorAngleControl.DoomAngleClamping = false;
this.floorAngleControl.Location = new System.Drawing.Point(6, 156);
@ -1211,10 +1211,10 @@
this.ceilingglowheight.AllowExpressions = false;
this.ceilingglowheight.AllowNegative = false;
this.ceilingglowheight.AllowRelative = false;
this.ceilingglowheight.ButtonStep = 1;
this.ceilingglowheight.ButtonStepBig = 0.25F;
this.ceilingglowheight.ButtonStepFloat = 0.1F;
this.ceilingglowheight.ButtonStepSmall = 0.01F;
this.ceilingglowheight.ButtonStep = 8;
this.ceilingglowheight.ButtonStepBig = 16F;
this.ceilingglowheight.ButtonStepFloat = 1F;
this.ceilingglowheight.ButtonStepSmall = 1F;
this.ceilingglowheight.ButtonStepsUseModifierKeys = true;
this.ceilingglowheight.ButtonStepsWrapAround = false;
this.ceilingglowheight.Location = new System.Drawing.Point(113, 254);
@ -1354,7 +1354,7 @@
//
// ceilAngleControl
//
this.ceilAngleControl.Angle = -1620;
this.ceilAngleControl.Angle = -1710;
this.ceilAngleControl.AngleOffset = 90;
this.ceilAngleControl.DoomAngleClamping = false;
this.ceilAngleControl.Location = new System.Drawing.Point(6, 156);

View file

@ -98,6 +98,7 @@
this.hint = new System.Windows.Forms.PictureBox();
this.hintlabel = new System.Windows.Forms.Label();
this.tooltip = new System.Windows.Forms.ToolTip(this.components);
this.resetalpha = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tabs.SuspendLayout();
@ -193,9 +194,9 @@
// roll
//
this.roll.AllowDecimal = false;
this.roll.AllowExpressions = true;
this.roll.AllowNegative = true;
this.roll.AllowRelative = true;
this.roll.AllowExpressions = true;
this.roll.ButtonStep = 5;
this.roll.ButtonStepBig = 15F;
this.roll.ButtonStepFloat = 1F;
@ -221,9 +222,9 @@
// pitch
//
this.pitch.AllowDecimal = false;
this.pitch.AllowExpressions = true;
this.pitch.AllowNegative = true;
this.pitch.AllowRelative = true;
this.pitch.AllowExpressions = true;
this.pitch.ButtonStep = 5;
this.pitch.ButtonStepBig = 15F;
this.pitch.ButtonStepFloat = 1F;
@ -249,9 +250,9 @@
// angle
//
this.angle.AllowDecimal = false;
this.angle.AllowExpressions = true;
this.angle.AllowNegative = true;
this.angle.AllowRelative = true;
this.angle.AllowExpressions = true;
this.angle.ButtonStep = 5;
this.angle.ButtonStepBig = 15F;
this.angle.ButtonStepFloat = 1F;
@ -479,9 +480,9 @@
// posX
//
this.posX.AllowDecimal = true;
this.posX.AllowExpressions = true;
this.posX.AllowNegative = true;
this.posX.AllowRelative = true;
this.posX.AllowExpressions = true;
this.posX.ButtonStep = 8;
this.posX.ButtonStepBig = 8F;
this.posX.ButtonStepFloat = 1F;
@ -498,9 +499,9 @@
// posY
//
this.posY.AllowDecimal = true;
this.posY.AllowExpressions = true;
this.posY.AllowNegative = true;
this.posY.AllowRelative = true;
this.posY.AllowExpressions = true;
this.posY.ButtonStep = 8;
this.posY.ButtonStepBig = 8F;
this.posY.ButtonStepFloat = 1F;
@ -517,9 +518,9 @@
// posZ
//
this.posZ.AllowDecimal = true;
this.posZ.AllowExpressions = true;
this.posZ.AllowNegative = true;
this.posZ.AllowRelative = true;
this.posZ.AllowExpressions = true;
this.posZ.ButtonStep = 8;
this.posZ.ButtonStepBig = 8F;
this.posZ.ButtonStepFloat = 1F;
@ -579,6 +580,7 @@
// floatbobphase
//
this.floatbobphase.AllowDecimal = false;
this.floatbobphase.AllowExpressions = false;
this.floatbobphase.AllowNegative = true;
this.floatbobphase.AllowRelative = false;
this.floatbobphase.ButtonStep = 1;
@ -605,6 +607,7 @@
// conversationID
//
this.conversationID.AllowDecimal = false;
this.conversationID.AllowExpressions = false;
this.conversationID.AllowNegative = false;
this.conversationID.AllowRelative = false;
this.conversationID.ButtonStep = 1;
@ -631,6 +634,7 @@
// health
//
this.health.AllowDecimal = false;
this.health.AllowExpressions = false;
this.health.AllowNegative = true;
this.health.AllowRelative = false;
this.health.ButtonStep = 8;
@ -661,6 +665,7 @@
// score
//
this.score.AllowDecimal = false;
this.score.AllowExpressions = false;
this.score.AllowNegative = false;
this.score.AllowRelative = false;
this.score.ButtonStep = 8;
@ -687,6 +692,7 @@
// gravity
//
this.gravity.AllowDecimal = true;
this.gravity.AllowExpressions = false;
this.gravity.AllowNegative = true;
this.gravity.AllowRelative = false;
this.gravity.ButtonStep = 8;
@ -703,6 +709,7 @@
//
// grouprendering
//
this.grouprendering.Controls.Add(this.resetalpha);
this.grouprendering.Controls.Add(this.labelScale);
this.grouprendering.Controls.Add(this.scale);
this.grouprendering.Controls.Add(this.color);
@ -754,6 +761,7 @@
// alpha
//
this.alpha.AllowDecimal = true;
this.alpha.AllowExpressions = false;
this.alpha.AllowNegative = true;
this.alpha.AllowRelative = false;
this.alpha.ButtonStep = 8;
@ -983,6 +991,17 @@
this.tooltip.InitialDelay = 10;
this.tooltip.ReshowDelay = 100;
//
// resetalpha
//
this.resetalpha.Image = global::CodeImp.DoomBuilder.Properties.Resources.Reset;
this.resetalpha.Location = new System.Drawing.Point(166, 86);
this.resetalpha.Name = "resetalpha";
this.resetalpha.Size = new System.Drawing.Size(23, 23);
this.resetalpha.TabIndex = 69;
this.tooltip.SetToolTip(this.resetalpha, "Reset");
this.resetalpha.UseVisualStyleBackColor = true;
this.resetalpha.Click += new System.EventHandler(this.resetalpha_Click);
//
// ThingEditFormUDMF
//
this.AcceptButton = this.apply;
@ -1107,5 +1126,6 @@
private CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox floatbobphase;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.CheckBox hidefixedfields;
private System.Windows.Forms.Button resetalpha;
}
}