mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 14:12:16 +00:00
9c7b8e4e3c
Thing Edit Form, UDMF: added controls for setting pitch, roll, scale, render style, fill color, alpha, health and score. Visual mode, UDMF: UDMF scale is now applied when rendering sprites. Added Thing Statistics form (Edit -> View Thing Types...), which shows all loaded thing types with some additional info. Visual mode: sprites with negative ScaleX and positive ScaleY were not rendered properly. Classic modes: display was not updated after loading a sprite. Current testing engine change was not saved on closing the program when no other game configuration settings were changed.
132 lines
6.2 KiB
C#
132 lines
6.2 KiB
C#
namespace CodeImp.DoomBuilder.GZBuilder.Controls
|
|
{
|
|
partial class PairedFloatControl
|
|
{
|
|
/// <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 Component 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()
|
|
{
|
|
this.value1 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.value2 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.label = new System.Windows.Forms.Label();
|
|
this.bReset = new System.Windows.Forms.Button();
|
|
this.bLink = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// value1
|
|
//
|
|
this.value1.AllowDecimal = true;
|
|
this.value1.AllowNegative = true;
|
|
this.value1.AllowRelative = true;
|
|
this.value1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.value1.ButtonStep = 1;
|
|
this.value1.ButtonStepFloat = 1F;
|
|
this.value1.Location = new System.Drawing.Point(86, 1);
|
|
this.value1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.value1.Name = "value1";
|
|
this.value1.Size = new System.Drawing.Size(62, 24);
|
|
this.value1.StepValues = null;
|
|
this.value1.TabIndex = 42;
|
|
this.value1.Tag = "offsetx_top";
|
|
this.value1.WhenTextChanged += new System.EventHandler(this.value1_WhenTextChanged);
|
|
//
|
|
// value2
|
|
//
|
|
this.value2.AllowDecimal = true;
|
|
this.value2.AllowNegative = true;
|
|
this.value2.AllowRelative = true;
|
|
this.value2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.value2.ButtonStep = 1;
|
|
this.value2.ButtonStepFloat = 1F;
|
|
this.value2.Location = new System.Drawing.Point(155, 1);
|
|
this.value2.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.value2.Name = "value2";
|
|
this.value2.Size = new System.Drawing.Size(62, 24);
|
|
this.value2.StepValues = null;
|
|
this.value2.TabIndex = 43;
|
|
this.value2.Tag = "offsety_top";
|
|
this.value2.WhenTextChanged += new System.EventHandler(this.value2_WhenTextChanged);
|
|
//
|
|
// label
|
|
//
|
|
this.label.Location = new System.Drawing.Point(0, 6);
|
|
this.label.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label.Name = "label";
|
|
this.label.Size = new System.Drawing.Size(86, 15);
|
|
this.label.TabIndex = 41;
|
|
this.label.Text = "Texture Offsets:";
|
|
this.label.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
//
|
|
// bReset
|
|
//
|
|
this.bReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.bReset.Image = global::CodeImp.DoomBuilder.Properties.Resources.Reset;
|
|
this.bReset.Location = new System.Drawing.Point(245, 1);
|
|
this.bReset.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.bReset.Name = "bReset";
|
|
this.bReset.Size = new System.Drawing.Size(23, 25);
|
|
this.bReset.TabIndex = 45;
|
|
this.bReset.UseVisualStyleBackColor = true;
|
|
this.bReset.Visible = false;
|
|
this.bReset.Click += new System.EventHandler(this.bReset_Click);
|
|
//
|
|
// bLink
|
|
//
|
|
this.bLink.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.bLink.Image = global::CodeImp.DoomBuilder.Properties.Resources.Link;
|
|
this.bLink.Location = new System.Drawing.Point(220, 1);
|
|
this.bLink.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.bLink.Name = "bLink";
|
|
this.bLink.Size = new System.Drawing.Size(23, 25);
|
|
this.bLink.TabIndex = 44;
|
|
this.bLink.UseVisualStyleBackColor = true;
|
|
this.bLink.Click += new System.EventHandler(this.bLink_Click);
|
|
//
|
|
// PairedFloatControl
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.bReset);
|
|
this.Controls.Add(this.bLink);
|
|
this.Controls.Add(this.value1);
|
|
this.Controls.Add(this.value2);
|
|
this.Controls.Add(this.label);
|
|
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
|
this.Name = "PairedFloatControl";
|
|
this.Size = new System.Drawing.Size(268, 26);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button bReset;
|
|
private System.Windows.Forms.Button bLink;
|
|
private DoomBuilder.Controls.ButtonsNumericTextbox value1;
|
|
private DoomBuilder.Controls.ButtonsNumericTextbox value2;
|
|
private System.Windows.Forms.Label label;
|
|
}
|
|
}
|