2019-08-01 21:47:35 +00:00
|
|
|
|
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;
|
|
|
|
|
|
2019-08-27 20:38:06 +00:00
|
|
|
|
namespace FirstPlugin.Forms
|
2019-08-01 21:47:35 +00:00
|
|
|
|
{
|
|
|
|
|
public partial class LayoutEditor : UserControl
|
|
|
|
|
{
|
2019-08-27 20:38:06 +00:00
|
|
|
|
public List<BFLYT.Header> LayoutFiles = new List<BFLYT.Header>();
|
|
|
|
|
|
|
|
|
|
public enum DockLayout
|
|
|
|
|
{
|
|
|
|
|
Default,
|
|
|
|
|
Animation,
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-01 21:47:35 +00:00
|
|
|
|
public LayoutEditor()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2019-08-27 20:38:06 +00:00
|
|
|
|
|
|
|
|
|
public void LoadBflyt(BFLYT.Header header, string fileName)
|
|
|
|
|
{
|
|
|
|
|
LayoutViewer viewer = new LayoutViewer();
|
|
|
|
|
this.Controls.Add(viewer);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void LoadBflan()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void InitalizeEditors()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2019-08-01 21:47:35 +00:00
|
|
|
|
}
|
|
|
|
|
}
|