diff --git a/samples/NodeEditor.Base/Views/ToolboxView.axaml b/samples/NodeEditor.Base/Views/ToolboxView.axaml index c4248e3..17b1196 100644 --- a/samples/NodeEditor.Base/Views/ToolboxView.axaml +++ b/samples/NodeEditor.Base/Views/ToolboxView.axaml @@ -41,7 +41,7 @@ - diff --git a/src/NodeEditorAvalonia/Controls/Connectors.cs b/src/NodeEditorAvalonia/Controls/Connectors.cs new file mode 100644 index 0000000..d0d6dd8 --- /dev/null +++ b/src/NodeEditorAvalonia/Controls/Connectors.cs @@ -0,0 +1,7 @@ +using Avalonia.Controls.Primitives; + +namespace NodeEditor.Controls; + +public class Connectors : TemplatedControl +{ +} diff --git a/src/NodeEditorAvalonia/Controls/Node.cs b/src/NodeEditorAvalonia/Controls/Node.cs index d65326c..c6d9425 100644 --- a/src/NodeEditorAvalonia/Controls/Node.cs +++ b/src/NodeEditorAvalonia/Controls/Node.cs @@ -6,4 +6,4 @@ namespace NodeEditor.Controls; [PseudoClasses(":selected")] public class Node : TemplatedControl { -} \ No newline at end of file +} diff --git a/src/NodeEditorAvalonia/Controls/Nodes.cs b/src/NodeEditorAvalonia/Controls/Nodes.cs new file mode 100644 index 0000000..0ae989a --- /dev/null +++ b/src/NodeEditorAvalonia/Controls/Nodes.cs @@ -0,0 +1,7 @@ +using Avalonia.Controls.Primitives; + +namespace NodeEditor.Controls; + +public class Nodes : TemplatedControl +{ +} diff --git a/src/NodeEditorAvalonia/Controls/Pins.cs b/src/NodeEditorAvalonia/Controls/Pins.cs new file mode 100644 index 0000000..5542044 --- /dev/null +++ b/src/NodeEditorAvalonia/Controls/Pins.cs @@ -0,0 +1,7 @@ +using Avalonia.Controls.Primitives; + +namespace NodeEditor.Controls; + +public class Pins : TemplatedControl +{ +} diff --git a/src/NodeEditorAvalonia/Themes/Connectors.axaml b/src/NodeEditorAvalonia/Themes/Connectors.axaml new file mode 100644 index 0000000..0298392 --- /dev/null +++ b/src/NodeEditorAvalonia/Themes/Connectors.axaml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/NodeEditorAvalonia/Themes/DrawingNode.axaml b/src/NodeEditorAvalonia/Themes/DrawingNode.axaml index dde6cd0..4a31e1e 100644 --- a/src/NodeEditorAvalonia/Themes/DrawingNode.axaml +++ b/src/NodeEditorAvalonia/Themes/DrawingNode.axaml @@ -1,9 +1,6 @@  @@ -27,64 +24,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/src/NodeEditorAvalonia/Themes/Node.axaml b/src/NodeEditorAvalonia/Themes/Node.axaml index 8ed4b15..911299e 100644 --- a/src/NodeEditorAvalonia/Themes/Node.axaml +++ b/src/NodeEditorAvalonia/Themes/Node.axaml @@ -1,8 +1,6 @@  @@ -18,53 +16,10 @@ Height="{Binding Height}"> - - - - - - - - - - - - - - - - - + - - - - diff --git a/src/NodeEditorAvalonia/Themes/NodeEditorTheme.axaml b/src/NodeEditorAvalonia/Themes/NodeEditorTheme.axaml index b2645cc..d4fa31c 100644 --- a/src/NodeEditorAvalonia/Themes/NodeEditorTheme.axaml +++ b/src/NodeEditorAvalonia/Themes/NodeEditorTheme.axaml @@ -16,9 +16,12 @@ - - + + + + + diff --git a/src/NodeEditorAvalonia/Themes/Nodes.axaml b/src/NodeEditorAvalonia/Themes/Nodes.axaml new file mode 100644 index 0000000..99c5a34 --- /dev/null +++ b/src/NodeEditorAvalonia/Themes/Nodes.axaml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/NodeEditorAvalonia/Themes/Pins.axaml b/src/NodeEditorAvalonia/Themes/Pins.axaml new file mode 100644 index 0000000..ce36413 --- /dev/null +++ b/src/NodeEditorAvalonia/Themes/Pins.axaml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +