mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 22:22:32 +00:00
b56e7d1926
- fixed script editor focus stealing on map save - added feature to keep script editor floating on top of main window (default on) - disabled keys in script editor that write odd characters - CTRL+S in script editor now saves the script file - CTRL+O in script editor now opens a script file
68 lines
No EOL
2.3 KiB
C#
68 lines
No EOL
2.3 KiB
C#
namespace CodeImp.DoomBuilder.Windows
|
|
{
|
|
partial class ScriptEditorForm
|
|
{
|
|
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScriptEditorForm));
|
|
this.editor = new CodeImp.DoomBuilder.Controls.ScriptEditorPanel();
|
|
this.SuspendLayout();
|
|
//
|
|
// editor
|
|
//
|
|
this.editor.BackColor = System.Drawing.SystemColors.Control;
|
|
this.editor.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.editor.Location = new System.Drawing.Point(0, 0);
|
|
this.editor.Name = "editor";
|
|
this.editor.Size = new System.Drawing.Size(729, 578);
|
|
this.editor.TabIndex = 0;
|
|
//
|
|
// ScriptEditorForm
|
|
//
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.ClientSize = new System.Drawing.Size(729, 578);
|
|
this.Controls.Add(this.editor);
|
|
this.DoubleBuffered = true;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.KeyPreview = true;
|
|
this.Name = "ScriptEditorForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
this.Text = "Doom Builder Script Editor";
|
|
this.Load += new System.EventHandler(this.ScriptEditorForm_Load);
|
|
this.Shown += new System.EventHandler(this.ScriptEditorForm_Shown);
|
|
this.Move += new System.EventHandler(this.ScriptEditorForm_Move);
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ScriptEditorForm_FormClosing);
|
|
this.ResizeEnd += new System.EventHandler(this.ScriptEditorForm_ResizeEnd);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private CodeImp.DoomBuilder.Controls.ScriptEditorPanel editor;
|
|
}
|
|
} |