mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-02 16:42:30 +00:00
ca9c464526
UDMF Controls: increased precision of position and scale controls numeric inputs to 2 decimal places. Sector/Linedef info panels: in some cases incorrect default values were shown for scale. Sector/Linedef info panels: numbers are formatted more properly.
97 lines
4.5 KiB
C#
97 lines
4.5 KiB
C#
namespace CodeImp.DoomBuilder.UDMFControls
|
||
{
|
||
partial class IntSlider {
|
||
/// <summary>
|
||
/// Требуется переменная конструктора.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// Освободить все используемые ресурсы.
|
||
/// </summary>
|
||
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
||
protected override void Dispose(bool disposing) {
|
||
if (disposing && (components != null)) {
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Код, автоматически созданный конструктором компонентов
|
||
|
||
/// <summary>
|
||
/// Обязательный метод для поддержки конструктора - не изменяйте
|
||
/// содержимое данного метода при помощи редактора кода.
|
||
/// </summary>
|
||
private void InitializeComponent() {
|
||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||
this.trackBar1 = new Dotnetrix.Controls.TrackBar();
|
||
this.labelMin = new System.Windows.Forms.Label();
|
||
this.labelMax = new System.Windows.Forms.Label();
|
||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
|
||
this.SuspendLayout();
|
||
//
|
||
// numericUpDown1
|
||
//
|
||
this.numericUpDown1.Location = new System.Drawing.Point(162, 16);
|
||
this.numericUpDown1.Name = "numericUpDown1";
|
||
this.numericUpDown1.Size = new System.Drawing.Size(52, 20);
|
||
this.numericUpDown1.TabIndex = 5;
|
||
this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
|
||
//
|
||
// trackBar1
|
||
//
|
||
this.trackBar1.LargeChange = 32;
|
||
this.trackBar1.Location = new System.Drawing.Point(24, 17);
|
||
this.trackBar1.Maximum = 512;
|
||
this.trackBar1.Name = "trackBar1";
|
||
this.trackBar1.Size = new System.Drawing.Size(137, 45);
|
||
this.trackBar1.SmallChange = 4;
|
||
this.trackBar1.TabIndex = 4;
|
||
this.trackBar1.TickFrequency = 16;
|
||
this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
|
||
//
|
||
// labelMin
|
||
//
|
||
this.labelMin.Location = new System.Drawing.Point(20, 0);
|
||
this.labelMin.Name = "labelMin";
|
||
this.labelMin.Size = new System.Drawing.Size(36, 15);
|
||
this.labelMin.TabIndex = 6;
|
||
this.labelMin.Text = "0";
|
||
this.labelMin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
//
|
||
// labelMax
|
||
//
|
||
this.labelMax.Location = new System.Drawing.Point(134, 0);
|
||
this.labelMax.Name = "labelMax";
|
||
this.labelMax.Size = new System.Drawing.Size(36, 15);
|
||
this.labelMax.TabIndex = 7;
|
||
this.labelMax.Text = "512";
|
||
this.labelMax.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
//
|
||
// IntSlider
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.Controls.Add(this.labelMax);
|
||
this.Controls.Add(this.labelMin);
|
||
this.Controls.Add(this.numericUpDown1);
|
||
this.Controls.Add(this.trackBar1);
|
||
this.Name = "IntSlider";
|
||
this.Size = new System.Drawing.Size(220, 45);
|
||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||
private Dotnetrix.Controls.TrackBar trackBar1;
|
||
private System.Windows.Forms.Label labelMin;
|
||
private System.Windows.Forms.Label labelMax;
|
||
}
|
||
}
|