Move "Item" class to pckCenterOpen

This commit is contained in:
miku-666
2022-11-11 18:34:14 +01:00
parent d966ee5588
commit dcf6f9706f
2 changed files with 6 additions and 12 deletions

View File

@@ -15,7 +15,6 @@ using System.Windows.Media.Imaging;
using System.IO.Packaging;
using PckStudio;
using System.IO.Compression;
using static PckStudio.MainForm;
using PckStudio.Classes.FileTypes;
using PckStudio.Classes.IO;
@@ -34,6 +33,12 @@ namespace PckStudio.Forms
bool IsVita;
string Pack;
public class Item
{
public string Id { get; set; }
public string Name { get; set; }
}
public pckCenterOpen(string name, string authorIn, string descIn, string directIn, string adIn, Bitmap display, int mode, string mod, MethodInvoker reloader, bool Vita, string PackName)
{
InitializeComponent();

View File

@@ -1451,21 +1451,11 @@ namespace PckStudio
//System.Diagnostics.Process.Start(hosturl + "pckStudio#faq");
}
// BIG TODO
#region converts and ports all skins in pck to mc bedrock format
// items class for use in bedrock skin conversion
public class Item
{
public string Id { get; set; }
public string Name { get; set; }
}
private void convertToBedrockToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("This feature is currently being reworked.", "Currently unavailable", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
public static Bitmap ResizeImage(Image image, int width, int height)
{
var destRect = new Rectangle(0, 0, width, height);
@@ -1490,7 +1480,6 @@ namespace PckStudio
return destImage;
}
#endregion
private void openToolStripMenuItem1_Click(object sender, EventArgs e)
{