Skip to content

Commit 2a842d8

Browse files
committed
Update ImGui.NET to v1.88 and ImPlot to latest.
1 parent 0938c98 commit 2a842d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+35712
-21623
lines changed

deps/cimgui/win-x64/cimgui.dll

1.12 MB
Binary file not shown.

src/CodeGenerator/Program.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ static void Main(string[] args)
2525
outputPath = AppContext.BaseDirectory;
2626
}
2727

28+
if (!Directory.Exists(outputPath))
29+
{
30+
Directory.CreateDirectory(outputPath);
31+
}
32+
2833
string libraryName;
2934
if (args.Length > 1)
3035
{

src/CodeGenerator/TypeInfo.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public class TypeInfo
5252
{ "ImVec2[2]", "Vector2*" },
5353
{ "char* []", "byte**" },
5454
{ "unsigned char[256]", "byte*"},
55+
{ "ImPlotFormatter", "IntPtr" },
56+
{ "ImPlotGetter", "IntPtr" },
57+
{ "ImPlotTransform", "IntPtr" },
5558
};
5659

5760
public static readonly List<string> WellKnownEnums = new List<string>()
@@ -110,7 +113,12 @@ public class TypeInfo
110113
{ "sizeof(ImU32)", "sizeof(uint)"},
111114
{ "sizeof(ImS32)", "sizeof(int)"},
112115
{ "sizeof(ImU64)", "sizeof(ulong)"},
113-
{ "sizeof(ImS64)", "sizeof(long)"}
116+
{ "sizeof(ImS64)", "sizeof(long)"},
117+
{ "ImPlotBin_Sturges", "(int)ImPlotBin.Sturges" },
118+
{ "ImPlotRect()", "new ImPlotRect()" },
119+
{ "ImPlotCond_Once", "ImPlotCond.Once" },
120+
{ "ImPlotRange()", "new ImPlotRange()" },
121+
114122
};
115123

116124
public static readonly Dictionary<string, string> IdentifierReplacements = new Dictionary<string, string>()

0 commit comments

Comments
 (0)