mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-16 19:06:14 +08:00
New Project Window
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using CodeWalker.GameFiles;
|
||||
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 CodeWalker.Project.Panels
|
||||
{
|
||||
public partial class EditYnvPolyPanel : ProjectPanel
|
||||
{
|
||||
public ProjectForm2 ProjectForm;
|
||||
public YnvPoly YnvPoly { get; set; }
|
||||
|
||||
//private bool populatingui = false;
|
||||
|
||||
public EditYnvPolyPanel(ProjectForm2 projectForm)
|
||||
{
|
||||
ProjectForm = projectForm;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetYnvPoly(YnvPoly ynvPoly)
|
||||
{
|
||||
YnvPoly = ynvPoly;
|
||||
Tag = ynvPoly;
|
||||
UpdateFormTitle();
|
||||
UpdateYnvUI();
|
||||
}
|
||||
|
||||
private void UpdateFormTitle()
|
||||
{
|
||||
Text = "Nav Poly " + YnvPoly.Index.ToString();
|
||||
}
|
||||
|
||||
|
||||
public void UpdateYnvUI()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user