Switch-Toolbox/Switch_FileFormatsMain/GUI/Byaml/CourseMuunt/Wrappers/ProbeLightingEntryWrapper.cs

28 lines
634 B
C#
Raw Normal View History

2019-04-10 19:36:10 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Switch_Toolbox.Library;
using Switch_Toolbox.Library.Rendering;
namespace FirstPlugin.Turbo.CourseMuuntStructs
{
public class ProbeLightingEntryWrapper : TreeNodeCustom
{
public ProbeLighting.Entry entry;
public void OnChecked(bool IsChecked)
{
entry.IsVisable = IsChecked;
}
public ProbeLightingEntryWrapper(ProbeLighting.Entry config) {
Text = config.Name;
Checked = true;
entry = config;
}
}
}