This commit is contained in:
ww-rm
2025-04-07 15:06:23 +08:00
parent 580eaf990d
commit 64bd9907cb
67 changed files with 2040 additions and 1646 deletions

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpineViewer.PropertyGridWrappers.Spine
{
public class SpineWrapper(SpineViewer.Spine.Spine spine)
{
[Browsable(false)]
public SpineViewer.Spine.Spine Spine { get; } = spine;
[TypeConverter(typeof(ExpandableObjectConverter))]
[DisplayName("基本信息")]
public SpineBaseInfoWrapper BaseInfo { get; } = new(spine);
[TypeConverter(typeof(ExpandableObjectConverter))]
[DisplayName("渲染")]
public SpineRenderWrapper Render { get; } = new(spine);
[TypeConverter(typeof(ExpandableObjectConverter))]
[DisplayName("变换")]
public SpineTransformWrapper Transform { get; } = new(spine);
[Editor(typeof(SpineSkinEditor), typeof(UITypeEditor))]
[TypeConverter(typeof(ExpandableObjectConverter))]
[DisplayName("皮肤")]
public SpineSkinWrapper Skin { get; } = new(spine);
[Editor(typeof(SpineAnimationEditor), typeof(UITypeEditor))]
[TypeConverter(typeof(ExpandableObjectConverter))]
[DisplayName("动画")]
public SpineAnimationWrapper Animation { get; } = new(spine);
}
}