1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Cleanup bntx context menus

This commit is contained in:
KillzXGaming 2019-04-01 16:43:27 -04:00
parent 325f1e25f6
commit 49a803584c
2 changed files with 6 additions and 5 deletions

Binary file not shown.

View File

@ -787,11 +787,12 @@ namespace FirstPlugin
MipCount = (uint)tex.TextureData[0].Count;
Format = ConvertFormat(tex.Format);
ContextMenuStrip = new STContextMenuStrip();
ContextMenuStrip.Items.Add(new STToolStripItem("Export", Export));
ContextMenuStrip.Items.Add(new STToolStripItem("Replace", Replace));
ContextMenuStrip.Items.Add(new STToolStripItem("Remove", Remove));
ContextMenuStrip.Items.Add(new STToolStripItem("Rename", Rename));
ContextMenuStrip.Items.Add(new ToolStripMenuItem("Export", null, Export, Keys.Control | Keys.E));
ContextMenuStrip.Items.Add(new ToolStripMenuItem("Replace", null, Replace, Keys.Control | Keys.R));
ContextMenuStrip.Items.Add(new ToolStripSeparator());
ContextMenuStrip.Items.Add(new ToolStripMenuItem("Rename", null, Rename, Keys.Control | Keys.N));
ContextMenuStrip.Items.Add(new ToolStripSeparator());
ContextMenuStrip.Items.Add(new ToolStripMenuItem("Delete", null, Remove, Keys.Control | Keys.Delete));
// LoadOpenGLTexture();
}
public static SurfaceFormat GenericToBntxSurfaceFormat(TEX_FORMAT texFormat)