Fix code generation for imnodes.

internals
Eric Mellino 3 years ago
parent 690c05e696
commit d98aeab2c6
  1. 2
      src/CodeGenerator/TypeInfo.cs
  2. 4
      src/ImNodes.NET/Generated/ImNodes.gen.cs

@ -96,7 +96,7 @@ namespace CodeGenerator
{ "ImPlotAxisFlags_NoGridLines", "ImPlotAxisFlags.NoGridLines"}, { "ImPlotAxisFlags_NoGridLines", "ImPlotAxisFlags.NoGridLines"},
{ "ImGuiCond_Once", "ImGuiCond.Once"}, { "ImGuiCond_Once", "ImGuiCond.Once"},
{ "ImPlotOrientation_Vertical", "ImPlotOrientation.Vertical"}, { "ImPlotOrientation_Vertical", "ImPlotOrientation.Vertical"},
{ "PinShape_CircleFilled", "PinShape._CircleFilled"}, { "PinShape_CircleFilled", "PinShape.CircleFilled"},
{ "ImGuiPopupFlags_None", "ImGuiPopupFlags.None"}, { "ImGuiPopupFlags_None", "ImGuiPopupFlags.None"},
{ "ImGuiNavHighlightFlags_TypeDefault", "ImGuiNavHighlightFlags.TypeDefault"}, { "ImGuiNavHighlightFlags_TypeDefault", "ImGuiNavHighlightFlags.TypeDefault"},
{ "ImGuiKeyModFlags_Ctrl", "ImGuiKeyModFlags.Ctrl"}, { "ImGuiKeyModFlags_Ctrl", "ImGuiKeyModFlags.Ctrl"},

@ -10,7 +10,7 @@ namespace imnodesNET
{ {
public static void BeginInputAttribute(int id) public static void BeginInputAttribute(int id)
{ {
PinShape shape = PinShape._CircleFilled; PinShape shape = PinShape.CircleFilled;
imnodesNative.imnodes_BeginInputAttribute(id, shape); imnodesNative.imnodes_BeginInputAttribute(id, shape);
} }
public static void BeginInputAttribute(int id, PinShape shape) public static void BeginInputAttribute(int id, PinShape shape)
@ -31,7 +31,7 @@ namespace imnodesNET
} }
public static void BeginOutputAttribute(int id) public static void BeginOutputAttribute(int id)
{ {
PinShape shape = PinShape._CircleFilled; PinShape shape = PinShape.CircleFilled;
imnodesNative.imnodes_BeginOutputAttribute(id, shape); imnodesNative.imnodes_BeginOutputAttribute(id, shape);
} }
public static void BeginOutputAttribute(int id, PinShape shape) public static void BeginOutputAttribute(int id, PinShape shape)

Loading…
Cancel
Save