mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-13 13:40:58 +00:00
113f9c6039
Added UDMF Controls plugin. Added "Snap selected vertices to grid" mode (Found in Edit menu).
168 lines
7.9 KiB
C#
168 lines
7.9 KiB
C#
namespace CodeImp.DoomBuilder.UDMFControls
|
||
{
|
||
partial class PositionControl
|
||
{
|
||
/// <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.nudY = new System.Windows.Forms.NumericUpDown();
|
||
this.nudX = new System.Windows.Forms.NumericUpDown();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.trackBar1 = new Dotnetrix.Controls.TrackBar();
|
||
this.label3 = new System.Windows.Forms.Label();
|
||
this.labelStepSize = new System.Windows.Forms.Label();
|
||
((System.ComponentModel.ISupportInitialize)(this.nudY)).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.nudX)).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
|
||
this.SuspendLayout();
|
||
//
|
||
// nudY
|
||
//
|
||
this.nudY.DecimalPlaces = 1;
|
||
this.nudY.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.nudY.Location = new System.Drawing.Point(29, 29);
|
||
this.nudY.Maximum = new decimal(new int[] {
|
||
99999,
|
||
0,
|
||
0,
|
||
0});
|
||
this.nudY.Minimum = new decimal(new int[] {
|
||
99999,
|
||
0,
|
||
0,
|
||
-2147483648});
|
||
this.nudY.Name = "nudY";
|
||
this.nudY.Size = new System.Drawing.Size(70, 20);
|
||
this.nudY.TabIndex = 2;
|
||
this.nudY.ValueChanged += new System.EventHandler(this.nudY_ValueChanged);
|
||
//
|
||
// nudX
|
||
//
|
||
this.nudX.DecimalPlaces = 1;
|
||
this.nudX.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.nudX.Location = new System.Drawing.Point(29, 3);
|
||
this.nudX.Maximum = new decimal(new int[] {
|
||
99999,
|
||
0,
|
||
0,
|
||
0});
|
||
this.nudX.Minimum = new decimal(new int[] {
|
||
99999,
|
||
0,
|
||
0,
|
||
-2147483648});
|
||
this.nudX.Name = "nudX";
|
||
this.nudX.Size = new System.Drawing.Size(70, 20);
|
||
this.nudX.TabIndex = 1;
|
||
this.nudX.ValueChanged += new System.EventHandler(this.nudX_ValueChanged);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.label1.Location = new System.Drawing.Point(10, 6);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(17, 14);
|
||
this.label1.TabIndex = 3;
|
||
this.label1.Text = "X:";
|
||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.label2.Location = new System.Drawing.Point(10, 32);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(17, 14);
|
||
this.label2.TabIndex = 4;
|
||
this.label2.Text = "Y:";
|
||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||
//
|
||
// trackBar1
|
||
//
|
||
this.trackBar1.LargeChange = 8;
|
||
this.trackBar1.Location = new System.Drawing.Point(0, 78);
|
||
this.trackBar1.Maximum = 64;
|
||
this.trackBar1.Name = "trackBar1";
|
||
this.trackBar1.Size = new System.Drawing.Size(104, 45);
|
||
this.trackBar1.SmallChange = 4;
|
||
this.trackBar1.TabIndex = 5;
|
||
this.trackBar1.TickFrequency = 4;
|
||
this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
|
||
this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll);
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.AutoSize = true;
|
||
this.label3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.label3.Location = new System.Drawing.Point(10, 64);
|
||
this.label3.Name = "label3";
|
||
this.label3.Size = new System.Drawing.Size(55, 14);
|
||
this.label3.TabIndex = 6;
|
||
this.label3.Text = "Step size:";
|
||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||
//
|
||
// labelStepSize
|
||
//
|
||
this.labelStepSize.AutoSize = true;
|
||
this.labelStepSize.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.labelStepSize.Location = new System.Drawing.Point(85, 64);
|
||
this.labelStepSize.Name = "labelStepSize";
|
||
this.labelStepSize.Size = new System.Drawing.Size(19, 14);
|
||
this.labelStepSize.TabIndex = 8;
|
||
this.labelStepSize.Text = "64";
|
||
this.labelStepSize.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
//
|
||
// PositionControl
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||
this.Controls.Add(this.labelStepSize);
|
||
this.Controls.Add(this.label3);
|
||
this.Controls.Add(this.trackBar1);
|
||
this.Controls.Add(this.label2);
|
||
this.Controls.Add(this.label1);
|
||
this.Controls.Add(this.nudX);
|
||
this.Controls.Add(this.nudY);
|
||
this.Name = "PositionControl";
|
||
this.Size = new System.Drawing.Size(106, 127);
|
||
((System.ComponentModel.ISupportInitialize)(this.nudY)).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.nudX)).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.NumericUpDown nudY;
|
||
private System.Windows.Forms.NumericUpDown nudX;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.Label label2;
|
||
private Dotnetrix.Controls.TrackBar trackBar1;
|
||
private System.Windows.Forms.Label label3;
|
||
private System.Windows.Forms.Label labelStepSize;
|
||
}
|
||
}
|