mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-15 00:51:39 +00:00
246f947cba
Fixed: stored windows positions were not checked against current screen bounds, which may have resulted in windows being shown off-screen.
1108 lines
No EOL
52 KiB
C#
1108 lines
No EOL
52 KiB
C#
namespace CodeImp.DoomBuilder.BuilderModes.Interface
|
|
{
|
|
partial class VertexSlopeAssistForm
|
|
{
|
|
/// <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.Label label1;
|
|
System.Windows.Forms.Label label4;
|
|
System.Windows.Forms.Label label3;
|
|
System.Windows.Forms.Label label2;
|
|
System.Windows.Forms.Label label5;
|
|
System.Windows.Forms.Label label6;
|
|
System.Windows.Forms.Label label7;
|
|
System.Windows.Forms.Label label11;
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VertexSlopeAssistForm));
|
|
this.labelVSlope3 = new System.Windows.Forms.Label();
|
|
this.labelVSlope2 = new System.Windows.Forms.Label();
|
|
this.labelVSlope1 = new System.Windows.Forms.Label();
|
|
this.apply = new System.Windows.Forms.Button();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.toolStripGroups = new System.Windows.Forms.ToolStrip();
|
|
this.toolNewTriangleGroup = new System.Windows.Forms.ToolStripButton();
|
|
this.toolNewVertexGroup = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.toolRemakeGroup = new System.Windows.Forms.ToolStripSplitButton();
|
|
this.toolRemakeAsTriangleGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolRemakeAsVertexGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolChangeTagGroup = new System.Windows.Forms.ToolStripButton();
|
|
this.toolDeleteGroup = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.toolDrawNewTaggedTriangle = new System.Windows.Forms.ToolStripButton();
|
|
this.toolDrawNewEmptyTriangle = new System.Windows.Forms.ToolStripButton();
|
|
this.vslopegroups = new System.Windows.Forms.ListBox();
|
|
this.contextNewGroup = new System.Windows.Forms.ContextMenuStrip();
|
|
this.newTriangleGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.newVertexGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.drawNewAs = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.drawNewTaggedTriangle = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.drawNewEmptyTriangle = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.vslopeAbsZ3 = new System.Windows.Forms.CheckBox();
|
|
this.vslopeAbsZ2 = new System.Windows.Forms.CheckBox();
|
|
this.vslopeAbsZ1 = new System.Windows.Forms.CheckBox();
|
|
this.heightAdj = new System.Windows.Forms.VScrollBar();
|
|
this.rot_height = new System.Windows.Forms.Button();
|
|
this.rot_all = new System.Windows.Forms.Button();
|
|
this.flip_height = new System.Windows.Forms.Button();
|
|
this.flip_all = new System.Windows.Forms.Button();
|
|
this.vslopeZ3 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeY3 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeX3 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeZ2 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeY2 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeX2 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeZ1 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeY1 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.vslopeX1 = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.cancel = new System.Windows.Forms.Button();
|
|
this.newtag = new System.Windows.Forms.Button();
|
|
this.tagID = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
|
|
this.currentmode = new System.Windows.Forms.Label();
|
|
this.tooltip = new System.Windows.Forms.ToolTip();
|
|
this.affinevslopes = new System.Windows.Forms.CheckBox();
|
|
this.contextExistingGroup = new System.Windows.Forms.ContextMenuStrip();
|
|
this.remakeGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.remakeAsGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.remakeAsTriangleGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.remakeAsVertexGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.changeTagGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.deleteGroup = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.drawNewEmptyTriangle2 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.findNewUnusedTag = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.contextVSlopeLinedef = new System.Windows.Forms.ContextMenuStrip();
|
|
this.setAction704Item = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.setAction705Item = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.setAction714Item = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.setAction715Item = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.removeActionItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
label1 = new System.Windows.Forms.Label();
|
|
label4 = new System.Windows.Forms.Label();
|
|
label3 = new System.Windows.Forms.Label();
|
|
label2 = new System.Windows.Forms.Label();
|
|
label5 = new System.Windows.Forms.Label();
|
|
label6 = new System.Windows.Forms.Label();
|
|
label7 = new System.Windows.Forms.Label();
|
|
label11 = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.toolStripGroups.SuspendLayout();
|
|
this.contextNewGroup.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.contextExistingGroup.SuspendLayout();
|
|
this.contextVSlopeLinedef.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new System.Drawing.Point(30, 35);
|
|
label1.Name = "label1";
|
|
label1.Size = new System.Drawing.Size(39, 13);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "Tag #:";
|
|
this.tooltip.SetToolTip(label1, "Tag number to be used for the vertex slope, should be between 1 to 65535.");
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new System.Drawing.Point(222, 21);
|
|
label4.Name = "label4";
|
|
label4.Size = new System.Drawing.Size(23, 13);
|
|
label4.TabIndex = 12;
|
|
label4.Text = "X3:";
|
|
this.tooltip.SetToolTip(label4, "3rd Vertex Slope X-Axis");
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new System.Drawing.Point(118, 21);
|
|
label3.Name = "label3";
|
|
label3.Size = new System.Drawing.Size(23, 13);
|
|
label3.TabIndex = 6;
|
|
label3.Text = "X2:";
|
|
this.tooltip.SetToolTip(label3, "2nd Vertex Slope X-Axis");
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new System.Drawing.Point(12, 21);
|
|
label2.Name = "label2";
|
|
label2.Size = new System.Drawing.Size(23, 13);
|
|
label2.TabIndex = 0;
|
|
label2.Text = "X1:";
|
|
this.tooltip.SetToolTip(label2, "1st Vertex Slope X-Axis");
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new System.Drawing.Point(222, 47);
|
|
label5.Name = "label5";
|
|
label5.Size = new System.Drawing.Size(23, 13);
|
|
label5.TabIndex = 14;
|
|
label5.Text = "Y3:";
|
|
this.tooltip.SetToolTip(label5, "3rd Vertex Slope Y-Axis");
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new System.Drawing.Point(118, 47);
|
|
label6.Name = "label6";
|
|
label6.Size = new System.Drawing.Size(23, 13);
|
|
label6.TabIndex = 8;
|
|
label6.Text = "Y2:";
|
|
this.tooltip.SetToolTip(label6, "2nd Vertex Slope Y-Axis");
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new System.Drawing.Point(12, 47);
|
|
label7.Name = "label7";
|
|
label7.Size = new System.Drawing.Size(23, 13);
|
|
label7.TabIndex = 2;
|
|
label7.Text = "Y1:";
|
|
this.tooltip.SetToolTip(label7, "1st Vertex Slope Y-Axis");
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Location = new System.Drawing.Point(234, 126);
|
|
label11.Name = "label11";
|
|
label11.Size = new System.Drawing.Size(67, 13);
|
|
label11.TabIndex = 22;
|
|
label11.Text = "Adj. Heights:";
|
|
this.tooltip.SetToolTip(label11, "Adjust all heights together. Any negative value will be clipped to zero.");
|
|
//
|
|
// labelVSlope3
|
|
//
|
|
this.labelVSlope3.AutoSize = true;
|
|
this.labelVSlope3.Location = new System.Drawing.Point(222, 73);
|
|
this.labelVSlope3.Name = "labelVSlope3";
|
|
this.labelVSlope3.Size = new System.Drawing.Size(24, 13);
|
|
this.labelVSlope3.TabIndex = 16;
|
|
this.labelVSlope3.Text = "H3:";
|
|
this.tooltip.SetToolTip(this.labelVSlope3, "3rd Vertexa Slope Height");
|
|
//
|
|
// labelVSlope2
|
|
//
|
|
this.labelVSlope2.AutoSize = true;
|
|
this.labelVSlope2.Location = new System.Drawing.Point(118, 73);
|
|
this.labelVSlope2.Name = "labelVSlope2";
|
|
this.labelVSlope2.Size = new System.Drawing.Size(24, 13);
|
|
this.labelVSlope2.TabIndex = 10;
|
|
this.labelVSlope2.Text = "H2:";
|
|
this.tooltip.SetToolTip(this.labelVSlope2, "2nd Vertex Slope Height");
|
|
//
|
|
// labelVSlope1
|
|
//
|
|
this.labelVSlope1.AutoSize = true;
|
|
this.labelVSlope1.Location = new System.Drawing.Point(12, 73);
|
|
this.labelVSlope1.Name = "labelVSlope1";
|
|
this.labelVSlope1.Size = new System.Drawing.Size(24, 13);
|
|
this.labelVSlope1.TabIndex = 4;
|
|
this.labelVSlope1.Text = "H1:";
|
|
this.tooltip.SetToolTip(this.labelVSlope1, "1st Vertex Slope Height");
|
|
//
|
|
// apply
|
|
//
|
|
this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.apply.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.apply.Location = new System.Drawing.Point(12, 535);
|
|
this.apply.Name = "apply";
|
|
this.apply.Size = new System.Drawing.Size(70, 25);
|
|
this.apply.TabIndex = 8;
|
|
this.apply.Text = "OK";
|
|
this.apply.UseVisualStyleBackColor = true;
|
|
this.apply.Click += new System.EventHandler(this.apply_Click);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.toolStripGroups);
|
|
this.groupBox1.Controls.Add(this.vslopegroups);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 83);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(340, 252);
|
|
this.groupBox1.TabIndex = 6;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = " Vertex Slope Groups: ";
|
|
//
|
|
// toolStripGroups
|
|
//
|
|
this.toolStripGroups.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolNewTriangleGroup,
|
|
this.toolNewVertexGroup,
|
|
this.toolStripSeparator2,
|
|
this.toolRemakeGroup,
|
|
this.toolChangeTagGroup,
|
|
this.toolDeleteGroup,
|
|
this.toolStripSeparator3,
|
|
this.toolDrawNewTaggedTriangle,
|
|
this.toolDrawNewEmptyTriangle});
|
|
this.toolStripGroups.Location = new System.Drawing.Point(3, 16);
|
|
this.toolStripGroups.Name = "toolStripGroups";
|
|
this.toolStripGroups.Size = new System.Drawing.Size(334, 25);
|
|
this.toolStripGroups.TabIndex = 0;
|
|
this.toolStripGroups.Text = "toolStripGroups";
|
|
//
|
|
// toolNewTriangleGroup
|
|
//
|
|
this.toolNewTriangleGroup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.toolNewTriangleGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.AddTriangle;
|
|
this.toolNewTriangleGroup.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.toolNewTriangleGroup.Name = "toolNewTriangleGroup";
|
|
this.toolNewTriangleGroup.Size = new System.Drawing.Size(23, 22);
|
|
this.toolNewTriangleGroup.ToolTipText = "CREATE NEW TRIANGLE GROUP\r\n\r\nCreate a new Triangle Group that consist of 3 vertex" +
|
|
" slopes.";
|
|
this.toolNewTriangleGroup.Click += new System.EventHandler(this.newTriangleGroup_Click);
|
|
//
|
|
// toolNewVertexGroup
|
|
//
|
|
this.toolNewVertexGroup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.toolNewVertexGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.AddVertex;
|
|
this.toolNewVertexGroup.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.toolNewVertexGroup.Name = "toolNewVertexGroup";
|
|
this.toolNewVertexGroup.Size = new System.Drawing.Size(23, 22);
|
|
this.toolNewVertexGroup.ToolTipText = "CREATE NEW VERTEX GROUP\r\n\r\nCreate a new Vertex Group that consist of a single ver" +
|
|
"tex slope.";
|
|
this.toolNewVertexGroup.Click += new System.EventHandler(this.newVertexGroup_Click);
|
|
//
|
|
// toolStripSeparator2
|
|
//
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// toolRemakeGroup
|
|
//
|
|
this.toolRemakeGroup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.toolRemakeGroup.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolRemakeAsTriangleGroup,
|
|
this.toolRemakeAsVertexGroup});
|
|
this.toolRemakeGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawGeometryMode;
|
|
this.toolRemakeGroup.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.toolRemakeGroup.Name = "toolRemakeGroup";
|
|
this.toolRemakeGroup.Size = new System.Drawing.Size(32, 22);
|
|
this.toolRemakeGroup.ToolTipText = "REMAKE GROUP\r\n\r\nRemake selected tagged group by moving the vertex slope(s) positi" +
|
|
"on.\r\nInvalid group will be valid by having 3 vertex slopes only.\r\nSingle vertex " +
|
|
"group will only remake 1 vertex.";
|
|
this.toolRemakeGroup.Click += new System.EventHandler(this.remakeGroup_Click);
|
|
//
|
|
// toolRemakeAsTriangleGroup
|
|
//
|
|
this.toolRemakeAsTriangleGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawShapeMode;
|
|
this.toolRemakeAsTriangleGroup.Name = "toolRemakeAsTriangleGroup";
|
|
this.toolRemakeAsTriangleGroup.Size = new System.Drawing.Size(212, 22);
|
|
this.toolRemakeAsTriangleGroup.Text = "Remake Group as Triangle";
|
|
this.toolRemakeAsTriangleGroup.ToolTipText = "Remake selected tagged group by moving the vertex slope(s) position.\r\nInvalid gro" +
|
|
"up will be valid by having 3 vertex slopes only.\r\n\r\nGroup will be remade with 3 " +
|
|
"vertex slopes.";
|
|
this.toolRemakeAsTriangleGroup.Click += new System.EventHandler(this.remakeAsTriangleGroup_Click);
|
|
//
|
|
// toolRemakeAsVertexGroup
|
|
//
|
|
this.toolRemakeAsVertexGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.SingleVertex;
|
|
this.toolRemakeAsVertexGroup.Name = "toolRemakeAsVertexGroup";
|
|
this.toolRemakeAsVertexGroup.Size = new System.Drawing.Size(212, 22);
|
|
this.toolRemakeAsVertexGroup.Text = "Remake Group as Vertex";
|
|
this.toolRemakeAsVertexGroup.ToolTipText = "Remake selected tagged group by moving the vertex slope(s) position.\r\nInvalid gro" +
|
|
"up will be valid by having 1 vertex slope only.\r\n\r\nGroup will be remade with a s" +
|
|
"ingle vertex slope.";
|
|
this.toolRemakeAsVertexGroup.Click += new System.EventHandler(this.remakeAsVertexGroup_Click);
|
|
//
|
|
// toolChangeTagGroup
|
|
//
|
|
this.toolChangeTagGroup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.toolChangeTagGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Text;
|
|
this.toolChangeTagGroup.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.toolChangeTagGroup.Name = "toolChangeTagGroup";
|
|
this.toolChangeTagGroup.Size = new System.Drawing.Size(23, 22);
|
|
this.toolChangeTagGroup.ToolTipText = "CHANGE TAG\r\n\r\nSet a new tag to the selected tagged group.\r\nUsing a tag that belon" +
|
|
"g to another group is not allowed.";
|
|
this.toolChangeTagGroup.Click += new System.EventHandler(this.changeTagGroup_Click);
|
|
//
|
|
// toolDeleteGroup
|
|
//
|
|
this.toolDeleteGroup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.toolDeleteGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Close;
|
|
this.toolDeleteGroup.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.toolDeleteGroup.Name = "toolDeleteGroup";
|
|
this.toolDeleteGroup.Size = new System.Drawing.Size(23, 22);
|
|
this.toolDeleteGroup.ToolTipText = "DELETE GROUP\r\n\r\nDelete current tagged group, all vertex slopes will be erased!";
|
|
this.toolDeleteGroup.Click += new System.EventHandler(this.deleteGroup_Click);
|
|
//
|
|
// toolStripSeparator3
|
|
//
|
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
|
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// toolDrawNewTaggedTriangle
|
|
//
|
|
this.toolDrawNewTaggedTriangle.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.toolDrawNewTaggedTriangle.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawTaggedTriangle;
|
|
this.toolDrawNewTaggedTriangle.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.toolDrawNewTaggedTriangle.Name = "toolDrawNewTaggedTriangle";
|
|
this.toolDrawNewTaggedTriangle.Size = new System.Drawing.Size(23, 22);
|
|
this.toolDrawNewTaggedTriangle.ToolTipText = "DRAW TAGGED TRIANGLE\r\n\r\nDraw a new triangle shape with linedefs and attach 3 tagg" +
|
|
"ed vertex slopes inside it.\r\n\r\nRight-click any linedef inside the map to setup a" +
|
|
" vertex slope action.";
|
|
this.toolDrawNewTaggedTriangle.Click += new System.EventHandler(this.drawNewTaggedTriangle_Click);
|
|
//
|
|
// toolDrawNewEmptyTriangle
|
|
//
|
|
this.toolDrawNewEmptyTriangle.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.toolDrawNewEmptyTriangle.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawTriangle;
|
|
this.toolDrawNewEmptyTriangle.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.toolDrawNewEmptyTriangle.Name = "toolDrawNewEmptyTriangle";
|
|
this.toolDrawNewEmptyTriangle.Size = new System.Drawing.Size(23, 22);
|
|
this.toolDrawNewEmptyTriangle.ToolTipText = "DRAW EMPTY TRIANGLE\r\n\r\nDraw a new triangle shape with linedefs.";
|
|
this.toolDrawNewEmptyTriangle.Click += new System.EventHandler(this.drawNewEmptyTriangle_Click);
|
|
//
|
|
// vslopegroups
|
|
//
|
|
this.vslopegroups.ContextMenuStrip = this.contextNewGroup;
|
|
this.vslopegroups.FormattingEnabled = true;
|
|
this.vslopegroups.Location = new System.Drawing.Point(8, 45);
|
|
this.vslopegroups.Name = "vslopegroups";
|
|
this.vslopegroups.Size = new System.Drawing.Size(324, 199);
|
|
this.vslopegroups.TabIndex = 1;
|
|
this.tooltip.SetToolTip(this.vslopegroups, "Select tagged group of vertex slopes for editing.\r\n\r\nRight-click will open contex" +
|
|
"t menu.");
|
|
this.vslopegroups.SelectedIndexChanged += new System.EventHandler(this.vslopegroups_SelectedIndexChanged);
|
|
this.vslopegroups.DoubleClick += new System.EventHandler(this.vslopegroups_DoubleClick);
|
|
//
|
|
// contextNewGroup
|
|
//
|
|
this.contextNewGroup.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.newTriangleGroup,
|
|
this.newVertexGroup,
|
|
this.toolStripMenuItem3,
|
|
this.drawNewAs});
|
|
this.contextNewGroup.Name = "contextNewGroup";
|
|
this.contextNewGroup.Size = new System.Drawing.Size(181, 76);
|
|
//
|
|
// newTriangleGroup
|
|
//
|
|
this.newTriangleGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.AddTriangle;
|
|
this.newTriangleGroup.Name = "newTriangleGroup";
|
|
this.newTriangleGroup.Size = new System.Drawing.Size(180, 22);
|
|
this.newTriangleGroup.Text = "New Triangle Group";
|
|
this.newTriangleGroup.ToolTipText = "Create a new Triangle Group that consist of 3 vertex slopes.";
|
|
this.newTriangleGroup.Click += new System.EventHandler(this.newTriangleGroup_Click);
|
|
//
|
|
// newVertexGroup
|
|
//
|
|
this.newVertexGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.AddVertex;
|
|
this.newVertexGroup.Name = "newVertexGroup";
|
|
this.newVertexGroup.Size = new System.Drawing.Size(180, 22);
|
|
this.newVertexGroup.Text = "New Vertex Group";
|
|
this.newVertexGroup.ToolTipText = "Create a new Vertex Group that consist of a single vertex slope.";
|
|
this.newVertexGroup.Click += new System.EventHandler(this.newVertexGroup_Click);
|
|
//
|
|
// toolStripMenuItem3
|
|
//
|
|
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
|
|
this.toolStripMenuItem3.Size = new System.Drawing.Size(177, 6);
|
|
//
|
|
// drawNewAs
|
|
//
|
|
this.drawNewAs.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.drawNewTaggedTriangle,
|
|
this.drawNewEmptyTriangle});
|
|
this.drawNewAs.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawTriangle;
|
|
this.drawNewAs.Name = "drawNewAs";
|
|
this.drawNewAs.Size = new System.Drawing.Size(180, 22);
|
|
this.drawNewAs.Text = "Draw new...";
|
|
//
|
|
// drawNewTaggedTriangle
|
|
//
|
|
this.drawNewTaggedTriangle.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawTaggedTriangle;
|
|
this.drawNewTaggedTriangle.Name = "drawNewTaggedTriangle";
|
|
this.drawNewTaggedTriangle.Size = new System.Drawing.Size(160, 22);
|
|
this.drawNewTaggedTriangle.Text = "Tagged Triangle";
|
|
this.drawNewTaggedTriangle.ToolTipText = "Draw a new triangle shape with linedefs and attach 3 tagged vertex slopes inside " +
|
|
"it.\r\n\r\nRight-click any linedef inside the map to setup a vertex slope action.";
|
|
this.drawNewTaggedTriangle.Click += new System.EventHandler(this.drawNewTaggedTriangle_Click);
|
|
//
|
|
// drawNewEmptyTriangle
|
|
//
|
|
this.drawNewEmptyTriangle.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawTriangle;
|
|
this.drawNewEmptyTriangle.Name = "drawNewEmptyTriangle";
|
|
this.drawNewEmptyTriangle.Size = new System.Drawing.Size(160, 22);
|
|
this.drawNewEmptyTriangle.Text = "Empty Triangle";
|
|
this.drawNewEmptyTriangle.ToolTipText = "Draw a new triangle shape with linedefs.";
|
|
this.drawNewEmptyTriangle.Click += new System.EventHandler(this.drawNewEmptyTriangle_Click);
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.vslopeAbsZ3);
|
|
this.groupBox2.Controls.Add(this.vslopeAbsZ2);
|
|
this.groupBox2.Controls.Add(this.vslopeAbsZ1);
|
|
this.groupBox2.Controls.Add(label11);
|
|
this.groupBox2.Controls.Add(this.heightAdj);
|
|
this.groupBox2.Controls.Add(this.rot_height);
|
|
this.groupBox2.Controls.Add(this.rot_all);
|
|
this.groupBox2.Controls.Add(this.flip_height);
|
|
this.groupBox2.Controls.Add(this.flip_all);
|
|
this.groupBox2.Controls.Add(this.vslopeZ3);
|
|
this.groupBox2.Controls.Add(this.vslopeY3);
|
|
this.groupBox2.Controls.Add(this.vslopeX3);
|
|
this.groupBox2.Controls.Add(this.vslopeZ2);
|
|
this.groupBox2.Controls.Add(this.vslopeY2);
|
|
this.groupBox2.Controls.Add(this.vslopeX2);
|
|
this.groupBox2.Controls.Add(this.vslopeZ1);
|
|
this.groupBox2.Controls.Add(this.vslopeY1);
|
|
this.groupBox2.Controls.Add(this.vslopeX1);
|
|
this.groupBox2.Controls.Add(this.labelVSlope3);
|
|
this.groupBox2.Controls.Add(this.labelVSlope2);
|
|
this.groupBox2.Controls.Add(this.labelVSlope1);
|
|
this.groupBox2.Controls.Add(label5);
|
|
this.groupBox2.Controls.Add(label6);
|
|
this.groupBox2.Controls.Add(label7);
|
|
this.groupBox2.Controls.Add(label4);
|
|
this.groupBox2.Controls.Add(label3);
|
|
this.groupBox2.Controls.Add(label2);
|
|
this.groupBox2.Location = new System.Drawing.Point(12, 341);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(340, 186);
|
|
this.groupBox2.TabIndex = 7;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Selected Vertex Slope Group ";
|
|
//
|
|
// vslopeAbsZ3
|
|
//
|
|
this.vslopeAbsZ3.AutoSize = true;
|
|
this.vslopeAbsZ3.Location = new System.Drawing.Point(225, 98);
|
|
this.vslopeAbsZ3.Name = "vslopeAbsZ3";
|
|
this.vslopeAbsZ3.Size = new System.Drawing.Size(77, 17);
|
|
this.vslopeAbsZ3.TabIndex = 26;
|
|
this.vslopeAbsZ3.Text = "Absolute Z";
|
|
this.tooltip.SetToolTip(this.vslopeAbsZ3, "When checked the Z position of vertex will be absolute\r\notherwise the value is ad" +
|
|
"ded into sector height.\r\n\r\nNote: Absolute Z cannot be positioned less than zero." +
|
|
"");
|
|
this.vslopeAbsZ3.UseVisualStyleBackColor = true;
|
|
this.vslopeAbsZ3.CheckedChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeAbsZ2
|
|
//
|
|
this.vslopeAbsZ2.AutoSize = true;
|
|
this.vslopeAbsZ2.Location = new System.Drawing.Point(121, 98);
|
|
this.vslopeAbsZ2.Name = "vslopeAbsZ2";
|
|
this.vslopeAbsZ2.Size = new System.Drawing.Size(77, 17);
|
|
this.vslopeAbsZ2.TabIndex = 25;
|
|
this.vslopeAbsZ2.Text = "Absolute Z";
|
|
this.tooltip.SetToolTip(this.vslopeAbsZ2, "When checked the Z position of vertex will be absolute\r\notherwise the value is ad" +
|
|
"ded into sector height.\r\n\r\nNote: Absolute Z cannot be positioned less than zero." +
|
|
"");
|
|
this.vslopeAbsZ2.UseVisualStyleBackColor = true;
|
|
this.vslopeAbsZ2.CheckedChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeAbsZ1
|
|
//
|
|
this.vslopeAbsZ1.AutoSize = true;
|
|
this.vslopeAbsZ1.Location = new System.Drawing.Point(15, 98);
|
|
this.vslopeAbsZ1.Name = "vslopeAbsZ1";
|
|
this.vslopeAbsZ1.Size = new System.Drawing.Size(77, 17);
|
|
this.vslopeAbsZ1.TabIndex = 24;
|
|
this.vslopeAbsZ1.Text = "Absolute Z";
|
|
this.tooltip.SetToolTip(this.vslopeAbsZ1, "When checked the Z position of vertex will be absolute\r\notherwise the value is ad" +
|
|
"ded into sector height.\r\n\r\nNote: Absolute Z cannot be positioned less than zero." +
|
|
"");
|
|
this.vslopeAbsZ1.UseVisualStyleBackColor = true;
|
|
this.vslopeAbsZ1.CheckedChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// heightAdj
|
|
//
|
|
this.heightAdj.Location = new System.Drawing.Point(304, 121);
|
|
this.heightAdj.Minimum = -100;
|
|
this.heightAdj.Name = "heightAdj";
|
|
this.heightAdj.Size = new System.Drawing.Size(18, 24);
|
|
this.heightAdj.TabIndex = 23;
|
|
this.heightAdj.ValueChanged += new System.EventHandler(this.heightAdj_ValueChanged);
|
|
//
|
|
// rot_height
|
|
//
|
|
this.rot_height.Location = new System.Drawing.Point(12, 150);
|
|
this.rot_height.Name = "rot_height";
|
|
this.rot_height.Size = new System.Drawing.Size(96, 23);
|
|
this.rot_height.TabIndex = 20;
|
|
this.rot_height.Text = "Rotate (Height)";
|
|
this.tooltip.SetToolTip(this.rot_height, "Rotate the Vertex Slope order on the triangle but only affects Height.\r\nUseful if" +
|
|
" you remade the group with the wrong order.");
|
|
this.rot_height.UseVisualStyleBackColor = true;
|
|
this.rot_height.Click += new System.EventHandler(this.rot_height_Click);
|
|
//
|
|
// rot_all
|
|
//
|
|
this.rot_all.Location = new System.Drawing.Point(12, 121);
|
|
this.rot_all.Name = "rot_all";
|
|
this.rot_all.Size = new System.Drawing.Size(96, 23);
|
|
this.rot_all.TabIndex = 18;
|
|
this.rot_all.Text = "Rotate (All)";
|
|
this.tooltip.SetToolTip(this.rot_all, "Rotate the Vertex Slope order on the triangle.\r\nAffects position and height.");
|
|
this.rot_all.UseVisualStyleBackColor = true;
|
|
this.rot_all.Click += new System.EventHandler(this.rot_all_Click);
|
|
//
|
|
// flip_height
|
|
//
|
|
this.flip_height.Location = new System.Drawing.Point(121, 150);
|
|
this.flip_height.Name = "flip_height";
|
|
this.flip_height.Size = new System.Drawing.Size(96, 23);
|
|
this.flip_height.TabIndex = 21;
|
|
this.flip_height.Text = "Flip ⇔ (Height)";
|
|
this.tooltip.SetToolTip(this.flip_height, "Flip the 2nd and 3rd Vertex Slope order on the triangle.\r\nUseful if you remade th" +
|
|
"e group with the wrong order.");
|
|
this.flip_height.UseVisualStyleBackColor = true;
|
|
this.flip_height.Click += new System.EventHandler(this.flip_height_Click);
|
|
//
|
|
// flip_all
|
|
//
|
|
this.flip_all.Location = new System.Drawing.Point(121, 121);
|
|
this.flip_all.Name = "flip_all";
|
|
this.flip_all.Size = new System.Drawing.Size(96, 23);
|
|
this.flip_all.TabIndex = 19;
|
|
this.flip_all.Text = "Flip ⇔ (All)";
|
|
this.tooltip.SetToolTip(this.flip_all, "Flip the 2nd and 3rd Vertex Slope order on the triangle.\r\nAffects position and he" +
|
|
"ight.");
|
|
this.flip_all.UseVisualStyleBackColor = true;
|
|
this.flip_all.Click += new System.EventHandler(this.flip_all_Click);
|
|
//
|
|
// vslopeZ3
|
|
//
|
|
this.vslopeZ3.AllowDecimal = false;
|
|
this.vslopeZ3.AllowNegative = false;
|
|
this.vslopeZ3.AllowRelative = false;
|
|
this.vslopeZ3.ButtonStep = 1;
|
|
this.vslopeZ3.ButtonStepBig = 16F;
|
|
this.vslopeZ3.ButtonStepFloat = 1F;
|
|
this.vslopeZ3.ButtonStepSmall = 4F;
|
|
this.vslopeZ3.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeZ3.ButtonStepsWrapAround = false;
|
|
this.vslopeZ3.Location = new System.Drawing.Point(250, 68);
|
|
this.vslopeZ3.Name = "vslopeZ3";
|
|
this.vslopeZ3.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeZ3.StepValues = null;
|
|
this.vslopeZ3.TabIndex = 17;
|
|
this.vslopeZ3.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeY3
|
|
//
|
|
this.vslopeY3.AllowDecimal = false;
|
|
this.vslopeY3.AllowNegative = true;
|
|
this.vslopeY3.AllowRelative = false;
|
|
this.vslopeY3.ButtonStep = 1;
|
|
this.vslopeY3.ButtonStepBig = 16F;
|
|
this.vslopeY3.ButtonStepFloat = 1F;
|
|
this.vslopeY3.ButtonStepSmall = 4F;
|
|
this.vslopeY3.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeY3.ButtonStepsWrapAround = false;
|
|
this.vslopeY3.Location = new System.Drawing.Point(250, 42);
|
|
this.vslopeY3.Name = "vslopeY3";
|
|
this.vslopeY3.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeY3.StepValues = null;
|
|
this.vslopeY3.TabIndex = 15;
|
|
this.vslopeY3.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeX3
|
|
//
|
|
this.vslopeX3.AllowDecimal = false;
|
|
this.vslopeX3.AllowNegative = true;
|
|
this.vslopeX3.AllowRelative = false;
|
|
this.vslopeX3.ButtonStep = 1;
|
|
this.vslopeX3.ButtonStepBig = 16F;
|
|
this.vslopeX3.ButtonStepFloat = 1F;
|
|
this.vslopeX3.ButtonStepSmall = 4F;
|
|
this.vslopeX3.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeX3.ButtonStepsWrapAround = false;
|
|
this.vslopeX3.Location = new System.Drawing.Point(250, 16);
|
|
this.vslopeX3.Name = "vslopeX3";
|
|
this.vslopeX3.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeX3.StepValues = null;
|
|
this.vslopeX3.TabIndex = 13;
|
|
this.vslopeX3.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeZ2
|
|
//
|
|
this.vslopeZ2.AllowDecimal = false;
|
|
this.vslopeZ2.AllowNegative = false;
|
|
this.vslopeZ2.AllowRelative = false;
|
|
this.vslopeZ2.ButtonStep = 1;
|
|
this.vslopeZ2.ButtonStepBig = 16F;
|
|
this.vslopeZ2.ButtonStepFloat = 1F;
|
|
this.vslopeZ2.ButtonStepSmall = 4F;
|
|
this.vslopeZ2.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeZ2.ButtonStepsWrapAround = false;
|
|
this.vslopeZ2.Location = new System.Drawing.Point(147, 68);
|
|
this.vslopeZ2.Name = "vslopeZ2";
|
|
this.vslopeZ2.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeZ2.StepValues = null;
|
|
this.vslopeZ2.TabIndex = 11;
|
|
this.vslopeZ2.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeY2
|
|
//
|
|
this.vslopeY2.AllowDecimal = false;
|
|
this.vslopeY2.AllowNegative = true;
|
|
this.vslopeY2.AllowRelative = false;
|
|
this.vslopeY2.ButtonStep = 1;
|
|
this.vslopeY2.ButtonStepBig = 16F;
|
|
this.vslopeY2.ButtonStepFloat = 1F;
|
|
this.vslopeY2.ButtonStepSmall = 4F;
|
|
this.vslopeY2.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeY2.ButtonStepsWrapAround = false;
|
|
this.vslopeY2.Location = new System.Drawing.Point(147, 42);
|
|
this.vslopeY2.Name = "vslopeY2";
|
|
this.vslopeY2.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeY2.StepValues = null;
|
|
this.vslopeY2.TabIndex = 9;
|
|
this.vslopeY2.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeX2
|
|
//
|
|
this.vslopeX2.AllowDecimal = false;
|
|
this.vslopeX2.AllowNegative = true;
|
|
this.vslopeX2.AllowRelative = false;
|
|
this.vslopeX2.ButtonStep = 1;
|
|
this.vslopeX2.ButtonStepBig = 16F;
|
|
this.vslopeX2.ButtonStepFloat = 1F;
|
|
this.vslopeX2.ButtonStepSmall = 4F;
|
|
this.vslopeX2.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeX2.ButtonStepsWrapAround = false;
|
|
this.vslopeX2.Location = new System.Drawing.Point(147, 16);
|
|
this.vslopeX2.Name = "vslopeX2";
|
|
this.vslopeX2.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeX2.StepValues = null;
|
|
this.vslopeX2.TabIndex = 7;
|
|
this.vslopeX2.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeZ1
|
|
//
|
|
this.vslopeZ1.AllowDecimal = false;
|
|
this.vslopeZ1.AllowNegative = false;
|
|
this.vslopeZ1.AllowRelative = false;
|
|
this.vslopeZ1.ButtonStep = 1;
|
|
this.vslopeZ1.ButtonStepBig = 16F;
|
|
this.vslopeZ1.ButtonStepFloat = 1F;
|
|
this.vslopeZ1.ButtonStepSmall = 4F;
|
|
this.vslopeZ1.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeZ1.ButtonStepsWrapAround = false;
|
|
this.vslopeZ1.Location = new System.Drawing.Point(41, 68);
|
|
this.vslopeZ1.Name = "vslopeZ1";
|
|
this.vslopeZ1.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeZ1.StepValues = null;
|
|
this.vslopeZ1.TabIndex = 5;
|
|
this.vslopeZ1.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeY1
|
|
//
|
|
this.vslopeY1.AllowDecimal = false;
|
|
this.vslopeY1.AllowNegative = true;
|
|
this.vslopeY1.AllowRelative = false;
|
|
this.vslopeY1.ButtonStep = 1;
|
|
this.vslopeY1.ButtonStepBig = 16F;
|
|
this.vslopeY1.ButtonStepFloat = 1F;
|
|
this.vslopeY1.ButtonStepSmall = 4F;
|
|
this.vslopeY1.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeY1.ButtonStepsWrapAround = false;
|
|
this.vslopeY1.Location = new System.Drawing.Point(41, 42);
|
|
this.vslopeY1.Name = "vslopeY1";
|
|
this.vslopeY1.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeY1.StepValues = null;
|
|
this.vslopeY1.TabIndex = 3;
|
|
this.vslopeY1.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// vslopeX1
|
|
//
|
|
this.vslopeX1.AllowDecimal = false;
|
|
this.vslopeX1.AllowNegative = true;
|
|
this.vslopeX1.AllowRelative = false;
|
|
this.vslopeX1.ButtonStep = 1;
|
|
this.vslopeX1.ButtonStepBig = 16F;
|
|
this.vslopeX1.ButtonStepFloat = 1F;
|
|
this.vslopeX1.ButtonStepSmall = 4F;
|
|
this.vslopeX1.ButtonStepsUseModifierKeys = true;
|
|
this.vslopeX1.ButtonStepsWrapAround = false;
|
|
this.vslopeX1.Location = new System.Drawing.Point(41, 16);
|
|
this.vslopeX1.Name = "vslopeX1";
|
|
this.vslopeX1.Size = new System.Drawing.Size(72, 24);
|
|
this.vslopeX1.StepValues = null;
|
|
this.vslopeX1.TabIndex = 1;
|
|
this.vslopeX1.WhenTextChanged += new System.EventHandler(this.vslope_ValueChanged);
|
|
//
|
|
// cancel
|
|
//
|
|
this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancel.Location = new System.Drawing.Point(89, 535);
|
|
this.cancel.Name = "cancel";
|
|
this.cancel.Size = new System.Drawing.Size(70, 25);
|
|
this.cancel.TabIndex = 9;
|
|
this.cancel.Text = "Cancel";
|
|
this.cancel.UseVisualStyleBackColor = true;
|
|
this.cancel.Click += new System.EventHandler(this.cancel_Click);
|
|
//
|
|
// newtag
|
|
//
|
|
this.newtag.Location = new System.Drawing.Point(153, 30);
|
|
this.newtag.Name = "newtag";
|
|
this.newtag.Size = new System.Drawing.Size(48, 23);
|
|
this.newtag.TabIndex = 3;
|
|
this.newtag.Text = "New";
|
|
this.tooltip.SetToolTip(this.newtag, "Find a new unused tag.");
|
|
this.newtag.UseVisualStyleBackColor = true;
|
|
this.newtag.Click += new System.EventHandler(this.newtag_Click);
|
|
//
|
|
// tagID
|
|
//
|
|
this.tagID.AllowDecimal = false;
|
|
this.tagID.AllowNegative = false;
|
|
this.tagID.AllowRelative = false;
|
|
this.tagID.ButtonStep = 1;
|
|
this.tagID.ButtonStepBig = 100F;
|
|
this.tagID.ButtonStepFloat = 1F;
|
|
this.tagID.ButtonStepSmall = 10F;
|
|
this.tagID.ButtonStepsUseModifierKeys = true;
|
|
this.tagID.ButtonStepsWrapAround = false;
|
|
this.tagID.Location = new System.Drawing.Point(75, 30);
|
|
this.tagID.Name = "tagID";
|
|
this.tagID.Size = new System.Drawing.Size(72, 24);
|
|
this.tagID.StepValues = null;
|
|
this.tagID.TabIndex = 2;
|
|
this.tagID.WhenTextChanged += new System.EventHandler(this.tagID_ValueChanged);
|
|
//
|
|
// currentmode
|
|
//
|
|
this.currentmode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.currentmode.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.currentmode.Location = new System.Drawing.Point(12, 9);
|
|
this.currentmode.Name = "currentmode";
|
|
this.currentmode.Size = new System.Drawing.Size(340, 18);
|
|
this.currentmode.TabIndex = 0;
|
|
this.currentmode.Text = "Select Mode";
|
|
this.currentmode.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// tooltip
|
|
//
|
|
this.tooltip.AutoPopDelay = 10000;
|
|
this.tooltip.InitialDelay = 500;
|
|
this.tooltip.ReshowDelay = 100;
|
|
//
|
|
// affinevslopes
|
|
//
|
|
this.affinevslopes.AutoSize = true;
|
|
this.affinevslopes.Checked = true;
|
|
this.affinevslopes.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.affinevslopes.Location = new System.Drawing.Point(12, 60);
|
|
this.affinevslopes.Name = "affinevslopes";
|
|
this.affinevslopes.Size = new System.Drawing.Size(272, 17);
|
|
this.affinevslopes.TabIndex = 5;
|
|
this.affinevslopes.Text = "Move Vertex Slopes position to inside of the triangle.";
|
|
this.tooltip.SetToolTip(this.affinevslopes, resources.GetString("affinevslopes.ToolTip"));
|
|
this.affinevslopes.UseVisualStyleBackColor = true;
|
|
//
|
|
// contextExistingGroup
|
|
//
|
|
this.contextExistingGroup.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.remakeGroup,
|
|
this.remakeAsGroup,
|
|
this.toolStripMenuItem1,
|
|
this.changeTagGroup,
|
|
this.toolStripSeparator1,
|
|
this.deleteGroup,
|
|
this.toolStripMenuItem7,
|
|
this.drawNewEmptyTriangle2,
|
|
this.findNewUnusedTag});
|
|
this.contextExistingGroup.Name = "contextExistingGroup";
|
|
this.contextExistingGroup.Size = new System.Drawing.Size(212, 154);
|
|
//
|
|
// remakeGroup
|
|
//
|
|
this.remakeGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawGeometryMode;
|
|
this.remakeGroup.Name = "remakeGroup";
|
|
this.remakeGroup.Size = new System.Drawing.Size(211, 22);
|
|
this.remakeGroup.Text = "Remake Group";
|
|
this.remakeGroup.ToolTipText = "Remake selected tagged group by moving the vertex slope(s) position.\r\nInvalid gro" +
|
|
"up will be valid by having 3 vertex slopes only.\r\nSingle vertex group will only " +
|
|
"remake 1 vertex.";
|
|
this.remakeGroup.Click += new System.EventHandler(this.remakeGroup_Click);
|
|
//
|
|
// remakeAsGroup
|
|
//
|
|
this.remakeAsGroup.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.remakeAsTriangleGroup,
|
|
this.remakeAsVertexGroup});
|
|
this.remakeAsGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawGeometryMode;
|
|
this.remakeAsGroup.Name = "remakeAsGroup";
|
|
this.remakeAsGroup.Size = new System.Drawing.Size(211, 22);
|
|
this.remakeAsGroup.Text = "Remake as...";
|
|
//
|
|
// remakeAsTriangleGroup
|
|
//
|
|
this.remakeAsTriangleGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawShapeMode;
|
|
this.remakeAsTriangleGroup.Name = "remakeAsTriangleGroup";
|
|
this.remakeAsTriangleGroup.Size = new System.Drawing.Size(153, 22);
|
|
this.remakeAsTriangleGroup.Text = "Triangle Group";
|
|
this.remakeAsTriangleGroup.ToolTipText = "Remake selected tagged group by moving the vertex slope(s) position.\r\nInvalid gro" +
|
|
"up will be valid by having 3 vertex slopes only.\r\n\r\nGroup will be remade with 3 " +
|
|
"vertex slopes.";
|
|
this.remakeAsTriangleGroup.Click += new System.EventHandler(this.remakeAsTriangleGroup_Click);
|
|
//
|
|
// remakeAsVertexGroup
|
|
//
|
|
this.remakeAsVertexGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.SingleVertex;
|
|
this.remakeAsVertexGroup.Name = "remakeAsVertexGroup";
|
|
this.remakeAsVertexGroup.Size = new System.Drawing.Size(153, 22);
|
|
this.remakeAsVertexGroup.Text = "Vertex Group";
|
|
this.remakeAsVertexGroup.ToolTipText = "Remake selected tagged group by moving the vertex slope(s) position.\r\nInvalid gro" +
|
|
"up will be valid by having 1 vertex slope only.\r\n\r\nGroup will be remade with a s" +
|
|
"ingle vertex slope.";
|
|
this.remakeAsVertexGroup.Click += new System.EventHandler(this.remakeAsVertexGroup_Click);
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(208, 6);
|
|
//
|
|
// changeTagGroup
|
|
//
|
|
this.changeTagGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Text;
|
|
this.changeTagGroup.Name = "changeTagGroup";
|
|
this.changeTagGroup.Size = new System.Drawing.Size(211, 22);
|
|
this.changeTagGroup.Text = "Change Group Tag...";
|
|
this.changeTagGroup.ToolTipText = "Set a new tag to the selected tagged group.\r\nUsing a tag that belong to another g" +
|
|
"roup is not allowed.";
|
|
this.changeTagGroup.Click += new System.EventHandler(this.changeTagGroup_Click);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(208, 6);
|
|
//
|
|
// deleteGroup
|
|
//
|
|
this.deleteGroup.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Close;
|
|
this.deleteGroup.Name = "deleteGroup";
|
|
this.deleteGroup.Size = new System.Drawing.Size(211, 22);
|
|
this.deleteGroup.Text = "Delete Group";
|
|
this.deleteGroup.ToolTipText = "Delete current tagged group, all vertex slopes will be erased!";
|
|
this.deleteGroup.Click += new System.EventHandler(this.deleteGroup_Click);
|
|
//
|
|
// toolStripMenuItem7
|
|
//
|
|
this.toolStripMenuItem7.Name = "toolStripMenuItem7";
|
|
this.toolStripMenuItem7.Size = new System.Drawing.Size(208, 6);
|
|
//
|
|
// drawNewEmptyTriangle2
|
|
//
|
|
this.drawNewEmptyTriangle2.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.DrawTriangle;
|
|
this.drawNewEmptyTriangle2.Name = "drawNewEmptyTriangle2";
|
|
this.drawNewEmptyTriangle2.Size = new System.Drawing.Size(211, 22);
|
|
this.drawNewEmptyTriangle2.Text = "Draw New Empty Triangle";
|
|
this.drawNewEmptyTriangle2.ToolTipText = "Draw a new triangle shape with linedefs.";
|
|
this.drawNewEmptyTriangle2.Click += new System.EventHandler(this.drawNewEmptyTriangle_Click);
|
|
//
|
|
// findNewUnusedTag
|
|
//
|
|
this.findNewUnusedTag.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Search;
|
|
this.findNewUnusedTag.Name = "findNewUnusedTag";
|
|
this.findNewUnusedTag.Size = new System.Drawing.Size(211, 22);
|
|
this.findNewUnusedTag.Text = "Find New Unused Tag";
|
|
this.findNewUnusedTag.Click += new System.EventHandler(this.newtag_Click);
|
|
//
|
|
// contextVSlopeLinedef
|
|
//
|
|
this.contextVSlopeLinedef.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.setAction704Item,
|
|
this.setAction705Item,
|
|
this.setAction714Item,
|
|
this.setAction715Item,
|
|
this.toolStripMenuItem2,
|
|
this.removeActionItem});
|
|
this.contextVSlopeLinedef.Name = "contextVSlopeLinedef";
|
|
this.contextVSlopeLinedef.Size = new System.Drawing.Size(286, 120);
|
|
this.contextVSlopeLinedef.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.contextVSlopeLinedef_Closed);
|
|
//
|
|
// setAction704Item
|
|
//
|
|
this.setAction704Item.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.VertexSlope;
|
|
this.setAction704Item.Name = "setAction704Item";
|
|
this.setAction704Item.Size = new System.Drawing.Size(285, 22);
|
|
this.setAction704Item.Text = "Set Vertex Slope Frontside Floor (704)";
|
|
this.setAction704Item.Click += new System.EventHandler(this.setAction704Item_Click);
|
|
//
|
|
// setAction705Item
|
|
//
|
|
this.setAction705Item.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.VertexSlope;
|
|
this.setAction705Item.Name = "setAction705Item";
|
|
this.setAction705Item.Size = new System.Drawing.Size(285, 22);
|
|
this.setAction705Item.Text = "Set Vertex Slope Frontside Ceiling (705)";
|
|
this.setAction705Item.Click += new System.EventHandler(this.setAction705Item_Click);
|
|
//
|
|
// setAction714Item
|
|
//
|
|
this.setAction714Item.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.VertexSlope;
|
|
this.setAction714Item.Name = "setAction714Item";
|
|
this.setAction714Item.Size = new System.Drawing.Size(285, 22);
|
|
this.setAction714Item.Text = "Set Vertex Slope Backside Floor (714)";
|
|
this.setAction714Item.Click += new System.EventHandler(this.setAction714Item_Click);
|
|
//
|
|
// setAction715Item
|
|
//
|
|
this.setAction715Item.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.VertexSlope;
|
|
this.setAction715Item.Name = "setAction715Item";
|
|
this.setAction715Item.Size = new System.Drawing.Size(285, 22);
|
|
this.setAction715Item.Text = "Set Vertex Slope Backside Ceiling (715)";
|
|
this.setAction715Item.Click += new System.EventHandler(this.setAction715Item_Click);
|
|
//
|
|
// toolStripMenuItem2
|
|
//
|
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
|
this.toolStripMenuItem2.Size = new System.Drawing.Size(282, 6);
|
|
//
|
|
// removeActionItem
|
|
//
|
|
this.removeActionItem.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Close;
|
|
this.removeActionItem.Name = "removeActionItem";
|
|
this.removeActionItem.Size = new System.Drawing.Size(285, 22);
|
|
this.removeActionItem.Text = "Remove Action and Tag on Vertex Slope";
|
|
this.removeActionItem.Click += new System.EventHandler(this.removeActionItem_Click);
|
|
//
|
|
// VertexSlopeAssistForm
|
|
//
|
|
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(364, 572);
|
|
this.Controls.Add(this.affinevslopes);
|
|
this.Controls.Add(this.currentmode);
|
|
this.Controls.Add(this.tagID);
|
|
this.Controls.Add(this.newtag);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(label1);
|
|
this.Controls.Add(this.cancel);
|
|
this.Controls.Add(this.apply);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "VertexSlopeAssistForm";
|
|
this.Opacity = 0;
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
this.Text = "Vertex Slope Assistant";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.VertexSlopeAssistForm_FormClosing);
|
|
this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.VertexSlopeAssistForm_HelpRequested);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.toolStripGroups.ResumeLayout(false);
|
|
this.toolStripGroups.PerformLayout();
|
|
this.contextNewGroup.ResumeLayout(false);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.contextExistingGroup.ResumeLayout(false);
|
|
this.contextVSlopeLinedef.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button apply;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.ListBox vslopegroups;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.Button cancel;
|
|
private System.Windows.Forms.Button newtag;
|
|
private Controls.ButtonsNumericTextbox tagID;
|
|
private Controls.ButtonsNumericTextbox vslopeX1;
|
|
private Controls.ButtonsNumericTextbox vslopeZ1;
|
|
private Controls.ButtonsNumericTextbox vslopeY1;
|
|
private Controls.ButtonsNumericTextbox vslopeZ3;
|
|
private Controls.ButtonsNumericTextbox vslopeY3;
|
|
private Controls.ButtonsNumericTextbox vslopeX3;
|
|
private Controls.ButtonsNumericTextbox vslopeZ2;
|
|
private Controls.ButtonsNumericTextbox vslopeY2;
|
|
private Controls.ButtonsNumericTextbox vslopeX2;
|
|
private System.Windows.Forms.Label currentmode;
|
|
private System.Windows.Forms.ToolTip tooltip;
|
|
private System.Windows.Forms.Button rot_height;
|
|
private System.Windows.Forms.Button rot_all;
|
|
private System.Windows.Forms.Button flip_height;
|
|
private System.Windows.Forms.Button flip_all;
|
|
private System.Windows.Forms.CheckBox affinevslopes;
|
|
private System.Windows.Forms.VScrollBar heightAdj;
|
|
private System.Windows.Forms.ContextMenuStrip contextExistingGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem remakeGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem remakeAsGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem remakeAsTriangleGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem remakeAsVertexGroup;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
|
private System.Windows.Forms.ToolStripMenuItem changeTagGroup;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.ToolStripMenuItem deleteGroup;
|
|
private System.Windows.Forms.ContextMenuStrip contextNewGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem newTriangleGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem newVertexGroup;
|
|
private System.Windows.Forms.ContextMenuStrip contextVSlopeLinedef;
|
|
private System.Windows.Forms.ToolStripMenuItem setAction704Item;
|
|
private System.Windows.Forms.ToolStripMenuItem setAction705Item;
|
|
private System.Windows.Forms.ToolStripMenuItem setAction714Item;
|
|
private System.Windows.Forms.ToolStripMenuItem setAction715Item;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
|
private System.Windows.Forms.ToolStripMenuItem removeActionItem;
|
|
private System.Windows.Forms.ToolStrip toolStripGroups;
|
|
private System.Windows.Forms.ToolStripButton toolNewTriangleGroup;
|
|
private System.Windows.Forms.ToolStripButton toolNewVertexGroup;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
private System.Windows.Forms.ToolStripSplitButton toolRemakeGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem toolRemakeAsTriangleGroup;
|
|
private System.Windows.Forms.ToolStripMenuItem toolRemakeAsVertexGroup;
|
|
private System.Windows.Forms.ToolStripButton toolChangeTagGroup;
|
|
private System.Windows.Forms.ToolStripButton toolDeleteGroup;
|
|
private System.Windows.Forms.CheckBox vslopeAbsZ3;
|
|
private System.Windows.Forms.CheckBox vslopeAbsZ2;
|
|
private System.Windows.Forms.CheckBox vslopeAbsZ1;
|
|
private System.Windows.Forms.Label labelVSlope3;
|
|
private System.Windows.Forms.Label labelVSlope2;
|
|
private System.Windows.Forms.Label labelVSlope1;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
|
private System.Windows.Forms.ToolStripButton toolDrawNewTaggedTriangle;
|
|
private System.Windows.Forms.ToolStripButton toolDrawNewEmptyTriangle;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem7;
|
|
private System.Windows.Forms.ToolStripMenuItem drawNewAs;
|
|
private System.Windows.Forms.ToolStripMenuItem drawNewTaggedTriangle;
|
|
private System.Windows.Forms.ToolStripMenuItem drawNewEmptyTriangle;
|
|
private System.Windows.Forms.ToolStripMenuItem drawNewEmptyTriangle2;
|
|
private System.Windows.Forms.ToolStripMenuItem findNewUnusedTag;
|
|
}
|
|
} |