Browse Source

More icons

flabbet 11 months ago
parent
commit
1da17776e4

+ 3 - 3
src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/CombineSeparate/CombineVecD.cs → src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/CombineSeparate/CombineVecDNode.cs

@@ -8,7 +8,7 @@ using PixiEditor.Numerics;
 namespace PixiEditor.ChangeableDocument.Changeables.Graph.Nodes.CombineSeparate;
 namespace PixiEditor.ChangeableDocument.Changeables.Graph.Nodes.CombineSeparate;
 
 
 [NodeInfo("CombineVecD", "COMBINE_VECD_NODE", Category = "NUMBER")]
 [NodeInfo("CombineVecD", "COMBINE_VECD_NODE", Category = "NUMBER")]
-public class CombineVecD : Node
+public class CombineVecDNode : Node
 {
 {
     public FuncOutputProperty<Float2> Vector { get; }
     public FuncOutputProperty<Float2> Vector { get; }
     
     
@@ -16,7 +16,7 @@ public class CombineVecD : Node
     
     
     public FuncInputProperty<Float1> Y { get; }
     public FuncInputProperty<Float1> Y { get; }
     
     
-    public CombineVecD()
+    public CombineVecDNode()
     {
     {
         Vector = CreateFuncOutput(nameof(Vector), "VECTOR", GetVector);
         Vector = CreateFuncOutput(nameof(Vector), "VECTOR", GetVector);
 
 
@@ -38,5 +38,5 @@ public class CombineVecD : Node
     }
     }
 
 
 
 
-    public override Node CreateCopy() => new CombineVecD();
+    public override Node CreateCopy() => new CombineVecDNode();
 }
 }

+ 3 - 3
src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/CombineSeparate/CombineVecI.cs → src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/CombineSeparate/CombineVecINode.cs

@@ -7,7 +7,7 @@ using PixiEditor.Numerics;
 namespace PixiEditor.ChangeableDocument.Changeables.Graph.Nodes.CombineSeparate;
 namespace PixiEditor.ChangeableDocument.Changeables.Graph.Nodes.CombineSeparate;
 
 
 [NodeInfo("CombineVecI", "COMBINE_VECI_NODE", Category = "NUMBER")]
 [NodeInfo("CombineVecI", "COMBINE_VECI_NODE", Category = "NUMBER")]
-public class CombineVecI : Node
+public class CombineVecINode : Node
 {
 {
     public FuncOutputProperty<Int2> Vector { get; }
     public FuncOutputProperty<Int2> Vector { get; }
     
     
@@ -15,7 +15,7 @@ public class CombineVecI : Node
     
     
     public FuncInputProperty<Int1> Y { get; }
     public FuncInputProperty<Int1> Y { get; }
 
 
-    public CombineVecI()
+    public CombineVecINode()
     {
     {
         Vector = CreateFuncOutput(nameof(Vector), "VECTOR", GetVector);
         Vector = CreateFuncOutput(nameof(Vector), "VECTOR", GetVector);
 
 
@@ -38,5 +38,5 @@ public class CombineVecI : Node
     }
     }
 
 
 
 
-    public override Node CreateCopy() => new CombineVecI();
+    public override Node CreateCopy() => new CombineVecINode();
 }
 }

+ 1 - 1
src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/CombineSeparate/SeparateChannelsNode.cs

@@ -5,7 +5,7 @@ using PixiEditor.Numerics;
 
 
 namespace PixiEditor.ChangeableDocument.Changeables.Graph.Nodes.CombineSeparate;
 namespace PixiEditor.ChangeableDocument.Changeables.Graph.Nodes.CombineSeparate;
 
 
-[NodeInfo("SeparateChannels", "SEPARATE_CHANNELS_NODE", Category = "COLOR")]
+[NodeInfo("SeparateChannels", "SEPARATE_CHANNELS_NODE", Category = "IMAGE")]
 public class SeparateChannelsNode : Node
 public class SeparateChannelsNode : Node
 {
 {
     private readonly Paint _paint = new();
     private readonly Paint _paint = new();

+ 12 - 1
src/PixiEditor/Fonts/NodeIcons.cs

@@ -26,6 +26,17 @@ public static class NodeIcons
             { typeof(LerpColorNode), "\ue90b" },
             { typeof(LerpColorNode), "\ue90b" },
             { typeof(NoiseNode), "\ue90c" },
             { typeof(NoiseNode), "\ue90c" },
             { typeof(EllipseNode), "\ue90d" },
             { typeof(EllipseNode), "\ue90d" },
-            { typeof(MathNode), "\ue90e" }
+            { typeof(MathNode), "\ue90e" },
+            { typeof(KernelFilterNode), "\ue90f" },
+            { typeof(CombineChannelsNode), "\ue910" },
+            { typeof(ColorMatrixFilterNode), "\ue911" },
+            { typeof(GrayscaleNode), "\ue912" },
+            { typeof(SeparateColorNode), "\ue913" },
+            { typeof(RemoveClosePointsNode), "\ue914" },
+            { typeof(SeparateChannelsNode), "\ue910" },
+            { typeof(CombineVecDNode), "\ue916" },
+            { typeof(CombineVecINode), "\ue917" },
+            { typeof(SeparateVecDNode), "\ue918" },
+            { typeof(SeparateVecINode), "\ue919" }
         });
         });
 }
 }

BIN
src/PixiEditor/Fonts/nodeicons.ttf