mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Fixed: side panel was not auto-collapsed when Help tab was selected.
Fixed: texture size label's visibility was inconsistent in ImageSelectorControls.
This commit is contained in:
parent
d27ae9c518
commit
1adf313a91
9 changed files with 128 additions and 137 deletions
21
Source/Core/Controls/HintsPanel.Designer.cs
generated
21
Source/Core/Controls/HintsPanel.Designer.cs
generated
|
@ -26,41 +26,54 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent() {
|
private void InitializeComponent() {
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HintsPanel));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HintsPanel));
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.hints = new System.Windows.Forms.RichTextBox();
|
this.hints = new System.Windows.Forms.RichTextBox();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(110, 13);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "hidden focus catcher!";
|
||||||
|
//
|
||||||
// hints
|
// hints
|
||||||
//
|
//
|
||||||
this.hints.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
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.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.hints.BackColor = System.Drawing.SystemColors.Window;
|
this.hints.BackColor = System.Drawing.SystemColors.Window;
|
||||||
this.hints.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
||||||
this.hints.Cursor = System.Windows.Forms.Cursors.Arrow;
|
this.hints.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||||
this.hints.DetectUrls = false;
|
this.hints.DetectUrls = false;
|
||||||
this.hints.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
this.hints.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.hints.Location = new System.Drawing.Point(3, 3);
|
this.hints.Location = new System.Drawing.Point(6, 3);
|
||||||
this.hints.Name = "hints";
|
this.hints.Name = "hints";
|
||||||
this.hints.ReadOnly = true;
|
this.hints.ReadOnly = true;
|
||||||
this.hints.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
|
this.hints.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
|
||||||
this.hints.ShortcutsEnabled = false;
|
this.hints.ShortcutsEnabled = false;
|
||||||
this.hints.Size = new System.Drawing.Size(384, 542);
|
this.hints.Size = new System.Drawing.Size(381, 542);
|
||||||
this.hints.TabIndex = 1;
|
this.hints.TabIndex = 2;
|
||||||
this.hints.Text = resources.GetString("hints.Text");
|
this.hints.Text = resources.GetString("hints.Text");
|
||||||
|
this.hints.Enter += new System.EventHandler(this.hints_Enter);
|
||||||
//
|
//
|
||||||
// HintsPanel
|
// HintsPanel
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.hints);
|
this.Controls.Add(this.hints);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
this.Name = "HintsPanel";
|
this.Name = "HintsPanel";
|
||||||
this.Size = new System.Drawing.Size(390, 548);
|
this.Size = new System.Drawing.Size(390, 548);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.RichTextBox hints;
|
private System.Windows.Forms.RichTextBox hints;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CodeImp.DoomBuilder.Controls
|
namespace CodeImp.DoomBuilder.Controls
|
||||||
|
@ -13,31 +12,22 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
|
|
||||||
internal void SetHints(string[] hintsText) {
|
internal void SetHints(string[] hintsText) {
|
||||||
hints.Clear();
|
hints.Clear();
|
||||||
|
if(hintsText.Length == 0) return;
|
||||||
|
|
||||||
foreach (string s in hintsText) {
|
//convert to rtf markup
|
||||||
hints.AppendText(s + Environment.NewLine + Environment.NewLine);
|
hintsText[0] = "{\\rtf1" + hintsText[0];
|
||||||
}
|
hintsText[hintsText.Length - 1] += "}";
|
||||||
|
|
||||||
//apply <b> tags
|
hints.SelectedRtf = string.Join("\\par\\par ", hintsText).Replace("<b>", "{\\b ").Replace("</b>", "}");
|
||||||
int start = hints.Text.IndexOf("<b>");
|
|
||||||
int end = hints.Text.IndexOf("</b>");
|
|
||||||
Font regular = hints.Font;
|
|
||||||
Font bold = new Font(hints.SelectionFont, FontStyle.Bold);
|
|
||||||
|
|
||||||
while(start != -1 && end != -1) {
|
|
||||||
hints.Select(start, end + 4 - start);
|
|
||||||
hints.SelectionFont = bold;
|
|
||||||
hints.SelectedText = hints.SelectedText.Replace("<b>", "").Replace("</b>", "");
|
|
||||||
|
|
||||||
start = hints.Text.IndexOf("<b>");
|
|
||||||
end = hints.Text.IndexOf("</b>");
|
|
||||||
}
|
|
||||||
|
|
||||||
hints.SelectionFont = regular;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void ClearHints() {
|
internal void ClearHints() {
|
||||||
hints.Clear();
|
hints.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fight TextBoxes habit of not releasing the focus by using a carefully placed label
|
||||||
|
private void hints_Enter(object sender, EventArgs e) {
|
||||||
|
label1.Focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,6 +140,7 @@ GZDB is very easy to use: just learn more than 300 awesome hot keys and you are
|
||||||
|
|
||||||
To find the Broom Closet Ending, create the broom closet!
|
To find the Broom Closet Ending, create the broom closet!
|
||||||
|
|
||||||
Press F1 to view Achievements!</value>
|
Press F1 to view Achievements!
|
||||||
|
</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -95,6 +95,7 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
this.Size = new System.Drawing.Size(115, 136);
|
this.Size = new System.Drawing.Size(115, 136);
|
||||||
this.Layout += new System.Windows.Forms.LayoutEventHandler(this.ImageSelectorControl_Layout);
|
this.Layout += new System.Windows.Forms.LayoutEventHandler(this.ImageSelectorControl_Layout);
|
||||||
this.Resize += new System.EventHandler(this.ImageSelectorControl_Resize);
|
this.Resize += new System.EventHandler(this.ImageSelectorControl_Resize);
|
||||||
|
this.EnabledChanged += new System.EventHandler(this.ImageSelectorControl_EnabledChanged);
|
||||||
this.preview.ResumeLayout(false);
|
this.preview.ResumeLayout(false);
|
||||||
this.preview.PerformLayout();
|
this.preview.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
|
@ -86,7 +86,6 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
// Image clicked
|
// Image clicked
|
||||||
private void preview_Click(object sender, EventArgs e)
|
private void preview_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//ispressed = false;
|
|
||||||
preview.BackColor = SystemColors.Highlight;
|
preview.BackColor = SystemColors.Highlight;
|
||||||
ShowPreview(FindImage(name.Text));
|
ShowPreview(FindImage(name.Text));
|
||||||
if(button == MouseButtons.Right)
|
if(button == MouseButtons.Right)
|
||||||
|
@ -156,6 +155,11 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
private void timer_Tick(object sender, EventArgs e) {
|
private void timer_Tick(object sender, EventArgs e) {
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//mxd
|
||||||
|
private void ImageSelectorControl_EnabledChanged(object sender, EventArgs e) {
|
||||||
|
labelSize.Visible = !(!General.Settings.ShowTextureSizes || !this.Enabled || string.IsNullOrEmpty(labelSize.Text));
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -196,13 +200,8 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
|
|
||||||
//mxd
|
//mxd
|
||||||
protected void DisplayImageSize(float width, float height) {
|
protected void DisplayImageSize(float width, float height) {
|
||||||
if(!General.Settings.ShowTextureSizes || !this.Enabled || width == 0 || height == 0) {
|
labelSize.Text = (width > 0 && height > 0) ? width + "x" + height : string.Empty;
|
||||||
labelSize.Visible = false;
|
ImageSelectorControl_EnabledChanged(this, EventArgs.Empty);
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
labelSize.Visible = true;
|
|
||||||
labelSize.Text = width + "x" + height;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This must determine and return the image to show
|
// This must determine and return the image to show
|
||||||
|
@ -244,7 +243,9 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
// This clamps a value between 0 and 1
|
// This clamps a value between 0 and 1
|
||||||
private float Saturate(float v)
|
private float Saturate(float v)
|
||||||
{
|
{
|
||||||
if(v < 0f) return 0f; else if(v > 1f) return 1f; else return v;
|
if(v < 0f) return 0f;
|
||||||
|
if(v > 1f) return 1f;
|
||||||
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -145,7 +145,7 @@ preferences
|
||||||
{
|
{
|
||||||
title = "Preferences";
|
title = "Preferences";
|
||||||
category = "tools";
|
category = "tools";
|
||||||
description = "Shows this Preferences dialog.";
|
description = "Shows the Preferences dialog.";
|
||||||
allowkeys = true;
|
allowkeys = true;
|
||||||
allowmouse = false;
|
allowmouse = false;
|
||||||
allowscroll = false;
|
allowscroll = false;
|
||||||
|
|
|
@ -474,8 +474,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
|
|
||||||
//render preview
|
//render preview
|
||||||
if(renderer.StartOverlay(true)) {
|
if(renderer.StartOverlay(true)) {
|
||||||
|
float dist = Vector2D.Distance(mousemappos, insertPreview);
|
||||||
|
byte alpha = (byte)(255 - (dist / BuilderPlug.Me.SplitLinedefsRange) * 192);
|
||||||
float vsize = (renderer.VertexSize + 1.0f) / renderer.Scale;
|
float vsize = (renderer.VertexSize + 1.0f) / renderer.Scale;
|
||||||
renderer.RenderRectangleFilled(new RectangleF(insertPreview.x - vsize, insertPreview.y - vsize, vsize * 2.0f, vsize * 2.0f), General.Colors.InfoLine, true);
|
renderer.RenderRectangleFilled(new RectangleF(insertPreview.x - vsize, insertPreview.y - vsize, vsize * 2.0f, vsize * 2.0f), General.Colors.InfoLine.WithAlpha(alpha), true);
|
||||||
renderer.Finish();
|
renderer.Finish();
|
||||||
renderer.Present();
|
renderer.Present();
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,8 +29,6 @@
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
this.cbOverrideFloorTexture = new System.Windows.Forms.CheckBox();
|
this.cbOverrideFloorTexture = new System.Windows.Forms.CheckBox();
|
||||||
this.cbOverrideCeilingTexture = new System.Windows.Forms.CheckBox();
|
this.cbOverrideCeilingTexture = new System.Windows.Forms.CheckBox();
|
||||||
this.floor = new CodeImp.DoomBuilder.Controls.TextureSelectorControl();
|
|
||||||
this.ceiling = new CodeImp.DoomBuilder.Controls.TextureSelectorControl();
|
|
||||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.label14 = new System.Windows.Forms.Label();
|
this.label14 = new System.Windows.Forms.Label();
|
||||||
|
@ -48,18 +46,20 @@
|
||||||
this.top = new CodeImp.DoomBuilder.Controls.TextureSelectorControl();
|
this.top = new CodeImp.DoomBuilder.Controls.TextureSelectorControl();
|
||||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||||
this.fillceiling = new System.Windows.Forms.Button();
|
|
||||||
this.fillfloor = new System.Windows.Forms.Button();
|
|
||||||
this.fillupper = new System.Windows.Forms.Button();
|
|
||||||
this.fillmiddle = new System.Windows.Forms.Button();
|
|
||||||
this.filllower = new System.Windows.Forms.Button();
|
this.filllower = new System.Windows.Forms.Button();
|
||||||
|
this.fillmiddle = new System.Windows.Forms.Button();
|
||||||
|
this.fillupper = new System.Windows.Forms.Button();
|
||||||
|
this.fillfloor = new System.Windows.Forms.Button();
|
||||||
|
this.fillceiling = new System.Windows.Forms.Button();
|
||||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||||
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
|
||||||
this.clearlower = new System.Windows.Forms.Button();
|
this.clearlower = new System.Windows.Forms.Button();
|
||||||
this.clearmiddle = new System.Windows.Forms.Button();
|
this.clearmiddle = new System.Windows.Forms.Button();
|
||||||
this.clearupper = new System.Windows.Forms.Button();
|
this.clearupper = new System.Windows.Forms.Button();
|
||||||
this.clearfloor = new System.Windows.Forms.Button();
|
this.clearfloor = new System.Windows.Forms.Button();
|
||||||
this.clearceiling = new System.Windows.Forms.Button();
|
this.clearceiling = new System.Windows.Forms.Button();
|
||||||
|
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.floor = new CodeImp.DoomBuilder.Controls.FlatSelectorControl();
|
||||||
|
this.ceiling = new CodeImp.DoomBuilder.Controls.FlatSelectorControl();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
this.groupBox2.SuspendLayout();
|
this.groupBox2.SuspendLayout();
|
||||||
this.groupBox3.SuspendLayout();
|
this.groupBox3.SuspendLayout();
|
||||||
|
@ -71,10 +71,10 @@
|
||||||
//
|
//
|
||||||
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.groupBox1.Controls.Add(this.ceiling);
|
||||||
|
this.groupBox1.Controls.Add(this.floor);
|
||||||
this.groupBox1.Controls.Add(this.cbOverrideFloorTexture);
|
this.groupBox1.Controls.Add(this.cbOverrideFloorTexture);
|
||||||
this.groupBox1.Controls.Add(this.cbOverrideCeilingTexture);
|
this.groupBox1.Controls.Add(this.cbOverrideCeilingTexture);
|
||||||
this.groupBox1.Controls.Add(this.floor);
|
|
||||||
this.groupBox1.Controls.Add(this.ceiling);
|
|
||||||
this.groupBox1.Location = new System.Drawing.Point(3, 3);
|
this.groupBox1.Location = new System.Drawing.Point(3, 3);
|
||||||
this.groupBox1.Name = "groupBox1";
|
this.groupBox1.Name = "groupBox1";
|
||||||
this.groupBox1.Size = new System.Drawing.Size(243, 137);
|
this.groupBox1.Size = new System.Drawing.Size(243, 137);
|
||||||
|
@ -104,26 +104,6 @@
|
||||||
this.cbOverrideCeilingTexture.UseVisualStyleBackColor = true;
|
this.cbOverrideCeilingTexture.UseVisualStyleBackColor = true;
|
||||||
this.cbOverrideCeilingTexture.CheckedChanged += new System.EventHandler(this.cbOverrideCeilingTexture_CheckedChanged);
|
this.cbOverrideCeilingTexture.CheckedChanged += new System.EventHandler(this.cbOverrideCeilingTexture_CheckedChanged);
|
||||||
//
|
//
|
||||||
// floor
|
|
||||||
//
|
|
||||||
this.floor.Location = new System.Drawing.Point(87, 41);
|
|
||||||
this.floor.Name = "floor";
|
|
||||||
this.floor.Required = false;
|
|
||||||
this.floor.Size = new System.Drawing.Size(68, 90);
|
|
||||||
this.floor.TabIndex = 17;
|
|
||||||
this.floor.TextureName = "";
|
|
||||||
this.floor.OnValueChanged += new System.EventHandler(this.floor_OnValueChanged);
|
|
||||||
//
|
|
||||||
// ceiling
|
|
||||||
//
|
|
||||||
this.ceiling.Location = new System.Drawing.Point(6, 41);
|
|
||||||
this.ceiling.Name = "ceiling";
|
|
||||||
this.ceiling.Required = false;
|
|
||||||
this.ceiling.Size = new System.Drawing.Size(68, 90);
|
|
||||||
this.ceiling.TabIndex = 16;
|
|
||||||
this.ceiling.TextureName = "";
|
|
||||||
this.ceiling.OnValueChanged += new System.EventHandler(this.ceiling_OnValueChanged);
|
|
||||||
//
|
|
||||||
// groupBox2
|
// groupBox2
|
||||||
//
|
//
|
||||||
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
@ -332,39 +312,16 @@
|
||||||
this.groupBox4.TabStop = false;
|
this.groupBox4.TabStop = false;
|
||||||
this.groupBox4.Text = "Fill Selection with Textures:";
|
this.groupBox4.Text = "Fill Selection with Textures:";
|
||||||
//
|
//
|
||||||
// fillceiling
|
// filllower
|
||||||
//
|
//
|
||||||
this.fillceiling.Location = new System.Drawing.Point(6, 19);
|
this.filllower.Location = new System.Drawing.Point(133, 19);
|
||||||
this.fillceiling.Name = "fillceiling";
|
this.filllower.Name = "filllower";
|
||||||
this.fillceiling.Size = new System.Drawing.Size(26, 23);
|
this.filllower.Size = new System.Drawing.Size(26, 23);
|
||||||
this.fillceiling.TabIndex = 0;
|
this.filllower.TabIndex = 4;
|
||||||
this.fillceiling.Text = "C";
|
this.filllower.Text = "L";
|
||||||
this.toolTip1.SetToolTip(this.fillceiling, "Fill all ceiling textures within selection \r\nwith current ceiling override textur" +
|
this.toolTip1.SetToolTip(this.filllower, "Fill all lower textures within selection \r\nwith current lower override texture");
|
||||||
"e");
|
this.filllower.UseVisualStyleBackColor = true;
|
||||||
this.fillceiling.UseVisualStyleBackColor = true;
|
this.filllower.Click += new System.EventHandler(this.filllower_Click);
|
||||||
this.fillceiling.Click += new System.EventHandler(this.fillceiling_Click);
|
|
||||||
//
|
|
||||||
// fillfloor
|
|
||||||
//
|
|
||||||
this.fillfloor.Location = new System.Drawing.Point(38, 19);
|
|
||||||
this.fillfloor.Name = "fillfloor";
|
|
||||||
this.fillfloor.Size = new System.Drawing.Size(26, 23);
|
|
||||||
this.fillfloor.TabIndex = 1;
|
|
||||||
this.fillfloor.Text = "F";
|
|
||||||
this.toolTip1.SetToolTip(this.fillfloor, "Fill all floor textures within selection \r\nwith current floor override texture");
|
|
||||||
this.fillfloor.UseVisualStyleBackColor = true;
|
|
||||||
this.fillfloor.Click += new System.EventHandler(this.fillfloor_Click);
|
|
||||||
//
|
|
||||||
// fillupper
|
|
||||||
//
|
|
||||||
this.fillupper.Location = new System.Drawing.Point(69, 19);
|
|
||||||
this.fillupper.Name = "fillupper";
|
|
||||||
this.fillupper.Size = new System.Drawing.Size(26, 23);
|
|
||||||
this.fillupper.TabIndex = 2;
|
|
||||||
this.fillupper.Text = "U";
|
|
||||||
this.toolTip1.SetToolTip(this.fillupper, "Fill all upper textures within selection \r\nwith current upper override texture");
|
|
||||||
this.fillupper.UseVisualStyleBackColor = true;
|
|
||||||
this.fillupper.Click += new System.EventHandler(this.fillupper_Click);
|
|
||||||
//
|
//
|
||||||
// fillmiddle
|
// fillmiddle
|
||||||
//
|
//
|
||||||
|
@ -377,32 +334,39 @@
|
||||||
this.fillmiddle.UseVisualStyleBackColor = true;
|
this.fillmiddle.UseVisualStyleBackColor = true;
|
||||||
this.fillmiddle.Click += new System.EventHandler(this.fillmiddle_Click);
|
this.fillmiddle.Click += new System.EventHandler(this.fillmiddle_Click);
|
||||||
//
|
//
|
||||||
// filllower
|
// fillupper
|
||||||
//
|
//
|
||||||
this.filllower.Location = new System.Drawing.Point(133, 19);
|
this.fillupper.Location = new System.Drawing.Point(69, 19);
|
||||||
this.filllower.Name = "filllower";
|
this.fillupper.Name = "fillupper";
|
||||||
this.filllower.Size = new System.Drawing.Size(26, 23);
|
this.fillupper.Size = new System.Drawing.Size(26, 23);
|
||||||
this.filllower.TabIndex = 4;
|
this.fillupper.TabIndex = 2;
|
||||||
this.filllower.Text = "L";
|
this.fillupper.Text = "U";
|
||||||
this.toolTip1.SetToolTip(this.filllower, "Fill all lower textures within selection \r\nwith current lower override texture");
|
this.toolTip1.SetToolTip(this.fillupper, "Fill all upper textures within selection \r\nwith current upper override texture");
|
||||||
this.filllower.UseVisualStyleBackColor = true;
|
this.fillupper.UseVisualStyleBackColor = true;
|
||||||
this.filllower.Click += new System.EventHandler(this.filllower_Click);
|
this.fillupper.Click += new System.EventHandler(this.fillupper_Click);
|
||||||
//
|
//
|
||||||
// groupBox5
|
// fillfloor
|
||||||
//
|
//
|
||||||
this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.fillfloor.Location = new System.Drawing.Point(38, 19);
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
this.fillfloor.Name = "fillfloor";
|
||||||
this.groupBox5.Controls.Add(this.clearlower);
|
this.fillfloor.Size = new System.Drawing.Size(26, 23);
|
||||||
this.groupBox5.Controls.Add(this.clearmiddle);
|
this.fillfloor.TabIndex = 1;
|
||||||
this.groupBox5.Controls.Add(this.clearupper);
|
this.fillfloor.Text = "F";
|
||||||
this.groupBox5.Controls.Add(this.clearfloor);
|
this.toolTip1.SetToolTip(this.fillfloor, "Fill all floor textures within selection \r\nwith current floor override texture");
|
||||||
this.groupBox5.Controls.Add(this.clearceiling);
|
this.fillfloor.UseVisualStyleBackColor = true;
|
||||||
this.groupBox5.Location = new System.Drawing.Point(3, 343);
|
this.fillfloor.Click += new System.EventHandler(this.fillfloor_Click);
|
||||||
this.groupBox5.Name = "groupBox5";
|
//
|
||||||
this.groupBox5.Size = new System.Drawing.Size(243, 48);
|
// fillceiling
|
||||||
this.groupBox5.TabIndex = 31;
|
//
|
||||||
this.groupBox5.TabStop = false;
|
this.fillceiling.Location = new System.Drawing.Point(6, 19);
|
||||||
this.groupBox5.Text = "Remove Textures form Selection:";
|
this.fillceiling.Name = "fillceiling";
|
||||||
|
this.fillceiling.Size = new System.Drawing.Size(26, 23);
|
||||||
|
this.fillceiling.TabIndex = 0;
|
||||||
|
this.fillceiling.Text = "C";
|
||||||
|
this.toolTip1.SetToolTip(this.fillceiling, "Fill all ceiling textures within selection \r\nwith current ceiling override textur" +
|
||||||
|
"e");
|
||||||
|
this.fillceiling.UseVisualStyleBackColor = true;
|
||||||
|
this.fillceiling.Click += new System.EventHandler(this.fillceiling_Click);
|
||||||
//
|
//
|
||||||
// clearlower
|
// clearlower
|
||||||
//
|
//
|
||||||
|
@ -459,6 +423,40 @@
|
||||||
this.clearceiling.UseVisualStyleBackColor = true;
|
this.clearceiling.UseVisualStyleBackColor = true;
|
||||||
this.clearceiling.Click += new System.EventHandler(this.clearceiling_Click);
|
this.clearceiling.Click += new System.EventHandler(this.clearceiling_Click);
|
||||||
//
|
//
|
||||||
|
// groupBox5
|
||||||
|
//
|
||||||
|
this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.groupBox5.Controls.Add(this.clearlower);
|
||||||
|
this.groupBox5.Controls.Add(this.clearmiddle);
|
||||||
|
this.groupBox5.Controls.Add(this.clearupper);
|
||||||
|
this.groupBox5.Controls.Add(this.clearfloor);
|
||||||
|
this.groupBox5.Controls.Add(this.clearceiling);
|
||||||
|
this.groupBox5.Location = new System.Drawing.Point(3, 343);
|
||||||
|
this.groupBox5.Name = "groupBox5";
|
||||||
|
this.groupBox5.Size = new System.Drawing.Size(243, 48);
|
||||||
|
this.groupBox5.TabIndex = 31;
|
||||||
|
this.groupBox5.TabStop = false;
|
||||||
|
this.groupBox5.Text = "Remove Textures form Selection:";
|
||||||
|
//
|
||||||
|
// floor
|
||||||
|
//
|
||||||
|
this.floor.Location = new System.Drawing.Point(87, 41);
|
||||||
|
this.floor.Name = "floor";
|
||||||
|
this.floor.Size = new System.Drawing.Size(68, 90);
|
||||||
|
this.floor.TabIndex = 29;
|
||||||
|
this.floor.TextureName = "";
|
||||||
|
this.floor.OnValueChanged += new System.EventHandler(this.floor_OnValueChanged);
|
||||||
|
//
|
||||||
|
// ceiling
|
||||||
|
//
|
||||||
|
this.ceiling.Location = new System.Drawing.Point(6, 41);
|
||||||
|
this.ceiling.Name = "ceiling";
|
||||||
|
this.ceiling.Size = new System.Drawing.Size(68, 90);
|
||||||
|
this.ceiling.TabIndex = 30;
|
||||||
|
this.ceiling.TextureName = "";
|
||||||
|
this.ceiling.OnValueChanged += new System.EventHandler(this.ceiling_OnValueChanged);
|
||||||
|
//
|
||||||
// SectorDrawingOptionsPanel
|
// SectorDrawingOptionsPanel
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
@ -486,8 +484,6 @@
|
||||||
|
|
||||||
private System.Windows.Forms.GroupBox groupBox1;
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
private System.Windows.Forms.CheckBox cbOverrideCeilingTexture;
|
private System.Windows.Forms.CheckBox cbOverrideCeilingTexture;
|
||||||
private CodeImp.DoomBuilder.Controls.TextureSelectorControl floor;
|
|
||||||
private CodeImp.DoomBuilder.Controls.TextureSelectorControl ceiling;
|
|
||||||
private System.Windows.Forms.GroupBox groupBox2;
|
private System.Windows.Forms.GroupBox groupBox2;
|
||||||
private System.Windows.Forms.CheckBox cbOverrideFloorTexture;
|
private System.Windows.Forms.CheckBox cbOverrideFloorTexture;
|
||||||
private System.Windows.Forms.CheckBox cbBrightness;
|
private System.Windows.Forms.CheckBox cbBrightness;
|
||||||
|
@ -518,5 +514,7 @@
|
||||||
private System.Windows.Forms.Button clearupper;
|
private System.Windows.Forms.Button clearupper;
|
||||||
private System.Windows.Forms.Button clearfloor;
|
private System.Windows.Forms.Button clearfloor;
|
||||||
private System.Windows.Forms.Button clearceiling;
|
private System.Windows.Forms.Button clearceiling;
|
||||||
|
private CodeImp.DoomBuilder.Controls.FlatSelectorControl floor;
|
||||||
|
private CodeImp.DoomBuilder.Controls.FlatSelectorControl ceiling;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,19 +120,4 @@
|
||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>17, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>17, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>17, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>17, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>17, 17</value>
|
|
||||||
</metadata>
|
|
||||||
</root>
|
</root>
|
Loading…
Reference in a new issue