プラグインファイルの追加
このコミットが含まれているのは:
36ファイル変更
+6148
検索条件に一致するファイルはありません
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする