2009-07-19 20:30:15 +00:00
|
|
|
|
namespace CodeImp.DoomBuilder.Controls
|
2009-07-17 15:06:15 +00:00
|
|
|
|
{
|
|
|
|
|
partial class DockersControl
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
Visual mode, UDMF: added "Scale Texture Up (X)", "Scale Texture Down (X)", "Scale Texture Up (Y)", "Scale Texture Down (Y)" actions. Default keys are Num6, Num4, Num8, Num5.
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures.
Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation.
Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides.
Visual mode, UDMF: fixed a ton of bugs in Auto align functions.
Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0.
Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions.
Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox.
Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox.
Texture size labels now are not shown for unknown textures.
Most of texture size labels had incorrect bg color.
ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
2013-06-24 14:21:13 +00:00
|
|
|
|
this.buttonTogglePinning = new System.Windows.Forms.Button();
|
2009-07-21 05:51:13 +00:00
|
|
|
|
this.splitter = new CodeImp.DoomBuilder.Controls.TransparentPanel();
|
|
|
|
|
this.tabs = new CodeImp.DoomBuilder.Controls.DockersTabsControl();
|
2009-07-17 15:06:15 +00:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
Visual mode, UDMF: added "Scale Texture Up (X)", "Scale Texture Down (X)", "Scale Texture Up (Y)", "Scale Texture Down (Y)" actions. Default keys are Num6, Num4, Num8, Num5.
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures.
Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation.
Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides.
Visual mode, UDMF: fixed a ton of bugs in Auto align functions.
Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0.
Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions.
Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox.
Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox.
Texture size labels now are not shown for unknown textures.
Most of texture size labels had incorrect bg color.
ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
2013-06-24 14:21:13 +00:00
|
|
|
|
// buttonTogglePinning
|
|
|
|
|
//
|
|
|
|
|
this.buttonTogglePinning.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.buttonTogglePinning.Location = new System.Drawing.Point(282, 4);
|
|
|
|
|
this.buttonTogglePinning.Name = "buttonTogglePinning";
|
|
|
|
|
this.buttonTogglePinning.Size = new System.Drawing.Size(24, 24);
|
|
|
|
|
this.buttonTogglePinning.TabIndex = 0;
|
|
|
|
|
this.buttonTogglePinning.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonTogglePinning.Click += new System.EventHandler(this.buttonTogglePinning_Click);
|
|
|
|
|
//
|
2009-07-21 05:51:13 +00:00
|
|
|
|
// splitter
|
|
|
|
|
//
|
2009-07-21 18:48:00 +00:00
|
|
|
|
this.splitter.BackColor = System.Drawing.SystemColors.Control;
|
2009-07-21 05:51:13 +00:00
|
|
|
|
this.splitter.Cursor = System.Windows.Forms.Cursors.SizeWE;
|
2009-07-21 18:48:00 +00:00
|
|
|
|
this.splitter.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
|
|
this.splitter.Location = new System.Drawing.Point(0, 0);
|
2009-07-21 05:51:13 +00:00
|
|
|
|
this.splitter.Name = "splitter";
|
|
|
|
|
this.splitter.Size = new System.Drawing.Size(4, 541);
|
|
|
|
|
this.splitter.TabIndex = 1;
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.splitter.MouseLeave += new System.EventHandler(this.RaiseMouseContainerLeave);
|
2009-07-21 15:15:38 +00:00
|
|
|
|
this.splitter.MouseMove += new System.Windows.Forms.MouseEventHandler(this.splitter_MouseMove);
|
|
|
|
|
this.splitter.MouseDown += new System.Windows.Forms.MouseEventHandler(this.splitter_MouseDown);
|
|
|
|
|
this.splitter.MouseUp += new System.Windows.Forms.MouseEventHandler(this.splitter_MouseUp);
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.splitter.MouseEnter += new System.EventHandler(this.RaiseMouseContainerEnter);
|
2009-07-21 05:51:13 +00:00
|
|
|
|
//
|
2009-07-19 20:30:15 +00:00
|
|
|
|
// tabs
|
|
|
|
|
//
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.tabs.Alignment = System.Windows.Forms.TabAlignment.Right;
|
|
|
|
|
this.tabs.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)));
|
2009-07-19 20:30:15 +00:00
|
|
|
|
this.tabs.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.tabs.ItemSize = new System.Drawing.Size(100, 26);
|
2009-07-19 20:30:15 +00:00
|
|
|
|
this.tabs.Location = new System.Drawing.Point(0, 0);
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.tabs.Margin = new System.Windows.Forms.Padding(0);
|
2009-07-19 20:30:15 +00:00
|
|
|
|
this.tabs.Multiline = true;
|
|
|
|
|
this.tabs.Name = "tabs";
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.tabs.Padding = new System.Drawing.Point(10, 5);
|
2009-07-19 20:30:15 +00:00
|
|
|
|
this.tabs.SelectedIndex = 0;
|
|
|
|
|
this.tabs.Size = new System.Drawing.Size(308, 541);
|
|
|
|
|
this.tabs.TabIndex = 0;
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.tabs.TabStop = false;
|
|
|
|
|
this.tabs.MouseLeave += new System.EventHandler(this.RaiseMouseContainerLeave);
|
|
|
|
|
this.tabs.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabs_Selected);
|
|
|
|
|
this.tabs.Enter += new System.EventHandler(this.tabs_Enter);
|
|
|
|
|
this.tabs.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tabs_MouseUp);
|
|
|
|
|
this.tabs.SelectedIndexChanged += new System.EventHandler(this.tabs_SelectedIndexChanged);
|
|
|
|
|
this.tabs.MouseEnter += new System.EventHandler(this.RaiseMouseContainerEnter);
|
2009-07-19 20:30:15 +00:00
|
|
|
|
//
|
2009-07-17 15:06:15 +00:00
|
|
|
|
// DockersControl
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
Visual mode, UDMF: added "Scale Texture Up (X)", "Scale Texture Down (X)", "Scale Texture Up (Y)", "Scale Texture Down (Y)" actions. Default keys are Num6, Num4, Num8, Num5.
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures.
Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation.
Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides.
Visual mode, UDMF: fixed a ton of bugs in Auto align functions.
Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0.
Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions.
Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox.
Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox.
Texture size labels now are not shown for unknown textures.
Most of texture size labels had incorrect bg color.
ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
2013-06-24 14:21:13 +00:00
|
|
|
|
this.Controls.Add(this.buttonTogglePinning);
|
2009-07-19 20:30:15 +00:00
|
|
|
|
this.Controls.Add(this.splitter);
|
|
|
|
|
this.Controls.Add(this.tabs);
|
2009-07-17 15:06:15 +00:00
|
|
|
|
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.Name = "DockersControl";
|
2009-07-19 20:30:15 +00:00
|
|
|
|
this.Size = new System.Drawing.Size(308, 541);
|
2009-07-21 13:42:36 +00:00
|
|
|
|
this.MouseLeave += new System.EventHandler(this.RaiseMouseContainerLeave);
|
|
|
|
|
this.MouseEnter += new System.EventHandler(this.RaiseMouseContainerEnter);
|
2009-07-17 15:06:15 +00:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2009-07-21 05:51:13 +00:00
|
|
|
|
private DockersTabsControl tabs;
|
2009-07-19 20:30:15 +00:00
|
|
|
|
private TransparentPanel splitter;
|
Visual mode, UDMF: added "Scale Texture Up (X)", "Scale Texture Down (X)", "Scale Texture Up (Y)", "Scale Texture Down (Y)" actions. Default keys are Num6, Num4, Num8, Num5.
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures.
Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation.
Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides.
Visual mode, UDMF: fixed a ton of bugs in Auto align functions.
Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0.
Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions.
Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox.
Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox.
Texture size labels now are not shown for unknown textures.
Most of texture size labels had incorrect bg color.
ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
2013-06-24 14:21:13 +00:00
|
|
|
|
private System.Windows.Forms.Button buttonTogglePinning;
|
2009-07-17 15:06:15 +00:00
|
|
|
|
}
|
|
|
|
|
}
|