mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 15:41:30 +00:00
e487a9c80a
When Draw Rectangle or Draw Ellipse mode is enabled, it's settings are now shown in side panel. Draw Ellipse mode: increased maximum number of sides to 512. Changed the way tags are shown in Tag Selector controls. Tags without labels are now shown as a number (not "Tag N"), and tags with label are now shown as "N (label)", not "label (N)". Tag labels are now shown in Thing, Sector and Linedef info panels. Once again changed the way things are rendered while dragged. Rearranged the label in PairedIntControl and PairedFieldControl (it is now behind numeric controls). Optimized MapSet.GetSectorByCoordinates().
180 lines
6.6 KiB
C#
180 lines
6.6 KiB
C#
namespace CodeImp.DoomBuilder.BuilderModes
|
|
{
|
|
partial class DrawEllipseOptionsPanel
|
|
{
|
|
/// <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.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.hints = new System.Windows.Forms.RichTextBox();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.subdivs = new System.Windows.Forms.NumericUpDown();
|
|
this.spikiness = new System.Windows.Forms.NumericUpDown();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.reset = new System.Windows.Forms.Button();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.subdivs)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.spikiness)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox2.Controls.Add(this.hints);
|
|
this.groupBox2.Location = new System.Drawing.Point(3, 89);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(243, 150);
|
|
this.groupBox2.TabIndex = 6;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Quick Help:";
|
|
//
|
|
// hints
|
|
//
|
|
this.hints.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.hints.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.hints.Location = new System.Drawing.Point(9, 19);
|
|
this.hints.Name = "hints";
|
|
this.hints.ReadOnly = true;
|
|
this.hints.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
|
|
this.hints.ShortcutsEnabled = false;
|
|
this.hints.Size = new System.Drawing.Size(228, 125);
|
|
this.hints.TabIndex = 0;
|
|
this.hints.Text = "";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox1.Controls.Add(this.reset);
|
|
this.groupBox1.Controls.Add(this.subdivs);
|
|
this.groupBox1.Controls.Add(this.spikiness);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(3, 3);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(243, 80);
|
|
this.groupBox1.TabIndex = 5;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Draw Options:";
|
|
//
|
|
// subdivs
|
|
//
|
|
this.subdivs.Location = new System.Drawing.Point(78, 23);
|
|
this.subdivs.Maximum = new decimal(new int[] {
|
|
512,
|
|
0,
|
|
0,
|
|
0});
|
|
this.subdivs.Minimum = new decimal(new int[] {
|
|
6,
|
|
0,
|
|
0,
|
|
0});
|
|
this.subdivs.Name = "subdivs";
|
|
this.subdivs.Size = new System.Drawing.Size(72, 20);
|
|
this.subdivs.TabIndex = 4;
|
|
this.subdivs.Value = new decimal(new int[] {
|
|
8,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// spikiness
|
|
//
|
|
this.spikiness.Location = new System.Drawing.Point(78, 49);
|
|
this.spikiness.Maximum = new decimal(new int[] {
|
|
32767,
|
|
0,
|
|
0,
|
|
0});
|
|
this.spikiness.Minimum = new decimal(new int[] {
|
|
32768,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.spikiness.Name = "spikiness";
|
|
this.spikiness.Size = new System.Drawing.Size(72, 20);
|
|
this.spikiness.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.Location = new System.Drawing.Point(7, 26);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(65, 14);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "Sides:";
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Location = new System.Drawing.Point(7, 52);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(65, 13);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Spikiness:";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// reset
|
|
//
|
|
this.reset.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Reset;
|
|
this.reset.Location = new System.Drawing.Point(156, 21);
|
|
this.reset.Name = "reset";
|
|
this.reset.Size = new System.Drawing.Size(26, 49);
|
|
this.reset.TabIndex = 6;
|
|
this.reset.UseVisualStyleBackColor = true;
|
|
this.reset.Click += new System.EventHandler(this.reset_Click);
|
|
//
|
|
// DrawEllipseOptionsPanel
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.Name = "DrawEllipseOptionsPanel";
|
|
this.Size = new System.Drawing.Size(249, 243);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.subdivs)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.spikiness)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.RichTextBox hints;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.NumericUpDown subdivs;
|
|
private System.Windows.Forms.NumericUpDown spikiness;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button reset;
|
|
}
|
|
}
|