mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 15:41:30 +00:00
883527c37c
Tag Statistics form: you can now double click on Sectors, Linedefs or Things cell to select them, and right click to open their properties. Texture size labels were displayed incorrectly in some cases. Rewritten VerticesMode.DeleteItem() once again... Vertex Edit form now works in realtime mode. Vertex Edit form: ceiling and floor vertex offsets can now be cleared. Added StairSectorBuilder plugin (I suppose some external plugins will stop working in GZDB because I've changed ButtonStep to float in ButtonsNumericTextbox a couple revisions ago...). Preferences form: action description is now scrollable. Changed background color of Sector Edit form. Vertex' ZCeiling and ZFloor properties are now managed internally.
105 lines
4.1 KiB
C#
105 lines
4.1 KiB
C#
namespace CodeImp.DoomBuilder.Controls
|
|
{
|
|
partial class ImageSelectorControl
|
|
{
|
|
/// <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))
|
|
{
|
|
if(bmp != null) bmp.Dispose();
|
|
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.preview = new System.Windows.Forms.Panel();
|
|
this.labelSize = new System.Windows.Forms.Label();
|
|
this.name = new CodeImp.DoomBuilder.Controls.AutoSelectTextbox();
|
|
this.preview.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// preview
|
|
//
|
|
this.preview.BackColor = System.Drawing.SystemColors.AppWorkspace;
|
|
this.preview.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.preview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.preview.Controls.Add(this.labelSize);
|
|
this.preview.Location = new System.Drawing.Point(0, 0);
|
|
this.preview.Name = "preview";
|
|
this.preview.Size = new System.Drawing.Size(68, 60);
|
|
this.preview.TabIndex = 1;
|
|
this.preview.MouseLeave += new System.EventHandler(this.preview_MouseLeave);
|
|
this.preview.MouseMove += new System.Windows.Forms.MouseEventHandler(this.preview_MouseMove);
|
|
this.preview.Click += new System.EventHandler(this.preview_Click);
|
|
this.preview.MouseDown += new System.Windows.Forms.MouseEventHandler(this.preview_MouseDown);
|
|
this.preview.MouseUp += new System.Windows.Forms.MouseEventHandler(this.preview_MouseUp);
|
|
this.preview.MouseEnter += new System.EventHandler(this.preview_MouseEnter);
|
|
//
|
|
// labelSize
|
|
//
|
|
this.labelSize.AutoSize = true;
|
|
this.labelSize.BackColor = System.Drawing.Color.Black;
|
|
this.labelSize.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.labelSize.ForeColor = System.Drawing.Color.White;
|
|
this.labelSize.Location = new System.Drawing.Point(1, 1);
|
|
this.labelSize.MaximumSize = new System.Drawing.Size(0, 13);
|
|
this.labelSize.Name = "labelSize";
|
|
this.labelSize.Size = new System.Drawing.Size(48, 13);
|
|
this.labelSize.TabIndex = 0;
|
|
this.labelSize.Text = "128x128";
|
|
this.labelSize.Visible = false;
|
|
//
|
|
// name
|
|
//
|
|
this.name.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
|
|
this.name.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
|
|
this.name.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
|
|
this.name.Location = new System.Drawing.Point(0, 64);
|
|
this.name.MaxLength = 8;
|
|
this.name.Name = "name";
|
|
this.name.Size = new System.Drawing.Size(68, 20);
|
|
this.name.TabIndex = 2;
|
|
this.name.TextChanged += new System.EventHandler(this.name_TextChanged);
|
|
//
|
|
// ImageSelectorControl
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.name);
|
|
this.Controls.Add(this.preview);
|
|
this.Name = "ImageSelectorControl";
|
|
this.Size = new System.Drawing.Size(115, 136);
|
|
this.Layout += new System.Windows.Forms.LayoutEventHandler(this.ImageSelectorControl_Layout);
|
|
this.Resize += new System.EventHandler(this.ImageSelectorControl_Resize);
|
|
this.preview.ResumeLayout(false);
|
|
this.preview.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
protected System.Windows.Forms.Panel preview;
|
|
protected CodeImp.DoomBuilder.Controls.AutoSelectTextbox name;
|
|
private System.Windows.Forms.Label labelSize;
|
|
|
|
}
|
|
}
|