mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-24 21:01:33 +00:00
359 lines
No EOL
14 KiB
C#
359 lines
No EOL
14 KiB
C#
namespace CodeImp.DoomBuilder.Windows
|
|
{
|
|
partial class GridSetupForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if(disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.Windows.Forms.GroupBox groupBox1;
|
|
System.Windows.Forms.Label label1;
|
|
System.Windows.Forms.GroupBox groupBox2;
|
|
this.gridsize = new System.Windows.Forms.NumericUpDown();
|
|
this.backscaley = new System.Windows.Forms.NumericUpDown();
|
|
this.backscalex = new System.Windows.Forms.NumericUpDown();
|
|
this.backscale = new System.Windows.Forms.Label();
|
|
this.selectfile = new System.Windows.Forms.Button();
|
|
this.showbackground = new System.Windows.Forms.CheckBox();
|
|
this.backoffsety = new System.Windows.Forms.NumericUpDown();
|
|
this.backoffsetx = new System.Windows.Forms.NumericUpDown();
|
|
this.backoffset = new System.Windows.Forms.Label();
|
|
this.selectflat = new System.Windows.Forms.Button();
|
|
this.selecttexture = new System.Windows.Forms.Button();
|
|
this.backgroundimage = new System.Windows.Forms.Panel();
|
|
this.cancel = new System.Windows.Forms.Button();
|
|
this.apply = new System.Windows.Forms.Button();
|
|
this.browsefile = new System.Windows.Forms.OpenFileDialog();
|
|
groupBox1 = new System.Windows.Forms.GroupBox();
|
|
label1 = new System.Windows.Forms.Label();
|
|
groupBox2 = new System.Windows.Forms.GroupBox();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridsize)).BeginInit();
|
|
groupBox2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.backscaley)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.backscalex)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.backoffsety)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.backoffsetx)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
groupBox1.Controls.Add(this.gridsize);
|
|
groupBox1.Controls.Add(label1);
|
|
groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new System.Drawing.Size(285, 71);
|
|
groupBox1.TabIndex = 0;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = " Grid ";
|
|
//
|
|
// gridsize
|
|
//
|
|
this.gridsize.ImeMode = System.Windows.Forms.ImeMode.Off;
|
|
this.gridsize.Location = new System.Drawing.Point(146, 28);
|
|
this.gridsize.Maximum = new decimal(new int[] {
|
|
4096,
|
|
0,
|
|
0,
|
|
0});
|
|
this.gridsize.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.gridsize.Name = "gridsize";
|
|
this.gridsize.Size = new System.Drawing.Size(79, 20);
|
|
this.gridsize.TabIndex = 1;
|
|
this.gridsize.Value = new decimal(new int[] {
|
|
32,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new System.Drawing.Point(25, 31);
|
|
label1.Name = "label1";
|
|
label1.Size = new System.Drawing.Size(115, 14);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Grid size in mappixels:";
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
groupBox2.Controls.Add(this.backscaley);
|
|
groupBox2.Controls.Add(this.backscalex);
|
|
groupBox2.Controls.Add(this.backscale);
|
|
groupBox2.Controls.Add(this.selectfile);
|
|
groupBox2.Controls.Add(this.showbackground);
|
|
groupBox2.Controls.Add(this.backoffsety);
|
|
groupBox2.Controls.Add(this.backoffsetx);
|
|
groupBox2.Controls.Add(this.backoffset);
|
|
groupBox2.Controls.Add(this.selectflat);
|
|
groupBox2.Controls.Add(this.selecttexture);
|
|
groupBox2.Controls.Add(this.backgroundimage);
|
|
groupBox2.Location = new System.Drawing.Point(12, 89);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Size = new System.Drawing.Size(285, 255);
|
|
groupBox2.TabIndex = 1;
|
|
groupBox2.TabStop = false;
|
|
groupBox2.Text = " Background ";
|
|
//
|
|
// backscaley
|
|
//
|
|
this.backscaley.Enabled = false;
|
|
this.backscaley.ImeMode = System.Windows.Forms.ImeMode.Off;
|
|
this.backscaley.Location = new System.Drawing.Point(197, 209);
|
|
this.backscaley.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.backscaley.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.backscaley.Name = "backscaley";
|
|
this.backscaley.Size = new System.Drawing.Size(57, 20);
|
|
this.backscaley.TabIndex = 11;
|
|
this.backscaley.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// backscalex
|
|
//
|
|
this.backscalex.Enabled = false;
|
|
this.backscalex.ImeMode = System.Windows.Forms.ImeMode.Off;
|
|
this.backscalex.Location = new System.Drawing.Point(134, 209);
|
|
this.backscalex.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.backscalex.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.backscalex.Name = "backscalex";
|
|
this.backscalex.Size = new System.Drawing.Size(57, 20);
|
|
this.backscalex.TabIndex = 10;
|
|
this.backscalex.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// backscale
|
|
//
|
|
this.backscale.AutoSize = true;
|
|
this.backscale.Enabled = false;
|
|
this.backscale.Location = new System.Drawing.Point(40, 211);
|
|
this.backscale.Name = "backscale";
|
|
this.backscale.Size = new System.Drawing.Size(88, 14);
|
|
this.backscale.TabIndex = 9;
|
|
this.backscale.Text = "Scale in percent:";
|
|
//
|
|
// selectfile
|
|
//
|
|
this.selectfile.Enabled = false;
|
|
this.selectfile.Location = new System.Drawing.Point(137, 122);
|
|
this.selectfile.Name = "selectfile";
|
|
this.selectfile.Size = new System.Drawing.Size(117, 25);
|
|
this.selectfile.TabIndex = 8;
|
|
this.selectfile.Text = "Select File...";
|
|
this.selectfile.UseVisualStyleBackColor = true;
|
|
this.selectfile.Click += new System.EventHandler(this.selectfile_Click);
|
|
//
|
|
// showbackground
|
|
//
|
|
this.showbackground.AutoSize = true;
|
|
this.showbackground.Location = new System.Drawing.Point(28, 29);
|
|
this.showbackground.Name = "showbackground";
|
|
this.showbackground.Size = new System.Drawing.Size(146, 18);
|
|
this.showbackground.TabIndex = 7;
|
|
this.showbackground.Text = "Show background image";
|
|
this.showbackground.UseVisualStyleBackColor = true;
|
|
this.showbackground.CheckedChanged += new System.EventHandler(this.showbackground_CheckedChanged);
|
|
//
|
|
// backoffsety
|
|
//
|
|
this.backoffsety.Enabled = false;
|
|
this.backoffsety.ImeMode = System.Windows.Forms.ImeMode.Off;
|
|
this.backoffsety.Location = new System.Drawing.Point(197, 172);
|
|
this.backoffsety.Maximum = new decimal(new int[] {
|
|
4096,
|
|
0,
|
|
0,
|
|
0});
|
|
this.backoffsety.Name = "backoffsety";
|
|
this.backoffsety.Size = new System.Drawing.Size(57, 20);
|
|
this.backoffsety.TabIndex = 6;
|
|
//
|
|
// backoffsetx
|
|
//
|
|
this.backoffsetx.Enabled = false;
|
|
this.backoffsetx.ImeMode = System.Windows.Forms.ImeMode.Off;
|
|
this.backoffsetx.Location = new System.Drawing.Point(134, 172);
|
|
this.backoffsetx.Maximum = new decimal(new int[] {
|
|
4096,
|
|
0,
|
|
0,
|
|
0});
|
|
this.backoffsetx.Name = "backoffsetx";
|
|
this.backoffsetx.Size = new System.Drawing.Size(57, 20);
|
|
this.backoffsetx.TabIndex = 5;
|
|
//
|
|
// backoffset
|
|
//
|
|
this.backoffset.AutoSize = true;
|
|
this.backoffset.Enabled = false;
|
|
this.backoffset.Location = new System.Drawing.Point(25, 175);
|
|
this.backoffset.Name = "backoffset";
|
|
this.backoffset.Size = new System.Drawing.Size(103, 14);
|
|
this.backoffset.TabIndex = 4;
|
|
this.backoffset.Text = "Offset in mappixels:";
|
|
//
|
|
// selectflat
|
|
//
|
|
this.selectflat.Enabled = false;
|
|
this.selectflat.Location = new System.Drawing.Point(137, 91);
|
|
this.selectflat.Name = "selectflat";
|
|
this.selectflat.Size = new System.Drawing.Size(117, 25);
|
|
this.selectflat.TabIndex = 3;
|
|
this.selectflat.Text = "Select Flat...";
|
|
this.selectflat.UseVisualStyleBackColor = true;
|
|
this.selectflat.Click += new System.EventHandler(this.selectflat_Click);
|
|
//
|
|
// selecttexture
|
|
//
|
|
this.selecttexture.Enabled = false;
|
|
this.selecttexture.Location = new System.Drawing.Point(137, 60);
|
|
this.selecttexture.Name = "selecttexture";
|
|
this.selecttexture.Size = new System.Drawing.Size(117, 25);
|
|
this.selecttexture.TabIndex = 2;
|
|
this.selecttexture.Text = "Select Texture...";
|
|
this.selecttexture.UseVisualStyleBackColor = true;
|
|
this.selecttexture.Click += new System.EventHandler(this.selecttexture_Click);
|
|
//
|
|
// backgroundimage
|
|
//
|
|
this.backgroundimage.BackColor = System.Drawing.SystemColors.AppWorkspace;
|
|
this.backgroundimage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.backgroundimage.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.backgroundimage.Location = new System.Drawing.Point(28, 60);
|
|
this.backgroundimage.Name = "backgroundimage";
|
|
this.backgroundimage.Size = new System.Drawing.Size(91, 87);
|
|
this.backgroundimage.TabIndex = 1;
|
|
//
|
|
// cancel
|
|
//
|
|
this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancel.Location = new System.Drawing.Point(185, 357);
|
|
this.cancel.Name = "cancel";
|
|
this.cancel.Size = new System.Drawing.Size(112, 25);
|
|
this.cancel.TabIndex = 22;
|
|
this.cancel.Text = "Cancel";
|
|
this.cancel.UseVisualStyleBackColor = true;
|
|
this.cancel.Click += new System.EventHandler(this.cancel_Click);
|
|
//
|
|
// apply
|
|
//
|
|
this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.apply.Location = new System.Drawing.Point(67, 357);
|
|
this.apply.Name = "apply";
|
|
this.apply.Size = new System.Drawing.Size(112, 25);
|
|
this.apply.TabIndex = 21;
|
|
this.apply.Text = "OK";
|
|
this.apply.UseVisualStyleBackColor = true;
|
|
this.apply.Click += new System.EventHandler(this.apply_Click);
|
|
//
|
|
// browsefile
|
|
//
|
|
this.browsefile.Filter = "All supported images|*.bmp;*.gif;*.png|All Files|*.*";
|
|
this.browsefile.RestoreDirectory = true;
|
|
this.browsefile.Title = "Select Background Image File";
|
|
//
|
|
// GridSetupForm
|
|
//
|
|
this.AcceptButton = this.apply;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.CancelButton = this.cancel;
|
|
this.ClientSize = new System.Drawing.Size(309, 392);
|
|
this.Controls.Add(this.cancel);
|
|
this.Controls.Add(this.apply);
|
|
this.Controls.Add(groupBox2);
|
|
this.Controls.Add(groupBox1);
|
|
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "GridSetupForm";
|
|
this.Opacity = 0;
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Custom Grid Setup";
|
|
groupBox1.ResumeLayout(false);
|
|
groupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridsize)).EndInit();
|
|
groupBox2.ResumeLayout(false);
|
|
groupBox2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.backscaley)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.backscalex)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.backoffsety)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.backoffsetx)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.NumericUpDown gridsize;
|
|
private System.Windows.Forms.Panel backgroundimage;
|
|
private System.Windows.Forms.Button selecttexture;
|
|
private System.Windows.Forms.Button selectflat;
|
|
private System.Windows.Forms.NumericUpDown backoffsety;
|
|
private System.Windows.Forms.NumericUpDown backoffsetx;
|
|
private System.Windows.Forms.CheckBox showbackground;
|
|
private System.Windows.Forms.Button cancel;
|
|
private System.Windows.Forms.Button apply;
|
|
private System.Windows.Forms.Label backoffset;
|
|
private System.Windows.Forms.Button selectfile;
|
|
private System.Windows.Forms.NumericUpDown backscaley;
|
|
private System.Windows.Forms.NumericUpDown backscalex;
|
|
private System.Windows.Forms.Label backscale;
|
|
private System.Windows.Forms.OpenFileDialog browsefile;
|
|
}
|
|
} |