mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-18 18:28:08 +00:00
Move "Item" class to pckCenterOpen
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user