プラグインファイルの追加

このコミットが含まれているのは:
routersys committed 2026-06-21 11:38:51 +09:00
1 親 de0e5d7f1c
コミット 0d04b30d24
36ファイル変更
+6148

検索条件に一致するファイルはありません

+24
ファイルの表示
@@ -0,0 +1,24 @@
using System.Windows;
using YukkuriMovieMaker.Commons;
namespace LuaScript
{
internal sealed class LuaScriptToolBarAttribute : PropertyEditorAttribute2
{
public override PropertyEditorSize PropertyEditorSize { get; set; } = PropertyEditorSize.FullWidth;
public override FrameworkElement Create() => new LuaScriptToolBar();
public override void ClearBindings(FrameworkElement control)
{
if (control is LuaScriptToolBar editor)
editor.ItemProperties = null;
}
public override void SetBindings(FrameworkElement control, ItemProperty[] itemProperties)
{
if (control is LuaScriptToolBar editor)
editor.ItemProperties = itemProperties;
}
}
}