mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-12-19 09:23:12 +00:00
9c439f099d
Fixed bfres from taking too long to save with 100s or even 1000s of animations. From 30 - 70 minutes, to over 8- 20 seconds! Fixed weights and buffers not importing properly. Fixed byaml editor's dialog buttons improperly placed on resize.
225 lines
No EOL
12 KiB
C#
225 lines
No EOL
12 KiB
C#
namespace FirstPlugin
|
|
{
|
|
partial class ByamlEditor
|
|
{
|
|
/// <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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.treeView1 = new System.Windows.Forms.TreeView();
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.CopyNode = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.addNodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.editValueNodeMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.deleteNodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.exportJsonToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.importFromXmlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.stPanel1 = new Switch_Toolbox.Library.Forms.STPanel();
|
|
this.stButton1 = new Switch_Toolbox.Library.Forms.STButton();
|
|
this.stButton2 = new Switch_Toolbox.Library.Forms.STButton();
|
|
this.contentContainer.SuspendLayout();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.stPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// contentContainer
|
|
//
|
|
this.contentContainer.Controls.Add(this.stButton2);
|
|
this.contentContainer.Controls.Add(this.stButton1);
|
|
this.contentContainer.Controls.Add(this.stPanel1);
|
|
this.contentContainer.Controls.SetChildIndex(this.stPanel1, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.stButton1, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.stButton2, 0);
|
|
//
|
|
// treeView1
|
|
//
|
|
this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.treeView1.ContextMenuStrip = this.contextMenuStrip1;
|
|
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.treeView1.Location = new System.Drawing.Point(0, 0);
|
|
this.treeView1.Name = "treeView1";
|
|
this.treeView1.Size = new System.Drawing.Size(543, 336);
|
|
this.treeView1.TabIndex = 0;
|
|
this.treeView1.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.BeforeExpand);
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.CopyNode,
|
|
this.addNodeToolStripMenuItem,
|
|
this.editValueNodeMenuItem,
|
|
this.deleteNodeToolStripMenuItem,
|
|
this.exportJsonToolStripMenuItem,
|
|
this.toolStripSeparator1,
|
|
this.saveAsToolStripMenuItem,
|
|
this.saveToolStripMenuItem,
|
|
this.toolStripSeparator2,
|
|
this.importFromXmlToolStripMenuItem});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(169, 192);
|
|
this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuOpening);
|
|
//
|
|
// CopyNode
|
|
//
|
|
this.CopyNode.Name = "CopyNode";
|
|
this.CopyNode.Size = new System.Drawing.Size(168, 22);
|
|
this.CopyNode.Text = "Copy node as text";
|
|
this.CopyNode.Click += new System.EventHandler(this.CopyNode_Click);
|
|
//
|
|
// addNodeToolStripMenuItem
|
|
//
|
|
this.addNodeToolStripMenuItem.Name = "addNodeToolStripMenuItem";
|
|
this.addNodeToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
|
this.addNodeToolStripMenuItem.Text = "Add Node";
|
|
this.addNodeToolStripMenuItem.Click += new System.EventHandler(this.addNodeToolStripMenuItem_Click);
|
|
//
|
|
// editValueNodeMenuItem
|
|
//
|
|
this.editValueNodeMenuItem.Name = "editValueNodeMenuItem";
|
|
this.editValueNodeMenuItem.Size = new System.Drawing.Size(168, 22);
|
|
this.editValueNodeMenuItem.Text = "Edit value";
|
|
this.editValueNodeMenuItem.Click += new System.EventHandler(this.editValueNodeMenuItem_Click);
|
|
//
|
|
// deleteNodeToolStripMenuItem
|
|
//
|
|
this.deleteNodeToolStripMenuItem.Name = "deleteNodeToolStripMenuItem";
|
|
this.deleteNodeToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
|
this.deleteNodeToolStripMenuItem.Text = "Delete node";
|
|
this.deleteNodeToolStripMenuItem.Click += new System.EventHandler(this.deleteNodeToolStripMenuItem_Click);
|
|
//
|
|
// exportJsonToolStripMenuItem
|
|
//
|
|
this.exportJsonToolStripMenuItem.Name = "exportJsonToolStripMenuItem";
|
|
this.exportJsonToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
|
this.exportJsonToolStripMenuItem.Text = "Export as xml";
|
|
this.exportJsonToolStripMenuItem.Click += new System.EventHandler(this.exportJsonToolStripMenuItem_Click);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(165, 6);
|
|
//
|
|
// saveAsToolStripMenuItem
|
|
//
|
|
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
|
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
|
this.saveAsToolStripMenuItem.Text = "Save as..";
|
|
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click);
|
|
//
|
|
// saveToolStripMenuItem
|
|
//
|
|
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
|
this.saveToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
|
this.saveToolStripMenuItem.Text = "Save";
|
|
this.saveToolStripMenuItem.Visible = false;
|
|
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
|
//
|
|
// toolStripSeparator2
|
|
//
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(165, 6);
|
|
//
|
|
// importFromXmlToolStripMenuItem
|
|
//
|
|
this.importFromXmlToolStripMenuItem.Name = "importFromXmlToolStripMenuItem";
|
|
this.importFromXmlToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
|
this.importFromXmlToolStripMenuItem.Text = "Import from xml";
|
|
this.importFromXmlToolStripMenuItem.Click += new System.EventHandler(this.importFromXmlToolStripMenuItem_Click);
|
|
//
|
|
// stPanel1
|
|
//
|
|
this.stPanel1.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.stPanel1.Controls.Add(this.treeView1);
|
|
this.stPanel1.Location = new System.Drawing.Point(0, 25);
|
|
this.stPanel1.Name = "stPanel1";
|
|
this.stPanel1.Size = new System.Drawing.Size(543, 336);
|
|
this.stPanel1.TabIndex = 11;
|
|
//
|
|
// stButton1
|
|
//
|
|
this.stButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.stButton1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.stButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.stButton1.Location = new System.Drawing.Point(465, 367);
|
|
this.stButton1.Name = "stButton1";
|
|
this.stButton1.Size = new System.Drawing.Size(75, 23);
|
|
this.stButton1.TabIndex = 12;
|
|
this.stButton1.Text = "Cancel";
|
|
this.stButton1.UseVisualStyleBackColor = false;
|
|
//
|
|
// stButton2
|
|
//
|
|
this.stButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.stButton2.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.stButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.stButton2.Location = new System.Drawing.Point(369, 367);
|
|
this.stButton2.Name = "stButton2";
|
|
this.stButton2.Size = new System.Drawing.Size(75, 23);
|
|
this.stButton2.TabIndex = 13;
|
|
this.stButton2.Text = "Save";
|
|
this.stButton2.UseVisualStyleBackColor = false;
|
|
//
|
|
// ByamlEditor
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(549, 398);
|
|
this.Name = "ByamlEditor";
|
|
this.Text = "ByamlEditor";
|
|
this.Load += new System.EventHandler(this.ByamlViewer_Load);
|
|
this.Controls.SetChildIndex(this.contentContainer, 0);
|
|
this.contentContainer.ResumeLayout(false);
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.stPanel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TreeView treeView1;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem CopyNode;
|
|
private System.Windows.Forms.ToolStripMenuItem exportJsonToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem editValueNodeMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.ToolStripMenuItem addNodeToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem deleteNodeToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
private System.Windows.Forms.ToolStripMenuItem importFromXmlToolStripMenuItem;
|
|
private Switch_Toolbox.Library.Forms.STPanel stPanel1;
|
|
private Switch_Toolbox.Library.Forms.STButton stButton2;
|
|
private Switch_Toolbox.Library.Forms.STButton stButton1;
|
|
}
|
|
} |