mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-15 09:01:40 +00:00
ce91d27ad2
Added: guidelines can now be enabled in Draw Rectangle/Ellipse/Grid modes. Changed, Draw Lines mode: perpendicular guidelines are now drawn for horizontal/vertical lines. Updated, Draw Ellipse mode: the shape now always touches all sides of the bounding box. Updated ZDoom_ACS.cfg. Updated ZDoom_DECORATE.cfg. Updated ZDoom ACC.
180 lines
6.2 KiB
C#
180 lines
6.2 KiB
C#
namespace CodeImp.DoomBuilder.BuilderModes
|
|
{
|
|
partial class DrawRectangleOptionsPanel
|
|
{
|
|
/// <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.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
this.continuousdrawing = new System.Windows.Forms.ToolStripButton();
|
|
this.showguidelines = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.radiuslabel = new System.Windows.Forms.ToolStripLabel();
|
|
this.radius = new CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown();
|
|
this.subdivslabel = new System.Windows.Forms.ToolStripLabel();
|
|
this.subdivs = new CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown();
|
|
this.reset = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// toolStrip1
|
|
//
|
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.continuousdrawing,
|
|
this.showguidelines,
|
|
this.toolStripSeparator1,
|
|
this.radiuslabel,
|
|
this.radius,
|
|
this.subdivslabel,
|
|
this.subdivs,
|
|
this.reset});
|
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.toolStrip1.Name = "toolStrip1";
|
|
this.toolStrip1.Size = new System.Drawing.Size(750, 25);
|
|
this.toolStrip1.TabIndex = 7;
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
//
|
|
// continuousdrawing
|
|
//
|
|
this.continuousdrawing.CheckOnClick = true;
|
|
this.continuousdrawing.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Repeat;
|
|
this.continuousdrawing.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.continuousdrawing.Name = "continuousdrawing";
|
|
this.continuousdrawing.Size = new System.Drawing.Size(135, 22);
|
|
this.continuousdrawing.Text = "Continuous drawing";
|
|
this.continuousdrawing.CheckedChanged += new System.EventHandler(this.continuousdrawing_CheckedChanged);
|
|
//
|
|
// showguidelines
|
|
//
|
|
this.showguidelines.CheckOnClick = true;
|
|
this.showguidelines.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Guidelines;
|
|
this.showguidelines.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.showguidelines.Margin = new System.Windows.Forms.Padding(2, 1, 0, 2);
|
|
this.showguidelines.Name = "showguidelines";
|
|
this.showguidelines.Size = new System.Drawing.Size(82, 22);
|
|
this.showguidelines.Text = "Guidelines";
|
|
this.showguidelines.CheckedChanged += new System.EventHandler(this.showguidelines_CheckedChanged);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// radiuslabel
|
|
//
|
|
this.radiuslabel.Name = "radiuslabel";
|
|
this.radiuslabel.Size = new System.Drawing.Size(76, 22);
|
|
this.radiuslabel.Text = "Bevel Radius:";
|
|
//
|
|
// radius
|
|
//
|
|
this.radius.AutoSize = false;
|
|
this.radius.Margin = new System.Windows.Forms.Padding(3, 0, 6, 0);
|
|
this.radius.Maximum = new decimal(new int[] {
|
|
2048,
|
|
0,
|
|
0,
|
|
0});
|
|
this.radius.Minimum = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
this.radius.Name = "radius";
|
|
this.radius.Size = new System.Drawing.Size(56, 20);
|
|
this.radius.Text = "0";
|
|
this.radius.Value = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// subdivslabel
|
|
//
|
|
this.subdivslabel.Name = "subdivslabel";
|
|
this.subdivslabel.Size = new System.Drawing.Size(76, 22);
|
|
this.subdivslabel.Text = "Subdivisions:";
|
|
//
|
|
// subdivs
|
|
//
|
|
this.subdivs.AutoSize = false;
|
|
this.subdivs.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
|
this.subdivs.Maximum = new decimal(new int[] {
|
|
128,
|
|
0,
|
|
0,
|
|
0});
|
|
this.subdivs.Minimum = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
this.subdivs.Name = "subdivs";
|
|
this.subdivs.Size = new System.Drawing.Size(56, 20);
|
|
this.subdivs.Text = "0";
|
|
this.subdivs.Value = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// reset
|
|
//
|
|
this.reset.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.reset.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Reset;
|
|
this.reset.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.reset.Name = "reset";
|
|
this.reset.Size = new System.Drawing.Size(23, 22);
|
|
this.reset.Text = "Reset";
|
|
this.reset.Click += new System.EventHandler(this.reset_Click);
|
|
//
|
|
// DrawRectangleOptionsPanel
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.toolStrip1);
|
|
this.Name = "DrawRectangleOptionsPanel";
|
|
this.Size = new System.Drawing.Size(750, 60);
|
|
this.toolStrip1.ResumeLayout(false);
|
|
this.toolStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
|
private System.Windows.Forms.ToolStripLabel radiuslabel;
|
|
private CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown radius;
|
|
private System.Windows.Forms.ToolStripLabel subdivslabel;
|
|
private CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown subdivs;
|
|
private System.Windows.Forms.ToolStripButton reset;
|
|
private System.Windows.Forms.ToolStripButton continuousdrawing;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.ToolStripButton showguidelines;
|
|
}
|
|
}
|