mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
b77b8e61d9
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures. Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation. Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides. Visual mode, UDMF: fixed a ton of bugs in Auto align functions. Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0. Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions. Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox. Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox. Texture size labels now are not shown for unknown textures. Most of texture size labels had incorrect bg color. ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
104 lines
4 KiB
C#
104 lines
4 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";
|
|
//
|
|
// 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;
|
|
|
|
}
|
|
}
|