mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-12-19 01:13:11 +00:00
b8c8ef8395
The aamp editor now acts like the byaml one. Fixed aamp files saving with improper strings. Added toggle for viewport in bfres editor. The setting will apply to the config so you can always disable it for quicker previewing for bfres. More editors for bfres now dock rather than convering the whole screen. Plugins can have icons for the toolstrip that contains the save/update icons. Force PTCL texture injection due to an alignment thing
272 lines
No EOL
14 KiB
C#
272 lines
No EOL
14 KiB
C#
namespace FirstPlugin.Forms
|
|
{
|
|
partial class AampEditorBase
|
|
{
|
|
/// <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.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.listViewCustom1 = new Switch_Toolbox.Library.Forms.ListViewCustom();
|
|
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.stButton1 = new Switch_Toolbox.Library.Forms.STButton();
|
|
this.stButton2 = new Switch_Toolbox.Library.Forms.STButton();
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
this.stPanel1 = new Switch_Toolbox.Library.Forms.STPanel();
|
|
this.addItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.stContextMenuStrip1 = new Switch_Toolbox.Library.Forms.STContextMenuStrip(this.components);
|
|
this.contentContainer.SuspendLayout();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
this.splitContainer1.SuspendLayout();
|
|
this.stPanel1.SuspendLayout();
|
|
this.stContextMenuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// contentContainer
|
|
//
|
|
this.contentContainer.Controls.Add(this.stPanel1);
|
|
this.contentContainer.Controls.Add(this.stButton2);
|
|
this.contentContainer.Controls.Add(this.stButton1);
|
|
this.contentContainer.Paint += new System.Windows.Forms.PaintEventHandler(this.contentContainer_Paint);
|
|
this.contentContainer.Controls.SetChildIndex(this.stButton1, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.stButton2, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.stPanel1, 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(179, 334);
|
|
this.treeView1.TabIndex = 0;
|
|
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripSeparator1,
|
|
this.saveAsToolStripMenuItem,
|
|
this.toolStripSeparator2});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(119, 38);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(115, 6);
|
|
//
|
|
// saveAsToolStripMenuItem
|
|
//
|
|
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
|
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
|
|
this.saveAsToolStripMenuItem.Text = "Save as..";
|
|
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click);
|
|
//
|
|
// toolStripSeparator2
|
|
//
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(115, 6);
|
|
//
|
|
// listViewCustom1
|
|
//
|
|
this.listViewCustom1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.listViewCustom1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.columnHeader1,
|
|
this.columnHeader2,
|
|
this.columnHeader3});
|
|
this.listViewCustom1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.listViewCustom1.FullRowSelect = true;
|
|
this.listViewCustom1.Location = new System.Drawing.Point(0, 0);
|
|
this.listViewCustom1.Name = "listViewCustom1";
|
|
this.listViewCustom1.OwnerDraw = true;
|
|
this.listViewCustom1.Size = new System.Drawing.Size(354, 334);
|
|
this.listViewCustom1.TabIndex = 0;
|
|
this.listViewCustom1.UseCompatibleStateImageBehavior = false;
|
|
this.listViewCustom1.View = System.Windows.Forms.View.Details;
|
|
this.listViewCustom1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.listViewCustom1_MouseClick);
|
|
//
|
|
// columnHeader1
|
|
//
|
|
this.columnHeader1.Text = "Name";
|
|
this.columnHeader1.Width = 114;
|
|
//
|
|
// columnHeader2
|
|
//
|
|
this.columnHeader2.Text = "Type";
|
|
this.columnHeader2.Width = 93;
|
|
//
|
|
// columnHeader3
|
|
//
|
|
this.columnHeader3.Text = "Data";
|
|
this.columnHeader3.Width = 136;
|
|
//
|
|
// 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(462, 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(366, 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;
|
|
//
|
|
// splitContainer1
|
|
//
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
this.splitContainer1.Panel1.Controls.Add(this.treeView1);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
this.splitContainer1.Panel2.Controls.Add(this.listViewCustom1);
|
|
this.splitContainer1.Size = new System.Drawing.Size(537, 334);
|
|
this.splitContainer1.SplitterDistance = 179;
|
|
this.splitContainer1.TabIndex = 14;
|
|
//
|
|
// 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.splitContainer1);
|
|
this.stPanel1.Location = new System.Drawing.Point(3, 27);
|
|
this.stPanel1.Name = "stPanel1";
|
|
this.stPanel1.Size = new System.Drawing.Size(537, 334);
|
|
this.stPanel1.TabIndex = 15;
|
|
//
|
|
// addItemToolStripMenuItem
|
|
//
|
|
this.addItemToolStripMenuItem.Name = "addItemToolStripMenuItem";
|
|
this.addItemToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
this.addItemToolStripMenuItem.Text = "Add Item";
|
|
this.addItemToolStripMenuItem.Click += new System.EventHandler(this.addNodeToolStripMenuItem_Click);
|
|
//
|
|
// editToolStripMenuItem
|
|
//
|
|
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
|
this.editToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
this.editToolStripMenuItem.Text = "Edit";
|
|
this.editToolStripMenuItem.Click += new System.EventHandler(this.editValueNodeMenuItem_Click);
|
|
//
|
|
// renameToolStripMenuItem
|
|
//
|
|
this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
|
|
this.renameToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
this.renameToolStripMenuItem.Text = "Rename";
|
|
this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click);
|
|
//
|
|
// deleteToolStripMenuItem
|
|
//
|
|
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
|
|
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
this.deleteToolStripMenuItem.Text = "Delete";
|
|
this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
|
|
//
|
|
// stContextMenuStrip1
|
|
//
|
|
this.stContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.addItemToolStripMenuItem,
|
|
this.editToolStripMenuItem,
|
|
this.renameToolStripMenuItem,
|
|
this.deleteToolStripMenuItem});
|
|
this.stContextMenuStrip1.Name = "stContextMenuStrip1";
|
|
this.stContextMenuStrip1.Size = new System.Drawing.Size(181, 114);
|
|
this.stContextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.stContextMenuStrip1_Opening);
|
|
//
|
|
// AampEditorBase
|
|
//
|
|
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 = "AampEditorBase";
|
|
this.Text = "AampEditor";
|
|
this.Controls.SetChildIndex(this.contentContainer, 0);
|
|
this.contentContainer.ResumeLayout(false);
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
|
this.splitContainer1.ResumeLayout(false);
|
|
this.stPanel1.ResumeLayout(false);
|
|
this.stContextMenuStrip1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
public System.Windows.Forms.TreeView treeView1;
|
|
public Switch_Toolbox.Library.Forms.ListViewCustom listViewCustom1;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
private Switch_Toolbox.Library.Forms.STButton stButton2;
|
|
private Switch_Toolbox.Library.Forms.STButton stButton1;
|
|
private System.Windows.Forms.ColumnHeader columnHeader1;
|
|
private System.Windows.Forms.ColumnHeader columnHeader2;
|
|
private System.Windows.Forms.ColumnHeader columnHeader3;
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
private Switch_Toolbox.Library.Forms.STPanel stPanel1;
|
|
private System.Windows.Forms.ToolStripMenuItem addItemToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem renameToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
|
|
private Switch_Toolbox.Library.Forms.STContextMenuStrip stContextMenuStrip1;
|
|
}
|
|
} |