mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Nodes - Added object output pins and a new list predicate node
This commit is contained in:
1 parent
9106359515
commit
b19854ee47
21 files changed
+492
-143
No files matched your search
@@ -0,0 +1,23 @@
|
||||
using Artemis.Core;
|
||||
|
||||
namespace Artemis.UI.Shared.Services.NodeEditor;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the base of the node script editor window view model.
|
||||
/// </summary>
|
||||
public abstract class NodeScriptWindowViewModelBase : DialogViewModelBase<bool>
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new instance of the <see cref="NodeScriptWindowViewModelBase" /> class.
|
||||
/// </summary>
|
||||
/// <param name="nodeScript">The node script being edited.</param>
|
||||
protected NodeScriptWindowViewModelBase(NodeScript nodeScript)
|
||||
{
|
||||
NodeScript = nodeScript;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the node script being edited.
|
||||
/// </summary>
|
||||
public NodeScript NodeScript { get; init; }
|
||||
}
|
||||
@@ -103,4 +103,11 @@
|
||||
<Setter Property="Padding" Value="6 3 11 3" />
|
||||
<Setter Property="Height" Value="24" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="Button.condensed">
|
||||
<Setter Property="Padding" Value="1" />
|
||||
<Setter Property="FontSize" Value="13" />
|
||||
<Setter Property="MinHeight" Value="24" />
|
||||
</Style>
|
||||
|
||||
</Styles>
|
||||
Reference in new issue
Block a user