Handle new default value in the code generator.

internals
Eric Mellino 6 years ago
parent 489f84752e
commit 448f22dedb
  1. 1
      src/CodeGenerator/Program.cs

@ -72,6 +72,7 @@ namespace CodeGenerator
{ "ImVec4(1,1,1,1)", "new Vector4(1, 1, 1, 1)" }, { "ImVec4(1,1,1,1)", "new Vector4(1, 1, 1, 1)" },
{ "ImDrawCornerFlags_All", "(int)ImDrawCornerFlags.All" }, { "ImDrawCornerFlags_All", "(int)ImDrawCornerFlags.All" },
{ "FLT_MAX", "float.MaxValue" }, { "FLT_MAX", "float.MaxValue" },
{ "(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0))", "0xFFFFFFFF" }
}; };
private static readonly Dictionary<string, string> s_identifierReplacements = new Dictionary<string, string>() private static readonly Dictionary<string, string> s_identifierReplacements = new Dictionary<string, string>()

Loading…
Cancel
Save