add sliders manually because winforms sucks

This commit is contained in:
spherallic 2023-01-04 16:35:54 +01:00
parent 803a37f4a4
commit 96892ef38c
3 changed files with 157 additions and 98 deletions

View file

@ -39,9 +39,10 @@ namespace CodeImp.DoomBuilder.Windows
System.Windows.Forms.Label label20;
System.Windows.Forms.Label label21;
System.Windows.Forms.Label label29;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PreferencesForm));
System.Windows.Forms.Label label30;
System.Windows.Forms.Label label31;
System.Windows.Forms.Label label32;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PreferencesForm));
this.keepfilterfocused = new System.Windows.Forms.CheckBox();
this.maxBackups = new System.Windows.Forms.TrackBar();
this.labelBackups = new System.Windows.Forms.Label();
@ -143,6 +144,12 @@ namespace CodeImp.DoomBuilder.Windows
this.actionkey = new System.Windows.Forms.TextBox();
this.tabcolors = new System.Windows.Forms.TabPage();
this.appearancegroup1 = new System.Windows.Forms.GroupBox();
this.activethingsalphalabel = new System.Windows.Forms.Label();
this.inactivethingsalphalabel = new System.Windows.Forms.Label();
this.hiddenthingsalphalabel = new System.Windows.Forms.Label();
this.activethingsalpha = new System.Windows.Forms.TrackBar();
this.inactivethingsalpha = new System.Windows.Forms.TrackBar();
this.hiddenthingsalpha = new System.Windows.Forms.TrackBar();
this.labelDefaultThingSize = new System.Windows.Forms.Label();
this.tbDefaultThingSize = new System.Windows.Forms.TrackBar();
this.cbDrawThingsFixedSize = new System.Windows.Forms.CheckBox();
@ -222,10 +229,6 @@ namespace CodeImp.DoomBuilder.Windows
this.pasteoptions = new CodeImp.DoomBuilder.Controls.PasteOptionsControl();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.browseScreenshotsFolderDialog = new System.Windows.Forms.FolderBrowserDialog();
this.hiddenthingsalpha = new System.Windows.Forms.TrackBar();
this.inactivethingsalpha = new System.Windows.Forms.TrackBar();
this.hiddenthingsalphalabel = new System.Windows.Forms.Label();
this.inactivethingsalphalabel = new System.Windows.Forms.Label();
label7 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label();
label5 = new System.Windows.Forms.Label();
@ -237,6 +240,7 @@ namespace CodeImp.DoomBuilder.Windows
label29 = new System.Windows.Forms.Label();
label30 = new System.Windows.Forms.Label();
label31 = new System.Windows.Forms.Label();
label32 = new System.Windows.Forms.Label();
groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.maxBackups)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.recentFiles)).BeginInit();
@ -261,6 +265,9 @@ namespace CodeImp.DoomBuilder.Windows
this.actioncontrolpanel.SuspendLayout();
this.tabcolors.SuspendLayout();
this.appearancegroup1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.activethingsalpha)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbDefaultThingSize)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbDynLightIntensity)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbDynLightSize)).BeginInit();
@ -274,8 +281,6 @@ namespace CodeImp.DoomBuilder.Windows
this.groupBox7.SuspendLayout();
this.groupBox6.SuspendLayout();
this.tabpasting.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).BeginInit();
this.SuspendLayout();
//
// label7
@ -629,7 +634,8 @@ namespace CodeImp.DoomBuilder.Windows
// label18
//
label18.AutoSize = true;
label18.Location = new System.Drawing.Point(22, 62);
label18.Enabled = false;
label18.Location = new System.Drawing.Point(382, 227);
label18.Name = "label18";
label18.Size = new System.Drawing.Size(147, 13);
label18.TabIndex = 25;
@ -637,37 +643,73 @@ namespace CodeImp.DoomBuilder.Windows
label18.TextAlign = System.Drawing.ContentAlignment.TopRight;
this.toolTip1.SetToolTip(label18, "Controlls how many dynamic lights could be \r\nrendered simultaneously in Visual mo" +
"de ");
label18.Visible = false;
//
// label20
//
label20.AutoSize = true;
label20.Location = new System.Drawing.Point(72, 95);
label20.Enabled = false;
label20.Location = new System.Drawing.Point(609, 37);
label20.Name = "label20";
label20.Size = new System.Drawing.Size(94, 13);
label20.TabIndex = 28;
label20.Text = "Dynamic light size:";
label20.TextAlign = System.Drawing.ContentAlignment.TopRight;
label20.Visible = false;
//
// label21
//
label21.AutoSize = true;
label21.Location = new System.Drawing.Point(55, 128);
label21.Enabled = false;
label21.Location = new System.Drawing.Point(382, 125);
label21.Name = "label21";
label21.Size = new System.Drawing.Size(114, 13);
label21.TabIndex = 31;
label21.Text = "Dynamic light intensity:";
label21.TextAlign = System.Drawing.ContentAlignment.TopRight;
label21.Visible = false;
//
// label29
//
label29.AutoSize = true;
label29.Location = new System.Drawing.Point(51, 161);
label29.Location = new System.Drawing.Point(51, 63);
label29.Name = "label29";
label29.Size = new System.Drawing.Size(118, 13);
label29.TabIndex = 41;
label29.Text = "Default Thing size (2D):";
label29.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label30
//
label30.AutoSize = true;
label30.Location = new System.Drawing.Point(6, 131);
label30.Name = "label30";
label30.Size = new System.Drawing.Size(173, 13);
label30.TabIndex = 45;
label30.Text = "Things transparency (other modes):";
label30.TextAlign = System.Drawing.ContentAlignment.TopRight;
label30.Click += new System.EventHandler(this.label30_Click);
//
// label31
//
label31.AutoSize = true;
label31.Location = new System.Drawing.Point(31, 165);
label31.Name = "label31";
label31.Size = new System.Drawing.Size(139, 13);
label31.TabIndex = 46;
label31.Text = "Hidden things transparency:";
label31.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label32
//
label32.AutoSize = true;
label32.Location = new System.Drawing.Point(6, 97);
label32.Name = "label32";
label32.Size = new System.Drawing.Size(176, 13);
label32.TabIndex = 49;
label32.Text = "Things transparency (Things mode):";
label32.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// keyusedlabel
//
this.keyusedlabel.AutoSize = true;
@ -1523,6 +1565,7 @@ namespace CodeImp.DoomBuilder.Windows
this.tabcolors.Controls.Add(this.appearancegroup1);
this.tabcolors.Controls.Add(this.colorsgroup1);
this.tabcolors.Controls.Add(this.nightsgroup);
this.tabcolors.Controls.Add(label20);
this.tabcolors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabcolors.Location = new System.Drawing.Point(4, 22);
this.tabcolors.Name = "tabcolors";
@ -1537,12 +1580,15 @@ namespace CodeImp.DoomBuilder.Windows
this.appearancegroup1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.appearancegroup1.Controls.Add(label32);
this.appearancegroup1.Controls.Add(this.activethingsalphalabel);
this.appearancegroup1.Controls.Add(this.inactivethingsalphalabel);
this.appearancegroup1.Controls.Add(this.hiddenthingsalphalabel);
this.appearancegroup1.Controls.Add(label31);
this.appearancegroup1.Controls.Add(label30);
this.appearancegroup1.Controls.Add(this.inactivethingsalpha);
this.appearancegroup1.Controls.Add(this.hiddenthingsalpha);
this.appearancegroup1.Controls.Add(this.inactivethingsalpha);
this.appearancegroup1.Controls.Add(this.activethingsalpha);
this.appearancegroup1.Controls.Add(label29);
this.appearancegroup1.Controls.Add(this.labelDefaultThingSize);
this.appearancegroup1.Controls.Add(this.tbDefaultThingSize);
@ -1556,7 +1602,6 @@ namespace CodeImp.DoomBuilder.Windows
this.appearancegroup1.Controls.Add(this.labelDynLightIntensity);
this.appearancegroup1.Controls.Add(this.cbStretchView);
this.appearancegroup1.Controls.Add(this.tbDynLightIntensity);
this.appearancegroup1.Controls.Add(label20);
this.appearancegroup1.Controls.Add(this.qualitydisplay);
this.appearancegroup1.Controls.Add(this.labelDynLightSize);
this.appearancegroup1.Controls.Add(this.tbDynLightSize);
@ -1577,10 +1622,70 @@ namespace CodeImp.DoomBuilder.Windows
this.appearancegroup1.TabStop = false;
this.appearancegroup1.Text = " Additional Options ";
//
// inactivethingsalphalabel
//
this.inactivethingsalphalabel.AutoSize = true;
this.inactivethingsalphalabel.Location = new System.Drawing.Point(337, 131);
this.inactivethingsalphalabel.Name = "inactivethingsalphalabel";
this.inactivethingsalphalabel.Size = new System.Drawing.Size(21, 13);
this.inactivethingsalphalabel.TabIndex = 48;
this.inactivethingsalphalabel.Text = "0%";
//
// hiddenthingsalphalabel
//
this.hiddenthingsalphalabel.AutoSize = true;
this.hiddenthingsalphalabel.Location = new System.Drawing.Point(337, 165);
this.hiddenthingsalphalabel.Name = "hiddenthingsalphalabel";
this.hiddenthingsalphalabel.Size = new System.Drawing.Size(21, 13);
this.hiddenthingsalphalabel.TabIndex = 47;
this.hiddenthingsalphalabel.Text = "0%";
//
// activethingsalphalabel
//
this.activethingsalphalabel.AutoSize = true;
this.activethingsalphalabel.Location = new System.Drawing.Point(337, 97);
this.activethingsalphalabel.Name = "activethingsalphalabel";
this.activethingsalphalabel.Size = new System.Drawing.Size(21, 13);
this.activethingsalphalabel.TabIndex = 48;
this.activethingsalphalabel.Text = "0%";
//
// hiddenthingsalpha
//
this.hiddenthingsalpha.BackColor = System.Drawing.SystemColors.Window;
this.hiddenthingsalpha.LargeChange = 3;
this.hiddenthingsalpha.Location = new System.Drawing.Point(176, 154);
this.hiddenthingsalpha.Name = "hiddenthingsalpha";
this.hiddenthingsalpha.Size = new System.Drawing.Size(154, 45);
this.hiddenthingsalpha.TabIndex = 43;
this.hiddenthingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.hiddenthingsalpha.ValueChanged += new System.EventHandler(this.hiddenthingsalpha_ValueChanged);
//
// inactivethingsalpha
//
this.inactivethingsalpha.BackColor = System.Drawing.SystemColors.Window;
this.inactivethingsalpha.LargeChange = 3;
this.inactivethingsalpha.Location = new System.Drawing.Point(176, 120);
this.inactivethingsalpha.Name = "inactivethingsalpha";
this.inactivethingsalpha.Size = new System.Drawing.Size(154, 45);
this.inactivethingsalpha.TabIndex = 44;
this.inactivethingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.inactivethingsalpha.ValueChanged += new System.EventHandler(this.inactivethingsalpha_ValueChanged);
//
// activethingsalpha
//
this.activethingsalpha.BackColor = System.Drawing.SystemColors.Window;
this.activethingsalpha.LargeChange = 3;
this.activethingsalpha.Location = new System.Drawing.Point(176, 86);
this.activethingsalpha.Name = "activethingsalpha";
this.activethingsalpha.Size = new System.Drawing.Size(154, 45);
this.activethingsalpha.TabIndex = 44;
this.activethingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.activethingsalpha.ValueChanged += new System.EventHandler(this.activethingsalpha_ValueChanged);
//
// labelDefaultThingSize
//
this.labelDefaultThingSize.AutoSize = true;
this.labelDefaultThingSize.Location = new System.Drawing.Point(337, 161);
this.labelDefaultThingSize.Location = new System.Drawing.Point(337, 63);
this.labelDefaultThingSize.Name = "labelDefaultThingSize";
this.labelDefaultThingSize.Size = new System.Drawing.Size(13, 13);
this.labelDefaultThingSize.TabIndex = 42;
@ -1590,7 +1695,7 @@ namespace CodeImp.DoomBuilder.Windows
//
this.tbDefaultThingSize.BackColor = System.Drawing.SystemColors.Window;
this.tbDefaultThingSize.LargeChange = 4;
this.tbDefaultThingSize.Location = new System.Drawing.Point(176, 150);
this.tbDefaultThingSize.Location = new System.Drawing.Point(176, 52);
this.tbDefaultThingSize.Maximum = 64;
this.tbDefaultThingSize.Minimum = 1;
this.tbDefaultThingSize.Name = "tbDefaultThingSize";
@ -1675,62 +1780,73 @@ namespace CodeImp.DoomBuilder.Windows
// labelDynLightIntensity
//
this.labelDynLightIntensity.AutoSize = true;
this.labelDynLightIntensity.Location = new System.Drawing.Point(337, 129);
this.labelDynLightIntensity.Enabled = false;
this.labelDynLightIntensity.Location = new System.Drawing.Point(435, 96);
this.labelDynLightIntensity.Name = "labelDynLightIntensity";
this.labelDynLightIntensity.Size = new System.Drawing.Size(22, 13);
this.labelDynLightIntensity.TabIndex = 32;
this.labelDynLightIntensity.Text = "1.0";
this.labelDynLightIntensity.Visible = false;
//
// tbDynLightIntensity
//
this.tbDynLightIntensity.BackColor = System.Drawing.SystemColors.Window;
this.tbDynLightIntensity.Enabled = false;
this.tbDynLightIntensity.LargeChange = 1;
this.tbDynLightIntensity.Location = new System.Drawing.Point(176, 117);
this.tbDynLightIntensity.Location = new System.Drawing.Point(385, 51);
this.tbDynLightIntensity.Minimum = 1;
this.tbDynLightIntensity.Name = "tbDynLightIntensity";
this.tbDynLightIntensity.Size = new System.Drawing.Size(154, 45);
this.tbDynLightIntensity.Size = new System.Drawing.Size(80, 45);
this.tbDynLightIntensity.TabIndex = 30;
this.tbDynLightIntensity.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.tbDynLightIntensity.Value = 10;
this.tbDynLightIntensity.Visible = false;
this.tbDynLightIntensity.ValueChanged += new System.EventHandler(this.tbDynLightIntensity_ValueChanged);
//
// labelDynLightSize
//
this.labelDynLightSize.AutoSize = true;
this.labelDynLightSize.Location = new System.Drawing.Point(337, 96);
this.labelDynLightSize.Enabled = false;
this.labelDynLightSize.Location = new System.Drawing.Point(440, 162);
this.labelDynLightSize.Name = "labelDynLightSize";
this.labelDynLightSize.Size = new System.Drawing.Size(22, 13);
this.labelDynLightSize.TabIndex = 29;
this.labelDynLightSize.Text = "1.0";
this.labelDynLightSize.Visible = false;
//
// tbDynLightSize
//
this.tbDynLightSize.BackColor = System.Drawing.SystemColors.Window;
this.tbDynLightSize.Enabled = false;
this.tbDynLightSize.LargeChange = 1;
this.tbDynLightSize.Location = new System.Drawing.Point(176, 84);
this.tbDynLightSize.Location = new System.Drawing.Point(385, 76);
this.tbDynLightSize.Maximum = 20;
this.tbDynLightSize.Minimum = 1;
this.tbDynLightSize.Name = "tbDynLightSize";
this.tbDynLightSize.Size = new System.Drawing.Size(154, 45);
this.tbDynLightSize.Size = new System.Drawing.Size(80, 45);
this.tbDynLightSize.TabIndex = 27;
this.tbDynLightSize.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.tbDynLightSize.Value = 10;
this.tbDynLightSize.Visible = false;
this.tbDynLightSize.ValueChanged += new System.EventHandler(this.tbDynLightSize_ValueChanged);
//
// labelDynLightCount
//
this.labelDynLightCount.AutoSize = true;
this.labelDynLightCount.Location = new System.Drawing.Point(337, 62);
this.labelDynLightCount.Enabled = false;
this.labelDynLightCount.Location = new System.Drawing.Point(425, 29);
this.labelDynLightCount.Name = "labelDynLightCount";
this.labelDynLightCount.Size = new System.Drawing.Size(19, 13);
this.labelDynLightCount.TabIndex = 26;
this.labelDynLightCount.Text = "16";
this.labelDynLightCount.Visible = false;
//
// tbDynLightCount
//
this.tbDynLightCount.BackColor = System.Drawing.SystemColors.Window;
this.tbDynLightCount.Enabled = false;
this.tbDynLightCount.LargeChange = 3;
this.tbDynLightCount.Location = new System.Drawing.Point(176, 51);
this.tbDynLightCount.Location = new System.Drawing.Point(375, 179);
this.tbDynLightCount.Maximum = 32;
this.tbDynLightCount.Minimum = 1;
this.tbDynLightCount.Name = "tbDynLightCount";
@ -1739,6 +1855,7 @@ namespace CodeImp.DoomBuilder.Windows
this.tbDynLightCount.TickFrequency = 4;
this.tbDynLightCount.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.tbDynLightCount.Value = 1;
this.tbDynLightCount.Visible = false;
this.tbDynLightCount.ValueChanged += new System.EventHandler(this.tbDynLightCount_ValueChanged);
//
// animatevisualselection
@ -2526,71 +2643,6 @@ namespace CodeImp.DoomBuilder.Windows
//
this.browseScreenshotsFolderDialog.Description = "Select a Folder to Save Screenshots Into";
//
// hiddenthingsalpha
//
this.hiddenthingsalpha.BackColor = System.Drawing.SystemColors.Window;
this.hiddenthingsalpha.LargeChange = 3;
this.hiddenthingsalpha.Location = new System.Drawing.Point(176, 216);
this.hiddenthingsalpha.Name = "hiddenthingsalpha";
this.hiddenthingsalpha.Size = new System.Drawing.Size(154, 45);
this.hiddenthingsalpha.TabIndex = 43;
this.hiddenthingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.hiddenthingsalpha.Minimum = 0;
this.hiddenthingsalpha.Maximum = 10;
this.hiddenthingsalpha.ValueChanged += new System.EventHandler(this.hiddenthingsalpha_ValueChanged);
//
// inactivethingsalpha
//
this.inactivethingsalpha.BackColor = System.Drawing.SystemColors.Window;
this.inactivethingsalpha.LargeChange = 3;
this.inactivethingsalpha.Location = new System.Drawing.Point(176, 183);
this.inactivethingsalpha.Name = "inactivethingsalpha";
this.inactivethingsalpha.Size = new System.Drawing.Size(154, 45);
this.inactivethingsalpha.TabIndex = 44;
this.inactivethingsalpha.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
this.inactivethingsalpha.Minimum = 0;
this.inactivethingsalpha.Maximum = 10;
this.inactivethingsalpha.ValueChanged += new System.EventHandler(this.inactivethingsalpha_ValueChanged);
//
// label30
//
label30.AutoSize = true;
label30.Location = new System.Drawing.Point(60, 194);
label30.Name = "label30";
label30.Size = new System.Drawing.Size(106, 13);
label30.TabIndex = 45;
label30.Text = "Things transparency:";
label30.TextAlign = System.Drawing.ContentAlignment.TopRight;
label30.Click += new System.EventHandler(this.label30_Click);
//
// label31
//
label31.AutoSize = true;
label31.Location = new System.Drawing.Point(31, 227);
label31.Name = "label31";
label31.Size = new System.Drawing.Size(139, 13);
label31.TabIndex = 46;
label31.Text = "Hidden things transparency:";
label31.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// hiddenthingsalphalabel
//
this.hiddenthingsalphalabel.AutoSize = true;
this.hiddenthingsalphalabel.Location = new System.Drawing.Point(337, 227);
this.hiddenthingsalphalabel.Name = "hiddenthingsalphalabel";
this.hiddenthingsalphalabel.Size = new System.Drawing.Size(21, 13);
this.hiddenthingsalphalabel.TabIndex = 47;
this.hiddenthingsalphalabel.Text = "0%";
//
// inactivethingsalphalabel
//
this.inactivethingsalphalabel.AutoSize = true;
this.inactivethingsalphalabel.Location = new System.Drawing.Point(337, 194);
this.inactivethingsalphalabel.Name = "inactivethingsalphalabel";
this.inactivethingsalphalabel.Size = new System.Drawing.Size(21, 13);
this.inactivethingsalphalabel.TabIndex = 48;
this.inactivethingsalphalabel.Text = "0%";
//
// PreferencesForm
//
this.AcceptButton = this.apply;
@ -2643,8 +2695,12 @@ namespace CodeImp.DoomBuilder.Windows
this.actioncontrolpanel.ResumeLayout(false);
this.actioncontrolpanel.PerformLayout();
this.tabcolors.ResumeLayout(false);
this.tabcolors.PerformLayout();
this.appearancegroup1.ResumeLayout(false);
this.appearancegroup1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.activethingsalpha)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbDefaultThingSize)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbDynLightIntensity)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbDynLightSize)).EndInit();
@ -2663,8 +2719,6 @@ namespace CodeImp.DoomBuilder.Windows
this.groupBox6.ResumeLayout(false);
this.groupBox6.PerformLayout();
this.tabpasting.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.hiddenthingsalpha)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.inactivethingsalpha)).EndInit();
this.ResumeLayout(false);
}
@ -2852,8 +2906,10 @@ namespace CodeImp.DoomBuilder.Windows
private System.Windows.Forms.Label labelDefaultThingSize;
private System.Windows.Forms.TrackBar tbDefaultThingSize;
private System.Windows.Forms.CheckBox keepfilterfocused;
private System.Windows.Forms.TrackBar activethingsalpha;
private System.Windows.Forms.TrackBar inactivethingsalpha;
private System.Windows.Forms.TrackBar hiddenthingsalpha;
private System.Windows.Forms.Label activethingsalphalabel;
private System.Windows.Forms.Label inactivethingsalphalabel;
private System.Windows.Forms.Label hiddenthingsalphalabel;
}

View file

@ -976,13 +976,6 @@ namespace CodeImp.DoomBuilder.Windows
nightscircleprecisionlabel.Text = value.ToString();
}
//mxd
private void activethingsalpha_ValueChanged(object sender, EventArgs e)
{
int percent = activethingsalpha.Value * 10;
activethingsalphalabel.Text = percent + "%";
}
//mxd
private void inactivethingsalpha_ValueChanged(object sender, EventArgs e)
{
@ -997,6 +990,13 @@ namespace CodeImp.DoomBuilder.Windows
hiddenthingsalphalabel.Text = percent + "%";
}
//mxd
private void activethingsalpha_ValueChanged(object sender, EventArgs e)
{
int percent = activethingsalpha.Value * 10;
activethingsalphalabel.Text = percent + "%";
}
//mxd
private void tbDynLightCount_ValueChanged(object sender, EventArgs e)
{

View file

@ -147,10 +147,13 @@
<metadata name="label29.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label30.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label31.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label30.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="label32.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<data name="scriptallmanstyle.ToolTip" xml:space="preserve">