mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-12-23 11:23:08 +00:00
26 lines
672 B
C#
26 lines
672 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace FirstPlugin
|
|
{
|
|
public partial class TextureOpenEditor : Form
|
|
{
|
|
public TextureOpenEditor()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
public void LoadTexture(TextureData tex)
|
|
{
|
|
TextureData.BRTI_Texture renderedTex = tex.renderedGLTex;
|
|
bntxEditor1.LoadPicture(tex.GLTextureToBitmap(renderedTex, renderedTex.display));
|
|
bntxEditor1.LoadProperty(tex);
|
|
}
|
|
}
|
|
}
|