1
0
mirror of synced 2024-12-02 19:17:24 +01:00
Switch-Toolbox/File_Format_Library/GUI/BCH/BCHBoneEditor.cs
2020-01-14 20:26:51 -05:00

36 lines
876 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Toolbox.Library.Forms;
using SPICA.Formats.CtrH3D.Model;
namespace FirstPlugin.CtrLibrary.Forms
{
public partial class BCHBoneEditor : UserControl
{
public H3DBoneWrapper BoneWrapper;
public H3DBone ActiveBone => BoneWrapper.Bone;
public BCHBoneEditor()
{
InitializeComponent();
stTabControl1.myBackColor = FormThemes.BaseTheme.FormBackColor;
}
public void LoadBone(H3DBoneWrapper wrapper)
{
BoneWrapper = wrapper;
if (ActiveBone.MetaData != null)
bchUserDataEditor1.LoadUserData(ActiveBone.MetaData);
}
}
}