Small UI stuff
Like fixing the annoying file menu button
This commit is contained in:
6
BMGEditor/UI/BMGEditForm.Designer.cs
generated
6
BMGEditor/UI/BMGEditForm.Designer.cs
generated
@@ -30,7 +30,7 @@
|
|||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BMGEditForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BMGEditForm));
|
||||||
this.toolStrip = new System.Windows.Forms.ToolStrip();
|
this.toolStrip = new System.Windows.Forms.ToolStrip();
|
||||||
this.fileMenu = new System.Windows.Forms.ToolStripSplitButton();
|
this.fileMenu = new System.Windows.Forms.ToolStripDropDownButton();
|
||||||
this.openArcFileBtn = new System.Windows.Forms.ToolStripMenuItem();
|
this.openArcFileBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.saveFileBtn = new System.Windows.Forms.ToolStripMenuItem();
|
this.saveFileBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.openSettingsBtn = new System.Windows.Forms.ToolStripMenuItem();
|
this.openSettingsBtn = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
this.toggleBEBtn.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.toggleBEBtn.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toggleBEBtn.Name = "toggleBEBtn";
|
this.toggleBEBtn.Name = "toggleBEBtn";
|
||||||
this.toggleBEBtn.Size = new System.Drawing.Size(158, 22);
|
this.toggleBEBtn.Size = new System.Drawing.Size(158, 22);
|
||||||
this.toggleBEBtn.Text = "toggle BE/LE (BE by default)";
|
this.toggleBEBtn.Text = "Change endianness (BE by default)";
|
||||||
this.toggleBEBtn.Click += new System.EventHandler(this.toggleBEBtn_Click);
|
this.toggleBEBtn.Click += new System.EventHandler(this.toggleBEBtn_Click);
|
||||||
//
|
//
|
||||||
// BMGEditForm
|
// BMGEditForm
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
|
|
||||||
private System.Windows.Forms.ToolStrip toolStrip;
|
private System.Windows.Forms.ToolStrip toolStrip;
|
||||||
private System.Windows.Forms.ListBox entriesListBox;
|
private System.Windows.Forms.ListBox entriesListBox;
|
||||||
private System.Windows.Forms.ToolStripSplitButton fileMenu;
|
private System.Windows.Forms.ToolStripDropDownButton fileMenu;
|
||||||
private System.Windows.Forms.ToolStripMenuItem openArcFileBtn;
|
private System.Windows.Forms.ToolStripMenuItem openArcFileBtn;
|
||||||
private System.Windows.Forms.ToolStripMenuItem saveFileBtn;
|
private System.Windows.Forms.ToolStripMenuItem saveFileBtn;
|
||||||
private System.Windows.Forms.ToolStripMenuItem quitBtn;
|
private System.Windows.Forms.ToolStripMenuItem quitBtn;
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ namespace BMGEditor
|
|||||||
private void toggleBEBtn_Click(object sender, EventArgs e)
|
private void toggleBEBtn_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Tests.isBE = !Tests.isBE;
|
Tests.isBE = !Tests.isBE;
|
||||||
MessageBox.Show("Switched successfully");
|
MessageBox.Show($"Switched successfully to {((Tests.isBE) ? "big endian" : "little endian")}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user