diff --git a/.gitignore b/.gitignore index 93242c60..4f2d501f 100644 --- a/.gitignore +++ b/.gitignore @@ -259,4 +259,7 @@ Session.vim .idea # download dir -deps/ \ No newline at end of file +deps/ + +# VS Launch +launchSettings.json \ No newline at end of file diff --git a/README.md b/README.md index beaa7133..55c6f37c 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,5 @@ https://github.com/ocornut/imgui See the [official screenshot thread](https://github.com/ocornut/imgui/issues/123) for examples of many different kinds of interfaces created with Dear ImGui. -https://github.com/Extrawurst/cimgui +https://github.com/cimgui/cimgui > This is a thin c-api wrapper for the excellent C++ intermediate gui imgui. This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C . diff --git a/deps/cimgui/linux-x64/cimgui.so b/deps/cimgui/linux-x64/cimgui.so index 3e755d58..6384ef7f 100644 Binary files a/deps/cimgui/linux-x64/cimgui.so and b/deps/cimgui/linux-x64/cimgui.so differ diff --git a/deps/cimgui/osx-x64/cimgui.dylib b/deps/cimgui/osx-x64/cimgui.dylib index 87418f57..df3bd7f7 100644 Binary files a/deps/cimgui/osx-x64/cimgui.dylib and b/deps/cimgui/osx-x64/cimgui.dylib differ diff --git a/deps/cimgui/win-x64/cimgui.dll b/deps/cimgui/win-x64/cimgui.dll index 2b1140e0..2ac83f33 100644 Binary files a/deps/cimgui/win-x64/cimgui.dll and b/deps/cimgui/win-x64/cimgui.dll differ diff --git a/deps/cimgui/win-x86/cimgui.dll b/deps/cimgui/win-x86/cimgui.dll index 26c4727f..c2272315 100644 Binary files a/deps/cimgui/win-x86/cimgui.dll and b/deps/cimgui/win-x86/cimgui.dll differ diff --git a/src/CodeGenerator/CodeGenerator.csproj b/src/CodeGenerator/CodeGenerator.csproj index 9f05ccc5..5668f6a6 100644 --- a/src/CodeGenerator/CodeGenerator.csproj +++ b/src/CodeGenerator/CodeGenerator.csproj @@ -1,4 +1,4 @@ - + Exe @@ -8,6 +8,7 @@ + diff --git a/src/CodeGenerator/Program.cs b/src/CodeGenerator/Program.cs index 7ce8a678..c6e79372 100644 --- a/src/CodeGenerator/Program.cs +++ b/src/CodeGenerator/Program.cs @@ -10,7 +10,7 @@ namespace CodeGenerator { - class Program + internal static class Program { private static readonly Dictionary s_wellKnownTypes = new Dictionary() { @@ -56,7 +56,7 @@ class Program "ImVector", "ImVec2", "ImVec4", - "Pair", + "ImGuiStoragePair", }; private static readonly Dictionary s_wellKnownDefaultValues = new Dictionary() @@ -70,8 +70,9 @@ class Program { "ImVec2(0,1)", "new Vector2(0, 1)" }, { "ImVec4(0,0,0,0)", "new Vector4()" }, { "ImVec4(1,1,1,1)", "new Vector4(1, 1, 1, 1)" }, - { "ImDrawCornerFlags_All", "(int)ImDrawCornerFlags.All" }, + { "ImDrawCornerFlags_All", "ImDrawCornerFlags.All" }, { "FLT_MAX", "float.MaxValue" }, + { "(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0))", "0xFFFFFFFF" } }; private static readonly Dictionary s_identifierReplacements = new Dictionary() @@ -129,6 +130,27 @@ static void Main(string[] args) functionsJson = JObject.Load(jr); } + JObject variantsJson = null; + if (File.Exists(Path.Combine(AppContext.BaseDirectory, "variants.json"))) + { + using (StreamReader fs = File.OpenText(Path.Combine(AppContext.BaseDirectory, "variants.json"))) + using (JsonTextReader jr = new JsonTextReader(fs)) + { + variantsJson = JObject.Load(jr); + } + } + + Dictionary variants = new Dictionary(); + foreach (var jt in variantsJson.Children()) + { + JProperty jp = (JProperty)jt; + ParameterVariant[] methodVariants = jp.Values().Select(jv => + { + return new ParameterVariant(jv["name"].ToString(), jv["type"].ToString(), jv["variants"].Select(s => s.ToString()).ToArray()); + }).ToArray(); + variants.Add(jp.Name, new MethodVariant(jp.Name, methodVariants)); + } + EnumDefinition[] enums = typesJson["enums"].Select(jt => { JProperty jp = (JProperty)jt; @@ -168,6 +190,10 @@ static void Main(string[] args) string ov_cimguiname = val["ov_cimguiname"]?.ToString(); string cimguiname = val["cimguiname"].ToString(); string friendlyName = val["funcname"]?.ToString(); + if (cimguiname.EndsWith("_destroy")) + { + friendlyName = "Destroy"; + } if (friendlyName == null) { return null; } string exportedName = ov_cimguiname; @@ -190,11 +216,20 @@ static void Main(string[] args) List parameters = new List(); + // find any variants that can be applied to the parameters of this method based on the method name + MethodVariant methodVariants = null; + variants.TryGetValue(jp.Name, out methodVariants); + foreach (JToken p in val["argsT"]) { string pType = p["type"].ToString(); string pName = p["name"].ToString(); - parameters.Add(new TypeReference(pName, pType, enums)); + + // if there are possible variants for this method then try to match them based on the parameter name and expected type + ParameterVariant matchingVariant = methodVariants?.Parameters.Where(pv => pv.Name == pName && pv.OriginalType == pType).FirstOrDefault() ?? null; + if (matchingVariant != null) matchingVariant.Used = true; + + parameters.Add(new TypeReference(pName, pType, enums, matchingVariant?.VariantTypes)); } Dictionary defaultValues = new Dictionary(); @@ -207,6 +242,12 @@ static void Main(string[] args) string comment = null; string structName = val["stname"].ToString(); + bool isConstructor = val.Value("constructor"); + bool isDestructor = val.Value("destructor"); + if (isConstructor) + { + returnType = structName + "*"; + } return new OverloadDefinition( exportedName, @@ -216,10 +257,11 @@ static void Main(string[] args) returnType, structName, comment, - enums); + isConstructor, + isDestructor); }).Where(od => od != null).ToArray(); - return new FunctionDefinition(name, overloads); + return new FunctionDefinition(name, overloads, enums); }).OrderBy(fd => fd.Name).ToArray(); foreach (EnumDefinition ed in enums) @@ -361,8 +403,10 @@ static void Main(string[] args) continue; } - if (overload.FriendlyName == overload.StructName) + if (overload.IsConstructor) { + // TODO: Emit a static function on the type that invokes the native constructor. + // Also, add a "Dispose" function or similar. continue; } @@ -423,6 +467,7 @@ static void Main(string[] args) { string exportedName = overload.ExportedName; if (exportedName.Contains("~")) { continue; } + if (exportedName.Contains("ImVector_")) { continue; } if (overload.Parameters.Any(tr => tr.Type.Contains('('))) { continue; } // TODO: Parse function pointer parameters. string ret = GetTypeString(overload.ReturnType, false); @@ -530,6 +575,14 @@ static void Main(string[] args) writer.PopBlock(); writer.PopBlock(); } + + foreach (var method in variants) + { + foreach (var variant in method.Value.Parameters) + { + if (!variant.Used) Console.WriteLine($"Error: Variants targetting parameter {variant.Name} with type {variant.OriginalType} could not be applied to method {method.Key}."); + } + } } private static bool IsStringFieldName(string name) @@ -636,7 +689,7 @@ private static void EmitOverload( preCallLines.Add($" }}"); preCallLines.Add($" int {nativeArgName}_offset = Util.GetUtf8({textToEncode}, {nativeArgName}, {correctedIdentifier}_byteCount);"); preCallLines.Add($" {nativeArgName}[{nativeArgName}_offset] = 0;"); - + if (!hasDefault) { preCallLines.Add("}"); @@ -948,6 +1001,38 @@ private static string CorrectIdentifier(string identifier) } } + class MethodVariant + { + public string Name { get; } + + public ParameterVariant[] Parameters { get; } + + public MethodVariant(string name, ParameterVariant[] parameters) + { + Name = name; + Parameters = parameters; + } + } + + class ParameterVariant + { + public string Name { get; } + + public string OriginalType { get; } + + public string[] VariantTypes { get; } + + public bool Used { get; set; } + + public ParameterVariant(string name, string originalType, string[] variantTypes) + { + Name = name; + OriginalType = originalType; + VariantTypes = variantTypes; + Used = false; + } + } + class EnumDefinition { private readonly Dictionary _sanitizedNames; @@ -1034,11 +1119,18 @@ class TypeReference public string TemplateType { get; } public int ArraySize { get; } public bool IsFunctionPointer { get; } + public string[] TypeVariants { get; } public TypeReference(string name, string type, EnumDefinition[] enums) - : this(name, type, null, enums) { } + : this(name, type, null, enums, null) { } + + public TypeReference(string name, string type, EnumDefinition[] enums, string[] typeVariants) + : this(name, type, null, enums, typeVariants) { } public TypeReference(string name, string type, string templateType, EnumDefinition[] enums) + : this(name, type, templateType, enums, null) { } + + public TypeReference(string name, string type, string templateType, EnumDefinition[] enums, string[] typeVariants) { Name = name; Type = type.Replace("const", string.Empty).Trim(); @@ -1067,6 +1159,8 @@ public TypeReference(string name, string type, string templateType, EnumDefiniti } IsFunctionPointer = Type.IndexOf('(') != -1; + + TypeVariants = typeVariants; } private int ParseSizeString(string sizePart, EnumDefinition[] enums) @@ -1102,6 +1196,12 @@ private int ParseSizeString(string sizePart, EnumDefinition[] enums) return ret; } + + public TypeReference WithVariant(int variantIndex, EnumDefinition[] enums) + { + if (variantIndex == 0) return this; + else return new TypeReference(Name, TypeVariants[variantIndex - 1], TemplateType, enums); + } } class FunctionDefinition @@ -1109,10 +1209,63 @@ class FunctionDefinition public string Name { get; } public OverloadDefinition[] Overloads { get; } - public FunctionDefinition(string name, OverloadDefinition[] overloads) + public FunctionDefinition(string name, OverloadDefinition[] overloads, EnumDefinition[] enums) { Name = name; - Overloads = overloads; + Overloads = ExpandOverloadVariants(overloads, enums); + } + + private OverloadDefinition[] ExpandOverloadVariants(OverloadDefinition[] overloads, EnumDefinition[] enums) + { + List newDefinitions = new List(); + + foreach (OverloadDefinition overload in overloads) + { + bool hasVariants = false; + int[] variantCounts = new int[overload.Parameters.Length]; + + for (int i = 0; i < overload.Parameters.Length; i++) + { + if (overload.Parameters[i].TypeVariants != null) + { + hasVariants = true; + variantCounts[i] = overload.Parameters[i].TypeVariants.Length + 1; + } + else + { + variantCounts[i] = 1; + } + } + + if (hasVariants) + { + int totalVariants = variantCounts[0]; + for (int i = 1; i < variantCounts.Length; i++) totalVariants *= variantCounts[i]; + + for (int i = 0; i < totalVariants; i++) + { + TypeReference[] parameters = new TypeReference[overload.Parameters.Length]; + int div = 1; + + for (int j = 0; j < parameters.Length; j++) + { + int k = (i / div) % variantCounts[j]; + + parameters[j] = overload.Parameters[j].WithVariant(k, enums); + + if (j > 0) div *= variantCounts[j]; + } + + newDefinitions.Add(overload.WithParameters(parameters)); + } + } + else + { + newDefinitions.Add(overload); + } + } + + return newDefinitions.ToArray(); } } @@ -1126,6 +1279,8 @@ class OverloadDefinition public string StructName { get; } public bool IsMemberFunction { get; } public string Comment { get; } + public bool IsConstructor { get; } + public bool IsDestructor { get; } public OverloadDefinition( string exportedName, @@ -1135,7 +1290,8 @@ public OverloadDefinition( string returnType, string structName, string comment, - EnumDefinition[] enums) + bool isConstructor, + bool isDestructor) { ExportedName = exportedName; FriendlyName = friendlyName; @@ -1143,8 +1299,15 @@ public OverloadDefinition( DefaultValues = defaultValues; ReturnType = returnType.Replace("const", string.Empty).Replace("inline", string.Empty).Trim(); StructName = structName; - IsMemberFunction = structName != "ImGui"; + IsMemberFunction = !string.IsNullOrEmpty(structName); Comment = comment; + IsConstructor = isConstructor; + IsDestructor = isDestructor; + } + + public OverloadDefinition WithParameters(TypeReference[] parameters) + { + return new OverloadDefinition(ExportedName, FriendlyName, parameters, DefaultValues, ReturnType, StructName, Comment, IsConstructor, IsDestructor); } } diff --git a/src/CodeGenerator/Properties/launchSettings.json b/src/CodeGenerator/Properties/launchSettings.json deleted file mode 100644 index b0543eb0..00000000 --- a/src/CodeGenerator/Properties/launchSettings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "profiles": { - "CodeGenerator": { - "commandName": "Project", - "commandLineArgs": "E:\\projects\\imgui.net\\src\\ImGui.NET\\Generated" - } - } -} \ No newline at end of file diff --git a/src/CodeGenerator/definitions.json b/src/CodeGenerator/definitions.json index 6c49aec2..079bb601 100644 --- a/src/CodeGenerator/definitions.json +++ b/src/CodeGenerator/definitions.json @@ -1,14531 +1,16736 @@ { - "igGetFrameHeight": [ - { - "funcname": "GetFrameHeight", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetFrameHeight" - } - ], - "igCreateContext": [ + "ImColor_HSV": [ { - "funcname": "CreateContext", - "args": "(ImFontAtlas* shared_font_atlas)", - "ret": "ImGuiContext*", - "comment": "", - "call_args": "(shared_font_atlas)", - "argsoriginal": "(ImFontAtlas* shared_font_atlas=((void*)0))", - "stname": "ImGui", + "args": "(ImColor* self,float h,float s,float v,float a)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "shared_font_atlas" + "name": "self", + "type": "ImColor*" + }, + { + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" + }, + { + "name": "a", + "type": "float" } ], - "defaults": { "shared_font_atlas": "((void*)0)" }, - "signature": "(ImFontAtlas*)", - "cimguiname": "igCreateContext" - } - ], - "igTextUnformatted": [ + "argsoriginal": "(float h,float s,float v,float a=1.0f)", + "call_args": "(h,s,v,a)", + "cimguiname": "ImColor_HSV", + "defaults": { + "a": "1.0f" + }, + "funcname": "HSV", + "ov_cimguiname": "ImColor_HSV", + "ret": "ImColor", + "signature": "(float,float,float,float)", + "stname": "ImColor" + }, { - "funcname": "TextUnformatted", - "args": "(const char* text,const char* text_end)", + "args": "(ImColor *pOut,ImColor* self,float h,float s,float v,float a)", + "argsT": [ + { + "name": "pOut", + "type": "ImColor*" + }, + { + "name": "self", + "type": "ImColor*" + }, + { + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" + }, + { + "name": "a", + "type": "float" + } + ], + "argsoriginal": "(float h,float s,float v,float a=1.0f)", + "call_args": "(h,s,v,a)", + "cimguiname": "ImColor_HSV", + "defaults": { + "a": "1.0f" + }, + "funcname": "HSV", + "nonUDT": 1, + "ov_cimguiname": "ImColor_HSV_nonUDT", "ret": "void", - "comment": "", - "call_args": "(text,text_end)", - "argsoriginal": "(const char* text,const char* text_end=((void*)0))", - "stname": "ImGui", + "signature": "(float,float,float,float)", + "stname": "ImColor" + }, + { + "args": "(ImColor* self,float h,float s,float v,float a)", "argsT": [ { - "type": "const char*", - "name": "text" + "name": "self", + "type": "ImColor*" }, { - "type": "const char*", - "name": "text_end" + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" + }, + { + "name": "a", + "type": "float" } ], - "defaults": { "text_end": "((void*)0)" }, - "signature": "(const char*,const char*)", - "cimguiname": "igTextUnformatted" + "argsoriginal": "(float h,float s,float v,float a=1.0f)", + "call_args": "(h,s,v,a)", + "cimguiname": "ImColor_HSV", + "defaults": { + "a": "1.0f" + }, + "funcname": "HSV", + "nonUDT": 2, + "ov_cimguiname": "ImColor_HSV_nonUDT2", + "ret": "ImColor_Simple", + "retorig": "ImColor", + "signature": "(float,float,float,float)", + "stname": "ImColor" } ], - "igPopFont": [ + "ImColor_ImColor": [ { - "funcname": "PopFont", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImColor_ImColor", + "constructor": true, "defaults": [], + "funcname": "ImColor", + "ov_cimguiname": "ImColor_ImColor", "signature": "()", - "cimguiname": "igPopFont" - } - ], - "igCombo": [ + "stname": "ImColor" + }, { - "funcname": "Combo", - "args": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)", - "ret": "bool", - "comment": "", - "call_args": "(label,current_item,items,items_count,popup_max_height_in_items)", - "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)", - "stname": "ImGui", + "args": "(int r,int g,int b,int a)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "r", + "type": "int" }, { - "type": "int*", - "name": "current_item" + "name": "g", + "type": "int" }, { - "type": "const char* const[]", - "name": "items" + "name": "b", + "type": "int" }, { - "type": "int", - "name": "items_count" - }, + "name": "a", + "type": "int" + } + ], + "argsoriginal": "(int r,int g,int b,int a=255)", + "call_args": "(r,g,b,a)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": { + "a": "255" + }, + "funcname": "ImColor", + "ov_cimguiname": "ImColor_ImColorInt", + "signature": "(int,int,int,int)", + "stname": "ImColor" + }, + { + "args": "(ImU32 rgba)", + "argsT": [ { - "type": "int", - "name": "popup_max_height_in_items" + "name": "rgba", + "type": "ImU32" } ], - "ov_cimguiname": "igCombo", - "defaults": { "popup_max_height_in_items": "-1" }, - "signature": "(const char*,int*,const char* const[],int,int)", - "cimguiname": "igCombo" + "argsoriginal": "(ImU32 rgba)", + "call_args": "(rgba)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": [], + "funcname": "ImColor", + "ov_cimguiname": "ImColor_ImColorU32", + "signature": "(ImU32)", + "stname": "ImColor" }, { - "funcname": "Combo", - "args": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)", - "ret": "bool", - "comment": "", - "call_args": "(label,current_item,items_separated_by_zeros,popup_max_height_in_items)", - "argsoriginal": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)", - "stname": "ImGui", + "args": "(float r,float g,float b,float a)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "r", + "type": "float" }, { - "type": "int*", - "name": "current_item" + "name": "g", + "type": "float" }, { - "type": "const char*", - "name": "items_separated_by_zeros" + "name": "b", + "type": "float" }, { - "type": "int", - "name": "popup_max_height_in_items" + "name": "a", + "type": "float" } ], - "ov_cimguiname": "igComboStr", - "defaults": { "popup_max_height_in_items": "-1" }, - "signature": "(const char*,int*,const char*,int)", - "cimguiname": "igCombo" + "argsoriginal": "(float r,float g,float b,float a=1.0f)", + "call_args": "(r,g,b,a)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": { + "a": "1.0f" + }, + "funcname": "ImColor", + "ov_cimguiname": "ImColor_ImColorFloat", + "signature": "(float,float,float,float)", + "stname": "ImColor" }, { - "funcname": "Combo", - "args": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)", - "ret": "bool", - "comment": "", - "call_args": "(label,current_item,items_getter,data,items_count,popup_max_height_in_items)", - "argsoriginal": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)", - "stname": "ImGui", + "args": "(const ImVec4 col)", "argsT": [ { - "type": "const char*", - "name": "label" - }, + "name": "col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(const ImVec4& col)", + "call_args": "(col)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": [], + "funcname": "ImColor", + "ov_cimguiname": "ImColor_ImColorVec4", + "signature": "(const ImVec4)", + "stname": "ImColor" + } + ], + "ImColor_SetHSV": [ + { + "args": "(ImColor* self,float h,float s,float v,float a)", + "argsT": [ { - "type": "int*", - "name": "current_item" + "name": "self", + "type": "ImColor*" }, { - "type": "bool(*)(void* data,int idx,const char** out_text)", - "signature": "(void* data,int idx,const char** out_text)", - "name": "items_getter", - "ret": "bool" + "name": "h", + "type": "float" }, { - "type": "void*", - "name": "data" + "name": "s", + "type": "float" }, { - "type": "int", - "name": "items_count" + "name": "v", + "type": "float" }, { - "type": "int", - "name": "popup_max_height_in_items" + "name": "a", + "type": "float" } ], - "ov_cimguiname": "igComboFnPtr", - "defaults": { "popup_max_height_in_items": "-1" }, - "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", - "cimguiname": "igCombo" + "argsoriginal": "(float h,float s,float v,float a=1.0f)", + "call_args": "(h,s,v,a)", + "cimguiname": "ImColor_SetHSV", + "defaults": { + "a": "1.0f" + }, + "funcname": "SetHSV", + "ov_cimguiname": "ImColor_SetHSV", + "ret": "void", + "signature": "(float,float,float,float)", + "stname": "ImColor" } ], - "igCaptureKeyboardFromApp": [ + "ImColor_destroy": [ { - "funcname": "CaptureKeyboardFromApp", - "args": "(bool capture)", - "ret": "void", - "comment": "", - "call_args": "(capture)", - "argsoriginal": "(bool capture=true)", - "stname": "ImGui", + "args": "(ImColor* self)", "argsT": [ { - "type": "bool", - "name": "capture" + "name": "self", + "type": "ImColor*" } ], - "defaults": { "capture": "true" }, - "signature": "(bool)", - "cimguiname": "igCaptureKeyboardFromApp" + "call_args": "(self)", + "cimguiname": "ImColor_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImColor_destroy", + "ret": "void", + "signature": "(ImColor*)", + "stname": "ImColor" } ], - "igIsWindowFocused": [ + "ImDrawCmd_ImDrawCmd": [ { - "funcname": "IsWindowFocused", - "args": "(ImGuiFocusedFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(flags)", - "argsoriginal": "(ImGuiFocusedFlags flags=0)", - "stname": "ImGui", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawCmd_ImDrawCmd", + "constructor": true, + "defaults": [], + "funcname": "ImDrawCmd", + "ov_cimguiname": "ImDrawCmd_ImDrawCmd", + "signature": "()", + "stname": "ImDrawCmd" + } + ], + "ImDrawCmd_destroy": [ + { + "args": "(ImDrawCmd* self)", "argsT": [ { - "type": "ImGuiFocusedFlags", - "name": "flags" + "name": "self", + "type": "ImDrawCmd*" } ], - "defaults": { "flags": "0" }, - "signature": "(ImGuiFocusedFlags)", - "cimguiname": "igIsWindowFocused" + "call_args": "(self)", + "cimguiname": "ImDrawCmd_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImDrawCmd_destroy", + "ret": "void", + "signature": "(ImDrawCmd*)", + "stname": "ImDrawCmd" } ], - "igRender": [ + "ImDrawData_Clear": [ { - "funcname": "Render", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "(ImDrawData* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawData*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImDrawData_Clear", "defaults": [], + "funcname": "Clear", + "ov_cimguiname": "ImDrawData_Clear", + "ret": "void", "signature": "()", - "cimguiname": "igRender" + "stname": "ImDrawData" } ], - "ImDrawList_ChannelsSetCurrent": [ + "ImDrawData_DeIndexAllBuffers": [ { - "funcname": "ChannelsSetCurrent", - "args": "(ImDrawList* self,int channel_index)", - "ret": "void", - "comment": "", - "call_args": "(channel_index)", - "argsoriginal": "(int channel_index)", - "stname": "ImDrawList", + "args": "(ImDrawData* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "int", - "name": "channel_index" + "name": "self", + "type": "ImDrawData*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawData_DeIndexAllBuffers", "defaults": [], - "signature": "(int)", - "cimguiname": "ImDrawList_ChannelsSetCurrent" + "funcname": "DeIndexAllBuffers", + "ov_cimguiname": "ImDrawData_DeIndexAllBuffers", + "ret": "void", + "signature": "()", + "stname": "ImDrawData" } ], - "igDragFloat4": [ + "ImDrawData_ImDrawData": [ { - "funcname": "DragFloat4", - "args": "(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawData_ImDrawData", + "constructor": true, + "defaults": [], + "funcname": "ImDrawData", + "ov_cimguiname": "ImDrawData_ImDrawData", + "signature": "()", + "stname": "ImDrawData" + } + ], + "ImDrawData_ScaleClipRects": [ + { + "args": "(ImDrawData* self,const ImVec2 fb_scale)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImDrawData*" }, { - "type": "float[4]", - "name": "v" - }, - { - "type": "float", - "name": "v_speed" - }, - { - "type": "float", - "name": "v_min" - }, - { - "type": "float", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" - }, - { - "type": "float", - "name": "power" + "name": "fb_scale", + "type": "const ImVec2" } ], - "defaults": { - "v_speed": "1.0f", - "v_min": "0.0f", - "power": "1.0f", - "v_max": "0.0f", - "format": "\"%.3f\"" - }, - "signature": "(const char*,float[4],float,float,float,const char*,float)", - "cimguiname": "igDragFloat4" + "argsoriginal": "(const ImVec2& fb_scale)", + "call_args": "(fb_scale)", + "cimguiname": "ImDrawData_ScaleClipRects", + "defaults": [], + "funcname": "ScaleClipRects", + "ov_cimguiname": "ImDrawData_ScaleClipRects", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImDrawData" } ], - "ImDrawList_ChannelsSplit": [ + "ImDrawData_destroy": [ { - "funcname": "ChannelsSplit", - "args": "(ImDrawList* self,int channels_count)", - "ret": "void", - "comment": "", - "call_args": "(channels_count)", - "argsoriginal": "(int channels_count)", - "stname": "ImDrawList", + "args": "(ImDrawData* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "int", - "name": "channels_count" + "name": "self", + "type": "ImDrawData*" } ], + "call_args": "(self)", + "cimguiname": "ImDrawData_destroy", "defaults": [], - "signature": "(int)", - "cimguiname": "ImDrawList_ChannelsSplit" + "destructor": true, + "ov_cimguiname": "ImDrawData_destroy", + "ret": "void", + "signature": "(ImDrawData*)", + "stname": "ImDrawData" } ], - "igIsMousePosValid": [ + "ImDrawListSplitter_Clear": [ { - "funcname": "IsMousePosValid", - "args": "(const ImVec2* mouse_pos)", - "ret": "bool", - "comment": "", - "call_args": "(mouse_pos)", - "argsoriginal": "(const ImVec2* mouse_pos=((void*)0))", - "stname": "ImGui", + "args": "(ImDrawListSplitter* self)", "argsT": [ { - "type": "const ImVec2*", - "name": "mouse_pos" + "name": "self", + "type": "ImDrawListSplitter*" } ], - "defaults": { "mouse_pos": "((void*)0)" }, - "signature": "(const ImVec2*)", - "cimguiname": "igIsMousePosValid" - } - ], - "igGetCursorScreenPos": [ - { - "funcname": "GetCursorScreenPos", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImDrawListSplitter_Clear", "defaults": [], - "signature": "()", - "cimguiname": "igGetCursorScreenPos" - }, - { - "funcname": "GetCursorScreenPos", - "args": "(ImVec2 *pOut)", + "funcname": "Clear", + "ov_cimguiname": "ImDrawListSplitter_Clear", "ret": "void", - "cimguiname": "igGetCursorScreenPos", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "signature": "()", - "ov_cimguiname": "igGetCursorScreenPos_nonUDT", - "comment": "", - "defaults": [], + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_ClearFreeMemory": [ + { + "args": "(ImDrawListSplitter* self)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "self", + "type": "ImDrawListSplitter*" } - ] - }, + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawListSplitter_ClearFreeMemory", + "defaults": [], + "funcname": "ClearFreeMemory", + "ov_cimguiname": "ImDrawListSplitter_ClearFreeMemory", + "ret": "void", + "signature": "()", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_ImDrawListSplitter": [ { - "cimguiname": "igGetCursorScreenPos", - "funcname": "GetCursorScreenPos", "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetCursorScreenPos_nonUDT2", - "comment": "", + "call_args": "()", + "cimguiname": "ImDrawListSplitter_ImDrawListSplitter", + "constructor": true, "defaults": [], - "argsT": [] + "funcname": "ImDrawListSplitter", + "ov_cimguiname": "ImDrawListSplitter_ImDrawListSplitter", + "signature": "()", + "stname": "ImDrawListSplitter" } ], - "igDebugCheckVersionAndDataLayout": [ + "ImDrawListSplitter_Merge": [ { - "funcname": "DebugCheckVersionAndDataLayout", - "args": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)", - "ret": "bool", - "comment": "", - "call_args": "(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)", - "argsoriginal": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)", - "stname": "ImGui", + "args": "(ImDrawListSplitter* self,ImDrawList* draw_list)", "argsT": [ { - "type": "const char*", - "name": "version_str" - }, - { - "type": "size_t", - "name": "sz_io" - }, - { - "type": "size_t", - "name": "sz_style" + "name": "self", + "type": "ImDrawListSplitter*" }, { - "type": "size_t", - "name": "sz_vec2" - }, - { - "type": "size_t", - "name": "sz_vec4" - }, - { - "type": "size_t", - "name": "sz_drawvert" + "name": "draw_list", + "type": "ImDrawList*" } ], + "argsoriginal": "(ImDrawList* draw_list)", + "call_args": "(draw_list)", + "cimguiname": "ImDrawListSplitter_Merge", "defaults": [], - "signature": "(const char*,size_t,size_t,size_t,size_t,size_t)", - "cimguiname": "igDebugCheckVersionAndDataLayout" + "funcname": "Merge", + "ov_cimguiname": "ImDrawListSplitter_Merge", + "ret": "void", + "signature": "(ImDrawList*)", + "stname": "ImDrawListSplitter" } ], - "igSliderFloat4": [ + "ImDrawListSplitter_SetCurrentChannel": [ { - "funcname": "SliderFloat4", - "args": "(const char* label,float v[4],float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(ImDrawListSplitter* self,ImDrawList* draw_list,int channel_idx)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "float[4]", - "name": "v" - }, - { - "type": "float", - "name": "v_min" + "name": "self", + "type": "ImDrawListSplitter*" }, { - "type": "float", - "name": "v_max" + "name": "draw_list", + "type": "ImDrawList*" }, { - "type": "const char*", - "name": "format" - }, - { - "type": "float", - "name": "power" - } - ], - "defaults": { - "power": "1.0f", - "format": "\"%.3f\"" - }, - "signature": "(const char*,float[4],float,float,const char*,float)", - "cimguiname": "igSliderFloat4" - } - ], - "igSetScrollY": [ - { - "funcname": "SetScrollY", - "args": "(float scroll_y)", - "ret": "void", - "comment": "", - "call_args": "(scroll_y)", - "argsoriginal": "(float scroll_y)", - "stname": "ImGui", - "argsT": [ - { - "type": "float", - "name": "scroll_y" + "name": "channel_idx", + "type": "int" } ], + "argsoriginal": "(ImDrawList* draw_list,int channel_idx)", + "call_args": "(draw_list,channel_idx)", + "cimguiname": "ImDrawListSplitter_SetCurrentChannel", "defaults": [], - "signature": "(float)", - "cimguiname": "igSetScrollY" + "funcname": "SetCurrentChannel", + "ov_cimguiname": "ImDrawListSplitter_SetCurrentChannel", + "ret": "void", + "signature": "(ImDrawList*,int)", + "stname": "ImDrawListSplitter" } ], - "CustomRect_destroy": [ + "ImDrawListSplitter_Split": [ { - "signature": "(CustomRect*)", - "args": "(CustomRect* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "CustomRect", - "ov_cimguiname": "CustomRect_destroy", - "cimguiname": "CustomRect_destroy", + "args": "(ImDrawListSplitter* self,ImDrawList* draw_list,int count)", "argsT": [ { - "type": "CustomRect*", - "name": "self" + "name": "self", + "type": "ImDrawListSplitter*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "count", + "type": "int" } ], - "defaults": [] - } - ], - "igGetStateStorage": [ - { - "funcname": "GetStateStorage", - "args": "()", - "ret": "ImGuiStorage*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "argsoriginal": "(ImDrawList* draw_list,int count)", + "call_args": "(draw_list,count)", + "cimguiname": "ImDrawListSplitter_Split", "defaults": [], - "signature": "()", - "cimguiname": "igGetStateStorage" + "funcname": "Split", + "ov_cimguiname": "ImDrawListSplitter_Split", + "ret": "void", + "signature": "(ImDrawList*,int)", + "stname": "ImDrawListSplitter" } ], - "igSetColorEditOptions": [ + "ImDrawListSplitter_destroy": [ { - "funcname": "SetColorEditOptions", - "args": "(ImGuiColorEditFlags flags)", - "ret": "void", - "comment": "", - "call_args": "(flags)", - "argsoriginal": "(ImGuiColorEditFlags flags)", - "stname": "ImGui", + "args": "(ImDrawListSplitter* self)", "argsT": [ { - "type": "ImGuiColorEditFlags", - "name": "flags" + "name": "self", + "type": "ImDrawListSplitter*" } ], + "call_args": "(self)", + "cimguiname": "ImDrawListSplitter_destroy", "defaults": [], - "signature": "(ImGuiColorEditFlags)", - "cimguiname": "igSetColorEditOptions" + "destructor": true, + "ov_cimguiname": "ImDrawListSplitter_destroy", + "ret": "void", + "signature": "(ImDrawListSplitter*)", + "stname": "ImDrawListSplitter" } ], - "ImFontAtlas_destroy": [ + "ImDrawList_AddBezierCurve": [ { - "signature": "(ImFontAtlas*)", - "args": "(ImFontAtlas* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImFontAtlas", - "ov_cimguiname": "ImFontAtlas_destroy", - "cimguiname": "ImFontAtlas_destroy", + "args": "(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos0", + "type": "const ImVec2" + }, + { + "name": "cp0", + "type": "const ImVec2" + }, + { + "name": "cp1", + "type": "const ImVec2" + }, + { + "name": "pos1", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "thickness", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" } ], - "defaults": [] + "argsoriginal": "(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)", + "call_args": "(pos0,cp0,cp1,pos1,col,thickness,num_segments)", + "cimguiname": "ImDrawList_AddBezierCurve", + "defaults": { + "num_segments": "0" + }, + "funcname": "AddBezierCurve", + "ov_cimguiname": "ImDrawList_AddBezierCurve", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", + "stname": "ImDrawList" } ], - "ImGuiStorage_GetBoolRef": [ + "ImDrawList_AddCallback": [ { - "funcname": "GetBoolRef", - "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", - "ret": "bool*", - "comment": "", - "call_args": "(key,default_val)", - "argsoriginal": "(ImGuiID key,bool default_val=false)", - "stname": "ImGuiStorage", + "args": "(ImDrawList* self,ImDrawCallback callback,void* callback_data)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" + "name": "self", + "type": "ImDrawList*" }, { - "type": "ImGuiID", - "name": "key" + "name": "callback", + "type": "ImDrawCallback" }, { - "type": "bool", - "name": "default_val" + "name": "callback_data", + "type": "void*" } ], - "defaults": { "default_val": "false" }, - "signature": "(ImGuiID,bool)", - "cimguiname": "ImGuiStorage_GetBoolRef" + "argsoriginal": "(ImDrawCallback callback,void* callback_data)", + "call_args": "(callback,callback_data)", + "cimguiname": "ImDrawList_AddCallback", + "defaults": [], + "funcname": "AddCallback", + "ov_cimguiname": "ImDrawList_AddCallback", + "ret": "void", + "signature": "(ImDrawCallback,void*)", + "stname": "ImDrawList" } ], - "igInputScalarN": [ + "ImDrawList_AddCircle": [ { - "funcname": "InputScalarN", - "args": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,data_type,v,components,step,step_fast,format,extra_flags)", - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void*)0),const void* step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "ImGuiDataType", - "name": "data_type" - }, - { - "type": "void*", - "name": "v" + "name": "self", + "type": "ImDrawList*" }, { - "type": "int", - "name": "components" + "name": "center", + "type": "const ImVec2" }, { - "type": "const void*", - "name": "step" + "name": "radius", + "type": "float" }, { - "type": "const void*", - "name": "step_fast" + "name": "col", + "type": "ImU32" }, { - "type": "const char*", - "name": "format" + "name": "num_segments", + "type": "int" }, { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "thickness", + "type": "float" } ], + "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)", + "call_args": "(center,radius,col,num_segments,thickness)", + "cimguiname": "ImDrawList_AddCircle", "defaults": { - "step": "((void*)0)", - "format": "((void*)0)", - "step_fast": "((void*)0)", - "extra_flags": "0" + "num_segments": "12", + "thickness": "1.0f" }, - "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)", - "cimguiname": "igInputScalarN" + "funcname": "AddCircle", + "ov_cimguiname": "ImDrawList_AddCircle", + "ret": "void", + "signature": "(const ImVec2,float,ImU32,int,float)", + "stname": "ImDrawList" } ], - "igColorPicker4": [ + "ImDrawList_AddCircleFilled": [ { - "funcname": "ColorPicker4", - "args": "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)", - "ret": "bool", - "comment": "", - "call_args": "(label,col,flags,ref_col)", - "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void*)0))", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImDrawList*" }, { - "type": "float[4]", - "name": "col" + "name": "center", + "type": "const ImVec2" }, { - "type": "ImGuiColorEditFlags", - "name": "flags" + "name": "radius", + "type": "float" }, { - "type": "const float*", - "name": "ref_col" + "name": "col", + "type": "ImU32" + }, + { + "name": "num_segments", + "type": "int" } ], + "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments=12)", + "call_args": "(center,radius,col,num_segments)", + "cimguiname": "ImDrawList_AddCircleFilled", "defaults": { - "ref_col": "((void*)0)", - "flags": "0" + "num_segments": "12" }, - "signature": "(const char*,float[4],ImGuiColorEditFlags,const float*)", - "cimguiname": "igColorPicker4" + "funcname": "AddCircleFilled", + "ov_cimguiname": "ImDrawList_AddCircleFilled", + "ret": "void", + "signature": "(const ImVec2,float,ImU32,int)", + "stname": "ImDrawList" } ], - "ImGuiInputTextCallbackData_destroy": [ - { - "signature": "(ImGuiInputTextCallbackData*)", - "args": "(ImGuiInputTextCallbackData* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiInputTextCallbackData", - "ov_cimguiname": "ImGuiInputTextCallbackData_destroy", - "cimguiname": "ImGuiInputTextCallbackData_destroy", - "argsT": [ - { - "type": "ImGuiInputTextCallbackData*", - "name": "self" - } - ], - "defaults": [] - } - ], - "igSetScrollFromPosY": [ + "ImDrawList_AddConvexPolyFilled": [ { - "funcname": "SetScrollFromPosY", - "args": "(float pos_y,float center_y_ratio)", - "ret": "void", - "comment": "", - "call_args": "(pos_y,center_y_ratio)", - "argsoriginal": "(float pos_y,float center_y_ratio=0.5f)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col)", "argsT": [ { - "type": "float", - "name": "pos_y" + "name": "self", + "type": "ImDrawList*" }, { - "type": "float", - "name": "center_y_ratio" - } - ], - "defaults": { "center_y_ratio": "0.5f" }, - "signature": "(float,float)", - "cimguiname": "igSetScrollFromPosY" - } - ], - "ImDrawCmd_destroy": [ - { - "signature": "(ImDrawCmd*)", - "args": "(ImDrawCmd* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImDrawCmd", - "ov_cimguiname": "ImDrawCmd_destroy", - "cimguiname": "ImDrawCmd_destroy", - "argsT": [ + "name": "points", + "type": "const ImVec2*" + }, { - "type": "ImDrawCmd*", - "name": "self" - } - ], - "defaults": [] - } - ], - "ImDrawList_Clear": [ - { - "funcname": "Clear", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", - "argsT": [ + "name": "num_points", + "type": "int" + }, { - "type": "ImDrawList*", - "name": "self" + "name": "col", + "type": "ImU32" } ], + "argsoriginal": "(const ImVec2* points,int num_points,ImU32 col)", + "call_args": "(points,num_points,col)", + "cimguiname": "ImDrawList_AddConvexPolyFilled", "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_Clear" + "funcname": "AddConvexPolyFilled", + "ov_cimguiname": "ImDrawList_AddConvexPolyFilled", + "ret": "void", + "signature": "(const ImVec2*,int,ImU32)", + "stname": "ImDrawList" } ], - "igGetStyleColorVec4": [ + "ImDrawList_AddDrawCmd": [ { - "funcname": "GetStyleColorVec4", - "args": "(ImGuiCol idx)", - "ret": "const ImVec4*", - "comment": "", - "call_args": "(idx)", - "argsoriginal": "(ImGuiCol idx)", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "ImGuiCol", - "name": "idx" + "name": "self", + "type": "ImDrawList*" } ], - "retref": "&", - "defaults": [], - "signature": "(ImGuiCol)", - "cimguiname": "igGetStyleColorVec4" - } - ], - "igGetClipboardText": [ - { - "funcname": "GetClipboardText", - "args": "()", - "ret": "const char*", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImDrawList_AddDrawCmd", "defaults": [], + "funcname": "AddDrawCmd", + "ov_cimguiname": "ImDrawList_AddDrawCmd", + "ret": "void", "signature": "()", - "cimguiname": "igGetClipboardText" + "stname": "ImDrawList" } ], - "igIsMouseHoveringRect": [ + "ImDrawList_AddImage": [ { - "funcname": "IsMouseHoveringRect", - "args": "(const ImVec2 r_min,const ImVec2 r_max,bool clip)", - "ret": "bool", - "comment": "", - "call_args": "(r_min,r_max,clip)", - "argsoriginal": "(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)", - "stname": "ImGui", + "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col)", "argsT": [ { - "type": "const ImVec2", - "name": "r_min" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "uv_min", + "type": "const ImVec2" }, { - "type": "const ImVec2", - "name": "r_max" + "name": "uv_max", + "type": "const ImVec2" }, { - "type": "bool", - "name": "clip" + "name": "col", + "type": "ImU32" } ], - "defaults": { "clip": "true" }, - "signature": "(const ImVec2,const ImVec2,bool)", - "cimguiname": "igIsMouseHoveringRect" + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p_min,const ImVec2& p_max,const ImVec2& uv_min=ImVec2(0,0),const ImVec2& uv_max=ImVec2(1,1),ImU32 col=(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0)))", + "call_args": "(user_texture_id,p_min,p_max,uv_min,uv_max,col)", + "cimguiname": "ImDrawList_AddImage", + "defaults": { + "col": "(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0))", + "uv_max": "ImVec2(1,1)", + "uv_min": "ImVec2(0,0)" + }, + "funcname": "AddImage", + "ov_cimguiname": "ImDrawList_AddImage", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" } ], - "ImVec4_ImVec4": [ - { - "funcname": "ImVec4", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImVec4", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImVec4_ImVec4", - "defaults": [], - "signature": "()", - "cimguiname": "ImVec4_ImVec4" - }, + "ImDrawList_AddImageQuad": [ { - "funcname": "ImVec4", - "args": "(float _x,float _y,float _z,float _w)", + "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 uv1,const ImVec2 uv2,const ImVec2 uv3,const ImVec2 uv4,ImU32 col)", "argsT": [ { - "type": "float", - "name": "_x" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" }, { - "type": "float", - "name": "_y" + "name": "p1", + "type": "const ImVec2" }, { - "type": "float", - "name": "_z" + "name": "p2", + "type": "const ImVec2" }, { - "type": "float", - "name": "_w" + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "uv2", + "type": "const ImVec2" + }, + { + "name": "uv3", + "type": "const ImVec2" + }, + { + "name": "uv4", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" } ], - "call_args": "(_x,_y,_z,_w)", - "argsoriginal": "(float _x,float _y,float _z,float _w)", - "stname": "ImVec4", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImVec4_ImVec4Float", - "defaults": [], - "signature": "(float,float,float,float)", - "cimguiname": "ImVec4_ImVec4" + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,const ImVec2& uv1=ImVec2(0,0),const ImVec2& uv2=ImVec2(1,0),const ImVec2& uv3=ImVec2(1,1),const ImVec2& uv4=ImVec2(0,1),ImU32 col=(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0)))", + "call_args": "(user_texture_id,p1,p2,p3,p4,uv1,uv2,uv3,uv4,col)", + "cimguiname": "ImDrawList_AddImageQuad", + "defaults": { + "col": "(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0))", + "uv1": "ImVec2(0,0)", + "uv2": "ImVec2(1,0)", + "uv3": "ImVec2(1,1)", + "uv4": "ImVec2(0,1)" + }, + "funcname": "AddImageQuad", + "ov_cimguiname": "ImDrawList_AddImageQuad", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" } ], - "ImGuiPayload_destroy": [ + "ImDrawList_AddImageRounded": [ { - "signature": "(ImGuiPayload*)", - "args": "(ImGuiPayload* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiPayload", - "ov_cimguiname": "ImGuiPayload_destroy", - "cimguiname": "ImGuiPayload_destroy", + "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners)", "argsT": [ { - "type": "ImGuiPayload*", - "name": "self" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "uv_min", + "type": "const ImVec2" + }, + { + "name": "uv_max", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "rounding_corners", + "type": "ImDrawCornerFlags" } ], - "defaults": [] + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p_min,const ImVec2& p_max,const ImVec2& uv_min,const ImVec2& uv_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All)", + "call_args": "(user_texture_id,p_min,p_max,uv_min,uv_max,col,rounding,rounding_corners)", + "cimguiname": "ImDrawList_AddImageRounded", + "defaults": { + "rounding_corners": "ImDrawCornerFlags_All" + }, + "funcname": "AddImageRounded", + "ov_cimguiname": "ImDrawList_AddImageRounded", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,ImDrawCornerFlags)", + "stname": "ImDrawList" } ], - "ImColor_SetHSV": [ + "ImDrawList_AddLine": [ { - "funcname": "SetHSV", - "args": "(ImColor* self,float h,float s,float v,float a)", - "ret": "void", - "comment": "", - "call_args": "(h,s,v,a)", - "argsoriginal": "(float h,float s,float v,float a=1.0f)", - "stname": "ImColor", + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,ImU32 col,float thickness)", "argsT": [ { - "type": "ImColor*", - "name": "self" + "name": "self", + "type": "ImDrawList*" }, { - "type": "float", - "name": "h" + "name": "p1", + "type": "const ImVec2" }, { - "type": "float", - "name": "s" + "name": "p2", + "type": "const ImVec2" }, { - "type": "float", - "name": "v" + "name": "col", + "type": "ImU32" }, { - "type": "float", - "name": "a" + "name": "thickness", + "type": "float" } ], - "defaults": { "a": "1.0f" }, - "signature": "(float,float,float,float)", - "cimguiname": "ImColor_SetHSV" + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,ImU32 col,float thickness=1.0f)", + "call_args": "(p1,p2,col,thickness)", + "cimguiname": "ImDrawList_AddLine", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "AddLine", + "ov_cimguiname": "ImDrawList_AddLine", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,float)", + "stname": "ImDrawList" } ], - "Pair_destroy": [ + "ImDrawList_AddPolyline": [ { - "signature": "(Pair*)", - "args": "(Pair* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "Pair", - "ov_cimguiname": "Pair_destroy", - "cimguiname": "Pair_destroy", + "args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness)", "argsT": [ { - "type": "Pair*", - "name": "self" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "points", + "type": "const ImVec2*" + }, + { + "name": "num_points", + "type": "int" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "closed", + "type": "bool" + }, + { + "name": "thickness", + "type": "float" } ], - "defaults": [] + "argsoriginal": "(const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness)", + "call_args": "(points,num_points,col,closed,thickness)", + "cimguiname": "ImDrawList_AddPolyline", + "defaults": [], + "funcname": "AddPolyline", + "ov_cimguiname": "ImDrawList_AddPolyline", + "ret": "void", + "signature": "(const ImVec2*,int,ImU32,bool,float)", + "stname": "ImDrawList" } ], - "igDragFloat3": [ + "ImDrawList_AddQuad": [ { - "funcname": "DragFloat3", - "args": "(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImDrawList*" }, { - "type": "float[3]", - "name": "v" + "name": "p1", + "type": "const ImVec2" }, { - "type": "float", - "name": "v_speed" + "name": "p2", + "type": "const ImVec2" }, { - "type": "float", - "name": "v_min" + "name": "p3", + "type": "const ImVec2" }, { - "type": "float", - "name": "v_max" + "name": "p4", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "format" + "name": "col", + "type": "ImU32" }, { - "type": "float", - "name": "power" + "name": "thickness", + "type": "float" } ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col,float thickness=1.0f)", + "call_args": "(p1,p2,p3,p4,col,thickness)", + "cimguiname": "ImDrawList_AddQuad", "defaults": { - "v_speed": "1.0f", - "v_min": "0.0f", - "power": "1.0f", - "v_max": "0.0f", - "format": "\"%.3f\"" + "thickness": "1.0f" }, - "signature": "(const char*,float[3],float,float,float,const char*,float)", - "cimguiname": "igDragFloat3" + "funcname": "AddQuad", + "ov_cimguiname": "ImDrawList_AddQuad", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)", + "stname": "ImDrawList" } ], - "ImDrawList_AddPolyline": [ + "ImDrawList_AddQuadFilled": [ { - "funcname": "AddPolyline", - "args": "(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)", - "ret": "void", - "comment": "", - "call_args": "(points,num_points,col,closed,thickness)", - "argsoriginal": "(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)", - "stname": "ImDrawList", + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImDrawList*" }, { - "type": "const ImVec2*", - "name": "points" + "name": "p1", + "type": "const ImVec2" }, { - "type": "const int", - "name": "num_points" + "name": "p2", + "type": "const ImVec2" }, { - "type": "ImU32", - "name": "col" + "name": "p3", + "type": "const ImVec2" }, { - "type": "bool", - "name": "closed" + "name": "p4", + "type": "const ImVec2" }, { - "type": "float", - "name": "thickness" + "name": "col", + "type": "ImU32" } ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col)", + "call_args": "(p1,p2,p3,p4,col)", + "cimguiname": "ImDrawList_AddQuadFilled", "defaults": [], - "signature": "(const ImVec2*,const int,ImU32,bool,float)", - "cimguiname": "ImDrawList_AddPolyline" + "funcname": "AddQuadFilled", + "ov_cimguiname": "ImDrawList_AddQuadFilled", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" } ], - "ImGuiTextBuffer_destroy": [ + "ImDrawList_AddRect": [ { - "signature": "(ImGuiTextBuffer*)", - "args": "(ImGuiTextBuffer* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiTextBuffer", - "ov_cimguiname": "ImGuiTextBuffer_destroy", - "cimguiname": "ImGuiTextBuffer_destroy", + "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners,float thickness)", "argsT": [ { - "type": "ImGuiTextBuffer*", - "name": "self" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "rounding_corners", + "type": "ImDrawCornerFlags" + }, + { + "name": "thickness", + "type": "float" } ], - "defaults": [] + "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col,float rounding=0.0f,ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All,float thickness=1.0f)", + "call_args": "(p_min,p_max,col,rounding,rounding_corners,thickness)", + "cimguiname": "ImDrawList_AddRect", + "defaults": { + "rounding": "0.0f", + "rounding_corners": "ImDrawCornerFlags_All", + "thickness": "1.0f" + }, + "funcname": "AddRect", + "ov_cimguiname": "ImDrawList_AddRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawCornerFlags,float)", + "stname": "ImDrawList" } ], - "igCalcTextSize": [ + "ImDrawList_AddRectFilled": [ { - "funcname": "CalcTextSize", - "args": "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", - "ret": "ImVec2", - "comment": "", - "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", - "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners)", "argsT": [ { - "type": "const char*", - "name": "text" + "name": "self", + "type": "ImDrawList*" }, { - "type": "const char*", - "name": "text_end" + "name": "p_min", + "type": "const ImVec2" }, { - "type": "bool", - "name": "hide_text_after_double_hash" + "name": "p_max", + "type": "const ImVec2" }, { - "type": "float", - "name": "wrap_width" - } - ], + "name": "col", + "type": "ImU32" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "rounding_corners", + "type": "ImDrawCornerFlags" + } + ], + "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col,float rounding=0.0f,ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All)", + "call_args": "(p_min,p_max,col,rounding,rounding_corners)", + "cimguiname": "ImDrawList_AddRectFilled", "defaults": { - "text_end": "((void*)0)", - "wrap_width": "-1.0f", - "hide_text_after_double_hash": "false" + "rounding": "0.0f", + "rounding_corners": "ImDrawCornerFlags_All" }, - "signature": "(const char*,const char*,bool,float)", - "cimguiname": "igCalcTextSize" - }, - { - "funcname": "CalcTextSize", - "args": "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", + "funcname": "AddRectFilled", + "ov_cimguiname": "ImDrawList_AddRectFilled", "ret": "void", - "cimguiname": "igCalcTextSize", - "nonUDT": 1, - "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", - "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", - "stname": "ImGui", - "signature": "(const char*,const char*,bool,float)", - "ov_cimguiname": "igCalcTextSize_nonUDT", - "comment": "", - "defaults": { - "text_end": "((void*)0)", - "wrap_width": "-1.0f", - "hide_text_after_double_hash": "false" - }, + "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawCornerFlags)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddRectFilledMultiColor": [ + { + "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "text" + "name": "col_upr_left", + "type": "ImU32" }, { - "type": "const char*", - "name": "text_end" + "name": "col_upr_right", + "type": "ImU32" }, { - "type": "bool", - "name": "hide_text_after_double_hash" + "name": "col_bot_right", + "type": "ImU32" }, { - "type": "float", - "name": "wrap_width" + "name": "col_bot_left", + "type": "ImU32" } - ] - }, + ], + "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", + "call_args": "(p_min,p_max,col_upr_left,col_upr_right,col_bot_right,col_bot_left)", + "cimguiname": "ImDrawList_AddRectFilledMultiColor", + "defaults": [], + "funcname": "AddRectFilledMultiColor", + "ov_cimguiname": "ImDrawList_AddRectFilledMultiColor", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddText": [ { - "cimguiname": "igCalcTextSize", - "funcname": "CalcTextSize", - "args": "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "(const char*,const char*,bool,float)", - "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", - "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igCalcTextSize_nonUDT2", - "comment": "", + "args": "(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "text_begin", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0))", + "call_args": "(pos,col,text_begin,text_end)", + "cimguiname": "ImDrawList_AddText", "defaults": { - "text_end": "((void*)0)", - "wrap_width": "-1.0f", - "hide_text_after_double_hash": "false" + "text_end": "((void*)0)" }, + "funcname": "AddText", + "ov_cimguiname": "ImDrawList_AddText", + "ret": "void", + "signature": "(const ImVec2,ImU32,const char*,const char*)", + "stname": "ImDrawList" + }, + { + "args": "(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)", "argsT": [ { - "type": "const char*", - "name": "text" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "font", + "type": "const ImFont*" + }, + { + "name": "font_size", + "type": "float" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "text_begin", + "type": "const char*" }, { - "type": "const char*", - "name": "text_end" + "name": "text_end", + "type": "const char*" }, { - "type": "bool", - "name": "hide_text_after_double_hash" + "name": "wrap_width", + "type": "float" }, { - "type": "float", - "name": "wrap_width" + "name": "cpu_fine_clip_rect", + "type": "const ImVec4*" } - ] + ], + "argsoriginal": "(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void*)0))", + "call_args": "(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)", + "cimguiname": "ImDrawList_AddText", + "defaults": { + "cpu_fine_clip_rect": "((void*)0)", + "text_end": "((void*)0)", + "wrap_width": "0.0f" + }, + "funcname": "AddText", + "ov_cimguiname": "ImDrawList_AddTextFontPtr", + "ret": "void", + "signature": "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)", + "stname": "ImDrawList" } ], - "igSetStateStorage": [ + "ImDrawList_AddTriangle": [ { - "funcname": "SetStateStorage", - "args": "(ImGuiStorage* storage)", - "ret": "void", - "comment": "", - "call_args": "(storage)", - "argsoriginal": "(ImGuiStorage* storage)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col,float thickness)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "storage" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "thickness", + "type": "float" } ], - "defaults": [], - "signature": "(ImGuiStorage*)", - "cimguiname": "igSetStateStorage" + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col,float thickness=1.0f)", + "call_args": "(p1,p2,p3,col,thickness)", + "cimguiname": "ImDrawList_AddTriangle", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "AddTriangle", + "ov_cimguiname": "ImDrawList_AddTriangle", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)", + "stname": "ImDrawList" } ], - "igValue": [ + "ImDrawList_AddTriangleFilled": [ { - "funcname": "Value", - "args": "(const char* prefix,bool b)", - "ret": "void", - "comment": "", - "call_args": "(prefix,b)", - "argsoriginal": "(const char* prefix,bool b)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col)", "argsT": [ { - "type": "const char*", - "name": "prefix" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" }, { - "type": "bool", - "name": "b" + "name": "col", + "type": "ImU32" } ], - "ov_cimguiname": "igValueBool", + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col)", + "call_args": "(p1,p2,p3,col)", + "cimguiname": "ImDrawList_AddTriangleFilled", "defaults": [], - "signature": "(const char*,bool)", - "cimguiname": "igValue" - }, - { - "funcname": "Value", - "args": "(const char* prefix,int v)", + "funcname": "AddTriangleFilled", + "ov_cimguiname": "ImDrawList_AddTriangleFilled", "ret": "void", - "comment": "", - "call_args": "(prefix,v)", - "argsoriginal": "(const char* prefix,int v)", - "stname": "ImGui", + "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_ChannelsMerge": [ + { + "args": "(ImDrawList* self)", "argsT": [ { - "type": "const char*", - "name": "prefix" - }, - { - "type": "int", - "name": "v" + "name": "self", + "type": "ImDrawList*" } ], - "ov_cimguiname": "igValueInt", + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_ChannelsMerge", "defaults": [], - "signature": "(const char*,int)", - "cimguiname": "igValue" - }, - { - "funcname": "Value", - "args": "(const char* prefix,unsigned int v)", + "funcname": "ChannelsMerge", + "ov_cimguiname": "ImDrawList_ChannelsMerge", "ret": "void", - "comment": "", - "call_args": "(prefix,v)", - "argsoriginal": "(const char* prefix,unsigned int v)", - "stname": "ImGui", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_ChannelsSetCurrent": [ + { + "args": "(ImDrawList* self,int n)", "argsT": [ { - "type": "const char*", - "name": "prefix" + "name": "self", + "type": "ImDrawList*" }, { - "type": "unsigned int", - "name": "v" + "name": "n", + "type": "int" } ], - "ov_cimguiname": "igValueUint", + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImDrawList_ChannelsSetCurrent", "defaults": [], - "signature": "(const char*,unsigned int)", - "cimguiname": "igValue" - }, - { - "funcname": "Value", - "args": "(const char* prefix,float v,const char* float_format)", + "funcname": "ChannelsSetCurrent", + "ov_cimguiname": "ImDrawList_ChannelsSetCurrent", "ret": "void", - "comment": "", - "call_args": "(prefix,v,float_format)", - "argsoriginal": "(const char* prefix,float v,const char* float_format=((void*)0))", - "stname": "ImGui", + "signature": "(int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_ChannelsSplit": [ + { + "args": "(ImDrawList* self,int count)", "argsT": [ { - "type": "const char*", - "name": "prefix" - }, - { - "type": "float", - "name": "v" + "name": "self", + "type": "ImDrawList*" }, { - "type": "const char*", - "name": "float_format" + "name": "count", + "type": "int" } ], - "ov_cimguiname": "igValueFloat", - "defaults": { "float_format": "((void*)0)" }, - "signature": "(const char*,float,const char*)", - "cimguiname": "igValue" + "argsoriginal": "(int count)", + "call_args": "(count)", + "cimguiname": "ImDrawList_ChannelsSplit", + "defaults": [], + "funcname": "ChannelsSplit", + "ov_cimguiname": "ImDrawList_ChannelsSplit", + "ret": "void", + "signature": "(int)", + "stname": "ImDrawList" } ], - "igColumns": [ + "ImDrawList_Clear": [ { - "funcname": "Columns", - "args": "(int count,const char* id,bool border)", - "ret": "void", - "comment": "", - "call_args": "(count,id,border)", - "argsoriginal": "(int count=1,const char* id=((void*)0),bool border=true)", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "int", - "name": "count" - }, - { - "type": "const char*", - "name": "id" - }, - { - "type": "bool", - "name": "border" + "name": "self", + "type": "ImDrawList*" } ], - "defaults": { - "border": "true", - "count": "1", - "id": "((void*)0)" - }, - "signature": "(int,const char*,bool)", - "cimguiname": "igColumns" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_Clear", + "defaults": [], + "funcname": "Clear", + "ov_cimguiname": "ImDrawList_Clear", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" } ], - "ImGuiTextFilter_Build": [ + "ImDrawList_ClearFreeMemory": [ { - "funcname": "Build", - "args": "(ImGuiTextFilter* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiTextFilter", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "ImGuiTextFilter*", - "name": "self" + "name": "self", + "type": "ImDrawList*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_ClearFreeMemory", "defaults": [], + "funcname": "ClearFreeMemory", + "ov_cimguiname": "ImDrawList_ClearFreeMemory", + "ret": "void", "signature": "()", - "cimguiname": "ImGuiTextFilter_Build" + "stname": "ImDrawList" } ], - "ImGuiIO_destroy": [ + "ImDrawList_CloneOutput": [ { - "signature": "(ImGuiIO*)", - "args": "(ImGuiIO* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiIO", - "ov_cimguiname": "ImGuiIO_destroy", - "cimguiname": "ImGuiIO_destroy", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "ImGuiIO*", - "name": "self" + "name": "self", + "type": "ImDrawList*" } ], - "defaults": [] + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_CloneOutput", + "defaults": [], + "funcname": "CloneOutput", + "ov_cimguiname": "ImDrawList_CloneOutput", + "ret": "ImDrawList*", + "signature": "()const", + "stname": "ImDrawList" } ], - "igGetItemRectMax": [ + "ImDrawList_GetClipRectMax": [ { - "funcname": "GetItemRectMax", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMax", "defaults": [], - "signature": "()", - "cimguiname": "igGetItemRectMax" + "funcname": "GetClipRectMax", + "ov_cimguiname": "ImDrawList_GetClipRectMax", + "ret": "ImVec2", + "signature": "()const", + "stname": "ImDrawList" }, { - "funcname": "GetItemRectMax", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetItemRectMax", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetItemRectMax_nonUDT", - "comment": "", - "defaults": [], + "args": "(ImVec2 *pOut,ImDrawList* self)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImDrawList*" } - ] - }, - { - "cimguiname": "igGetItemRectMax", - "funcname": "GetItemRectMax", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", + ], "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetItemRectMax_nonUDT2", - "comment": "", + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMax", "defaults": [], - "argsT": [] - } - ], - "ImGuiStyle_destroy": [ - { - "signature": "(ImGuiStyle*)", - "args": "(ImGuiStyle* self)", + "funcname": "GetClipRectMax", + "nonUDT": 1, + "ov_cimguiname": "ImDrawList_GetClipRectMax_nonUDT", "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiStyle", - "ov_cimguiname": "ImGuiStyle_destroy", - "cimguiname": "ImGuiStyle_destroy", + "signature": "()const", + "stname": "ImDrawList" + }, + { + "args": "(ImDrawList* self)", "argsT": [ { - "type": "ImGuiStyle*", - "name": "self" + "name": "self", + "type": "ImDrawList*" } ], - "defaults": [] - } - ], - "igIsItemDeactivated": [ - { - "funcname": "IsItemDeactivated", - "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMax", "defaults": [], - "signature": "()", - "cimguiname": "igIsItemDeactivated" + "funcname": "GetClipRectMax", + "nonUDT": 2, + "ov_cimguiname": "ImDrawList_GetClipRectMax_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()const", + "stname": "ImDrawList" } ], - "igPushStyleVar": [ + "ImDrawList_GetClipRectMin": [ { - "funcname": "PushStyleVar", - "args": "(ImGuiStyleVar idx,float val)", - "ret": "void", - "comment": "", - "call_args": "(idx,val)", - "argsoriginal": "(ImGuiStyleVar idx,float val)", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "ImGuiStyleVar", - "name": "idx" - }, - { - "type": "float", - "name": "val" + "name": "self", + "type": "ImDrawList*" } ], - "ov_cimguiname": "igPushStyleVarFloat", + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMin", "defaults": [], - "signature": "(ImGuiStyleVar,float)", - "cimguiname": "igPushStyleVar" + "funcname": "GetClipRectMin", + "ov_cimguiname": "ImDrawList_GetClipRectMin", + "ret": "ImVec2", + "signature": "()const", + "stname": "ImDrawList" }, { - "funcname": "PushStyleVar", - "args": "(ImGuiStyleVar idx,const ImVec2 val)", - "ret": "void", - "comment": "", - "call_args": "(idx,val)", - "argsoriginal": "(ImGuiStyleVar idx,const ImVec2& val)", - "stname": "ImGui", + "args": "(ImVec2 *pOut,ImDrawList* self)", "argsT": [ { - "type": "ImGuiStyleVar", - "name": "idx" + "name": "pOut", + "type": "ImVec2*" }, { - "type": "const ImVec2", - "name": "val" + "name": "self", + "type": "ImDrawList*" } ], - "ov_cimguiname": "igPushStyleVarVec2", + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMin", "defaults": [], - "signature": "(ImGuiStyleVar,const ImVec2)", - "cimguiname": "igPushStyleVar" - } - ], - "igSaveIniSettingsToMemory": [ + "funcname": "GetClipRectMin", + "nonUDT": 1, + "ov_cimguiname": "ImDrawList_GetClipRectMin_nonUDT", + "ret": "void", + "signature": "()const", + "stname": "ImDrawList" + }, { - "funcname": "SaveIniSettingsToMemory", - "args": "(size_t* out_ini_size)", - "ret": "const char*", - "comment": "", - "call_args": "(out_ini_size)", - "argsoriginal": "(size_t* out_ini_size=((void*)0))", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "size_t*", - "name": "out_ini_size" + "name": "self", + "type": "ImDrawList*" } ], - "defaults": { "out_ini_size": "((void*)0)" }, - "signature": "(size_t*)", - "cimguiname": "igSaveIniSettingsToMemory" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMin", + "defaults": [], + "funcname": "GetClipRectMin", + "nonUDT": 2, + "ov_cimguiname": "ImDrawList_GetClipRectMin_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()const", + "stname": "ImDrawList" } ], - "ImGuiTextBuffer_size": [ + "ImDrawList_ImDrawList": [ { - "funcname": "size", - "args": "(ImGuiTextBuffer* self)", - "ret": "int", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiTextBuffer", + "args": "(const ImDrawListSharedData* shared_data)", "argsT": [ { - "type": "ImGuiTextBuffer*", - "name": "self" + "name": "shared_data", + "type": "const ImDrawListSharedData*" } ], + "argsoriginal": "(const ImDrawListSharedData* shared_data)", + "call_args": "(shared_data)", + "cimguiname": "ImDrawList_ImDrawList", + "constructor": true, "defaults": [], - "signature": "()", - "cimguiname": "ImGuiTextBuffer_size" + "funcname": "ImDrawList", + "ov_cimguiname": "ImDrawList_ImDrawList", + "signature": "(const ImDrawListSharedData*)", + "stname": "ImDrawList" } ], - "igDragIntRange2": [ + "ImDrawList_PathArcTo": [ { - "funcname": "DragIntRange2", - "args": "(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)", - "ret": "bool", - "comment": "", - "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)", - "argsoriginal": "(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void*)0))", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImDrawList*" }, { - "type": "int*", - "name": "v_current_min" + "name": "center", + "type": "const ImVec2" }, { - "type": "int*", - "name": "v_current_max" + "name": "radius", + "type": "float" }, { - "type": "float", - "name": "v_speed" + "name": "a_min", + "type": "float" }, { - "type": "int", - "name": "v_min" + "name": "a_max", + "type": "float" }, { - "type": "int", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" - }, - { - "type": "const char*", - "name": "format_max" + "name": "num_segments", + "type": "int" } ], + "argsoriginal": "(const ImVec2& center,float radius,float a_min,float a_max,int num_segments=10)", + "call_args": "(center,radius,a_min,a_max,num_segments)", + "cimguiname": "ImDrawList_PathArcTo", "defaults": { - "v_speed": "1.0f", - "v_min": "0", - "format_max": "((void*)0)", - "v_max": "0", - "format": "\"%d\"" + "num_segments": "10" }, - "signature": "(const char*,int*,int*,float,int,int,const char*,const char*)", - "cimguiname": "igDragIntRange2" + "funcname": "PathArcTo", + "ov_cimguiname": "ImDrawList_PathArcTo", + "ret": "void", + "signature": "(const ImVec2,float,float,float,int)", + "stname": "ImDrawList" } ], - "igUnindent": [ + "ImDrawList_PathArcToFast": [ { - "funcname": "Unindent", - "args": "(float indent_w)", - "ret": "void", - "comment": "", - "call_args": "(indent_w)", - "argsoriginal": "(float indent_w=0.0f)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 center,float radius,int a_min_of_12,int a_max_of_12)", "argsT": [ { - "type": "float", - "name": "indent_w" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "a_min_of_12", + "type": "int" + }, + { + "name": "a_max_of_12", + "type": "int" } ], - "defaults": { "indent_w": "0.0f" }, - "signature": "(float)", - "cimguiname": "igUnindent" + "argsoriginal": "(const ImVec2& center,float radius,int a_min_of_12,int a_max_of_12)", + "call_args": "(center,radius,a_min_of_12,a_max_of_12)", + "cimguiname": "ImDrawList_PathArcToFast", + "defaults": [], + "funcname": "PathArcToFast", + "ov_cimguiname": "ImDrawList_PathArcToFast", + "ret": "void", + "signature": "(const ImVec2,float,int,int)", + "stname": "ImDrawList" } ], - "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF": [ + "ImDrawList_PathBezierCurveTo": [ { - "funcname": "AddFontFromMemoryCompressedBase85TTF", - "args": "(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "ret": "ImFont*", - "comment": "", - "call_args": "(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)", - "argsoriginal": "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "stname": "ImFontAtlas", + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImDrawList*" }, { - "type": "const char*", - "name": "compressed_font_data_base85" + "name": "p1", + "type": "const ImVec2" }, { - "type": "float", - "name": "size_pixels" + "name": "p2", + "type": "const ImVec2" }, { - "type": "const ImFontConfig*", - "name": "font_cfg" + "name": "p3", + "type": "const ImVec2" }, { - "type": "const ImWchar*", - "name": "glyph_ranges" + "name": "num_segments", + "type": "int" } ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)", + "call_args": "(p1,p2,p3,num_segments)", + "cimguiname": "ImDrawList_PathBezierCurveTo", "defaults": { - "glyph_ranges": "((void*)0)", - "font_cfg": "((void*)0)" + "num_segments": "0" }, - "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", - "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF" + "funcname": "PathBezierCurveTo", + "ov_cimguiname": "ImDrawList_PathBezierCurveTo", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,int)", + "stname": "ImDrawList" } ], - "igPopAllowKeyboardFocus": [ + "ImDrawList_PathClear": [ { - "funcname": "PopAllowKeyboardFocus", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImDrawList_PathClear", "defaults": [], + "funcname": "PathClear", + "ov_cimguiname": "ImDrawList_PathClear", + "ret": "void", "signature": "()", - "cimguiname": "igPopAllowKeyboardFocus" + "stname": "ImDrawList" } ], - "igLoadIniSettingsFromDisk": [ + "ImDrawList_PathFillConvex": [ { - "funcname": "LoadIniSettingsFromDisk", - "args": "(const char* ini_filename)", - "ret": "void", - "comment": "", - "call_args": "(ini_filename)", - "argsoriginal": "(const char* ini_filename)", - "stname": "ImGui", + "args": "(ImDrawList* self,ImU32 col)", "argsT": [ { - "type": "const char*", - "name": "ini_filename" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "col", + "type": "ImU32" } ], + "argsoriginal": "(ImU32 col)", + "call_args": "(col)", + "cimguiname": "ImDrawList_PathFillConvex", "defaults": [], - "signature": "(const char*)", - "cimguiname": "igLoadIniSettingsFromDisk" + "funcname": "PathFillConvex", + "ov_cimguiname": "ImDrawList_PathFillConvex", + "ret": "void", + "signature": "(ImU32)", + "stname": "ImDrawList" } ], - "ImVec2_destroy": [ + "ImDrawList_PathLineTo": [ { - "signature": "(ImVec2*)", - "args": "(ImVec2* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImVec2", - "ov_cimguiname": "ImVec2_destroy", - "cimguiname": "ImVec2_destroy", + "args": "(ImDrawList* self,const ImVec2 pos)", "argsT": [ { - "type": "ImVec2*", - "name": "self" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" } ], - "defaults": [] + "argsoriginal": "(const ImVec2& pos)", + "call_args": "(pos)", + "cimguiname": "ImDrawList_PathLineTo", + "defaults": [], + "funcname": "PathLineTo", + "ov_cimguiname": "ImDrawList_PathLineTo", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImDrawList" } ], - "igGetCursorStartPos": [ - { - "funcname": "GetCursorStartPos", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetCursorStartPos" - }, + "ImDrawList_PathLineToMergeDuplicate": [ { - "funcname": "GetCursorStartPos", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetCursorStartPos", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetCursorStartPos_nonUDT", - "comment": "", - "defaults": [], + "args": "(ImDrawList* self,const ImVec2 pos)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" - } - ] - }, - { - "cimguiname": "igGetCursorStartPos", - "funcname": "GetCursorStartPos", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetCursorStartPos_nonUDT2", - "comment": "", - "defaults": [], - "argsT": [] - } - ], - "igSetCursorScreenPos": [ - { - "funcname": "SetCursorScreenPos", - "args": "(const ImVec2 screen_pos)", - "ret": "void", - "comment": "", - "call_args": "(screen_pos)", - "argsoriginal": "(const ImVec2& screen_pos)", - "stname": "ImGui", - "argsT": [ + "name": "self", + "type": "ImDrawList*" + }, { - "type": "const ImVec2", - "name": "screen_pos" + "name": "pos", + "type": "const ImVec2" } ], + "argsoriginal": "(const ImVec2& pos)", + "call_args": "(pos)", + "cimguiname": "ImDrawList_PathLineToMergeDuplicate", "defaults": [], + "funcname": "PathLineToMergeDuplicate", + "ov_cimguiname": "ImDrawList_PathLineToMergeDuplicate", + "ret": "void", "signature": "(const ImVec2)", - "cimguiname": "igSetCursorScreenPos" + "stname": "ImDrawList" } ], - "ImFont_AddRemapChar": [ + "ImDrawList_PathRect": [ { - "funcname": "AddRemapChar", - "args": "(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst)", - "ret": "void", - "comment": "", - "call_args": "(dst,src,overwrite_dst)", - "argsoriginal": "(ImWchar dst,ImWchar src,bool overwrite_dst=true)", - "stname": "ImFont", + "args": "(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,ImDrawCornerFlags rounding_corners)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "self", + "type": "ImDrawList*" }, { - "type": "ImWchar", - "name": "dst" + "name": "rect_min", + "type": "const ImVec2" }, { - "type": "ImWchar", - "name": "src" + "name": "rect_max", + "type": "const ImVec2" }, { - "type": "bool", - "name": "overwrite_dst" + "name": "rounding", + "type": "float" + }, + { + "name": "rounding_corners", + "type": "ImDrawCornerFlags" } ], - "defaults": { "overwrite_dst": "true" }, - "signature": "(ImWchar,ImWchar,bool)", - "cimguiname": "ImFont_AddRemapChar" + "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All)", + "call_args": "(rect_min,rect_max,rounding,rounding_corners)", + "cimguiname": "ImDrawList_PathRect", + "defaults": { + "rounding": "0.0f", + "rounding_corners": "ImDrawCornerFlags_All" + }, + "funcname": "PathRect", + "ov_cimguiname": "ImDrawList_PathRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,float,ImDrawCornerFlags)", + "stname": "ImDrawList" } ], - "ImFont_AddGlyph": [ + "ImDrawList_PathStroke": [ { - "funcname": "AddGlyph", - "args": "(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", - "ret": "void", - "comment": "", - "call_args": "(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)", - "argsoriginal": "(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", - "stname": "ImFont", + "args": "(ImDrawList* self,ImU32 col,bool closed,float thickness)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "self", + "type": "ImDrawList*" }, { - "type": "ImWchar", - "name": "c" + "name": "col", + "type": "ImU32" }, { - "type": "float", - "name": "x0" + "name": "closed", + "type": "bool" }, { - "type": "float", - "name": "y0" - }, - { - "type": "float", - "name": "x1" - }, - { - "type": "float", - "name": "y1" - }, - { - "type": "float", - "name": "u0" - }, - { - "type": "float", - "name": "v0" - }, - { - "type": "float", - "name": "u1" - }, - { - "type": "float", - "name": "v1" - }, - { - "type": "float", - "name": "advance_x" + "name": "thickness", + "type": "float" } ], - "defaults": [], - "signature": "(ImWchar,float,float,float,float,float,float,float,float,float)", - "cimguiname": "ImFont_AddGlyph" + "argsoriginal": "(ImU32 col,bool closed,float thickness=1.0f)", + "call_args": "(col,closed,thickness)", + "cimguiname": "ImDrawList_PathStroke", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "PathStroke", + "ov_cimguiname": "ImDrawList_PathStroke", + "ret": "void", + "signature": "(ImU32,bool,float)", + "stname": "ImDrawList" } ], - "igInputInt4": [ + "ImDrawList_PopClipRect": [ { - "funcname": "InputInt4", - "args": "(const char* label,int v[4],ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,extra_flags)", - "argsoriginal": "(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int[4]", - "name": "v" - }, - { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "self", + "type": "ImDrawList*" } ], - "defaults": { "extra_flags": "0" }, - "signature": "(const char*,int[4],ImGuiInputTextFlags)", - "cimguiname": "igInputInt4" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_PopClipRect", + "defaults": [], + "funcname": "PopClipRect", + "ov_cimguiname": "ImDrawList_PopClipRect", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" } ], - "ImFont_GrowIndex": [ + "ImDrawList_PopTextureID": [ { - "funcname": "GrowIndex", - "args": "(ImFont* self,int new_size)", - "ret": "void", - "comment": "", - "call_args": "(new_size)", - "argsoriginal": "(int new_size)", - "stname": "ImFont", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "ImFont*", - "name": "self" - }, - { - "type": "int", - "name": "new_size" + "name": "self", + "type": "ImDrawList*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_PopTextureID", "defaults": [], - "signature": "(int)", - "cimguiname": "ImFont_GrowIndex" + "funcname": "PopTextureID", + "ov_cimguiname": "ImDrawList_PopTextureID", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" } ], - "ImFont_RenderText": [ + "ImDrawList_PrimQuadUV": [ { - "funcname": "RenderText", - "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", - "ret": "void", - "comment": "", - "call_args": "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)", - "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", - "stname": "ImFont", + "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "self", + "type": "ImDrawList*" }, { - "type": "ImDrawList*", - "name": "draw_list" + "name": "a", + "type": "const ImVec2" }, { - "type": "float", - "name": "size" + "name": "b", + "type": "const ImVec2" }, { - "type": "ImVec2", - "name": "pos" + "name": "c", + "type": "const ImVec2" }, { - "type": "ImU32", - "name": "col" + "name": "d", + "type": "const ImVec2" }, { - "type": "const ImVec4", - "name": "clip_rect" + "name": "uv_a", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "text_begin" + "name": "uv_b", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "text_end" + "name": "uv_c", + "type": "const ImVec2" }, { - "type": "float", - "name": "wrap_width" + "name": "uv_d", + "type": "const ImVec2" }, { - "type": "bool", - "name": "cpu_fine_clip" + "name": "col", + "type": "ImU32" } ], - "defaults": { - "wrap_width": "0.0f", - "cpu_fine_clip": "false" - }, - "signature": "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)", - "cimguiname": "ImFont_RenderText" + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)", + "call_args": "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)", + "cimguiname": "ImDrawList_PrimQuadUV", + "defaults": [], + "funcname": "PrimQuadUV", + "ov_cimguiname": "ImDrawList_PrimQuadUV", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" } ], - "igIsRectVisible": [ + "ImDrawList_PrimRect": [ { - "funcname": "IsRectVisible", - "args": "(const ImVec2 size)", - "ret": "bool", - "comment": "", - "call_args": "(size)", - "argsoriginal": "(const ImVec2& size)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col)", "argsT": [ { - "type": "const ImVec2", - "name": "size" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" } ], - "ov_cimguiname": "igIsRectVisible", + "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col)", + "call_args": "(a,b,col)", + "cimguiname": "ImDrawList_PrimRect", "defaults": [], - "signature": "(const ImVec2)", - "cimguiname": "igIsRectVisible" - }, + "funcname": "PrimRect", + "ov_cimguiname": "ImDrawList_PrimRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimRectUV": [ { - "funcname": "IsRectVisible", - "args": "(const ImVec2 rect_min,const ImVec2 rect_max)", - "ret": "bool", - "comment": "", - "call_args": "(rect_min,rect_max)", - "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max)", - "stname": "ImGui", + "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)", "argsT": [ { - "type": "const ImVec2", - "name": "rect_min" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "uv_a", + "type": "const ImVec2" + }, + { + "name": "uv_b", + "type": "const ImVec2" }, { - "type": "const ImVec2", - "name": "rect_max" + "name": "col", + "type": "ImU32" } ], - "ov_cimguiname": "igIsRectVisibleVec2", + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)", + "call_args": "(a,b,uv_a,uv_b,col)", + "cimguiname": "ImDrawList_PrimRectUV", "defaults": [], - "signature": "(const ImVec2,const ImVec2)", - "cimguiname": "igIsRectVisible" + "funcname": "PrimRectUV", + "ov_cimguiname": "ImDrawList_PrimRectUV", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" } ], - "ImDrawList_destroy": [ + "ImDrawList_PrimReserve": [ { - "signature": "(ImDrawList*)", - "args": "(ImDrawList* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImDrawList", - "ov_cimguiname": "ImDrawList_destroy", - "cimguiname": "ImDrawList_destroy", + "args": "(ImDrawList* self,int idx_count,int vtx_count)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "idx_count", + "type": "int" + }, + { + "name": "vtx_count", + "type": "int" } ], - "defaults": [] + "argsoriginal": "(int idx_count,int vtx_count)", + "call_args": "(idx_count,vtx_count)", + "cimguiname": "ImDrawList_PrimReserve", + "defaults": [], + "funcname": "PrimReserve", + "ov_cimguiname": "ImDrawList_PrimReserve", + "ret": "void", + "signature": "(int,int)", + "stname": "ImDrawList" } ], - "ImFontAtlas_Build": [ + "ImDrawList_PrimVtx": [ { - "funcname": "Build", - "args": "(ImFontAtlas* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "uv", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" } ], + "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", + "call_args": "(pos,uv,col)", + "cimguiname": "ImDrawList_PrimVtx", "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_Build" + "funcname": "PrimVtx", + "ov_cimguiname": "ImDrawList_PrimVtx", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" } ], - "igLabelText": [ + "ImDrawList_PrimWriteIdx": [ { - "isvararg": "...)", - "funcname": "LabelText", - "args": "(const char* label,const char* fmt,...)", - "ret": "void", - "comment": "", - "call_args": "(label,fmt,...)", - "argsoriginal": "(const char* label,const char* fmt,...)", - "stname": "ImGui", + "args": "(ImDrawList* self,ImDrawIdx idx)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "const char*", - "name": "fmt" + "name": "self", + "type": "ImDrawList*" }, { - "type": "...", - "name": "..." + "name": "idx", + "type": "ImDrawIdx" } ], + "argsoriginal": "(ImDrawIdx idx)", + "call_args": "(idx)", + "cimguiname": "ImDrawList_PrimWriteIdx", "defaults": [], - "signature": "(const char*,const char*,...)", - "cimguiname": "igLabelText" + "funcname": "PrimWriteIdx", + "ov_cimguiname": "ImDrawList_PrimWriteIdx", + "ret": "void", + "signature": "(ImDrawIdx)", + "stname": "ImDrawList" } ], - "ImFont_CalcWordWrapPositionA": [ + "ImDrawList_PrimWriteVtx": [ { - "funcname": "CalcWordWrapPositionA", - "args": "(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width)", - "ret": "const char*", - "comment": "", - "call_args": "(scale,text,text_end,wrap_width)", - "argsoriginal": "(float scale,const char* text,const char* text_end,float wrap_width)", - "stname": "ImFont", + "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", "argsT": [ { - "type": "ImFont*", - "name": "self" - }, - { - "type": "float", - "name": "scale" + "name": "self", + "type": "ImDrawList*" }, { - "type": "const char*", - "name": "text" + "name": "pos", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "text_end" + "name": "uv", + "type": "const ImVec2" }, { - "type": "float", - "name": "wrap_width" + "name": "col", + "type": "ImU32" } ], + "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", + "call_args": "(pos,uv,col)", + "cimguiname": "ImDrawList_PrimWriteVtx", "defaults": [], - "signature": "(float,const char*,const char*,float)", - "cimguiname": "ImFont_CalcWordWrapPositionA" - } - ], - "igLogFinish": [ - { - "funcname": "LogFinish", - "args": "()", + "funcname": "PrimWriteVtx", + "ov_cimguiname": "ImDrawList_PrimWriteVtx", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igLogFinish" + "signature": "(const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" } ], - "igIsKeyPressed": [ + "ImDrawList_PushClipRect": [ { - "funcname": "IsKeyPressed", - "args": "(int user_key_index,bool repeat)", - "ret": "bool", - "comment": "", - "call_args": "(user_key_index,repeat)", - "argsoriginal": "(int user_key_index,bool repeat=true)", - "stname": "ImGui", + "args": "(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", "argsT": [ { - "type": "int", - "name": "user_key_index" + "name": "self", + "type": "ImDrawList*" }, { - "type": "bool", - "name": "repeat" - } - ], - "defaults": { "repeat": "true" }, - "signature": "(int,bool)", - "cimguiname": "igIsKeyPressed" - } - ], - "igGetColumnOffset": [ - { - "funcname": "GetColumnOffset", - "args": "(int column_index)", - "ret": "float", - "comment": "", - "call_args": "(column_index)", - "argsoriginal": "(int column_index=-1)", - "stname": "ImGui", - "argsT": [ + "name": "clip_rect_min", + "type": "ImVec2" + }, + { + "name": "clip_rect_max", + "type": "ImVec2" + }, { - "type": "int", - "name": "column_index" + "name": "intersect_with_current_clip_rect", + "type": "bool" } ], - "defaults": { "column_index": "-1" }, - "signature": "(int)", - "cimguiname": "igGetColumnOffset" + "argsoriginal": "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)", + "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", + "cimguiname": "ImDrawList_PushClipRect", + "defaults": { + "intersect_with_current_clip_rect": "false" + }, + "funcname": "PushClipRect", + "ov_cimguiname": "ImDrawList_PushClipRect", + "ret": "void", + "signature": "(ImVec2,ImVec2,bool)", + "stname": "ImDrawList" } ], - "ImDrawList_PopClipRect": [ + "ImDrawList_PushClipRectFullScreen": [ { - "funcname": "PopClipRect", "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImDrawList*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_PushClipRectFullScreen", "defaults": [], + "funcname": "PushClipRectFullScreen", + "ov_cimguiname": "ImDrawList_PushClipRectFullScreen", + "ret": "void", "signature": "()", - "cimguiname": "ImDrawList_PopClipRect" + "stname": "ImDrawList" } ], - "ImFont_CalcTextSizeA": [ + "ImDrawList_PushTextureID": [ { - "funcname": "CalcTextSizeA", - "args": "(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", - "ret": "ImVec2", - "comment": "", - "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", - "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", - "stname": "ImFont", + "args": "(ImDrawList* self,ImTextureID texture_id)", "argsT": [ { - "type": "ImFont*", - "name": "self" - }, - { - "type": "float", - "name": "size" - }, - { - "type": "float", - "name": "max_width" - }, - { - "type": "float", - "name": "wrap_width" + "name": "self", + "type": "ImDrawList*" }, { - "type": "const char*", - "name": "text_begin" - }, - { - "type": "const char*", - "name": "text_end" - }, - { - "type": "const char**", - "name": "remaining" + "name": "texture_id", + "type": "ImTextureID" } ], - "defaults": { - "text_end": "((void*)0)", - "remaining": "((void*)0)" - }, - "signature": "(float,float,float,const char*,const char*,const char**)", - "cimguiname": "ImFont_CalcTextSizeA" - }, - { - "funcname": "CalcTextSizeA", - "args": "(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", + "argsoriginal": "(ImTextureID texture_id)", + "call_args": "(texture_id)", + "cimguiname": "ImDrawList_PushTextureID", + "defaults": [], + "funcname": "PushTextureID", + "ov_cimguiname": "ImDrawList_PushTextureID", "ret": "void", - "cimguiname": "ImFont_CalcTextSizeA", - "nonUDT": 1, - "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", - "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", - "stname": "ImFont", - "signature": "(float,float,float,const char*,const char*,const char**)", - "ov_cimguiname": "ImFont_CalcTextSizeA_nonUDT", - "comment": "", - "defaults": { - "text_end": "((void*)0)", - "remaining": "((void*)0)" - }, - "argsT": [ - { - "type": "ImVec2*", - "name": "pOut" - }, - { - "type": "ImFont*", - "name": "self" - }, - { - "type": "float", - "name": "size" - }, - { - "type": "float", - "name": "max_width" - }, - { - "type": "float", - "name": "wrap_width" - }, - { - "type": "const char*", - "name": "text_begin" - }, - { - "type": "const char*", - "name": "text_end" - }, - { - "type": "const char**", - "name": "remaining" - } - ] - }, - { - "cimguiname": "ImFont_CalcTextSizeA", - "funcname": "CalcTextSizeA", - "args": "(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "(float,float,float,const char*,const char*,const char**)", - "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", - "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", - "stname": "ImFont", - "retorig": "ImVec2", - "ov_cimguiname": "ImFont_CalcTextSizeA_nonUDT2", - "comment": "", - "defaults": { - "text_end": "((void*)0)", - "remaining": "((void*)0)" - }, - "argsT": [ - { - "type": "ImFont*", - "name": "self" - }, - { - "type": "float", - "name": "size" - }, - { - "type": "float", - "name": "max_width" - }, - { - "type": "float", - "name": "wrap_width" - }, - { - "type": "const char*", - "name": "text_begin" - }, - { - "type": "const char*", - "name": "text_end" - }, - { - "type": "const char**", - "name": "remaining" - } - ] + "signature": "(ImTextureID)", + "stname": "ImDrawList" } ], - "igSetNextWindowCollapsed": [ + "ImDrawList_UpdateClipRect": [ { - "funcname": "SetNextWindowCollapsed", - "args": "(bool collapsed,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(collapsed,cond)", - "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "bool", - "name": "collapsed" - }, - { - "type": "ImGuiCond", - "name": "cond" + "name": "self", + "type": "ImDrawList*" } ], - "defaults": { "cond": "0" }, - "signature": "(bool,ImGuiCond)", - "cimguiname": "igSetNextWindowCollapsed" - } - ], - "igGetCurrentContext": [ - { - "funcname": "GetCurrentContext", - "args": "()", - "ret": "ImGuiContext*", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImDrawList_UpdateClipRect", "defaults": [], + "funcname": "UpdateClipRect", + "ov_cimguiname": "ImDrawList_UpdateClipRect", + "ret": "void", "signature": "()", - "cimguiname": "igGetCurrentContext" + "stname": "ImDrawList" } ], - "igSmallButton": [ + "ImDrawList_UpdateTextureID": [ { - "funcname": "SmallButton", - "args": "(const char* label)", - "ret": "bool", - "comment": "", - "call_args": "(label)", - "argsoriginal": "(const char* label)", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImDrawList*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_UpdateTextureID", "defaults": [], - "signature": "(const char*)", - "cimguiname": "igSmallButton" + "funcname": "UpdateTextureID", + "ov_cimguiname": "ImDrawList_UpdateTextureID", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" } ], - "igOpenPopupOnItemClick": [ + "ImDrawList_destroy": [ { - "funcname": "OpenPopupOnItemClick", - "args": "(const char* str_id,int mouse_button)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,mouse_button)", - "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)", - "stname": "ImGui", + "args": "(ImDrawList* self)", "argsT": [ { - "type": "const char*", - "name": "str_id" - }, - { - "type": "int", - "name": "mouse_button" + "name": "self", + "type": "ImDrawList*" } ], - "defaults": { - "mouse_button": "1", - "str_id": "((void*)0)" - }, - "signature": "(const char*,int)", - "cimguiname": "igOpenPopupOnItemClick" - } - ], - "igIsAnyMouseDown": [ - { - "funcname": "IsAnyMouseDown", - "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "(self)", + "cimguiname": "ImDrawList_destroy", "defaults": [], - "signature": "()", - "cimguiname": "igIsAnyMouseDown" + "destructor": true, + "ov_cimguiname": "ImDrawList_destroy", + "ret": "void", + "signature": "(ImDrawList*)", + "stname": "ImDrawList" } ], - "GlyphRangesBuilder_GlyphRangesBuilder": [ + "ImFontAtlasCustomRect_ImFontAtlasCustomRect": [ { - "funcname": "GlyphRangesBuilder", "args": "()", "argsT": [], - "call_args": "()", "argsoriginal": "()", - "stname": "GlyphRangesBuilder", + "call_args": "()", + "cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", "constructor": true, - "comment": "", "defaults": [], + "funcname": "ImFontAtlasCustomRect", + "ov_cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", "signature": "()", - "cimguiname": "GlyphRangesBuilder_GlyphRangesBuilder" + "stname": "ImFontAtlasCustomRect" } ], - "ImFont_IsLoaded": [ + "ImFontAtlasCustomRect_IsPacked": [ { - "funcname": "IsLoaded", - "args": "(ImFont* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFont", + "args": "(ImFontAtlasCustomRect* self)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "self", + "type": "ImFontAtlasCustomRect*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlasCustomRect_IsPacked", "defaults": [], - "signature": "()", - "cimguiname": "ImFont_IsLoaded" + "funcname": "IsPacked", + "ov_cimguiname": "ImFontAtlasCustomRect_IsPacked", + "ret": "bool", + "signature": "()const", + "stname": "ImFontAtlasCustomRect" } ], - "ImFont_GetCharAdvance": [ + "ImFontAtlasCustomRect_destroy": [ { - "funcname": "GetCharAdvance", - "args": "(ImFont* self,ImWchar c)", - "ret": "float", - "comment": "", - "call_args": "(c)", - "argsoriginal": "(ImWchar c)", - "stname": "ImFont", + "args": "(ImFontAtlasCustomRect* self)", "argsT": [ { - "type": "ImFont*", - "name": "self" - }, - { - "type": "ImWchar", - "name": "c" + "name": "self", + "type": "ImFontAtlasCustomRect*" } ], + "call_args": "(self)", + "cimguiname": "ImFontAtlasCustomRect_destroy", "defaults": [], - "signature": "(ImWchar)", - "cimguiname": "ImFont_GetCharAdvance" - } - ], - "ImFont_SetFallbackChar": [ - { - "funcname": "SetFallbackChar", - "args": "(ImFont* self,ImWchar c)", + "destructor": true, + "ov_cimguiname": "ImFontAtlasCustomRect_destroy", "ret": "void", - "comment": "", - "call_args": "(c)", - "argsoriginal": "(ImWchar c)", - "stname": "ImFont", - "argsT": [ - { - "type": "ImFont*", - "name": "self" - }, - { - "type": "ImWchar", - "name": "c" - } - ], - "defaults": [], - "signature": "(ImWchar)", - "cimguiname": "ImFont_SetFallbackChar" - } - ], - "ImFont_FindGlyphNoFallback": [ - { - "funcname": "FindGlyphNoFallback", - "args": "(ImFont* self,ImWchar c)", - "ret": "const ImFontGlyph*", - "comment": "", - "call_args": "(c)", - "argsoriginal": "(ImWchar c)", - "stname": "ImFont", - "argsT": [ - { - "type": "ImFont*", - "name": "self" - }, - { - "type": "ImWchar", - "name": "c" - } - ], - "defaults": [], - "signature": "(ImWchar)", - "cimguiname": "ImFont_FindGlyphNoFallback" + "signature": "(ImFontAtlasCustomRect*)", + "stname": "ImFontAtlasCustomRect" } ], - "igImageButton": [ + "ImFontAtlas_AddCustomRectFontGlyph": [ { - "funcname": "ImageButton", - "args": "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)", - "ret": "bool", - "comment": "", - "call_args": "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)", - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", - "stname": "ImGui", + "args": "(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)", "argsT": [ { - "type": "ImTextureID", - "name": "user_texture_id" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "const ImVec2", - "name": "size" + "name": "font", + "type": "ImFont*" }, { - "type": "const ImVec2", - "name": "uv0" + "name": "id", + "type": "ImWchar" }, { - "type": "const ImVec2", - "name": "uv1" + "name": "width", + "type": "int" }, { - "type": "int", - "name": "frame_padding" + "name": "height", + "type": "int" }, { - "type": "const ImVec4", - "name": "bg_col" + "name": "advance_x", + "type": "float" }, { - "type": "const ImVec4", - "name": "tint_col" + "name": "offset", + "type": "const ImVec2" } ], + "argsoriginal": "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))", + "call_args": "(font,id,width,height,advance_x,offset)", + "cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", "defaults": { - "uv1": "ImVec2(1,1)", - "bg_col": "ImVec4(0,0,0,0)", - "uv0": "ImVec2(0,0)", - "frame_padding": "-1", - "tint_col": "ImVec4(1,1,1,1)" + "offset": "ImVec2(0,0)" }, - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)", - "cimguiname": "igImageButton" + "funcname": "AddCustomRectFontGlyph", + "ov_cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", + "ret": "int", + "signature": "(ImFont*,ImWchar,int,int,float,const ImVec2)", + "stname": "ImFontAtlas" } ], - "ImFont_FindGlyph": [ + "ImFontAtlas_AddCustomRectRegular": [ { - "funcname": "FindGlyph", - "args": "(ImFont* self,ImWchar c)", - "ret": "const ImFontGlyph*", - "comment": "", - "call_args": "(c)", - "argsoriginal": "(ImWchar c)", - "stname": "ImFont", + "args": "(ImFontAtlas* self,unsigned int id,int width,int height)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "id", + "type": "unsigned int" + }, + { + "name": "width", + "type": "int" }, { - "type": "ImWchar", - "name": "c" + "name": "height", + "type": "int" } ], + "argsoriginal": "(unsigned int id,int width,int height)", + "call_args": "(id,width,height)", + "cimguiname": "ImFontAtlas_AddCustomRectRegular", "defaults": [], - "signature": "(ImWchar)", - "cimguiname": "ImFont_FindGlyph" + "funcname": "AddCustomRectRegular", + "ov_cimguiname": "ImFontAtlas_AddCustomRectRegular", + "ret": "int", + "signature": "(unsigned int,int,int)", + "stname": "ImFontAtlas" } ], - "igEndFrame": [ + "ImFontAtlas_AddFont": [ { - "funcname": "EndFrame", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "font_cfg", + "type": "const ImFontConfig*" + } + ], + "argsoriginal": "(const ImFontConfig* font_cfg)", + "call_args": "(font_cfg)", + "cimguiname": "ImFontAtlas_AddFont", "defaults": [], - "signature": "()", - "cimguiname": "igEndFrame" + "funcname": "AddFont", + "ov_cimguiname": "ImFontAtlas_AddFont", + "ret": "ImFont*", + "signature": "(const ImFontConfig*)", + "stname": "ImFontAtlas" } ], - "igSliderFloat2": [ + "ImFontAtlas_AddFontDefault": [ { - "funcname": "SliderFloat2", - "args": "(const char* label,float v[2],float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "float[2]", - "name": "v" + "name": "font_cfg", + "type": "const ImFontConfig*" + } + ], + "argsoriginal": "(const ImFontConfig* font_cfg=((void*)0))", + "call_args": "(font_cfg)", + "cimguiname": "ImFontAtlas_AddFontDefault", + "defaults": { + "font_cfg": "((void*)0)" + }, + "funcname": "AddFontDefault", + "ov_cimguiname": "ImFontAtlas_AddFontDefault", + "ret": "ImFont*", + "signature": "(const ImFontConfig*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddFontFromFileTTF": [ + { + "args": "(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "float", - "name": "v_min" + "name": "filename", + "type": "const char*" }, { - "type": "float", - "name": "v_max" + "name": "size_pixels", + "type": "float" }, { - "type": "const char*", - "name": "format" + "name": "font_cfg", + "type": "const ImFontConfig*" }, { - "type": "float", - "name": "power" + "name": "glyph_ranges", + "type": "const ImWchar*" } ], + "argsoriginal": "(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(filename,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromFileTTF", "defaults": { - "power": "1.0f", - "format": "\"%.3f\"" + "font_cfg": "((void*)0)", + "glyph_ranges": "((void*)0)" }, - "signature": "(const char*,float[2],float,float,const char*,float)", - "cimguiname": "igSliderFloat2" + "funcname": "AddFontFromFileTTF", + "ov_cimguiname": "ImFontAtlas_AddFontFromFileTTF", + "ret": "ImFont*", + "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" } ], - "ImFont_RenderChar": [ + "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF": [ { - "funcname": "RenderChar", - "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", - "ret": "void", - "comment": "", - "call_args": "(draw_list,size,pos,col,c)", - "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", - "stname": "ImFont", + "args": "(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", "argsT": [ { - "type": "ImFont*", - "name": "self" - }, - { - "type": "ImDrawList*", - "name": "draw_list" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "float", - "name": "size" + "name": "compressed_font_data_base85", + "type": "const char*" }, { - "type": "ImVec2", - "name": "pos" + "name": "size_pixels", + "type": "float" }, { - "type": "ImU32", - "name": "col" + "name": "font_cfg", + "type": "const ImFontConfig*" }, { - "type": "ImWchar", - "name": "c" + "name": "glyph_ranges", + "type": "const ImWchar*" } ], - "defaults": [], - "signature": "(ImDrawList*,float,ImVec2,ImU32,ImWchar)", - "cimguiname": "ImFont_RenderChar" + "argsoriginal": "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", + "defaults": { + "font_cfg": "((void*)0)", + "glyph_ranges": "((void*)0)" + }, + "funcname": "AddFontFromMemoryCompressedBase85TTF", + "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", + "ret": "ImFont*", + "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" } ], - "igRadioButton": [ + "ImFontAtlas_AddFontFromMemoryCompressedTTF": [ { - "funcname": "RadioButton", - "args": "(const char* label,bool active)", - "ret": "bool", - "comment": "", - "call_args": "(label,active)", - "argsoriginal": "(const char* label,bool active)", - "stname": "ImGui", + "args": "(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "bool", - "name": "active" - } - ], - "ov_cimguiname": "igRadioButtonBool", - "defaults": [], - "signature": "(const char*,bool)", - "cimguiname": "igRadioButton" - }, - { - "funcname": "RadioButton", - "args": "(const char* label,int* v,int v_button)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_button)", - "argsoriginal": "(const char* label,int* v,int v_button)", - "stname": "ImGui", - "argsT": [ + "name": "compressed_font_data", + "type": "const void*" + }, + { + "name": "compressed_font_size", + "type": "int" + }, { - "type": "const char*", - "name": "label" + "name": "size_pixels", + "type": "float" }, { - "type": "int*", - "name": "v" + "name": "font_cfg", + "type": "const ImFontConfig*" }, { - "type": "int", - "name": "v_button" + "name": "glyph_ranges", + "type": "const ImWchar*" } ], - "ov_cimguiname": "igRadioButtonIntPtr", - "defaults": [], - "signature": "(const char*,int*,int)", - "cimguiname": "igRadioButton" + "argsoriginal": "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", + "defaults": { + "font_cfg": "((void*)0)", + "glyph_ranges": "((void*)0)" + }, + "funcname": "AddFontFromMemoryCompressedTTF", + "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", + "ret": "ImFont*", + "signature": "(const void*,int,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" } ], - "ImDrawList_PushClipRect": [ + "ImFontAtlas_AddFontFromMemoryTTF": [ { - "funcname": "PushClipRect", - "args": "(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", - "ret": "void", - "comment": "", - "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", - "argsoriginal": "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)", - "stname": "ImDrawList", + "args": "(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "font_data", + "type": "void*" + }, + { + "name": "font_size", + "type": "int" }, { - "type": "ImVec2", - "name": "clip_rect_min" + "name": "size_pixels", + "type": "float" }, { - "type": "ImVec2", - "name": "clip_rect_max" + "name": "font_cfg", + "type": "const ImFontConfig*" }, { - "type": "bool", - "name": "intersect_with_current_clip_rect" + "name": "glyph_ranges", + "type": "const ImWchar*" } ], - "defaults": { "intersect_with_current_clip_rect": "false" }, - "signature": "(ImVec2,ImVec2,bool)", - "cimguiname": "ImDrawList_PushClipRect" + "argsoriginal": "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", + "defaults": { + "font_cfg": "((void*)0)", + "glyph_ranges": "((void*)0)" + }, + "funcname": "AddFontFromMemoryTTF", + "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", + "ret": "ImFont*", + "signature": "(void*,int,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" } ], - "igLoadIniSettingsFromMemory": [ + "ImFontAtlas_Build": [ { - "funcname": "LoadIniSettingsFromMemory", - "args": "(const char* ini_data,size_t ini_size)", - "ret": "void", - "comment": "", - "call_args": "(ini_data,ini_size)", - "argsoriginal": "(const char* ini_data,size_t ini_size=0)", - "stname": "ImGui", + "args": "(ImFontAtlas* self)", "argsT": [ { - "type": "const char*", - "name": "ini_data" - }, - { - "type": "size_t", - "name": "ini_size" + "name": "self", + "type": "ImFontAtlas*" } ], - "defaults": { "ini_size": "0" }, - "signature": "(const char*,size_t)", - "cimguiname": "igLoadIniSettingsFromMemory" - } - ], - "igIsItemDeactivatedAfterEdit": [ - { - "funcname": "IsItemDeactivatedAfterEdit", - "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igIsItemDeactivatedAfterEdit" - } - ], - "igGetWindowDrawList": [ - { - "funcname": "GetWindowDrawList", - "args": "()", - "ret": "ImDrawList*", - "comment": "", "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "cimguiname": "ImFontAtlas_Build", "defaults": [], + "funcname": "Build", + "ov_cimguiname": "ImFontAtlas_Build", + "ret": "bool", "signature": "()", - "cimguiname": "igGetWindowDrawList" + "stname": "ImFontAtlas" } ], - "ImDrawList_PathBezierCurveTo": [ + "ImFontAtlas_CalcCustomRectUV": [ { - "funcname": "PathBezierCurveTo", - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)", - "ret": "void", - "comment": "", - "call_args": "(p1,p2,p3,num_segments)", - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)", - "stname": "ImDrawList", + "args": "(ImFontAtlas* self,const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "p1" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "const ImVec2", - "name": "p2" + "name": "rect", + "type": "const ImFontAtlasCustomRect*" }, { - "type": "const ImVec2", - "name": "p3" + "name": "out_uv_min", + "type": "ImVec2*" }, { - "type": "int", - "name": "num_segments" + "name": "out_uv_max", + "type": "ImVec2*" } ], - "defaults": { "num_segments": "0" }, - "signature": "(const ImVec2,const ImVec2,const ImVec2,int)", - "cimguiname": "ImDrawList_PathBezierCurveTo" + "argsoriginal": "(const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", + "call_args": "(rect,out_uv_min,out_uv_max)", + "cimguiname": "ImFontAtlas_CalcCustomRectUV", + "defaults": [], + "funcname": "CalcCustomRectUV", + "ov_cimguiname": "ImFontAtlas_CalcCustomRectUV", + "ret": "void", + "signature": "(const ImFontAtlasCustomRect*,ImVec2*,ImVec2*)", + "stname": "ImFontAtlas" } ], - "ImGuiPayload_Clear": [ + "ImFontAtlas_Clear": [ { - "funcname": "Clear", - "args": "(ImGuiPayload* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiPayload", + "args": "(ImFontAtlas* self)", "argsT": [ { - "type": "ImGuiPayload*", - "name": "self" + "name": "self", + "type": "ImFontAtlas*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_Clear", "defaults": [], + "funcname": "Clear", + "ov_cimguiname": "ImFontAtlas_Clear", + "ret": "void", "signature": "()", - "cimguiname": "ImGuiPayload_Clear" + "stname": "ImFontAtlas" } ], - "igNewLine": [ + "ImFontAtlas_ClearFonts": [ { - "funcname": "NewLine", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImFontAtlas_ClearFonts", "defaults": [], + "funcname": "ClearFonts", + "ov_cimguiname": "ImFontAtlas_ClearFonts", + "ret": "void", "signature": "()", - "cimguiname": "igNewLine" + "stname": "ImFontAtlas" } ], - "igIsItemFocused": [ + "ImFontAtlas_ClearInputData": [ { - "funcname": "IsItemFocused", - "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImFontAtlas_ClearInputData", "defaults": [], + "funcname": "ClearInputData", + "ov_cimguiname": "ImFontAtlas_ClearInputData", + "ret": "void", "signature": "()", - "cimguiname": "igIsItemFocused" + "stname": "ImFontAtlas" } ], - "ImFont_ImFont": [ + "ImFontAtlas_ClearTexData": [ { - "funcname": "ImFont", - "args": "()", - "argsT": [], - "call_args": "()", + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], "argsoriginal": "()", - "stname": "ImFont", - "constructor": true, - "comment": "", + "call_args": "()", + "cimguiname": "ImFontAtlas_ClearTexData", "defaults": [], + "funcname": "ClearTexData", + "ov_cimguiname": "ImFontAtlas_ClearTexData", + "ret": "void", "signature": "()", - "cimguiname": "ImFont_ImFont" + "stname": "ImFontAtlas" } ], - "igSliderInt2": [ + "ImFontAtlas_GetCustomRectByIndex": [ { - "funcname": "SliderInt2", - "args": "(const char* label,int v[2],int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format)", - "argsoriginal": "(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")", - "stname": "ImGui", + "args": "(ImFontAtlas* self,int index)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int[2]", - "name": "v" - }, - { - "type": "int", - "name": "v_min" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "int", - "name": "v_max" - }, + "name": "index", + "type": "int" + } + ], + "argsoriginal": "(int index)", + "call_args": "(index)", + "cimguiname": "ImFontAtlas_GetCustomRectByIndex", + "defaults": [], + "funcname": "GetCustomRectByIndex", + "ov_cimguiname": "ImFontAtlas_GetCustomRectByIndex", + "ret": "const ImFontAtlasCustomRect*", + "signature": "(int)const", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesChineseFull": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ { - "type": "const char*", - "name": "format" + "name": "self", + "type": "ImFontAtlas*" } ], - "defaults": { "format": "\"%d\"" }, - "signature": "(const char*,int[2],int,int,const char*)", - "cimguiname": "igSliderInt2" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", + "defaults": [], + "funcname": "GetGlyphRangesChineseFull", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" } ], - "ImGuiStorage_SetAllInt": [ + "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon": [ { - "funcname": "SetAllInt", - "args": "(ImGuiStorage* self,int val)", - "ret": "void", - "comment": "", - "call_args": "(val)", - "argsoriginal": "(int val)", - "stname": "ImGuiStorage", + "args": "(ImFontAtlas* self)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" - }, + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", + "defaults": [], + "funcname": "GetGlyphRangesChineseSimplifiedCommon", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesCyrillic": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ { - "type": "int", - "name": "val" + "name": "self", + "type": "ImFontAtlas*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", "defaults": [], - "signature": "(int)", - "cimguiname": "ImGuiStorage_SetAllInt" + "funcname": "GetGlyphRangesCyrillic", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" } ], - "igSetWindowSize": [ + "ImFontAtlas_GetGlyphRangesDefault": [ { - "funcname": "SetWindowSize", - "args": "(const ImVec2 size,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(size,cond)", - "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", - "stname": "ImGui", + "args": "(ImFontAtlas* self)", "argsT": [ { - "type": "const ImVec2", - "name": "size" - }, + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesDefault", + "defaults": [], + "funcname": "GetGlyphRangesDefault", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesDefault", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesJapanese": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ { - "type": "ImGuiCond", - "name": "cond" + "name": "self", + "type": "ImFontAtlas*" } ], - "ov_cimguiname": "igSetWindowSizeVec2", - "defaults": { "cond": "0" }, - "signature": "(const ImVec2,ImGuiCond)", - "cimguiname": "igSetWindowSize" - }, + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", + "defaults": [], + "funcname": "GetGlyphRangesJapanese", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesKorean": [ { - "funcname": "SetWindowSize", - "args": "(const char* name,const ImVec2 size,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(name,size,cond)", - "argsoriginal": "(const char* name,const ImVec2& size,ImGuiCond cond=0)", - "stname": "ImGui", + "args": "(ImFontAtlas* self)", "argsT": [ { - "type": "const char*", - "name": "name" - }, + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesKorean", + "defaults": [], + "funcname": "GetGlyphRangesKorean", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesKorean", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesThai": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ { - "type": "const ImVec2", - "name": "size" - }, + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesThai", + "defaults": [], + "funcname": "GetGlyphRangesThai", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesThai", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesVietnamese": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ { - "type": "ImGuiCond", - "name": "cond" + "name": "self", + "type": "ImFontAtlas*" } ], - "ov_cimguiname": "igSetWindowSizeStr", - "defaults": { "cond": "0" }, - "signature": "(const char*,const ImVec2,ImGuiCond)", - "cimguiname": "igSetWindowSize" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", + "defaults": [], + "funcname": "GetGlyphRangesVietnamese", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" } ], - "igInputFloat": [ + "ImFontAtlas_GetMouseCursorTexData": [ { - "funcname": "InputFloat", - "args": "(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,step,step_fast,format,extra_flags)", - "argsoriginal": "(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "float*", - "name": "v" + "name": "cursor", + "type": "ImGuiMouseCursor" }, { - "type": "float", - "name": "step" + "name": "out_offset", + "type": "ImVec2*" }, { - "type": "float", - "name": "step_fast" + "name": "out_size", + "type": "ImVec2*" }, { - "type": "const char*", - "name": "format" + "name": "out_uv_border", + "type": "ImVec2[2]" }, { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "out_uv_fill", + "type": "ImVec2[2]" } ], - "defaults": { - "step": "0.0f", - "format": "\"%.3f\"", - "step_fast": "0.0f", - "extra_flags": "0" - }, - "signature": "(const char*,float*,float,float,const char*,ImGuiInputTextFlags)", - "cimguiname": "igInputFloat" + "argsoriginal": "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", + "call_args": "(cursor,out_offset,out_size,out_uv_border,out_uv_fill)", + "cimguiname": "ImFontAtlas_GetMouseCursorTexData", + "defaults": [], + "funcname": "GetMouseCursorTexData", + "ov_cimguiname": "ImFontAtlas_GetMouseCursorTexData", + "ret": "bool", + "signature": "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])", + "stname": "ImFontAtlas" } ], - "ImFontAtlas_CalcCustomRectUV": [ + "ImFontAtlas_GetTexDataAsAlpha8": [ { - "funcname": "CalcCustomRectUV", - "args": "(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", - "ret": "void", - "comment": "", - "call_args": "(rect,out_uv_min,out_uv_max)", - "argsoriginal": "(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", - "stname": "ImFontAtlas", + "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "const CustomRect*", - "name": "rect" + "name": "out_pixels", + "type": "unsigned char**" }, { - "type": "ImVec2*", - "name": "out_uv_min" + "name": "out_width", + "type": "int*" }, { - "type": "ImVec2*", - "name": "out_uv_max" - } - ], - "defaults": [], - "signature": "(const CustomRect*,ImVec2*,ImVec2*)", - "cimguiname": "ImFontAtlas_CalcCustomRectUV" - } - ], - "ImFontAtlas_GetCustomRectByIndex": [ - { - "funcname": "GetCustomRectByIndex", - "args": "(ImFontAtlas* self,int index)", - "ret": "const CustomRect*", - "comment": "", - "call_args": "(index)", - "argsoriginal": "(int index)", - "stname": "ImFontAtlas", - "argsT": [ - { - "type": "ImFontAtlas*", - "name": "self" + "name": "out_height", + "type": "int*" }, { - "type": "int", - "name": "index" + "name": "out_bytes_per_pixel", + "type": "int*" } ], - "defaults": [], - "signature": "(int)", - "cimguiname": "ImFontAtlas_GetCustomRectByIndex" + "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", + "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", + "cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", + "defaults": { + "out_bytes_per_pixel": "((void*)0)" + }, + "funcname": "GetTexDataAsAlpha8", + "ov_cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", + "ret": "void", + "signature": "(unsigned char**,int*,int*,int*)", + "stname": "ImFontAtlas" } ], - "igColorConvertRGBtoHSV": [ + "ImFontAtlas_GetTexDataAsRGBA32": [ { - "funcname": "ColorConvertRGBtoHSV", - "args": "(float r,float g,float b,float out_h,float out_s,float out_v)", - "ret": "void", - "comment": "", - "manual": true, - "call_args": "(r,g,b,out_h,out_s,out_v)", - "argsoriginal": "(float r,float g,float b,float& out_h,float& out_s,float& out_v)", - "stname": "ImGui", + "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", "argsT": [ { - "type": "float", - "name": "r" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "float", - "name": "g" + "name": "out_pixels", + "type": "unsigned char**" }, { - "type": "float", - "name": "b" + "name": "out_width", + "type": "int*" }, { - "type": "float&", - "name": "out_h" + "name": "out_height", + "type": "int*" }, { - "type": "float&", - "name": "out_s" - }, - { - "type": "float&", - "name": "out_v" + "name": "out_bytes_per_pixel", + "type": "int*" } ], - "defaults": [], - "signature": "(float,float,float,float,float,float)", - "cimguiname": "igColorConvertRGBtoHSV" + "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", + "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", + "cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", + "defaults": { + "out_bytes_per_pixel": "((void*)0)" + }, + "funcname": "GetTexDataAsRGBA32", + "ov_cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", + "ret": "void", + "signature": "(unsigned char**,int*,int*,int*)", + "stname": "ImFontAtlas" } ], - "igBeginMenuBar": [ + "ImFontAtlas_ImFontAtlas": [ { - "funcname": "BeginMenuBar", "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_ImFontAtlas", + "constructor": true, "defaults": [], + "funcname": "ImFontAtlas", + "ov_cimguiname": "ImFontAtlas_ImFontAtlas", "signature": "()", - "cimguiname": "igBeginMenuBar" + "stname": "ImFontAtlas" } ], - "igTextColoredV": [ + "ImFontAtlas_IsBuilt": [ { - "funcname": "TextColoredV", - "args": "(const ImVec4 col,const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(col,fmt,args)", - "argsoriginal": "(const ImVec4& col,const char* fmt,va_list args)", - "stname": "ImGui", + "args": "(ImFontAtlas* self)", "argsT": [ { - "type": "const ImVec4", - "name": "col" - }, + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_IsBuilt", + "defaults": [], + "funcname": "IsBuilt", + "ov_cimguiname": "ImFontAtlas_IsBuilt", + "ret": "bool", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_SetTexID": [ + { + "args": "(ImFontAtlas* self,ImTextureID id)", + "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "self", + "type": "ImFontAtlas*" }, { - "type": "va_list", - "name": "args" + "name": "id", + "type": "ImTextureID" } ], + "argsoriginal": "(ImTextureID id)", + "call_args": "(id)", + "cimguiname": "ImFontAtlas_SetTexID", "defaults": [], - "signature": "(const ImVec4,const char*,va_list)", - "cimguiname": "igTextColoredV" + "funcname": "SetTexID", + "ov_cimguiname": "ImFontAtlas_SetTexID", + "ret": "void", + "signature": "(ImTextureID)", + "stname": "ImFontAtlas" } ], - "igIsPopupOpen": [ + "ImFontAtlas_destroy": [ { - "funcname": "IsPopupOpen", - "args": "(const char* str_id)", - "ret": "bool", - "comment": "", - "call_args": "(str_id)", - "argsoriginal": "(const char* str_id)", - "stname": "ImGui", + "args": "(ImFontAtlas* self)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "self", + "type": "ImFontAtlas*" } ], + "call_args": "(self)", + "cimguiname": "ImFontAtlas_destroy", "defaults": [], - "signature": "(const char*)", - "cimguiname": "igIsPopupOpen" + "destructor": true, + "ov_cimguiname": "ImFontAtlas_destroy", + "ret": "void", + "signature": "(ImFontAtlas*)", + "stname": "ImFontAtlas" } ], - "igIsItemVisible": [ + "ImFontConfig_ImFontConfig": [ { - "funcname": "IsItemVisible", "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontConfig_ImFontConfig", + "constructor": true, "defaults": [], + "funcname": "ImFontConfig", + "ov_cimguiname": "ImFontConfig_ImFontConfig", "signature": "()", - "cimguiname": "igIsItemVisible" + "stname": "ImFontConfig" } ], - "igGetWindowContentRegionMax": [ - { - "funcname": "GetWindowContentRegionMax", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetWindowContentRegionMax" - }, + "ImFontConfig_destroy": [ { - "funcname": "GetWindowContentRegionMax", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetWindowContentRegionMax", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetWindowContentRegionMax_nonUDT", - "comment": "", - "defaults": [], + "args": "(ImFontConfig* self)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "self", + "type": "ImFontConfig*" } - ] - }, - { - "cimguiname": "igGetWindowContentRegionMax", - "funcname": "GetWindowContentRegionMax", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetWindowContentRegionMax_nonUDT2", - "comment": "", + ], + "call_args": "(self)", + "cimguiname": "ImFontConfig_destroy", "defaults": [], - "argsT": [] + "destructor": true, + "ov_cimguiname": "ImFontConfig_destroy", + "ret": "void", + "signature": "(ImFontConfig*)", + "stname": "ImFontConfig" } ], - "igTextWrappedV": [ + "ImFontGlyphRangesBuilder_AddChar": [ { - "funcname": "TextWrappedV", - "args": "(const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(fmt,args)", - "argsoriginal": "(const char* fmt,va_list args)", - "stname": "ImGui", + "args": "(ImFontGlyphRangesBuilder* self,ImWchar c)", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" }, { - "type": "va_list", - "name": "args" + "name": "c", + "type": "ImWchar" } ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFontGlyphRangesBuilder_AddChar", "defaults": [], - "signature": "(const char*,va_list)", - "cimguiname": "igTextWrappedV" + "funcname": "AddChar", + "ov_cimguiname": "ImFontGlyphRangesBuilder_AddChar", + "ret": "void", + "signature": "(ImWchar)", + "stname": "ImFontGlyphRangesBuilder" } ], - "ImFontAtlas_AddCustomRectRegular": [ + "ImFontGlyphRangesBuilder_AddRanges": [ { - "funcname": "AddCustomRectRegular", - "args": "(ImFontAtlas* self,unsigned int id,int width,int height)", - "ret": "int", - "comment": "", - "call_args": "(id,width,height)", - "argsoriginal": "(unsigned int id,int width,int height)", - "stname": "ImFontAtlas", + "args": "(ImFontGlyphRangesBuilder* self,const ImWchar* ranges)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" - }, - { - "type": "unsigned int", - "name": "id" - }, - { - "type": "int", - "name": "width" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" }, { - "type": "int", - "name": "height" + "name": "ranges", + "type": "const ImWchar*" } ], + "argsoriginal": "(const ImWchar* ranges)", + "call_args": "(ranges)", + "cimguiname": "ImFontGlyphRangesBuilder_AddRanges", "defaults": [], - "signature": "(unsigned int,int,int)", - "cimguiname": "ImFontAtlas_AddCustomRectRegular" + "funcname": "AddRanges", + "ov_cimguiname": "ImFontGlyphRangesBuilder_AddRanges", + "ret": "void", + "signature": "(const ImWchar*)", + "stname": "ImFontGlyphRangesBuilder" } ], - "GlyphRangesBuilder_AddText": [ + "ImFontGlyphRangesBuilder_AddText": [ { - "funcname": "AddText", - "args": "(GlyphRangesBuilder* self,const char* text,const char* text_end)", - "ret": "void", - "comment": "", - "call_args": "(text,text_end)", - "argsoriginal": "(const char* text,const char* text_end=((void*)0))", - "stname": "GlyphRangesBuilder", + "args": "(ImFontGlyphRangesBuilder* self,const char* text,const char* text_end)", "argsT": [ { - "type": "GlyphRangesBuilder*", - "name": "self" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" }, { - "type": "const char*", - "name": "text" + "name": "text", + "type": "const char*" }, { - "type": "const char*", - "name": "text_end" + "name": "text_end", + "type": "const char*" } ], - "defaults": { "text_end": "((void*)0)" }, + "argsoriginal": "(const char* text,const char* text_end=((void*)0))", + "call_args": "(text,text_end)", + "cimguiname": "ImFontGlyphRangesBuilder_AddText", + "defaults": { + "text_end": "((void*)0)" + }, + "funcname": "AddText", + "ov_cimguiname": "ImFontGlyphRangesBuilder_AddText", + "ret": "void", "signature": "(const char*,const char*)", - "cimguiname": "GlyphRangesBuilder_AddText" + "stname": "ImFontGlyphRangesBuilder" } ], - "ImDrawList_UpdateTextureID": [ + "ImFontGlyphRangesBuilder_BuildRanges": [ { - "funcname": "UpdateTextureID", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "args": "(ImFontGlyphRangesBuilder* self,ImVector_ImWchar* out_ranges)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "out_ranges", + "type": "ImVector_ImWchar*" } ], + "argsoriginal": "(ImVector* out_ranges)", + "call_args": "(out_ranges)", + "cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_UpdateTextureID" + "funcname": "BuildRanges", + "ov_cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", + "ret": "void", + "signature": "(ImVector_ImWchar*)", + "stname": "ImFontGlyphRangesBuilder" } ], - "CustomRect_IsPacked": [ + "ImFontGlyphRangesBuilder_Clear": [ { - "funcname": "IsPacked", - "args": "(CustomRect* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "CustomRect", + "args": "(ImFontGlyphRangesBuilder* self)", "argsT": [ { - "type": "CustomRect*", - "name": "self" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontGlyphRangesBuilder_Clear", "defaults": [], + "funcname": "Clear", + "ov_cimguiname": "ImFontGlyphRangesBuilder_Clear", + "ret": "void", "signature": "()", - "cimguiname": "CustomRect_IsPacked" + "stname": "ImFontGlyphRangesBuilder" } ], - "ImGuiInputTextCallbackData_HasSelection": [ + "ImFontGlyphRangesBuilder_GetBit": [ { - "funcname": "HasSelection", - "args": "(ImGuiInputTextCallbackData* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiInputTextCallbackData", + "args": "(ImFontGlyphRangesBuilder* self,int n)", "argsT": [ { - "type": "ImGuiInputTextCallbackData*", - "name": "self" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "n", + "type": "int" } ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImFontGlyphRangesBuilder_GetBit", + "defaults": [], + "funcname": "GetBit", + "ov_cimguiname": "ImFontGlyphRangesBuilder_GetBit", + "ret": "bool", + "signature": "(int)const", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", + "constructor": true, "defaults": [], + "funcname": "ImFontGlyphRangesBuilder", + "ov_cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", "signature": "()", - "cimguiname": "ImGuiInputTextCallbackData_HasSelection" + "stname": "ImFontGlyphRangesBuilder" } ], - "igSetWindowCollapsed": [ + "ImFontGlyphRangesBuilder_SetBit": [ { - "funcname": "SetWindowCollapsed", - "args": "(bool collapsed,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(collapsed,cond)", - "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", - "stname": "ImGui", + "args": "(ImFontGlyphRangesBuilder* self,int n)", "argsT": [ { - "type": "bool", - "name": "collapsed" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" }, { - "type": "ImGuiCond", - "name": "cond" + "name": "n", + "type": "int" } ], - "ov_cimguiname": "igSetWindowCollapsedBool", - "defaults": { "cond": "0" }, - "signature": "(bool,ImGuiCond)", - "cimguiname": "igSetWindowCollapsed" - }, - { - "funcname": "SetWindowCollapsed", - "args": "(const char* name,bool collapsed,ImGuiCond cond)", + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImFontGlyphRangesBuilder_SetBit", + "defaults": [], + "funcname": "SetBit", + "ov_cimguiname": "ImFontGlyphRangesBuilder_SetBit", "ret": "void", - "comment": "", - "call_args": "(name,collapsed,cond)", - "argsoriginal": "(const char* name,bool collapsed,ImGuiCond cond=0)", - "stname": "ImGui", + "signature": "(int)", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_destroy": [ + { + "args": "(ImFontGlyphRangesBuilder* self)", "argsT": [ { - "type": "const char*", - "name": "name" - }, - { - "type": "bool", - "name": "collapsed" - }, - { - "type": "ImGuiCond", - "name": "cond" + "name": "self", + "type": "ImFontGlyphRangesBuilder*" } ], - "ov_cimguiname": "igSetWindowCollapsedStr", - "defaults": { "cond": "0" }, - "signature": "(const char*,bool,ImGuiCond)", - "cimguiname": "igSetWindowCollapsed" + "call_args": "(self)", + "cimguiname": "ImFontGlyphRangesBuilder_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImFontGlyphRangesBuilder_destroy", + "ret": "void", + "signature": "(ImFontGlyphRangesBuilder*)", + "stname": "ImFontGlyphRangesBuilder" } ], - "igGetMouseDragDelta": [ + "ImFont_AddGlyph": [ { - "funcname": "GetMouseDragDelta", - "args": "(int button,float lock_threshold)", - "ret": "ImVec2", - "comment": "", - "call_args": "(button,lock_threshold)", - "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", - "stname": "ImGui", + "args": "(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", "argsT": [ { - "type": "int", - "name": "button" + "name": "self", + "type": "ImFont*" }, { - "type": "float", - "name": "lock_threshold" - } - ], - "defaults": { - "lock_threshold": "-1.0f", - "button": "0" - }, - "signature": "(int,float)", - "cimguiname": "igGetMouseDragDelta" - }, - { - "funcname": "GetMouseDragDelta", - "args": "(ImVec2 *pOut,int button,float lock_threshold)", - "ret": "void", - "cimguiname": "igGetMouseDragDelta", - "nonUDT": 1, - "call_args": "(button,lock_threshold)", - "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", - "stname": "ImGui", - "signature": "(int,float)", - "ov_cimguiname": "igGetMouseDragDelta_nonUDT", - "comment": "", - "defaults": { - "lock_threshold": "-1.0f", - "button": "0" - }, - "argsT": [ + "name": "c", + "type": "ImWchar" + }, { - "type": "ImVec2*", - "name": "pOut" + "name": "x0", + "type": "float" }, { - "type": "int", - "name": "button" + "name": "y0", + "type": "float" }, { - "type": "float", - "name": "lock_threshold" - } - ] - }, - { - "cimguiname": "igGetMouseDragDelta", - "funcname": "GetMouseDragDelta", - "args": "(int button,float lock_threshold)", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "(int,float)", - "call_args": "(button,lock_threshold)", - "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetMouseDragDelta_nonUDT2", - "comment": "", - "defaults": { - "lock_threshold": "-1.0f", - "button": "0" - }, - "argsT": [ + "name": "x1", + "type": "float" + }, { - "type": "int", - "name": "button" + "name": "y1", + "type": "float" }, { - "type": "float", - "name": "lock_threshold" - } - ] - } - ], - "igAcceptDragDropPayload": [ - { - "funcname": "AcceptDragDropPayload", - "args": "(const char* type,ImGuiDragDropFlags flags)", - "ret": "const ImGuiPayload*", - "comment": "", - "call_args": "(type,flags)", - "argsoriginal": "(const char* type,ImGuiDragDropFlags flags=0)", - "stname": "ImGui", - "argsT": [ + "name": "u0", + "type": "float" + }, { - "type": "const char*", - "name": "type" + "name": "v0", + "type": "float" }, { - "type": "ImGuiDragDropFlags", - "name": "flags" - } - ], - "defaults": { "flags": "0" }, - "signature": "(const char*,ImGuiDragDropFlags)", - "cimguiname": "igAcceptDragDropPayload" - } - ], - "igBeginDragDropSource": [ - { - "funcname": "BeginDragDropSource", - "args": "(ImGuiDragDropFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(flags)", - "argsoriginal": "(ImGuiDragDropFlags flags=0)", - "stname": "ImGui", - "argsT": [ + "name": "u1", + "type": "float" + }, { - "type": "ImGuiDragDropFlags", - "name": "flags" + "name": "v1", + "type": "float" + }, + { + "name": "advance_x", + "type": "float" } ], - "defaults": { "flags": "0" }, - "signature": "(ImGuiDragDropFlags)", - "cimguiname": "igBeginDragDropSource" + "argsoriginal": "(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", + "call_args": "(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)", + "cimguiname": "ImFont_AddGlyph", + "defaults": [], + "funcname": "AddGlyph", + "ov_cimguiname": "ImFont_AddGlyph", + "ret": "void", + "signature": "(ImWchar,float,float,float,float,float,float,float,float,float)", + "stname": "ImFont" } ], - "ImDrawList_AddCallback": [ + "ImFont_AddRemapChar": [ { - "funcname": "AddCallback", - "args": "(ImDrawList* self,ImDrawCallback callback,void* callback_data)", - "ret": "void", - "comment": "", - "call_args": "(callback,callback_data)", - "argsoriginal": "(ImDrawCallback callback,void* callback_data)", - "stname": "ImDrawList", + "args": "(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImFont*" + }, + { + "name": "dst", + "type": "ImWchar" }, { - "type": "ImDrawCallback", - "name": "callback" + "name": "src", + "type": "ImWchar" }, { - "type": "void*", - "name": "callback_data" + "name": "overwrite_dst", + "type": "bool" } ], - "defaults": [], - "signature": "(ImDrawCallback,void*)", - "cimguiname": "ImDrawList_AddCallback" + "argsoriginal": "(ImWchar dst,ImWchar src,bool overwrite_dst=true)", + "call_args": "(dst,src,overwrite_dst)", + "cimguiname": "ImFont_AddRemapChar", + "defaults": { + "overwrite_dst": "true" + }, + "funcname": "AddRemapChar", + "ov_cimguiname": "ImFont_AddRemapChar", + "ret": "void", + "signature": "(ImWchar,ImWchar,bool)", + "stname": "ImFont" } ], - "igPlotLines": [ + "ImFont_BuildLookupTable": [ { - "funcname": "PlotLines", - "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", - "ret": "void", - "comment": "", - "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", - "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", - "stname": "ImGui", + "args": "(ImFont* self)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "const float*", - "name": "values" - }, + "name": "self", + "type": "ImFont*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_BuildLookupTable", + "defaults": [], + "funcname": "BuildLookupTable", + "ov_cimguiname": "ImFont_BuildLookupTable", + "ret": "void", + "signature": "()", + "stname": "ImFont" + } + ], + "ImFont_CalcTextSizeA": [ + { + "args": "(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", + "argsT": [ { - "type": "int", - "name": "values_count" + "name": "self", + "type": "ImFont*" }, { - "type": "int", - "name": "values_offset" + "name": "size", + "type": "float" }, { - "type": "const char*", - "name": "overlay_text" + "name": "max_width", + "type": "float" }, { - "type": "float", - "name": "scale_min" + "name": "wrap_width", + "type": "float" }, { - "type": "float", - "name": "scale_max" + "name": "text_begin", + "type": "const char*" }, { - "type": "ImVec2", - "name": "graph_size" + "name": "text_end", + "type": "const char*" }, { - "type": "int", - "name": "stride" + "name": "remaining", + "type": "const char**" } ], - "ov_cimguiname": "igPlotLines", + "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", + "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", + "cimguiname": "ImFont_CalcTextSizeA", "defaults": { - "overlay_text": "((void*)0)", - "values_offset": "0", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "stride": "sizeof(float)", - "graph_size": "ImVec2(0,0)" + "remaining": "((void*)0)", + "text_end": "((void*)0)" }, - "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", - "cimguiname": "igPlotLines" + "funcname": "CalcTextSizeA", + "ov_cimguiname": "ImFont_CalcTextSizeA", + "ret": "ImVec2", + "signature": "(float,float,float,const char*,const char*,const char**)const", + "stname": "ImFont" }, { - "funcname": "PlotLines", - "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", - "ret": "void", - "comment": "", - "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", - "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0))", - "stname": "ImGui", + "args": "(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "pOut", + "type": "ImVec2*" }, { - "type": "float(*)(void* data,int idx)", - "signature": "(void* data,int idx)", - "name": "values_getter", - "ret": "float" - }, - { - "type": "void*", - "name": "data" + "name": "self", + "type": "ImFont*" }, { - "type": "int", - "name": "values_count" + "name": "size", + "type": "float" }, { - "type": "int", - "name": "values_offset" + "name": "max_width", + "type": "float" }, { - "type": "const char*", - "name": "overlay_text" + "name": "wrap_width", + "type": "float" }, { - "type": "float", - "name": "scale_min" + "name": "text_begin", + "type": "const char*" }, { - "type": "float", - "name": "scale_max" + "name": "text_end", + "type": "const char*" }, { - "type": "ImVec2", - "name": "graph_size" + "name": "remaining", + "type": "const char**" } ], - "ov_cimguiname": "igPlotLinesFnPtr", + "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", + "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", + "cimguiname": "ImFont_CalcTextSizeA", "defaults": { - "overlay_text": "((void*)0)", - "values_offset": "0", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "graph_size": "ImVec2(0,0)" + "remaining": "((void*)0)", + "text_end": "((void*)0)" }, - "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", - "cimguiname": "igPlotLines" - } - ], - "ImFontAtlas_IsBuilt": [ + "funcname": "CalcTextSizeA", + "nonUDT": 1, + "ov_cimguiname": "ImFont_CalcTextSizeA_nonUDT", + "ret": "void", + "signature": "(float,float,float,const char*,const char*,const char**)const", + "stname": "ImFont" + }, { - "funcname": "IsBuilt", - "args": "(ImFontAtlas* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImFont*" + }, + { + "name": "size", + "type": "float" + }, + { + "name": "max_width", + "type": "float" + }, + { + "name": "wrap_width", + "type": "float" + }, + { + "name": "text_begin", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "remaining", + "type": "const char**" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_IsBuilt" + "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", + "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", + "cimguiname": "ImFont_CalcTextSizeA", + "defaults": { + "remaining": "((void*)0)", + "text_end": "((void*)0)" + }, + "funcname": "CalcTextSizeA", + "nonUDT": 2, + "ov_cimguiname": "ImFont_CalcTextSizeA_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "(float,float,float,const char*,const char*,const char**)const", + "stname": "ImFont" } ], - "igTextWrapped": [ + "ImFont_CalcWordWrapPositionA": [ { - "isvararg": "...)", - "funcname": "TextWrapped", - "args": "(const char* fmt,...)", - "ret": "void", - "comment": "", - "call_args": "(fmt,...)", - "argsoriginal": "(const char* fmt,...)", - "stname": "ImGui", + "args": "(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width)", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "self", + "type": "ImFont*" + }, + { + "name": "scale", + "type": "float" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" }, { - "type": "...", - "name": "..." + "name": "wrap_width", + "type": "float" } ], + "argsoriginal": "(float scale,const char* text,const char* text_end,float wrap_width)", + "call_args": "(scale,text,text_end,wrap_width)", + "cimguiname": "ImFont_CalcWordWrapPositionA", "defaults": [], - "signature": "(const char*,...)", - "cimguiname": "igTextWrapped" + "funcname": "CalcWordWrapPositionA", + "ov_cimguiname": "ImFont_CalcWordWrapPositionA", + "ret": "const char*", + "signature": "(float,const char*,const char*,float)const", + "stname": "ImFont" } ], - "GlyphRangesBuilder_AddRanges": [ + "ImFont_ClearOutputData": [ { - "funcname": "AddRanges", - "args": "(GlyphRangesBuilder* self,const ImWchar* ranges)", - "ret": "void", - "comment": "", - "call_args": "(ranges)", - "argsoriginal": "(const ImWchar* ranges)", - "stname": "GlyphRangesBuilder", + "args": "(ImFont* self)", "argsT": [ { - "type": "GlyphRangesBuilder*", - "name": "self" - }, - { - "type": "const ImWchar*", - "name": "ranges" + "name": "self", + "type": "ImFont*" } ], - "defaults": [], - "signature": "(const ImWchar*)", - "cimguiname": "GlyphRangesBuilder_AddRanges" - } - ], - "igGetFrameCount": [ - { - "funcname": "GetFrameCount", - "args": "()", - "ret": "int", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImFont_ClearOutputData", "defaults": [], + "funcname": "ClearOutputData", + "ov_cimguiname": "ImFont_ClearOutputData", + "ret": "void", "signature": "()", - "cimguiname": "igGetFrameCount" + "stname": "ImFont" } ], - "GlyphRangesBuilder_SetBit": [ + "ImFont_FindGlyph": [ { - "funcname": "SetBit", - "args": "(GlyphRangesBuilder* self,int n)", - "ret": "void", - "comment": "", - "call_args": "(n)", - "argsoriginal": "(int n)", - "stname": "GlyphRangesBuilder", + "args": "(ImFont* self,ImWchar c)", "argsT": [ { - "type": "GlyphRangesBuilder*", - "name": "self" + "name": "self", + "type": "ImFont*" }, { - "type": "int", - "name": "n" + "name": "c", + "type": "ImWchar" } ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFont_FindGlyph", "defaults": [], - "signature": "(int)", - "cimguiname": "GlyphRangesBuilder_SetBit" + "funcname": "FindGlyph", + "ov_cimguiname": "ImFont_FindGlyph", + "ret": "const ImFontGlyph*", + "signature": "(ImWchar)const", + "stname": "ImFont" } ], - "ImDrawList_PathFillConvex": [ + "ImFont_FindGlyphNoFallback": [ { - "funcname": "PathFillConvex", - "args": "(ImDrawList* self,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(col)", - "argsoriginal": "(ImU32 col)", - "stname": "ImDrawList", + "args": "(ImFont* self,ImWchar c)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImFont*" }, { - "type": "ImU32", - "name": "col" + "name": "c", + "type": "ImWchar" } ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFont_FindGlyphNoFallback", "defaults": [], - "signature": "(ImU32)", - "cimguiname": "ImDrawList_PathFillConvex" + "funcname": "FindGlyphNoFallback", + "ov_cimguiname": "ImFont_FindGlyphNoFallback", + "ret": "const ImFontGlyph*", + "signature": "(ImWchar)const", + "stname": "ImFont" } ], - "ImFont_GetDebugName": [ + "ImFont_GetCharAdvance": [ { - "funcname": "GetDebugName", - "args": "(ImFont* self)", - "ret": "const char*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFont", + "args": "(ImFont* self,ImWchar c)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "self", + "type": "ImFont*" + }, + { + "name": "c", + "type": "ImWchar" } ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFont_GetCharAdvance", "defaults": [], - "signature": "()", - "cimguiname": "ImFont_GetDebugName" + "funcname": "GetCharAdvance", + "ov_cimguiname": "ImFont_GetCharAdvance", + "ret": "float", + "signature": "(ImWchar)const", + "stname": "ImFont" } ], - "igListBoxHeader": [ + "ImFont_GetDebugName": [ { - "funcname": "ListBoxHeader", - "args": "(const char* label,const ImVec2 size)", - "ret": "bool", - "comment": "", - "call_args": "(label,size)", - "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", - "stname": "ImGui", + "args": "(ImFont* self)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "const ImVec2", - "name": "size" + "name": "self", + "type": "ImFont*" } ], - "ov_cimguiname": "igListBoxHeaderVec2", - "defaults": { "size": "ImVec2(0,0)" }, - "signature": "(const char*,const ImVec2)", - "cimguiname": "igListBoxHeader" - }, + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_GetDebugName", + "defaults": [], + "funcname": "GetDebugName", + "ov_cimguiname": "ImFont_GetDebugName", + "ret": "const char*", + "signature": "()const", + "stname": "ImFont" + } + ], + "ImFont_GrowIndex": [ { - "funcname": "ListBoxHeader", - "args": "(const char* label,int items_count,int height_in_items)", - "ret": "bool", - "comment": "", - "call_args": "(label,items_count,height_in_items)", - "argsoriginal": "(const char* label,int items_count,int height_in_items=-1)", - "stname": "ImGui", + "args": "(ImFont* self,int new_size)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int", - "name": "items_count" + "name": "self", + "type": "ImFont*" }, { - "type": "int", - "name": "height_in_items" + "name": "new_size", + "type": "int" } ], - "ov_cimguiname": "igListBoxHeaderInt", - "defaults": { "height_in_items": "-1" }, - "signature": "(const char*,int,int)", - "cimguiname": "igListBoxHeader" + "argsoriginal": "(int new_size)", + "call_args": "(new_size)", + "cimguiname": "ImFont_GrowIndex", + "defaults": [], + "funcname": "GrowIndex", + "ov_cimguiname": "ImFont_GrowIndex", + "ret": "void", + "signature": "(int)", + "stname": "ImFont" } ], - "igPopClipRect": [ + "ImFont_ImFont": [ { - "funcname": "PopClipRect", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_ImFont", + "constructor": true, "defaults": [], + "funcname": "ImFont", + "ov_cimguiname": "ImFont_ImFont", "signature": "()", - "cimguiname": "igPopClipRect" + "stname": "ImFont" } ], - "ImFontAtlas_GetGlyphRangesThai": [ + "ImFont_IsLoaded": [ { - "funcname": "GetGlyphRangesThai", - "args": "(ImFontAtlas* self)", - "ret": "const ImWchar*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImFont* self)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImFont*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_IsLoaded", "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesThai" + "funcname": "IsLoaded", + "ov_cimguiname": "ImFont_IsLoaded", + "ret": "bool", + "signature": "()const", + "stname": "ImFont" } ], - "ImFontAtlas_GetGlyphRangesCyrillic": [ + "ImFont_RenderChar": [ { - "funcname": "GetGlyphRangesCyrillic", - "args": "(ImFontAtlas* self)", - "ret": "const ImWchar*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" - } - ], - "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic" - } - ], - "igGetWindowSize": [ - { - "funcname": "GetWindowSize", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetWindowSize" - }, - { - "funcname": "GetWindowSize", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetWindowSize", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetWindowSize_nonUDT", - "comment": "", - "defaults": [], - "argsT": [ - { - "type": "ImVec2*", - "name": "pOut" - } - ] - }, - { - "cimguiname": "igGetWindowSize", - "funcname": "GetWindowSize", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetWindowSize_nonUDT2", - "comment": "", - "defaults": [], - "argsT": [] - } - ], - "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon": [ - { - "funcname": "GetGlyphRangesChineseSimplifiedCommon", - "args": "(ImFontAtlas* self)", - "ret": "const ImWchar*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", - "argsT": [ + "name": "self", + "type": "ImFont*" + }, { - "type": "ImFontAtlas*", - "name": "self" - } - ], - "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" - } - ], - "igCheckboxFlags": [ - { - "funcname": "CheckboxFlags", - "args": "(const char* label,unsigned int* flags,unsigned int flags_value)", - "ret": "bool", - "comment": "", - "call_args": "(label,flags,flags_value)", - "argsoriginal": "(const char* label,unsigned int* flags,unsigned int flags_value)", - "stname": "ImGui", - "argsT": [ + "name": "draw_list", + "type": "ImDrawList*" + }, { - "type": "const char*", - "name": "label" + "name": "size", + "type": "float" }, { - "type": "unsigned int*", - "name": "flags" + "name": "pos", + "type": "ImVec2" }, { - "type": "unsigned int", - "name": "flags_value" - } - ], - "defaults": [], - "signature": "(const char*,unsigned int*,unsigned int)", - "cimguiname": "igCheckboxFlags" - } - ], - "ImFontAtlas_GetGlyphRangesChineseFull": [ - { - "funcname": "GetGlyphRangesChineseFull", - "args": "(ImFontAtlas* self)", - "ret": "const ImWchar*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", - "argsT": [ + "name": "col", + "type": "ImU32" + }, { - "type": "ImFontAtlas*", - "name": "self" + "name": "c", + "type": "ImWchar" } ], + "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", + "call_args": "(draw_list,size,pos,col,c)", + "cimguiname": "ImFont_RenderChar", "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull" + "funcname": "RenderChar", + "ov_cimguiname": "ImFont_RenderChar", + "ret": "void", + "signature": "(ImDrawList*,float,ImVec2,ImU32,ImWchar)const", + "stname": "ImFont" } ], - "igIsWindowHovered": [ + "ImFont_RenderText": [ { - "funcname": "IsWindowHovered", - "args": "(ImGuiHoveredFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(flags)", - "argsoriginal": "(ImGuiHoveredFlags flags=0)", - "stname": "ImGui", + "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", "argsT": [ { - "type": "ImGuiHoveredFlags", - "name": "flags" - } - ], - "defaults": { "flags": "0" }, - "signature": "(ImGuiHoveredFlags)", - "cimguiname": "igIsWindowHovered" - } - ], - "ImFontConfig_ImFontConfig": [ - { - "funcname": "ImFontConfig", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontConfig", - "constructor": true, - "comment": "", - "defaults": [], - "signature": "()", - "cimguiname": "ImFontConfig_ImFontConfig" - } - ], - "igPlotHistogram": [ - { - "funcname": "PlotHistogram", - "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", - "ret": "void", - "comment": "", - "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", - "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", - "stname": "ImGui", - "argsT": [ + "name": "self", + "type": "ImFont*" + }, { - "type": "const char*", - "name": "label" + "name": "draw_list", + "type": "ImDrawList*" }, { - "type": "const float*", - "name": "values" + "name": "size", + "type": "float" }, { - "type": "int", - "name": "values_count" + "name": "pos", + "type": "ImVec2" }, { - "type": "int", - "name": "values_offset" + "name": "col", + "type": "ImU32" }, { - "type": "const char*", - "name": "overlay_text" + "name": "clip_rect", + "type": "const ImVec4" }, { - "type": "float", - "name": "scale_min" + "name": "text_begin", + "type": "const char*" }, { - "type": "float", - "name": "scale_max" + "name": "text_end", + "type": "const char*" }, { - "type": "ImVec2", - "name": "graph_size" + "name": "wrap_width", + "type": "float" }, { - "type": "int", - "name": "stride" + "name": "cpu_fine_clip", + "type": "bool" } ], - "ov_cimguiname": "igPlotHistogramFloatPtr", + "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", + "call_args": "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)", + "cimguiname": "ImFont_RenderText", "defaults": { - "overlay_text": "((void*)0)", - "values_offset": "0", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "stride": "sizeof(float)", - "graph_size": "ImVec2(0,0)" + "cpu_fine_clip": "false", + "wrap_width": "0.0f" }, - "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", - "cimguiname": "igPlotHistogram" - }, - { - "funcname": "PlotHistogram", - "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", + "funcname": "RenderText", + "ov_cimguiname": "ImFont_RenderText", "ret": "void", - "comment": "", - "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", - "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0))", - "stname": "ImGui", + "signature": "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const", + "stname": "ImFont" + } + ], + "ImFont_SetFallbackChar": [ + { + "args": "(ImFont* self,ImWchar c)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "float(*)(void* data,int idx)", - "signature": "(void* data,int idx)", - "name": "values_getter", - "ret": "float" - }, - { - "type": "void*", - "name": "data" - }, - { - "type": "int", - "name": "values_count" - }, - { - "type": "int", - "name": "values_offset" + "name": "self", + "type": "ImFont*" }, { - "type": "const char*", - "name": "overlay_text" - }, + "name": "c", + "type": "ImWchar" + } + ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFont_SetFallbackChar", + "defaults": [], + "funcname": "SetFallbackChar", + "ov_cimguiname": "ImFont_SetFallbackChar", + "ret": "void", + "signature": "(ImWchar)", + "stname": "ImFont" + } + ], + "ImFont_destroy": [ + { + "args": "(ImFont* self)", + "argsT": [ { - "type": "float", - "name": "scale_min" - }, + "name": "self", + "type": "ImFont*" + } + ], + "call_args": "(self)", + "cimguiname": "ImFont_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImFont_destroy", + "ret": "void", + "signature": "(ImFont*)", + "stname": "ImFont" + } + ], + "ImGuiIO_AddInputCharacter": [ + { + "args": "(ImGuiIO* self,unsigned int c)", + "argsT": [ { - "type": "float", - "name": "scale_max" + "name": "self", + "type": "ImGuiIO*" }, { - "type": "ImVec2", - "name": "graph_size" + "name": "c", + "type": "unsigned int" } ], - "ov_cimguiname": "igPlotHistogramFnPtr", - "defaults": { - "overlay_text": "((void*)0)", - "values_offset": "0", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "graph_size": "ImVec2(0,0)" - }, - "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", - "cimguiname": "igPlotHistogram" + "argsoriginal": "(unsigned int c)", + "call_args": "(c)", + "cimguiname": "ImGuiIO_AddInputCharacter", + "defaults": [], + "funcname": "AddInputCharacter", + "ov_cimguiname": "ImGuiIO_AddInputCharacter", + "ret": "void", + "signature": "(unsigned int)", + "stname": "ImGuiIO" } ], - "igBeginPopupContextVoid": [ + "ImGuiIO_AddInputCharactersUTF8": [ { - "funcname": "BeginPopupContextVoid", - "args": "(const char* str_id,int mouse_button)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,mouse_button)", - "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)", - "stname": "ImGui", + "args": "(ImGuiIO* self,const char* str)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "self", + "type": "ImGuiIO*" }, { - "type": "int", - "name": "mouse_button" + "name": "str", + "type": "const char*" } ], - "defaults": { - "mouse_button": "1", - "str_id": "((void*)0)" - }, - "signature": "(const char*,int)", - "cimguiname": "igBeginPopupContextVoid" + "argsoriginal": "(const char* str)", + "call_args": "(str)", + "cimguiname": "ImGuiIO_AddInputCharactersUTF8", + "defaults": [], + "funcname": "AddInputCharactersUTF8", + "ov_cimguiname": "ImGuiIO_AddInputCharactersUTF8", + "ret": "void", + "signature": "(const char*)", + "stname": "ImGuiIO" } ], - "igShowStyleEditor": [ + "ImGuiIO_ClearInputCharacters": [ { - "funcname": "ShowStyleEditor", - "args": "(ImGuiStyle* ref)", - "ret": "void", - "comment": "", - "call_args": "(ref)", - "argsoriginal": "(ImGuiStyle* ref=((void*)0))", - "stname": "ImGui", + "args": "(ImGuiIO* self)", "argsT": [ { - "type": "ImGuiStyle*", - "name": "ref" + "name": "self", + "type": "ImGuiIO*" } ], - "defaults": { "ref": "((void*)0)" }, - "signature": "(ImGuiStyle*)", - "cimguiname": "igShowStyleEditor" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiIO_ClearInputCharacters", + "defaults": [], + "funcname": "ClearInputCharacters", + "ov_cimguiname": "ImGuiIO_ClearInputCharacters", + "ret": "void", + "signature": "()", + "stname": "ImGuiIO" } ], - "igShowUserGuide": [ + "ImGuiIO_ImGuiIO": [ { - "funcname": "ShowUserGuide", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiIO_ImGuiIO", + "constructor": true, "defaults": [], + "funcname": "ImGuiIO", + "ov_cimguiname": "ImGuiIO_ImGuiIO", "signature": "()", - "cimguiname": "igShowUserGuide" + "stname": "ImGuiIO" } ], - "igCheckbox": [ + "ImGuiIO_destroy": [ { - "funcname": "Checkbox", - "args": "(const char* label,bool* v)", - "ret": "bool", - "comment": "", - "call_args": "(label,v)", - "argsoriginal": "(const char* label,bool* v)", - "stname": "ImGui", + "args": "(ImGuiIO* self)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "bool*", - "name": "v" + "name": "self", + "type": "ImGuiIO*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiIO_destroy", "defaults": [], - "signature": "(const char*,bool*)", - "cimguiname": "igCheckbox" + "destructor": true, + "ov_cimguiname": "ImGuiIO_destroy", + "ret": "void", + "signature": "(ImGuiIO*)", + "stname": "ImGuiIO" } ], - "igGetWindowPos": [ - { - "funcname": "GetWindowPos", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetWindowPos" - }, + "ImGuiInputTextCallbackData_DeleteChars": [ { - "funcname": "GetWindowPos", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetWindowPos", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetWindowPos_nonUDT", - "comment": "", - "defaults": [], + "args": "(ImGuiInputTextCallbackData* self,int pos,int bytes_count)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "self", + "type": "ImGuiInputTextCallbackData*" + }, + { + "name": "pos", + "type": "int" + }, + { + "name": "bytes_count", + "type": "int" } - ] - }, - { - "cimguiname": "igGetWindowPos", - "funcname": "GetWindowPos", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetWindowPos_nonUDT2", - "comment": "", + ], + "argsoriginal": "(int pos,int bytes_count)", + "call_args": "(pos,bytes_count)", + "cimguiname": "ImGuiInputTextCallbackData_DeleteChars", "defaults": [], - "argsT": [] + "funcname": "DeleteChars", + "ov_cimguiname": "ImGuiInputTextCallbackData_DeleteChars", + "ret": "void", + "signature": "(int,int)", + "stname": "ImGuiInputTextCallbackData" } ], - "ImFontAtlas_GetGlyphRangesDefault": [ + "ImGuiInputTextCallbackData_HasSelection": [ { - "funcname": "GetGlyphRangesDefault", - "args": "(ImFontAtlas* self)", - "ret": "const ImWchar*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImGuiInputTextCallbackData* self)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImGuiInputTextCallbackData*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextCallbackData_HasSelection", "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesDefault" + "funcname": "HasSelection", + "ov_cimguiname": "ImGuiInputTextCallbackData_HasSelection", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiInputTextCallbackData" } ], "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData": [ { - "funcname": "ImGuiInputTextCallbackData", "args": "()", "argsT": [], - "call_args": "()", "argsoriginal": "()", - "stname": "ImGuiInputTextCallbackData", + "call_args": "()", + "cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", "constructor": true, - "comment": "", "defaults": [], + "funcname": "ImGuiInputTextCallbackData", + "ov_cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", "signature": "()", - "cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData" + "stname": "ImGuiInputTextCallbackData" } ], - "ImFontAtlas_SetTexID": [ + "ImGuiInputTextCallbackData_InsertChars": [ { - "funcname": "SetTexID", - "args": "(ImFontAtlas* self,ImTextureID id)", - "ret": "void", - "comment": "", - "call_args": "(id)", - "argsoriginal": "(ImTextureID id)", - "stname": "ImFontAtlas", + "args": "(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImGuiInputTextCallbackData*" + }, + { + "name": "pos", + "type": "int" + }, + { + "name": "text", + "type": "const char*" }, { - "type": "ImTextureID", - "name": "id" + "name": "text_end", + "type": "const char*" } ], - "defaults": [], - "signature": "(ImTextureID)", - "cimguiname": "ImFontAtlas_SetTexID" + "argsoriginal": "(int pos,const char* text,const char* text_end=((void*)0))", + "call_args": "(pos,text,text_end)", + "cimguiname": "ImGuiInputTextCallbackData_InsertChars", + "defaults": { + "text_end": "((void*)0)" + }, + "funcname": "InsertChars", + "ov_cimguiname": "ImGuiInputTextCallbackData_InsertChars", + "ret": "void", + "signature": "(int,const char*,const char*)", + "stname": "ImGuiInputTextCallbackData" } ], - "igTextColored": [ + "ImGuiInputTextCallbackData_destroy": [ { - "isvararg": "...)", - "funcname": "TextColored", - "args": "(const ImVec4 col,const char* fmt,...)", - "ret": "void", - "comment": "", - "call_args": "(col,fmt,...)", - "argsoriginal": "(const ImVec4& col,const char* fmt,...)", - "stname": "ImGui", + "args": "(ImGuiInputTextCallbackData* self)", "argsT": [ { - "type": "const ImVec4", - "name": "col" - }, - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "...", - "name": "..." + "name": "self", + "type": "ImGuiInputTextCallbackData*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiInputTextCallbackData_destroy", "defaults": [], - "signature": "(const ImVec4,const char*,...)", - "cimguiname": "igTextColored" + "destructor": true, + "ov_cimguiname": "ImGuiInputTextCallbackData_destroy", + "ret": "void", + "signature": "(ImGuiInputTextCallbackData*)", + "stname": "ImGuiInputTextCallbackData" } ], - "igLogToFile": [ + "ImGuiListClipper_Begin": [ { - "funcname": "LogToFile", - "args": "(int max_depth,const char* filename)", - "ret": "void", - "comment": "", - "call_args": "(max_depth,filename)", - "argsoriginal": "(int max_depth=-1,const char* filename=((void*)0))", - "stname": "ImGui", + "args": "(ImGuiListClipper* self,int items_count,float items_height)", "argsT": [ { - "type": "int", - "name": "max_depth" + "name": "self", + "type": "ImGuiListClipper*" + }, + { + "name": "items_count", + "type": "int" }, { - "type": "const char*", - "name": "filename" + "name": "items_height", + "type": "float" } ], + "argsoriginal": "(int items_count,float items_height=-1.0f)", + "call_args": "(items_count,items_height)", + "cimguiname": "ImGuiListClipper_Begin", "defaults": { - "filename": "((void*)0)", - "max_depth": "-1" + "items_height": "-1.0f" }, - "signature": "(int,const char*)", - "cimguiname": "igLogToFile" + "funcname": "Begin", + "ov_cimguiname": "ImGuiListClipper_Begin", + "ret": "void", + "signature": "(int,float)", + "stname": "ImGuiListClipper" } ], - "igButton": [ + "ImGuiListClipper_End": [ { - "funcname": "Button", - "args": "(const char* label,const ImVec2 size)", - "ret": "bool", - "comment": "", - "call_args": "(label,size)", - "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", - "stname": "ImGui", + "args": "(ImGuiListClipper* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiListClipper_End", + "defaults": [], + "funcname": "End", + "ov_cimguiname": "ImGuiListClipper_End", + "ret": "void", + "signature": "()", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_ImGuiListClipper": [ + { + "args": "(int items_count,float items_height)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "items_count", + "type": "int" }, { - "type": "const ImVec2", - "name": "size" + "name": "items_height", + "type": "float" } ], - "defaults": { "size": "ImVec2(0,0)" }, - "signature": "(const char*,const ImVec2)", - "cimguiname": "igButton" + "argsoriginal": "(int items_count=-1,float items_height=-1.0f)", + "call_args": "(items_count,items_height)", + "cimguiname": "ImGuiListClipper_ImGuiListClipper", + "constructor": true, + "defaults": { + "items_count": "-1", + "items_height": "-1.0f" + }, + "funcname": "ImGuiListClipper", + "ov_cimguiname": "ImGuiListClipper_ImGuiListClipper", + "signature": "(int,float)", + "stname": "ImGuiListClipper" } ], - "igIsItemEdited": [ + "ImGuiListClipper_Step": [ { - "funcname": "IsItemEdited", - "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", + "args": "(ImGuiListClipper* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImGuiListClipper_Step", "defaults": [], + "funcname": "Step", + "ov_cimguiname": "ImGuiListClipper_Step", + "ret": "bool", "signature": "()", - "cimguiname": "igIsItemEdited" + "stname": "ImGuiListClipper" } ], - "igTreeNodeExV": [ + "ImGuiListClipper_destroy": [ { - "funcname": "TreeNodeExV", - "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,flags,fmt,args)", - "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "stname": "ImGui", + "args": "(ImGuiListClipper* self)", "argsT": [ { - "type": "const char*", - "name": "str_id" - }, - { - "type": "ImGuiTreeNodeFlags", - "name": "flags" - }, - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "va_list", - "name": "args" + "name": "self", + "type": "ImGuiListClipper*" } ], - "ov_cimguiname": "igTreeNodeExVStr", + "call_args": "(self)", + "cimguiname": "ImGuiListClipper_destroy", "defaults": [], - "signature": "(const char*,ImGuiTreeNodeFlags,const char*,va_list)", - "cimguiname": "igTreeNodeExV" - }, + "destructor": true, + "ov_cimguiname": "ImGuiListClipper_destroy", + "ret": "void", + "signature": "(ImGuiListClipper*)", + "stname": "ImGuiListClipper" + } + ], + "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame": [ { - "funcname": "TreeNodeExV", - "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "ret": "bool", - "comment": "", - "call_args": "(ptr_id,flags,fmt,args)", - "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "stname": "ImGui", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", + "constructor": true, + "defaults": [], + "funcname": "ImGuiOnceUponAFrame", + "ov_cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", + "signature": "()", + "stname": "ImGuiOnceUponAFrame" + } + ], + "ImGuiOnceUponAFrame_destroy": [ + { + "args": "(ImGuiOnceUponAFrame* self)", "argsT": [ { - "type": "const void*", - "name": "ptr_id" - }, - { - "type": "ImGuiTreeNodeFlags", - "name": "flags" - }, - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "va_list", - "name": "args" + "name": "self", + "type": "ImGuiOnceUponAFrame*" } ], - "ov_cimguiname": "igTreeNodeExVPtr", + "call_args": "(self)", + "cimguiname": "ImGuiOnceUponAFrame_destroy", "defaults": [], - "signature": "(const void*,ImGuiTreeNodeFlags,const char*,va_list)", - "cimguiname": "igTreeNodeExV" + "destructor": true, + "ov_cimguiname": "ImGuiOnceUponAFrame_destroy", + "ret": "void", + "signature": "(ImGuiOnceUponAFrame*)", + "stname": "ImGuiOnceUponAFrame" } ], - "ImDrawList_PushTextureID": [ + "ImGuiPayload_Clear": [ { - "funcname": "PushTextureID", - "args": "(ImDrawList* self,ImTextureID texture_id)", - "ret": "void", - "comment": "", - "call_args": "(texture_id)", - "argsoriginal": "(ImTextureID texture_id)", - "stname": "ImDrawList", + "args": "(ImGuiPayload* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "ImTextureID", - "name": "texture_id" + "name": "self", + "type": "ImGuiPayload*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_Clear", "defaults": [], - "signature": "(ImTextureID)", - "cimguiname": "ImDrawList_PushTextureID" + "funcname": "Clear", + "ov_cimguiname": "ImGuiPayload_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiPayload" } ], - "igTreeAdvanceToLabelPos": [ + "ImGuiPayload_ImGuiPayload": [ { - "funcname": "TreeAdvanceToLabelPos", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_ImGuiPayload", + "constructor": true, "defaults": [], + "funcname": "ImGuiPayload", + "ov_cimguiname": "ImGuiPayload_ImGuiPayload", "signature": "()", - "cimguiname": "igTreeAdvanceToLabelPos" + "stname": "ImGuiPayload" } ], - "ImGuiInputTextCallbackData_DeleteChars": [ + "ImGuiPayload_IsDataType": [ { - "funcname": "DeleteChars", - "args": "(ImGuiInputTextCallbackData* self,int pos,int bytes_count)", - "ret": "void", - "comment": "", - "call_args": "(pos,bytes_count)", - "argsoriginal": "(int pos,int bytes_count)", - "stname": "ImGuiInputTextCallbackData", + "args": "(ImGuiPayload* self,const char* type)", "argsT": [ { - "type": "ImGuiInputTextCallbackData*", - "name": "self" - }, - { - "type": "int", - "name": "pos" + "name": "self", + "type": "ImGuiPayload*" }, { - "type": "int", - "name": "bytes_count" + "name": "type", + "type": "const char*" } ], + "argsoriginal": "(const char* type)", + "call_args": "(type)", + "cimguiname": "ImGuiPayload_IsDataType", "defaults": [], - "signature": "(int,int)", - "cimguiname": "ImGuiInputTextCallbackData_DeleteChars" + "funcname": "IsDataType", + "ov_cimguiname": "ImGuiPayload_IsDataType", + "ret": "bool", + "signature": "(const char*)const", + "stname": "ImGuiPayload" } ], - "igDragInt2": [ + "ImGuiPayload_IsDelivery": [ { - "funcname": "DragInt2", - "args": "(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format)", - "argsoriginal": "(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", - "stname": "ImGui", + "args": "(ImGuiPayload* self)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int[2]", - "name": "v" - }, - { - "type": "float", - "name": "v_speed" - }, - { - "type": "int", - "name": "v_min" - }, - { - "type": "int", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" + "name": "self", + "type": "ImGuiPayload*" } ], - "defaults": { - "v_speed": "1.0f", - "v_min": "0", - "format": "\"%d\"", - "v_max": "0" - }, - "signature": "(const char*,int[2],float,int,int,const char*)", - "cimguiname": "igDragInt2" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_IsDelivery", + "defaults": [], + "funcname": "IsDelivery", + "ov_cimguiname": "ImGuiPayload_IsDelivery", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiPayload" } ], - "igArrowButton": [ + "ImGuiPayload_IsPreview": [ { - "funcname": "ArrowButton", - "args": "(const char* str_id,ImGuiDir dir)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,dir)", - "argsoriginal": "(const char* str_id,ImGuiDir dir)", - "stname": "ImGui", + "args": "(ImGuiPayload* self)", "argsT": [ { - "type": "const char*", - "name": "str_id" - }, + "name": "self", + "type": "ImGuiPayload*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_IsPreview", + "defaults": [], + "funcname": "IsPreview", + "ov_cimguiname": "ImGuiPayload_IsPreview", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiPayload" + } + ], + "ImGuiPayload_destroy": [ + { + "args": "(ImGuiPayload* self)", + "argsT": [ { - "type": "ImGuiDir", - "name": "dir" + "name": "self", + "type": "ImGuiPayload*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiPayload_destroy", "defaults": [], - "signature": "(const char*,ImGuiDir)", - "cimguiname": "igArrowButton" + "destructor": true, + "ov_cimguiname": "ImGuiPayload_destroy", + "ret": "void", + "signature": "(ImGuiPayload*)", + "stname": "ImGuiPayload" } ], - "igIsAnyItemActive": [ + "ImGuiPlatformIO_ImGuiPlatformIO": [ { - "funcname": "IsAnyItemActive", "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPlatformIO_ImGuiPlatformIO", + "constructor": true, "defaults": [], + "funcname": "ImGuiPlatformIO", + "ov_cimguiname": "ImGuiPlatformIO_ImGuiPlatformIO", "signature": "()", - "cimguiname": "igIsAnyItemActive" + "stname": "ImGuiPlatformIO" } ], - "ImDrawList_AddBezierCurve": [ + "ImGuiPlatformIO_destroy": [ { - "funcname": "AddBezierCurve", - "args": "(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)", - "ret": "void", - "comment": "", - "call_args": "(pos0,cp0,cp1,pos1,col,thickness,num_segments)", - "argsoriginal": "(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)", - "stname": "ImDrawList", + "args": "(ImGuiPlatformIO* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "pos0" - }, - { - "type": "const ImVec2", - "name": "cp0" - }, - { - "type": "const ImVec2", - "name": "cp1" - }, - { - "type": "const ImVec2", - "name": "pos1" - }, - { - "type": "ImU32", - "name": "col" - }, - { - "type": "float", - "name": "thickness" - }, - { - "type": "int", - "name": "num_segments" + "name": "self", + "type": "ImGuiPlatformIO*" } ], - "defaults": { "num_segments": "0" }, - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", - "cimguiname": "ImDrawList_AddBezierCurve" + "call_args": "(self)", + "cimguiname": "ImGuiPlatformIO_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImGuiPlatformIO_destroy", + "ret": "void", + "signature": "(ImGuiPlatformIO*)", + "stname": "ImGuiPlatformIO" } ], - "ImFontAtlas_AddFontFromMemoryCompressedTTF": [ + "ImGuiPlatformMonitor_ImGuiPlatformMonitor": [ { - "funcname": "AddFontFromMemoryCompressedTTF", - "args": "(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "ret": "ImFont*", - "comment": "", - "call_args": "(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)", - "argsoriginal": "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "stname": "ImFontAtlas", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPlatformMonitor_ImGuiPlatformMonitor", + "constructor": true, + "defaults": [], + "funcname": "ImGuiPlatformMonitor", + "ov_cimguiname": "ImGuiPlatformMonitor_ImGuiPlatformMonitor", + "signature": "()", + "stname": "ImGuiPlatformMonitor" + } + ], + "ImGuiPlatformMonitor_destroy": [ + { + "args": "(ImGuiPlatformMonitor* self)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" - }, - { - "type": "const void*", - "name": "compressed_font_data" - }, + "name": "self", + "type": "ImGuiPlatformMonitor*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPlatformMonitor_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImGuiPlatformMonitor_destroy", + "ret": "void", + "signature": "(ImGuiPlatformMonitor*)", + "stname": "ImGuiPlatformMonitor" + } + ], + "ImGuiStoragePair_ImGuiStoragePair": [ + { + "args": "(ImGuiID _key,int _val_i)", + "argsT": [ { - "type": "int", - "name": "compressed_font_size" + "name": "_key", + "type": "ImGuiID" }, { - "type": "float", - "name": "size_pixels" - }, + "name": "_val_i", + "type": "int" + } + ], + "argsoriginal": "(ImGuiID _key,int _val_i)", + "call_args": "(_key,_val_i)", + "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", + "constructor": true, + "defaults": [], + "funcname": "ImGuiStoragePair", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairInt", + "signature": "(ImGuiID,int)", + "stname": "ImGuiStoragePair" + }, + { + "args": "(ImGuiID _key,float _val_f)", + "argsT": [ { - "type": "const ImFontConfig*", - "name": "font_cfg" + "name": "_key", + "type": "ImGuiID" }, { - "type": "const ImWchar*", - "name": "glyph_ranges" + "name": "_val_f", + "type": "float" } ], - "defaults": { - "glyph_ranges": "((void*)0)", - "font_cfg": "((void*)0)" - }, - "signature": "(const void*,int,float,const ImFontConfig*,const ImWchar*)", - "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF" - } - ], - "ImFontAtlas_ClearFonts": [ + "argsoriginal": "(ImGuiID _key,float _val_f)", + "call_args": "(_key,_val_f)", + "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", + "constructor": true, + "defaults": [], + "funcname": "ImGuiStoragePair", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairFloat", + "signature": "(ImGuiID,float)", + "stname": "ImGuiStoragePair" + }, { - "funcname": "ClearFonts", - "args": "(ImFontAtlas* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImGuiID _key,void* _val_p)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "_key", + "type": "ImGuiID" + }, + { + "name": "_val_p", + "type": "void*" } ], + "argsoriginal": "(ImGuiID _key,void* _val_p)", + "call_args": "(_key,_val_p)", + "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", + "constructor": true, "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_ClearFonts" + "funcname": "ImGuiStoragePair", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairPtr", + "signature": "(ImGuiID,void*)", + "stname": "ImGuiStoragePair" } ], - "igDummy": [ + "ImGuiStoragePair_destroy": [ { - "funcname": "Dummy", - "args": "(const ImVec2 size)", - "ret": "void", - "comment": "", - "call_args": "(size)", - "argsoriginal": "(const ImVec2& size)", - "stname": "ImGui", + "args": "(ImGuiStoragePair* self)", "argsT": [ { - "type": "const ImVec2", - "name": "size" + "name": "self", + "type": "ImGuiStoragePair*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiStoragePair_destroy", "defaults": [], - "signature": "(const ImVec2)", - "cimguiname": "igDummy" + "destructor": true, + "ov_cimguiname": "ImGuiStoragePair_destroy", + "ret": "void", + "signature": "(ImGuiStoragePair*)", + "stname": "ImGuiStoragePair" } ], - "ImFontAtlas_ClearTexData": [ + "ImGuiStorage_BuildSortByKey": [ { - "funcname": "ClearTexData", - "args": "(ImFontAtlas* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImGuiStorage* self)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImGuiStorage*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiStorage_BuildSortByKey", "defaults": [], + "funcname": "BuildSortByKey", + "ov_cimguiname": "ImGuiStorage_BuildSortByKey", + "ret": "void", "signature": "()", - "cimguiname": "ImFontAtlas_ClearTexData" + "stname": "ImGuiStorage" } ], - "TextRange_destroy": [ + "ImGuiStorage_Clear": [ { - "signature": "(TextRange*)", - "args": "(TextRange* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "TextRange", - "ov_cimguiname": "TextRange_destroy", - "cimguiname": "TextRange_destroy", + "args": "(ImGuiStorage* self)", "argsT": [ { - "type": "TextRange*", - "name": "self" + "name": "self", + "type": "ImGuiStorage*" } ], - "defaults": [] - } - ], - "igGetColumnsCount": [ - { - "funcname": "GetColumnsCount", - "args": "()", - "ret": "int", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetColumnsCount" - } - ], - "igPopButtonRepeat": [ - { - "funcname": "PopButtonRepeat", - "args": "()", - "ret": "void", - "comment": "", "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "cimguiname": "ImGuiStorage_Clear", "defaults": [], + "funcname": "Clear", + "ov_cimguiname": "ImGuiStorage_Clear", + "ret": "void", "signature": "()", - "cimguiname": "igPopButtonRepeat" + "stname": "ImGuiStorage" } ], - "igDragScalarN": [ + "ImGuiStorage_GetBool": [ { - "funcname": "DragScalarN", - "args": "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,data_type,v,components,v_speed,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void*)0),const void* v_max=((void*)0),const char* format=((void*)0),float power=1.0f)", - "stname": "ImGui", + "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "ImGuiDataType", - "name": "data_type" + "name": "key", + "type": "ImGuiID" }, { - "type": "void*", - "name": "v" - }, + "name": "default_val", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID key,bool default_val=false)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetBool", + "defaults": { + "default_val": "false" + }, + "funcname": "GetBool", + "ov_cimguiname": "ImGuiStorage_GetBool", + "ret": "bool", + "signature": "(ImGuiID,bool)const", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetBoolRef": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", + "argsT": [ { - "type": "int", - "name": "components" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "float", - "name": "v_speed" + "name": "key", + "type": "ImGuiID" }, { - "type": "const void*", - "name": "v_min" - }, + "name": "default_val", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID key,bool default_val=false)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetBoolRef", + "defaults": { + "default_val": "false" + }, + "funcname": "GetBoolRef", + "ov_cimguiname": "ImGuiStorage_GetBoolRef", + "ret": "bool*", + "signature": "(ImGuiID,bool)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetFloat": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", + "argsT": [ { - "type": "const void*", - "name": "v_max" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "const char*", - "name": "format" + "name": "key", + "type": "ImGuiID" }, { - "type": "float", - "name": "power" + "name": "default_val", + "type": "float" } ], + "argsoriginal": "(ImGuiID key,float default_val=0.0f)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetFloat", "defaults": { - "v_max": "((void*)0)", - "v_min": "((void*)0)", - "format": "((void*)0)", - "power": "1.0f" + "default_val": "0.0f" }, - "signature": "(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)", - "cimguiname": "igDragScalarN" + "funcname": "GetFloat", + "ov_cimguiname": "ImGuiStorage_GetFloat", + "ret": "float", + "signature": "(ImGuiID,float)const", + "stname": "ImGuiStorage" } ], - "ImGuiPayload_IsPreview": [ + "ImGuiStorage_GetFloatRef": [ { - "funcname": "IsPreview", - "args": "(ImGuiPayload* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiPayload", + "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", "argsT": [ { - "type": "ImGuiPayload*", - "name": "self" + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "float" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImGuiPayload_IsPreview" - } - ], - "igSpacing": [ - { - "funcname": "Spacing", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igSpacing" - } - ], - "ImFontAtlas_Clear": [ - { - "funcname": "Clear", - "args": "(ImFontAtlas* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", - "argsT": [ - { - "type": "ImFontAtlas*", - "name": "self" - } - ], - "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_Clear" - } - ], - "igIsAnyItemFocused": [ - { - "funcname": "IsAnyItemFocused", - "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igIsAnyItemFocused" + "argsoriginal": "(ImGuiID key,float default_val=0.0f)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetFloatRef", + "defaults": { + "default_val": "0.0f" + }, + "funcname": "GetFloatRef", + "ov_cimguiname": "ImGuiStorage_GetFloatRef", + "ret": "float*", + "signature": "(ImGuiID,float)", + "stname": "ImGuiStorage" } ], - "ImFontAtlas_AddFontFromMemoryTTF": [ + "ImGuiStorage_GetInt": [ { - "funcname": "AddFontFromMemoryTTF", - "args": "(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "ret": "ImFont*", - "comment": "", - "call_args": "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)", - "argsoriginal": "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "stname": "ImFontAtlas", + "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "void*", - "name": "font_data" + "name": "key", + "type": "ImGuiID" }, { - "type": "int", - "name": "font_size" - }, - { - "type": "float", - "name": "size_pixels" - }, - { - "type": "const ImFontConfig*", - "name": "font_cfg" - }, - { - "type": "const ImWchar*", - "name": "glyph_ranges" + "name": "default_val", + "type": "int" } ], + "argsoriginal": "(ImGuiID key,int default_val=0)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetInt", "defaults": { - "glyph_ranges": "((void*)0)", - "font_cfg": "((void*)0)" + "default_val": "0" }, - "signature": "(void*,int,float,const ImFontConfig*,const ImWchar*)", - "cimguiname": "ImFontAtlas_AddFontFromMemoryTTF" + "funcname": "GetInt", + "ov_cimguiname": "ImGuiStorage_GetInt", + "ret": "int", + "signature": "(ImGuiID,int)const", + "stname": "ImGuiStorage" } ], - "ImFontAtlas_AddFontFromFileTTF": [ + "ImGuiStorage_GetIntRef": [ { - "funcname": "AddFontFromFileTTF", - "args": "(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "ret": "ImFont*", - "comment": "", - "call_args": "(filename,size_pixels,font_cfg,glyph_ranges)", - "argsoriginal": "(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "stname": "ImFontAtlas", + "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" - }, - { - "type": "const char*", - "name": "filename" - }, - { - "type": "float", - "name": "size_pixels" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "const ImFontConfig*", - "name": "font_cfg" + "name": "key", + "type": "ImGuiID" }, { - "type": "const ImWchar*", - "name": "glyph_ranges" + "name": "default_val", + "type": "int" } ], + "argsoriginal": "(ImGuiID key,int default_val=0)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetIntRef", "defaults": { - "glyph_ranges": "((void*)0)", - "font_cfg": "((void*)0)" + "default_val": "0" }, - "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", - "cimguiname": "ImFontAtlas_AddFontFromFileTTF" + "funcname": "GetIntRef", + "ov_cimguiname": "ImGuiStorage_GetIntRef", + "ret": "int*", + "signature": "(ImGuiID,int)", + "stname": "ImGuiStorage" } ], - "igMemFree": [ + "ImGuiStorage_GetVoidPtr": [ { - "funcname": "MemFree", - "args": "(void* ptr)", - "ret": "void", - "comment": "", - "call_args": "(ptr)", - "argsoriginal": "(void* ptr)", - "stname": "ImGui", + "args": "(ImGuiStorage* self,ImGuiID key)", "argsT": [ { - "type": "void*", - "name": "ptr" + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" } ], + "argsoriginal": "(ImGuiID key)", + "call_args": "(key)", + "cimguiname": "ImGuiStorage_GetVoidPtr", "defaults": [], - "signature": "(void*)", - "cimguiname": "igMemFree" + "funcname": "GetVoidPtr", + "ov_cimguiname": "ImGuiStorage_GetVoidPtr", + "ret": "void*", + "signature": "(ImGuiID)const", + "stname": "ImGuiStorage" } ], - "igGetFontTexUvWhitePixel": [ - { - "funcname": "GetFontTexUvWhitePixel", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetFontTexUvWhitePixel" - }, + "ImGuiStorage_GetVoidPtrRef": [ { - "funcname": "GetFontTexUvWhitePixel", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetFontTexUvWhitePixel", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetFontTexUvWhitePixel_nonUDT", - "comment": "", - "defaults": [], + "args": "(ImGuiStorage* self,ImGuiID key,void* default_val)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" - } - ] - }, - { - "cimguiname": "igGetFontTexUvWhitePixel", - "funcname": "GetFontTexUvWhitePixel", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetFontTexUvWhitePixel_nonUDT2", - "comment": "", - "defaults": [], - "argsT": [] - } - ], - "ImDrawList_AddDrawCmd": [ - { - "funcname": "AddDrawCmd", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", - "argsT": [ + "name": "self", + "type": "ImGuiStorage*" + }, { - "type": "ImDrawList*", - "name": "self" - } - ], - "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_AddDrawCmd" - } - ], - "igIsItemClicked": [ - { - "funcname": "IsItemClicked", - "args": "(int mouse_button)", - "ret": "bool", - "comment": "", - "call_args": "(mouse_button)", - "argsoriginal": "(int mouse_button=0)", - "stname": "ImGui", - "argsT": [ + "name": "key", + "type": "ImGuiID" + }, { - "type": "int", - "name": "mouse_button" + "name": "default_val", + "type": "void*" } ], - "defaults": { "mouse_button": "0" }, - "signature": "(int)", - "cimguiname": "igIsItemClicked" + "argsoriginal": "(ImGuiID key,void* default_val=((void*)0))", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetVoidPtrRef", + "defaults": { + "default_val": "((void*)0)" + }, + "funcname": "GetVoidPtrRef", + "ov_cimguiname": "ImGuiStorage_GetVoidPtrRef", + "ret": "void**", + "signature": "(ImGuiID,void*)", + "stname": "ImGuiStorage" } ], - "ImFontAtlas_AddFontDefault": [ + "ImGuiStorage_SetAllInt": [ { - "funcname": "AddFontDefault", - "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", - "ret": "ImFont*", - "comment": "", - "call_args": "(font_cfg)", - "argsoriginal": "(const ImFontConfig* font_cfg=((void*)0))", - "stname": "ImFontAtlas", + "args": "(ImGuiStorage* self,int val)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "const ImFontConfig*", - "name": "font_cfg" + "name": "val", + "type": "int" } ], - "defaults": { "font_cfg": "((void*)0)" }, - "signature": "(const ImFontConfig*)", - "cimguiname": "ImFontAtlas_AddFontDefault" + "argsoriginal": "(int val)", + "call_args": "(val)", + "cimguiname": "ImGuiStorage_SetAllInt", + "defaults": [], + "funcname": "SetAllInt", + "ov_cimguiname": "ImGuiStorage_SetAllInt", + "ret": "void", + "signature": "(int)", + "stname": "ImGuiStorage" } ], - "ImFontAtlas_AddFont": [ + "ImGuiStorage_SetBool": [ { - "funcname": "AddFont", - "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", - "ret": "ImFont*", - "comment": "", - "call_args": "(font_cfg)", - "argsoriginal": "(const ImFontConfig* font_cfg)", - "stname": "ImFontAtlas", + "args": "(ImGuiStorage* self,ImGuiID key,bool val)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "const ImFontConfig*", - "name": "font_cfg" + "name": "key", + "type": "ImGuiID" + }, + { + "name": "val", + "type": "bool" } ], + "argsoriginal": "(ImGuiID key,bool val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetBool", "defaults": [], - "signature": "(const ImFontConfig*)", - "cimguiname": "ImFontAtlas_AddFont" + "funcname": "SetBool", + "ov_cimguiname": "ImGuiStorage_SetBool", + "ret": "void", + "signature": "(ImGuiID,bool)", + "stname": "ImGuiStorage" } ], - "igProgressBar": [ + "ImGuiStorage_SetFloat": [ { - "funcname": "ProgressBar", - "args": "(float fraction,const ImVec2 size_arg,const char* overlay)", - "ret": "void", - "comment": "", - "call_args": "(fraction,size_arg,overlay)", - "argsoriginal": "(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void*)0))", - "stname": "ImGui", + "args": "(ImGuiStorage* self,ImGuiID key,float val)", "argsT": [ { - "type": "float", - "name": "fraction" + "name": "self", + "type": "ImGuiStorage*" }, { - "type": "const ImVec2", - "name": "size_arg" + "name": "key", + "type": "ImGuiID" }, { - "type": "const char*", - "name": "overlay" + "name": "val", + "type": "float" } ], - "defaults": { - "size_arg": "ImVec2(-1,0)", - "overlay": "((void*)0)" - }, - "signature": "(float,const ImVec2,const char*)", - "cimguiname": "igProgressBar" + "argsoriginal": "(ImGuiID key,float val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetFloat", + "defaults": [], + "funcname": "SetFloat", + "ov_cimguiname": "ImGuiStorage_SetFloat", + "ret": "void", + "signature": "(ImGuiID,float)", + "stname": "ImGuiStorage" } ], - "igSetNextWindowBgAlpha": [ + "ImGuiStorage_SetInt": [ { - "funcname": "SetNextWindowBgAlpha", - "args": "(float alpha)", - "ret": "void", - "comment": "", - "call_args": "(alpha)", - "argsoriginal": "(float alpha)", - "stname": "ImGui", + "args": "(ImGuiStorage* self,ImGuiID key,int val)", "argsT": [ { - "type": "float", - "name": "alpha" + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "val", + "type": "int" } ], + "argsoriginal": "(ImGuiID key,int val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetInt", "defaults": [], - "signature": "(float)", - "cimguiname": "igSetNextWindowBgAlpha" + "funcname": "SetInt", + "ov_cimguiname": "ImGuiStorage_SetInt", + "ret": "void", + "signature": "(ImGuiID,int)", + "stname": "ImGuiStorage" } ], - "igBeginPopup": [ + "ImGuiStorage_SetVoidPtr": [ { - "funcname": "BeginPopup", - "args": "(const char* str_id,ImGuiWindowFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,flags)", - "argsoriginal": "(const char* str_id,ImGuiWindowFlags flags=0)", - "stname": "ImGui", + "args": "(ImGuiStorage* self,ImGuiID key,void* val)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" }, { - "type": "ImGuiWindowFlags", - "name": "flags" + "name": "val", + "type": "void*" } ], - "defaults": { "flags": "0" }, - "signature": "(const char*,ImGuiWindowFlags)", - "cimguiname": "igBeginPopup" + "argsoriginal": "(ImGuiID key,void* val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetVoidPtr", + "defaults": [], + "funcname": "SetVoidPtr", + "ov_cimguiname": "ImGuiStorage_SetVoidPtr", + "ret": "void", + "signature": "(ImGuiID,void*)", + "stname": "ImGuiStorage" } ], - "ImFont_BuildLookupTable": [ + "ImGuiStyle_ImGuiStyle": [ { - "funcname": "BuildLookupTable", - "args": "(ImFont* self)", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImFont", - "argsT": [ - { - "type": "ImFont*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "ImGuiStyle_ImGuiStyle", + "constructor": true, "defaults": [], + "funcname": "ImGuiStyle", + "ov_cimguiname": "ImGuiStyle_ImGuiStyle", "signature": "()", - "cimguiname": "ImFont_BuildLookupTable" + "stname": "ImGuiStyle" } ], - "igGetScrollX": [ + "ImGuiStyle_ScaleAllSizes": [ { - "funcname": "GetScrollX", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(ImGuiStyle* self,float scale_factor)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStyle*" + }, + { + "name": "scale_factor", + "type": "float" + } + ], + "argsoriginal": "(float scale_factor)", + "call_args": "(scale_factor)", + "cimguiname": "ImGuiStyle_ScaleAllSizes", "defaults": [], - "signature": "()", - "cimguiname": "igGetScrollX" + "funcname": "ScaleAllSizes", + "ov_cimguiname": "ImGuiStyle_ScaleAllSizes", + "ret": "void", + "signature": "(float)", + "stname": "ImGuiStyle" } ], - "igGetKeyIndex": [ + "ImGuiStyle_destroy": [ { - "funcname": "GetKeyIndex", - "args": "(ImGuiKey imgui_key)", - "ret": "int", - "comment": "", - "call_args": "(imgui_key)", - "argsoriginal": "(ImGuiKey imgui_key)", - "stname": "ImGui", + "args": "(ImGuiStyle* self)", "argsT": [ { - "type": "ImGuiKey", - "name": "imgui_key" + "name": "self", + "type": "ImGuiStyle*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiStyle_destroy", "defaults": [], - "signature": "(ImGuiKey)", - "cimguiname": "igGetKeyIndex" + "destructor": true, + "ov_cimguiname": "ImGuiStyle_destroy", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "ImGuiStyle" } ], - "igGetOverlayDrawList": [ + "ImGuiTextBuffer_ImGuiTextBuffer": [ { - "funcname": "GetOverlayDrawList", "args": "()", - "ret": "ImDrawList*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", + "constructor": true, "defaults": [], + "funcname": "ImGuiTextBuffer", + "ov_cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", "signature": "()", - "cimguiname": "igGetOverlayDrawList" + "stname": "ImGuiTextBuffer" } ], - "igGetID": [ + "ImGuiTextBuffer_append": [ { - "funcname": "GetID", - "args": "(const char* str_id)", - "ret": "ImGuiID", - "comment": "", - "call_args": "(str_id)", - "argsoriginal": "(const char* str_id)", - "stname": "ImGui", + "args": "(ImGuiTextBuffer* self,const char* str,const char* str_end)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "self", + "type": "ImGuiTextBuffer*" + }, + { + "name": "str", + "type": "const char*" + }, + { + "name": "str_end", + "type": "const char*" } ], - "ov_cimguiname": "igGetIDStr", - "defaults": [], - "signature": "(const char*)", - "cimguiname": "igGetID" - }, + "argsoriginal": "(const char* str,const char* str_end=((void*)0))", + "call_args": "(str,str_end)", + "cimguiname": "ImGuiTextBuffer_append", + "defaults": { + "str_end": "((void*)0)" + }, + "funcname": "append", + "ov_cimguiname": "ImGuiTextBuffer_append", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_appendf": [ { - "funcname": "GetID", - "args": "(const char* str_id_begin,const char* str_id_end)", - "ret": "ImGuiID", - "comment": "", - "call_args": "(str_id_begin,str_id_end)", - "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", - "stname": "ImGui", + "args": "(ImGuiTextBuffer* self,const char* fmt,...)", "argsT": [ { - "type": "const char*", - "name": "str_id_begin" + "name": "self", + "type": "ImGuiTextBuffer*" + }, + { + "name": "fmt", + "type": "const char*" }, { - "type": "const char*", - "name": "str_id_end" + "name": "...", + "type": "..." } ], - "ov_cimguiname": "igGetIDRange", + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "ImGuiTextBuffer_appendf", "defaults": [], - "signature": "(const char*,const char*)", - "cimguiname": "igGetID" - }, + "funcname": "appendf", + "isvararg": "...)", + "manual": true, + "ov_cimguiname": "ImGuiTextBuffer_appendf", + "ret": "void", + "signature": "(const char*,...)", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_appendfv": [ { - "funcname": "GetID", - "args": "(const void* ptr_id)", - "ret": "ImGuiID", - "comment": "", - "call_args": "(ptr_id)", - "argsoriginal": "(const void* ptr_id)", - "stname": "ImGui", + "args": "(ImGuiTextBuffer* self,const char* fmt,va_list args)", "argsT": [ { - "type": "const void*", - "name": "ptr_id" + "name": "self", + "type": "ImGuiTextBuffer*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" } ], - "ov_cimguiname": "igGetIDPtr", + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "ImGuiTextBuffer_appendfv", "defaults": [], - "signature": "(const void*)", - "cimguiname": "igGetID" + "funcname": "appendfv", + "ov_cimguiname": "ImGuiTextBuffer_appendfv", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "ImGuiTextBuffer" } ], - "ImFontAtlas_GetGlyphRangesJapanese": [ + "ImGuiTextBuffer_begin": [ { - "funcname": "GetGlyphRangesJapanese", - "args": "(ImFontAtlas* self)", - "ret": "const ImWchar*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImGuiTextBuffer* self)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "self", + "type": "ImGuiTextBuffer*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_begin", "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesJapanese" + "funcname": "begin", + "ov_cimguiname": "ImGuiTextBuffer_begin", + "ret": "const char*", + "signature": "()const", + "stname": "ImGuiTextBuffer" } ], - "ImDrawData_ScaleClipRects": [ + "ImGuiTextBuffer_c_str": [ { - "funcname": "ScaleClipRects", - "args": "(ImDrawData* self,const ImVec2 sc)", - "ret": "void", - "comment": "", - "call_args": "(sc)", - "argsoriginal": "(const ImVec2& sc)", - "stname": "ImDrawData", + "args": "(ImGuiTextBuffer* self)", "argsT": [ { - "type": "ImDrawData*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "sc" + "name": "self", + "type": "ImGuiTextBuffer*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_c_str", "defaults": [], - "signature": "(const ImVec2)", - "cimguiname": "ImDrawData_ScaleClipRects" + "funcname": "c_str", + "ov_cimguiname": "ImGuiTextBuffer_c_str", + "ret": "const char*", + "signature": "()const", + "stname": "ImGuiTextBuffer" } ], - "ImDrawData_DeIndexAllBuffers": [ + "ImGuiTextBuffer_clear": [ { - "funcname": "DeIndexAllBuffers", - "args": "(ImDrawData* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawData", + "args": "(ImGuiTextBuffer* self)", "argsT": [ { - "type": "ImDrawData*", - "name": "self" + "name": "self", + "type": "ImGuiTextBuffer*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_clear", "defaults": [], + "funcname": "clear", + "ov_cimguiname": "ImGuiTextBuffer_clear", + "ret": "void", "signature": "()", - "cimguiname": "ImDrawData_DeIndexAllBuffers" + "stname": "ImGuiTextBuffer" } ], - "igIsMouseReleased": [ + "ImGuiTextBuffer_destroy": [ { - "funcname": "IsMouseReleased", - "args": "(int button)", - "ret": "bool", - "comment": "", - "call_args": "(button)", - "argsoriginal": "(int button)", - "stname": "ImGui", + "args": "(ImGuiTextBuffer* self)", "argsT": [ { - "type": "int", - "name": "button" + "name": "self", + "type": "ImGuiTextBuffer*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiTextBuffer_destroy", "defaults": [], - "signature": "(int)", - "cimguiname": "igIsMouseReleased" + "destructor": true, + "ov_cimguiname": "ImGuiTextBuffer_destroy", + "ret": "void", + "signature": "(ImGuiTextBuffer*)", + "stname": "ImGuiTextBuffer" } ], - "ImDrawData_Clear": [ + "ImGuiTextBuffer_empty": [ { - "funcname": "Clear", - "args": "(ImDrawData* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawData", + "args": "(ImGuiTextBuffer* self)", "argsT": [ { - "type": "ImDrawData*", - "name": "self" + "name": "self", + "type": "ImGuiTextBuffer*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_empty", "defaults": [], + "funcname": "empty", + "ov_cimguiname": "ImGuiTextBuffer_empty", + "ret": "bool", "signature": "()", - "cimguiname": "ImDrawData_Clear" + "stname": "ImGuiTextBuffer" } ], - "igGetItemRectMin": [ - { - "funcname": "GetItemRectMin", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetItemRectMin" - }, + "ImGuiTextBuffer_end": [ { - "funcname": "GetItemRectMin", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetItemRectMin", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetItemRectMin_nonUDT", - "comment": "", - "defaults": [], + "args": "(ImGuiTextBuffer* self)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "self", + "type": "ImGuiTextBuffer*" } - ] - }, - { - "cimguiname": "igGetItemRectMin", - "funcname": "GetItemRectMin", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", + ], "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetItemRectMin_nonUDT2", - "comment": "", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_end", "defaults": [], - "argsT": [] + "funcname": "end", + "ov_cimguiname": "ImGuiTextBuffer_end", + "ret": "const char*", + "signature": "()const", + "stname": "ImGuiTextBuffer" } ], - "igLogText": [ + "ImGuiTextBuffer_reserve": [ { - "isvararg": "...)", - "funcname": "LogText", - "args": "(const char* fmt,...)", - "ret": "void", - "comment": "", - "manual": true, - "call_args": "(fmt,...)", - "argsoriginal": "(const char* fmt,...)", - "stname": "ImGui", + "args": "(ImGuiTextBuffer* self,int capacity)", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "self", + "type": "ImGuiTextBuffer*" }, { - "type": "...", - "name": "..." + "name": "capacity", + "type": "int" } ], + "argsoriginal": "(int capacity)", + "call_args": "(capacity)", + "cimguiname": "ImGuiTextBuffer_reserve", "defaults": [], - "signature": "(const char*,...)", - "cimguiname": "igLogText" + "funcname": "reserve", + "ov_cimguiname": "ImGuiTextBuffer_reserve", + "ret": "void", + "signature": "(int)", + "stname": "ImGuiTextBuffer" } ], - "igSetNextWindowSizeConstraints": [ + "ImGuiTextBuffer_size": [ { - "funcname": "SetNextWindowSizeConstraints", - "args": "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)", - "ret": "void", - "comment": "", - "call_args": "(size_min,size_max,custom_callback,custom_callback_data)", - "argsoriginal": "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void*)0),void* custom_callback_data=((void*)0))", - "stname": "ImGui", + "args": "(ImGuiTextBuffer* self)", "argsT": [ { - "type": "const ImVec2", - "name": "size_min" - }, - { - "type": "const ImVec2", - "name": "size_max" - }, - { - "type": "ImGuiSizeCallback", - "name": "custom_callback" - }, - { - "type": "void*", - "name": "custom_callback_data" + "name": "self", + "type": "ImGuiTextBuffer*" } ], - "defaults": { - "custom_callback": "((void*)0)", - "custom_callback_data": "((void*)0)" - }, - "signature": "(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)", - "cimguiname": "igSetNextWindowSizeConstraints" - } + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_size", + "defaults": [], + "funcname": "size", + "ov_cimguiname": "ImGuiTextBuffer_size", + "ret": "int", + "signature": "()const", + "stname": "ImGuiTextBuffer" + } ], - "ImGuiStorage_GetVoidPtr": [ + "ImGuiTextFilter_Build": [ { - "funcname": "GetVoidPtr", - "args": "(ImGuiStorage* self,ImGuiID key)", - "ret": "void*", - "comment": "", - "call_args": "(key)", - "argsoriginal": "(ImGuiID key)", - "stname": "ImGuiStorage", + "args": "(ImGuiTextFilter* self)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" - }, - { - "type": "ImGuiID", - "name": "key" + "name": "self", + "type": "ImGuiTextFilter*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextFilter_Build", "defaults": [], - "signature": "(ImGuiID)", - "cimguiname": "ImGuiStorage_GetVoidPtr" + "funcname": "Build", + "ov_cimguiname": "ImGuiTextFilter_Build", + "ret": "void", + "signature": "()", + "stname": "ImGuiTextFilter" } ], - "ImDrawList_UpdateClipRect": [ + "ImGuiTextFilter_Clear": [ { - "funcname": "UpdateClipRect", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "args": "(ImGuiTextFilter* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImGuiTextFilter*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextFilter_Clear", "defaults": [], + "funcname": "Clear", + "ov_cimguiname": "ImGuiTextFilter_Clear", + "ret": "void", "signature": "()", - "cimguiname": "ImDrawList_UpdateClipRect" + "stname": "ImGuiTextFilter" } ], - "ImDrawList_PrimVtx": [ + "ImGuiTextFilter_Draw": [ { - "funcname": "PrimVtx", - "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(pos,uv,col)", - "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", - "stname": "ImDrawList", + "args": "(ImGuiTextFilter* self,const char* label,float width)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "pos" + "name": "self", + "type": "ImGuiTextFilter*" }, { - "type": "const ImVec2", - "name": "uv" + "name": "label", + "type": "const char*" }, { - "type": "ImU32", - "name": "col" + "name": "width", + "type": "float" } ], - "defaults": [], - "signature": "(const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_PrimVtx" + "argsoriginal": "(const char* label=\"Filter(inc,-exc)\",float width=0.0f)", + "call_args": "(label,width)", + "cimguiname": "ImGuiTextFilter_Draw", + "defaults": { + "label": "\"Filter(inc,-exc)\"", + "width": "0.0f" + }, + "funcname": "Draw", + "ov_cimguiname": "ImGuiTextFilter_Draw", + "ret": "bool", + "signature": "(const char*,float)", + "stname": "ImGuiTextFilter" } ], - "igGetColorU32": [ - { - "funcname": "GetColorU32", - "args": "(ImGuiCol idx,float alpha_mul)", - "ret": "ImU32", - "comment": "", - "call_args": "(idx,alpha_mul)", - "argsoriginal": "(ImGuiCol idx,float alpha_mul=1.0f)", - "stname": "ImGui", - "argsT": [ - { - "type": "ImGuiCol", - "name": "idx" - }, - { - "type": "float", - "name": "alpha_mul" - } - ], - "ov_cimguiname": "igGetColorU32", - "defaults": { "alpha_mul": "1.0f" }, - "signature": "(ImGuiCol,float)", - "cimguiname": "igGetColorU32" - }, + "ImGuiTextFilter_ImGuiTextFilter": [ { - "funcname": "GetColorU32", - "args": "(const ImVec4 col)", - "ret": "ImU32", - "comment": "", - "call_args": "(col)", - "argsoriginal": "(const ImVec4& col)", - "stname": "ImGui", + "args": "(const char* default_filter)", "argsT": [ { - "type": "const ImVec4", - "name": "col" + "name": "default_filter", + "type": "const char*" } ], - "ov_cimguiname": "igGetColorU32Vec4", - "defaults": [], - "signature": "(const ImVec4)", - "cimguiname": "igGetColorU32" - }, + "argsoriginal": "(const char* default_filter=\"\")", + "call_args": "(default_filter)", + "cimguiname": "ImGuiTextFilter_ImGuiTextFilter", + "constructor": true, + "defaults": { + "default_filter": "\"\"" + }, + "funcname": "ImGuiTextFilter", + "ov_cimguiname": "ImGuiTextFilter_ImGuiTextFilter", + "signature": "(const char*)", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextFilter_IsActive": [ { - "funcname": "GetColorU32", - "args": "(ImU32 col)", - "ret": "ImU32", - "comment": "", - "call_args": "(col)", - "argsoriginal": "(ImU32 col)", - "stname": "ImGui", + "args": "(ImGuiTextFilter* self)", "argsT": [ { - "type": "ImU32", - "name": "col" + "name": "self", + "type": "ImGuiTextFilter*" } ], - "ov_cimguiname": "igGetColorU32U32", + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextFilter_IsActive", "defaults": [], - "signature": "(ImU32)", - "cimguiname": "igGetColorU32" + "funcname": "IsActive", + "ov_cimguiname": "ImGuiTextFilter_IsActive", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiTextFilter" } ], - "igVSliderInt": [ + "ImGuiTextFilter_PassFilter": [ { - "funcname": "VSliderInt", - "args": "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,size,v,v_min,v_max,format)", - "argsoriginal": "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")", - "stname": "ImGui", + "args": "(ImGuiTextFilter* self,const char* text,const char* text_end)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "self", + "type": "ImGuiTextFilter*" }, { - "type": "const ImVec2", - "name": "size" + "name": "text", + "type": "const char*" }, { - "type": "int*", - "name": "v" - }, - { - "type": "int", - "name": "v_min" - }, - { - "type": "int", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" + "name": "text_end", + "type": "const char*" } ], - "defaults": { "format": "\"%d\"" }, - "signature": "(const char*,const ImVec2,int*,int,int,const char*)", - "cimguiname": "igVSliderInt" + "argsoriginal": "(const char* text,const char* text_end=((void*)0))", + "call_args": "(text,text_end)", + "cimguiname": "ImGuiTextFilter_PassFilter", + "defaults": { + "text_end": "((void*)0)" + }, + "funcname": "PassFilter", + "ov_cimguiname": "ImGuiTextFilter_PassFilter", + "ret": "bool", + "signature": "(const char*,const char*)const", + "stname": "ImGuiTextFilter" } ], - "igInvisibleButton": [ + "ImGuiTextFilter_destroy": [ { - "funcname": "InvisibleButton", - "args": "(const char* str_id,const ImVec2 size)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,size)", - "argsoriginal": "(const char* str_id,const ImVec2& size)", - "stname": "ImGui", + "args": "(ImGuiTextFilter* self)", "argsT": [ { - "type": "const char*", - "name": "str_id" - }, - { - "type": "const ImVec2", - "name": "size" + "name": "self", + "type": "ImGuiTextFilter*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiTextFilter_destroy", "defaults": [], - "signature": "(const char*,const ImVec2)", - "cimguiname": "igInvisibleButton" + "destructor": true, + "ov_cimguiname": "ImGuiTextFilter_destroy", + "ret": "void", + "signature": "(ImGuiTextFilter*)", + "stname": "ImGuiTextFilter" } ], - "igInputInt2": [ + "ImGuiTextRange_ImGuiTextRange": [ { - "funcname": "InputInt2", - "args": "(const char* label,int v[2],ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,extra_flags)", - "argsoriginal": "(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextRange_ImGuiTextRange", + "constructor": true, + "defaults": [], + "funcname": "ImGuiTextRange", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange", + "signature": "()", + "stname": "ImGuiTextRange" + }, + { + "args": "(const char* _b,const char* _e)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int[2]", - "name": "v" + "name": "_b", + "type": "const char*" }, { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "_e", + "type": "const char*" } ], - "defaults": { "extra_flags": "0" }, - "signature": "(const char*,int[2],ImGuiInputTextFlags)", - "cimguiname": "igInputInt2" + "argsoriginal": "(const char* _b,const char* _e)", + "call_args": "(_b,_e)", + "cimguiname": "ImGuiTextRange_ImGuiTextRange", + "constructor": true, + "defaults": [], + "funcname": "ImGuiTextRange", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRangeStr", + "signature": "(const char*,const char*)", + "stname": "ImGuiTextRange" } ], - "ImDrawList_PrimRect": [ + "ImGuiTextRange_destroy": [ { - "funcname": "PrimRect", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(a,b,col)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col)", - "stname": "ImDrawList", + "args": "(ImGuiTextRange* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, - { - "type": "ImU32", - "name": "col" + "name": "self", + "type": "ImGuiTextRange*" } ], + "call_args": "(self)", + "cimguiname": "ImGuiTextRange_destroy", "defaults": [], - "signature": "(const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_PrimRect" + "destructor": true, + "ov_cimguiname": "ImGuiTextRange_destroy", + "ret": "void", + "signature": "(ImGuiTextRange*)", + "stname": "ImGuiTextRange" } ], - "ImDrawList_AddRectFilled": [ + "ImGuiTextRange_empty": [ { - "funcname": "AddRectFilled", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)", - "ret": "void", - "comment": "", - "call_args": "(a,b,col,rounding,rounding_corners_flags)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)", - "stname": "ImDrawList", + "args": "(ImGuiTextRange* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, + "name": "self", + "type": "ImGuiTextRange*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextRange_empty", + "defaults": [], + "funcname": "empty", + "ov_cimguiname": "ImGuiTextRange_empty", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiTextRange" + } + ], + "ImGuiTextRange_split": [ + { + "args": "(ImGuiTextRange* self,char separator,ImVector_ImGuiTextRange* out)", + "argsT": [ { - "type": "ImU32", - "name": "col" + "name": "self", + "type": "ImGuiTextRange*" }, { - "type": "float", - "name": "rounding" + "name": "separator", + "type": "char" }, { - "type": "int", - "name": "rounding_corners_flags" + "name": "out", + "type": "ImVector_ImGuiTextRange*" } ], - "defaults": { - "rounding": "0.0f", - "rounding_corners_flags": "ImDrawCornerFlags_All" - }, - "signature": "(const ImVec2,const ImVec2,ImU32,float,int)", - "cimguiname": "ImDrawList_AddRectFilled" + "argsoriginal": "(char separator,ImVector* out)", + "call_args": "(separator,out)", + "cimguiname": "ImGuiTextRange_split", + "defaults": [], + "funcname": "split", + "ov_cimguiname": "ImGuiTextRange_split", + "ret": "void", + "signature": "(char,ImVector_ImGuiTextRange*)const", + "stname": "ImGuiTextRange" } ], - "ImDrawList_ClearFreeMemory": [ + "ImGuiViewport_ImGuiViewport": [ { - "funcname": "ClearFreeMemory", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImDrawList", - "argsT": [ - { - "type": "ImDrawList*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "ImGuiViewport_ImGuiViewport", + "constructor": true, "defaults": [], + "funcname": "ImGuiViewport", + "ov_cimguiname": "ImGuiViewport_ImGuiViewport", "signature": "()", - "cimguiname": "ImDrawList_ClearFreeMemory" + "stname": "ImGuiViewport" } ], - "ImGuiListClipper_destroy": [ + "ImGuiViewport_destroy": [ { - "signature": "(ImGuiListClipper*)", - "args": "(ImGuiListClipper* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiListClipper", - "ov_cimguiname": "ImGuiListClipper_destroy", - "cimguiname": "ImGuiListClipper_destroy", + "args": "(ImGuiViewport* self)", "argsT": [ { - "type": "ImGuiListClipper*", - "name": "self" + "name": "self", + "type": "ImGuiViewport*" } ], - "defaults": [] + "call_args": "(self)", + "cimguiname": "ImGuiViewport_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImGuiViewport_destroy", + "ret": "void", + "signature": "(ImGuiViewport*)", + "stname": "ImGuiViewport" } ], - "ImDrawList_CloneOutput": [ + "ImGuiWindowClass_ImGuiWindowClass": [ { - "funcname": "CloneOutput", - "args": "(ImDrawList* self)", - "ret": "ImDrawList*", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImDrawList", - "argsT": [ - { - "type": "ImDrawList*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "ImGuiWindowClass_ImGuiWindowClass", + "constructor": true, "defaults": [], + "funcname": "ImGuiWindowClass", + "ov_cimguiname": "ImGuiWindowClass_ImGuiWindowClass", "signature": "()", - "cimguiname": "ImDrawList_CloneOutput" + "stname": "ImGuiWindowClass" } ], - "igSetNextTreeNodeOpen": [ + "ImGuiWindowClass_destroy": [ { - "funcname": "SetNextTreeNodeOpen", - "args": "(bool is_open,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(is_open,cond)", - "argsoriginal": "(bool is_open,ImGuiCond cond=0)", - "stname": "ImGui", + "args": "(ImGuiWindowClass* self)", "argsT": [ { - "type": "bool", - "name": "is_open" - }, - { - "type": "ImGuiCond", - "name": "cond" + "name": "self", + "type": "ImGuiWindowClass*" } ], - "defaults": { "cond": "0" }, - "signature": "(bool,ImGuiCond)", - "cimguiname": "igSetNextTreeNodeOpen" + "call_args": "(self)", + "cimguiname": "ImGuiWindowClass_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImGuiWindowClass_destroy", + "ret": "void", + "signature": "(ImGuiWindowClass*)", + "stname": "ImGuiWindowClass" } ], - "igLogToTTY": [ + "ImVec2_ImVec2": [ { - "funcname": "LogToTTY", - "args": "(int max_depth)", - "ret": "void", - "comment": "", - "call_args": "(max_depth)", - "argsoriginal": "(int max_depth=-1)", - "stname": "ImGui", - "argsT": [ - { - "type": "int", - "name": "max_depth" - } - ], - "defaults": { "max_depth": "-1" }, - "signature": "(int)", - "cimguiname": "igLogToTTY" - } - ], - "GlyphRangesBuilder_BuildRanges": [ + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVec2_ImVec2", + "constructor": true, + "defaults": [], + "funcname": "ImVec2", + "ov_cimguiname": "ImVec2_ImVec2", + "signature": "()", + "stname": "ImVec2" + }, { - "funcname": "BuildRanges", - "args": "(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges)", - "ret": "void", - "comment": "", - "call_args": "(out_ranges)", - "argsoriginal": "(ImVector* out_ranges)", - "stname": "GlyphRangesBuilder", + "args": "(float _x,float _y)", "argsT": [ { - "type": "GlyphRangesBuilder*", - "name": "self" + "name": "_x", + "type": "float" }, { - "type": "ImVector_ImWchar*", - "name": "out_ranges" + "name": "_y", + "type": "float" } ], + "argsoriginal": "(float _x,float _y)", + "call_args": "(_x,_y)", + "cimguiname": "ImVec2_ImVec2", + "constructor": true, "defaults": [], - "signature": "(ImVector_ImWchar*)", - "cimguiname": "GlyphRangesBuilder_BuildRanges" + "funcname": "ImVec2", + "ov_cimguiname": "ImVec2_ImVec2Float", + "signature": "(float,float)", + "stname": "ImVec2" } ], - "igSetTooltipV": [ + "ImVec2_destroy": [ { - "funcname": "SetTooltipV", - "args": "(const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(fmt,args)", - "argsoriginal": "(const char* fmt,va_list args)", - "stname": "ImGui", + "args": "(ImVec2* self)", "argsT": [ { - "type": "const char*", - "name": "fmt" - }, - { - "type": "va_list", - "name": "args" + "name": "self", + "type": "ImVec2*" } ], + "call_args": "(self)", + "cimguiname": "ImVec2_destroy", "defaults": [], - "signature": "(const char*,va_list)", - "cimguiname": "igSetTooltipV" - } - ], - "igEndGroup": [ - { - "funcname": "EndGroup", - "args": "()", + "destructor": true, + "ov_cimguiname": "ImVec2_destroy", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEndGroup" + "signature": "(ImVec2*)", + "stname": "ImVec2" } ], - "igGetIO": [ + "ImVec4_ImVec4": [ { - "funcname": "GetIO", "args": "()", - "ret": "ImGuiIO*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], - "retref": "&", + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVec4_ImVec4", + "constructor": true, "defaults": [], + "funcname": "ImVec4", + "ov_cimguiname": "ImVec4_ImVec4", "signature": "()", - "cimguiname": "igGetIO" - } - ], - "igDragInt4": [ + "stname": "ImVec4" + }, { - "funcname": "DragInt4", - "args": "(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format)", - "argsoriginal": "(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", - "stname": "ImGui", + "args": "(float _x,float _y,float _z,float _w)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "_x", + "type": "float" }, { - "type": "int[4]", - "name": "v" + "name": "_y", + "type": "float" }, { - "type": "float", - "name": "v_speed" + "name": "_z", + "type": "float" }, { - "type": "int", - "name": "v_min" - }, - { - "type": "int", - "name": "v_max" - }, + "name": "_w", + "type": "float" + } + ], + "argsoriginal": "(float _x,float _y,float _z,float _w)", + "call_args": "(_x,_y,_z,_w)", + "cimguiname": "ImVec4_ImVec4", + "constructor": true, + "defaults": [], + "funcname": "ImVec4", + "ov_cimguiname": "ImVec4_ImVec4Float", + "signature": "(float,float,float,float)", + "stname": "ImVec4" + } + ], + "ImVec4_destroy": [ + { + "args": "(ImVec4* self)", + "argsT": [ { - "type": "const char*", - "name": "format" + "name": "self", + "type": "ImVec4*" } ], - "defaults": { - "v_speed": "1.0f", - "v_min": "0", - "format": "\"%d\"", - "v_max": "0" - }, - "signature": "(const char*,int[4],float,int,int,const char*)", - "cimguiname": "igDragInt4" + "call_args": "(self)", + "cimguiname": "ImVec4_destroy", + "defaults": [], + "destructor": true, + "ov_cimguiname": "ImVec4_destroy", + "ret": "void", + "signature": "(ImVec4*)", + "stname": "ImVec4" } ], - "igNextColumn": [ + "ImVector_ImVector": [ { - "funcname": "NextColumn", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_ImVector", + "constructor": true, "defaults": [], + "funcname": "ImVector", + "ov_cimguiname": "ImVector_ImVector", "signature": "()", - "cimguiname": "igNextColumn" - } - ], - "ImDrawList_AddRect": [ + "stname": "ImVector", + "templated": true + }, { - "funcname": "AddRect", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)", - "ret": "void", - "comment": "", - "call_args": "(a,b,col,rounding,rounding_corners_flags,thickness)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)", - "stname": "ImDrawList", + "args": "(const ImVector src)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, - { - "type": "ImU32", - "name": "col" - }, - { - "type": "float", - "name": "rounding" - }, - { - "type": "int", - "name": "rounding_corners_flags" - }, - { - "type": "float", - "name": "thickness" + "name": "src", + "type": "const ImVector" } ], - "defaults": { - "rounding": "0.0f", - "thickness": "1.0f", - "rounding_corners_flags": "ImDrawCornerFlags_All" - }, - "signature": "(const ImVec2,const ImVec2,ImU32,float,int,float)", - "cimguiname": "ImDrawList_AddRect" + "argsoriginal": "(const ImVector& src)", + "call_args": "(src)", + "cimguiname": "ImVector_ImVector", + "constructor": true, + "defaults": [], + "funcname": "ImVector", + "ov_cimguiname": "ImVector_ImVectorVector", + "signature": "(const ImVector)", + "stname": "ImVector", + "templated": true } ], - "TextRange_split": [ + "ImVector__grow_capacity": [ { - "funcname": "split", - "args": "(TextRange* self,char separator,ImVector_TextRange* out)", - "ret": "void", - "comment": "", - "call_args": "(separator,out)", - "argsoriginal": "(char separator,ImVector* out)", - "stname": "TextRange", + "args": "(ImVector* self,int sz)", "argsT": [ { - "type": "TextRange*", - "name": "self" + "name": "self", + "type": "ImVector*" }, { - "type": "char", - "name": "separator" - }, - { - "type": "ImVector_TextRange*", - "name": "out" + "name": "sz", + "type": "int" } ], + "argsoriginal": "(int sz)", + "call_args": "(sz)", + "cimguiname": "ImVector__grow_capacity", "defaults": [], - "signature": "(char,ImVector_TextRange*)", - "cimguiname": "TextRange_split" + "funcname": "_grow_capacity", + "ov_cimguiname": "ImVector__grow_capacity", + "ret": "int", + "signature": "(int)const", + "stname": "ImVector", + "templated": true } ], - "igSetCursorPos": [ + "ImVector_back": [ { - "funcname": "SetCursorPos", - "args": "(const ImVec2 local_pos)", - "ret": "void", - "comment": "", - "call_args": "(local_pos)", - "argsoriginal": "(const ImVec2& local_pos)", - "stname": "ImGui", + "args": "(ImVector* self)", "argsT": [ { - "type": "const ImVec2", - "name": "local_pos" + "name": "self", + "type": "ImVector*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_back", "defaults": [], - "signature": "(const ImVec2)", - "cimguiname": "igSetCursorPos" - } - ], - "igBeginPopupModal": [ + "funcname": "back", + "ov_cimguiname": "ImVector_back", + "ret": "T*", + "retref": "&", + "signature": "()", + "stname": "ImVector", + "templated": true + }, { - "funcname": "BeginPopupModal", - "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(name,p_open,flags)", - "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", - "stname": "ImGui", + "args": "(ImVector* self)", "argsT": [ { - "type": "const char*", - "name": "name" - }, - { - "type": "bool*", - "name": "p_open" - }, - { - "type": "ImGuiWindowFlags", - "name": "flags" + "name": "self", + "type": "ImVector*" } ], - "defaults": { - "p_open": "((void*)0)", - "flags": "0" - }, - "signature": "(const char*,bool*,ImGuiWindowFlags)", - "cimguiname": "igBeginPopupModal" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_back", + "defaults": [], + "funcname": "back", + "ov_cimguiname": "ImVector_back_const", + "ret": "const T*", + "retref": "&", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "igSliderInt4": [ + "ImVector_begin": [ { - "funcname": "SliderInt4", - "args": "(const char* label,int v[4],int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format)", - "argsoriginal": "(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")", - "stname": "ImGui", + "args": "(ImVector* self)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int[4]", - "name": "v" - }, - { - "type": "int", - "name": "v_min" - }, - { - "type": "int", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" + "name": "self", + "type": "ImVector*" } ], - "defaults": { "format": "\"%d\"" }, - "signature": "(const char*,int[4],int,int,const char*)", - "cimguiname": "igSliderInt4" - } - ], - "ImDrawList_PathRect": [ + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_begin", + "defaults": [], + "funcname": "begin", + "ov_cimguiname": "ImVector_begin", + "ret": "T*", + "signature": "()", + "stname": "ImVector", + "templated": true + }, { - "funcname": "PathRect", - "args": "(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)", - "ret": "void", - "comment": "", - "call_args": "(rect_min,rect_max,rounding,rounding_corners_flags)", - "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)", - "stname": "ImDrawList", + "args": "(ImVector* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "rect_min" - }, - { - "type": "const ImVec2", - "name": "rect_max" - }, - { - "type": "float", - "name": "rounding" - }, - { - "type": "int", - "name": "rounding_corners_flags" + "name": "self", + "type": "ImVector*" } ], - "defaults": { - "rounding": "0.0f", - "rounding_corners_flags": "ImDrawCornerFlags_All" - }, - "signature": "(const ImVec2,const ImVec2,float,int)", - "cimguiname": "ImDrawList_PathRect" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_begin", + "defaults": [], + "funcname": "begin", + "ov_cimguiname": "ImVector_begin_const", + "ret": "const T*", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "igShowMetricsWindow": [ + "ImVector_capacity": [ { - "funcname": "ShowMetricsWindow", - "args": "(bool* p_open)", - "ret": "void", - "comment": "", - "call_args": "(p_open)", - "argsoriginal": "(bool* p_open=((void*)0))", - "stname": "ImGui", + "args": "(ImVector* self)", "argsT": [ { - "type": "bool*", - "name": "p_open" + "name": "self", + "type": "ImVector*" } ], - "defaults": { "p_open": "((void*)0)" }, - "signature": "(bool*)", - "cimguiname": "igShowMetricsWindow" - } - ], - "igGetScrollMaxY": [ - { - "funcname": "GetScrollMaxY", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImVector_capacity", "defaults": [], - "signature": "()", - "cimguiname": "igGetScrollMaxY" + "funcname": "capacity", + "ov_cimguiname": "ImVector_capacity", + "ret": "int", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "igBeginTooltip": [ + "ImVector_clear": [ { - "funcname": "BeginTooltip", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImVector_clear", "defaults": [], + "funcname": "clear", + "ov_cimguiname": "ImVector_clear", + "ret": "void", "signature": "()", - "cimguiname": "igBeginTooltip" + "stname": "ImVector", + "templated": true } ], - "ImDrawList_PathArcToFast": [ + "ImVector_contains": [ { - "funcname": "PathArcToFast", - "args": "(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)", - "ret": "void", - "comment": "", - "call_args": "(centre,radius,a_min_of_12,a_max_of_12)", - "argsoriginal": "(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)", - "stname": "ImDrawList", + "args": "(ImVector* self,const T v)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImVector*" }, { - "type": "const ImVec2", - "name": "centre" - }, - { - "type": "float", - "name": "radius" - }, - { - "type": "int", - "name": "a_min_of_12" - }, - { - "type": "int", - "name": "a_max_of_12" + "name": "v", + "type": "const T" } ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_contains", "defaults": [], - "signature": "(const ImVec2,float,int,int)", - "cimguiname": "ImDrawList_PathArcToFast" + "funcname": "contains", + "ov_cimguiname": "ImVector_contains", + "ret": "bool", + "signature": "(const T)const", + "stname": "ImVector", + "templated": true } ], - "igGetDrawData": [ + "ImVector_destroy": [ { - "funcname": "GetDrawData", - "args": "()", - "ret": "ImDrawData*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "call_args": "(self)", + "cimguiname": "ImVector_destroy", "defaults": [], - "signature": "()", - "cimguiname": "igGetDrawData" + "destructor": true, + "ov_cimguiname": "ImVector_destroy", + "ret": "void", + "signature": "(ImVector*)", + "stname": "ImVector", + "templated": true } ], - "igGetTextLineHeight": [ + "ImVector_empty": [ { - "funcname": "GetTextLineHeight", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImVector_empty", "defaults": [], - "signature": "()", - "cimguiname": "igGetTextLineHeight" + "funcname": "empty", + "ov_cimguiname": "ImVector_empty", + "ret": "bool", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "igSeparator": [ + "ImVector_end": [ { - "funcname": "Separator", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImVector_end", "defaults": [], + "funcname": "end", + "ov_cimguiname": "ImVector_end", + "ret": "T*", "signature": "()", - "cimguiname": "igSeparator" + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_end", + "defaults": [], + "funcname": "end", + "ov_cimguiname": "ImVector_end_const", + "ret": "const T*", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "igBeginChild": [ + "ImVector_erase": [ { - "funcname": "BeginChild", - "args": "(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,size,border,flags)", - "argsoriginal": "(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)", - "stname": "ImGui", + "args": "(ImVector* self,const T* it)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "self", + "type": "ImVector*" }, { - "type": "const ImVec2", - "name": "size" - }, - { - "type": "bool", - "name": "border" - }, - { - "type": "ImGuiWindowFlags", - "name": "flags" + "name": "it", + "type": "const T*" } ], - "ov_cimguiname": "igBeginChild", - "defaults": { - "border": "false", - "size": "ImVec2(0,0)", - "flags": "0" - }, - "signature": "(const char*,const ImVec2,bool,ImGuiWindowFlags)", - "cimguiname": "igBeginChild" + "argsoriginal": "(const T* it)", + "call_args": "(it)", + "cimguiname": "ImVector_erase", + "defaults": [], + "funcname": "erase", + "ov_cimguiname": "ImVector_erase", + "ret": "T*", + "signature": "(const T*)", + "stname": "ImVector", + "templated": true }, { - "funcname": "BeginChild", - "args": "(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(id,size,border,flags)", - "argsoriginal": "(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)", - "stname": "ImGui", + "args": "(ImVector* self,const T* it,const T* it_last)", "argsT": [ { - "type": "ImGuiID", - "name": "id" - }, - { - "type": "const ImVec2", - "name": "size" + "name": "self", + "type": "ImVector*" }, { - "type": "bool", - "name": "border" + "name": "it", + "type": "const T*" }, { - "type": "ImGuiWindowFlags", - "name": "flags" + "name": "it_last", + "type": "const T*" } ], - "ov_cimguiname": "igBeginChildID", - "defaults": { - "border": "false", - "size": "ImVec2(0,0)", - "flags": "0" - }, - "signature": "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)", - "cimguiname": "igBeginChild" - } - ], - "igIsWindowAppearing": [ - { - "funcname": "IsWindowAppearing", - "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "argsoriginal": "(const T* it,const T* it_last)", + "call_args": "(it,it_last)", + "cimguiname": "ImVector_erase", "defaults": [], - "signature": "()", - "cimguiname": "igIsWindowAppearing" + "funcname": "erase", + "ov_cimguiname": "ImVector_eraseTPtr", + "ret": "T*", + "signature": "(const T*,const T*)", + "stname": "ImVector", + "templated": true } ], - "igIsMouseClicked": [ + "ImVector_erase_unsorted": [ { - "funcname": "IsMouseClicked", - "args": "(int button,bool repeat)", - "ret": "bool", - "comment": "", - "call_args": "(button,repeat)", - "argsoriginal": "(int button,bool repeat=false)", - "stname": "ImGui", + "args": "(ImVector* self,const T* it)", "argsT": [ { - "type": "int", - "name": "button" + "name": "self", + "type": "ImVector*" }, { - "type": "bool", - "name": "repeat" + "name": "it", + "type": "const T*" } ], - "defaults": { "repeat": "false" }, - "signature": "(int,bool)", - "cimguiname": "igIsMouseClicked" - } - ], - "igCalcItemWidth": [ - { - "funcname": "CalcItemWidth", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "argsoriginal": "(const T* it)", + "call_args": "(it)", + "cimguiname": "ImVector_erase_unsorted", "defaults": [], - "signature": "()", - "cimguiname": "igCalcItemWidth" + "funcname": "erase_unsorted", + "ov_cimguiname": "ImVector_erase_unsorted", + "ret": "T*", + "signature": "(const T*)", + "stname": "ImVector", + "templated": true } ], - "ImGuiTextBuffer_appendfv": [ + "ImVector_find": [ { - "funcname": "appendfv", - "args": "(ImGuiTextBuffer* self,const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(fmt,args)", - "argsoriginal": "(const char* fmt,va_list args)", - "stname": "ImGuiTextBuffer", + "args": "(ImVector* self,const T v)", "argsT": [ { - "type": "ImGuiTextBuffer*", - "name": "self" + "name": "self", + "type": "ImVector*" }, { - "type": "const char*", - "name": "fmt" + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find", + "defaults": [], + "funcname": "find", + "ov_cimguiname": "ImVector_find", + "ret": "T*", + "signature": "(const T)", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" }, { - "type": "va_list", - "name": "args" + "name": "v", + "type": "const T" } ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find", "defaults": [], - "signature": "(const char*,va_list)", - "cimguiname": "ImGuiTextBuffer_appendfv" + "funcname": "find", + "ov_cimguiname": "ImVector_find_const", + "ret": "const T*", + "signature": "(const T)const", + "stname": "ImVector", + "templated": true } ], - "ImDrawList_PathStroke": [ + "ImVector_find_erase": [ { - "funcname": "PathStroke", - "args": "(ImDrawList* self,ImU32 col,bool closed,float thickness)", - "ret": "void", - "comment": "", - "call_args": "(col,closed,thickness)", - "argsoriginal": "(ImU32 col,bool closed,float thickness=1.0f)", - "stname": "ImDrawList", + "args": "(ImVector* self,const T v)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImVector*" }, { - "type": "ImU32", - "name": "col" - }, + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find_erase", + "defaults": [], + "funcname": "find_erase", + "ov_cimguiname": "ImVector_find_erase", + "ret": "bool", + "signature": "(const T)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_find_erase_unsorted": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ { - "type": "bool", - "name": "closed" + "name": "self", + "type": "ImVector*" }, { - "type": "float", - "name": "thickness" + "name": "v", + "type": "const T" } ], - "defaults": { "thickness": "1.0f" }, - "signature": "(ImU32,bool,float)", - "cimguiname": "ImDrawList_PathStroke" + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find_erase_unsorted", + "defaults": [], + "funcname": "find_erase_unsorted", + "ov_cimguiname": "ImVector_find_erase_unsorted", + "ret": "bool", + "signature": "(const T)", + "stname": "ImVector", + "templated": true } ], - "igEndChildFrame": [ + "ImVector_front": [ { - "funcname": "EndChildFrame", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "call_args": "()", + "cimguiname": "ImVector_front", "defaults": [], + "funcname": "front", + "ov_cimguiname": "ImVector_front", + "ret": "T*", + "retref": "&", "signature": "()", - "cimguiname": "igEndChildFrame" - } - ], - "igIndent": [ + "stname": "ImVector", + "templated": true + }, { - "funcname": "Indent", - "args": "(float indent_w)", - "ret": "void", - "comment": "", - "call_args": "(indent_w)", - "argsoriginal": "(float indent_w=0.0f)", - "stname": "ImGui", + "args": "(ImVector* self)", "argsT": [ { - "type": "float", - "name": "indent_w" + "name": "self", + "type": "ImVector*" } ], - "defaults": { "indent_w": "0.0f" }, - "signature": "(float)", - "cimguiname": "igIndent" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_front", + "defaults": [], + "funcname": "front", + "ov_cimguiname": "ImVector_front_const", + "ret": "const T*", + "retref": "&", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "igSetDragDropPayload": [ + "ImVector_index_from_ptr": [ { - "funcname": "SetDragDropPayload", - "args": "(const char* type,const void* data,size_t size,ImGuiCond cond)", - "ret": "bool", - "comment": "", - "call_args": "(type,data,size,cond)", - "argsoriginal": "(const char* type,const void* data,size_t size,ImGuiCond cond=0)", - "stname": "ImGui", + "args": "(ImVector* self,const T* it)", "argsT": [ { - "type": "const char*", - "name": "type" - }, - { - "type": "const void*", - "name": "data" - }, - { - "type": "size_t", - "name": "size" + "name": "self", + "type": "ImVector*" }, { - "type": "ImGuiCond", - "name": "cond" + "name": "it", + "type": "const T*" } ], - "defaults": { "cond": "0" }, - "signature": "(const char*,const void*,size_t,ImGuiCond)", - "cimguiname": "igSetDragDropPayload" + "argsoriginal": "(const T* it)", + "call_args": "(it)", + "cimguiname": "ImVector_index_from_ptr", + "defaults": [], + "funcname": "index_from_ptr", + "ov_cimguiname": "ImVector_index_from_ptr", + "ret": "int", + "signature": "(const T*)const", + "stname": "ImVector", + "templated": true } ], - "GlyphRangesBuilder_GetBit": [ + "ImVector_insert": [ { - "funcname": "GetBit", - "args": "(GlyphRangesBuilder* self,int n)", - "ret": "bool", - "comment": "", - "call_args": "(n)", - "argsoriginal": "(int n)", - "stname": "GlyphRangesBuilder", + "args": "(ImVector* self,const T* it,const T v)", "argsT": [ { - "type": "GlyphRangesBuilder*", - "name": "self" + "name": "self", + "type": "ImVector*" + }, + { + "name": "it", + "type": "const T*" }, { - "type": "int", - "name": "n" + "name": "v", + "type": "const T" } ], + "argsoriginal": "(const T* it,const T& v)", + "call_args": "(it,v)", + "cimguiname": "ImVector_insert", "defaults": [], - "signature": "(int)", - "cimguiname": "GlyphRangesBuilder_GetBit" + "funcname": "insert", + "ov_cimguiname": "ImVector_insert", + "ret": "T*", + "signature": "(const T*,const T)", + "stname": "ImVector", + "templated": true } ], - "igSetScrollHereY": [ + "ImVector_pop_back": [ { - "funcname": "SetScrollHereY", - "args": "(float center_y_ratio)", - "ret": "void", - "comment": "", - "call_args": "(center_y_ratio)", - "argsoriginal": "(float center_y_ratio=0.5f)", - "stname": "ImGui", + "args": "(ImVector* self)", "argsT": [ { - "type": "float", - "name": "center_y_ratio" + "name": "self", + "type": "ImVector*" } ], - "defaults": { "center_y_ratio": "0.5f" }, - "signature": "(float)", - "cimguiname": "igSetScrollHereY" + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_pop_back", + "defaults": [], + "funcname": "pop_back", + "ov_cimguiname": "ImVector_pop_back", + "ret": "void", + "signature": "()", + "stname": "ImVector", + "templated": true } ], - "igShowDemoWindow": [ + "ImVector_push_back": [ { - "funcname": "ShowDemoWindow", - "args": "(bool* p_open)", - "ret": "void", - "comment": "", - "call_args": "(p_open)", - "argsoriginal": "(bool* p_open=((void*)0))", - "stname": "ImGui", + "args": "(ImVector* self,const T v)", "argsT": [ { - "type": "bool*", - "name": "p_open" + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" } ], - "defaults": { "p_open": "((void*)0)" }, - "signature": "(bool*)", - "cimguiname": "igShowDemoWindow" + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_push_back", + "defaults": [], + "funcname": "push_back", + "ov_cimguiname": "ImVector_push_back", + "ret": "void", + "signature": "(const T)", + "stname": "ImVector", + "templated": true } ], - "ImDrawList_PathLineToMergeDuplicate": [ + "ImVector_push_front": [ { - "funcname": "PathLineToMergeDuplicate", - "args": "(ImDrawList* self,const ImVec2 pos)", - "ret": "void", - "comment": "", - "call_args": "(pos)", - "argsoriginal": "(const ImVec2& pos)", - "stname": "ImDrawList", + "args": "(ImVector* self,const T v)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "self", + "type": "ImVector*" }, { - "type": "const ImVec2", - "name": "pos" + "name": "v", + "type": "const T" } ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_push_front", "defaults": [], - "signature": "(const ImVec2)", - "cimguiname": "ImDrawList_PathLineToMergeDuplicate" + "funcname": "push_front", + "ov_cimguiname": "ImVector_push_front", + "ret": "void", + "signature": "(const T)", + "stname": "ImVector", + "templated": true } ], - "igSetScrollX": [ + "ImVector_reserve": [ { - "funcname": "SetScrollX", - "args": "(float scroll_x)", - "ret": "void", - "comment": "", - "call_args": "(scroll_x)", - "argsoriginal": "(float scroll_x)", - "stname": "ImGui", + "args": "(ImVector* self,int new_capacity)", "argsT": [ { - "type": "float", - "name": "scroll_x" + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_capacity", + "type": "int" } ], + "argsoriginal": "(int new_capacity)", + "call_args": "(new_capacity)", + "cimguiname": "ImVector_reserve", "defaults": [], - "signature": "(float)", - "cimguiname": "igSetScrollX" + "funcname": "reserve", + "ov_cimguiname": "ImVector_reserve", + "ret": "void", + "signature": "(int)", + "stname": "ImVector", + "templated": true } ], - "igIsKeyReleased": [ + "ImVector_resize": [ { - "funcname": "IsKeyReleased", - "args": "(int user_key_index)", - "ret": "bool", - "comment": "", - "call_args": "(user_key_index)", - "argsoriginal": "(int user_key_index)", - "stname": "ImGui", + "args": "(ImVector* self,int new_size)", "argsT": [ { - "type": "int", - "name": "user_key_index" + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_size", + "type": "int" } ], + "argsoriginal": "(int new_size)", + "call_args": "(new_size)", + "cimguiname": "ImVector_resize", "defaults": [], + "funcname": "resize", + "ov_cimguiname": "ImVector_resize", + "ret": "void", "signature": "(int)", - "cimguiname": "igIsKeyReleased" - } - ], - "igEndMenu": [ + "stname": "ImVector", + "templated": true + }, { - "funcname": "EndMenu", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEndMenu" - } - ], - "igColorButton": [ - { - "funcname": "ColorButton", - "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)", - "ret": "bool", - "comment": "", - "call_args": "(desc_id,col,flags,size)", - "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))", - "stname": "ImGui", + "args": "(ImVector* self,int new_size,const T v)", "argsT": [ { - "type": "const char*", - "name": "desc_id" - }, - { - "type": "const ImVec4", - "name": "col" + "name": "self", + "type": "ImVector*" }, { - "type": "ImGuiColorEditFlags", - "name": "flags" + "name": "new_size", + "type": "int" }, { - "type": "ImVec2", - "name": "size" + "name": "v", + "type": "const T" } ], - "defaults": { - "size": "ImVec2(0,0)", - "flags": "0" - }, - "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)", - "cimguiname": "igColorButton" - } - ], - "ImFontAtlas_GetTexDataAsAlpha8": [ - { - "funcname": "GetTexDataAsAlpha8", - "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", + "argsoriginal": "(int new_size,const T& v)", + "call_args": "(new_size,v)", + "cimguiname": "ImVector_resize", + "defaults": [], + "funcname": "resize", + "ov_cimguiname": "ImVector_resizeT", "ret": "void", - "comment": "", - "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", - "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", - "stname": "ImFontAtlas", - "argsT": [ - { - "type": "ImFontAtlas*", - "name": "self" - }, - { - "type": "unsigned char**", - "name": "out_pixels" - }, - { - "type": "int*", - "name": "out_width" - }, - { - "type": "int*", - "name": "out_height" - }, - { - "type": "int*", - "name": "out_bytes_per_pixel" - } - ], - "defaults": { "out_bytes_per_pixel": "((void*)0)" }, - "signature": "(unsigned char**,int*,int*,int*)", - "cimguiname": "ImFontAtlas_GetTexDataAsAlpha8" + "signature": "(int,const T)", + "stname": "ImVector", + "templated": true } ], - "ImDrawList_AddConvexPolyFilled": [ + "ImVector_size": [ { - "funcname": "AddConvexPolyFilled", - "args": "(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(points,num_points,col)", - "argsoriginal": "(const ImVec2* points,const int num_points,ImU32 col)", - "stname": "ImDrawList", + "args": "(ImVector* self)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2*", - "name": "points" - }, - { - "type": "const int", - "name": "num_points" - }, - { - "type": "ImU32", - "name": "col" + "name": "self", + "type": "ImVector*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_size", "defaults": [], - "signature": "(const ImVec2*,const int,ImU32)", - "cimguiname": "ImDrawList_AddConvexPolyFilled" + "funcname": "size", + "ov_cimguiname": "ImVector_size", + "ret": "int", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "igSetClipboardText": [ + "ImVector_size_in_bytes": [ { - "funcname": "SetClipboardText", - "args": "(const char* text)", - "ret": "void", - "comment": "", - "call_args": "(text)", - "argsoriginal": "(const char* text)", - "stname": "ImGui", + "args": "(ImVector* self)", "argsT": [ { - "type": "const char*", - "name": "text" + "name": "self", + "type": "ImVector*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_size_in_bytes", "defaults": [], - "signature": "(const char*)", - "cimguiname": "igSetClipboardText" + "funcname": "size_in_bytes", + "ov_cimguiname": "ImVector_size_in_bytes", + "ret": "int", + "signature": "()const", + "stname": "ImVector", + "templated": true } ], - "ImDrawList_PathArcTo": [ + "ImVector_swap": [ { - "funcname": "PathArcTo", - "args": "(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)", - "ret": "void", - "comment": "", - "call_args": "(centre,radius,a_min,a_max,num_segments)", - "argsoriginal": "(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)", - "stname": "ImDrawList", + "args": "(ImVector* self,ImVector rhs)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "centre" - }, - { - "type": "float", - "name": "radius" - }, - { - "type": "float", - "name": "a_min" - }, - { - "type": "float", - "name": "a_max" + "name": "self", + "type": "ImVector*" }, { - "type": "int", - "name": "num_segments" + "name": "rhs", + "type": "ImVector&" } ], - "defaults": { "num_segments": "10" }, - "signature": "(const ImVec2,float,float,float,int)", - "cimguiname": "ImDrawList_PathArcTo" + "argsoriginal": "(ImVector& rhs)", + "call_args": "(rhs)", + "cimguiname": "ImVector_swap", + "defaults": [], + "funcname": "swap", + "ov_cimguiname": "ImVector_swap", + "ret": "void", + "signature": "(ImVector)", + "stname": "ImVector", + "templated": true } ], - "ImDrawList_AddImageQuad": [ + "igAcceptDragDropPayload": [ { - "funcname": "AddImageQuad", - "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)", - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)", - "stname": "ImDrawList", + "args": "(const char* type,ImGuiDragDropFlags flags)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "ImTextureID", - "name": "user_texture_id" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, - { - "type": "const ImVec2", - "name": "c" - }, - { - "type": "const ImVec2", - "name": "d" - }, - { - "type": "const ImVec2", - "name": "uv_a" - }, - { - "type": "const ImVec2", - "name": "uv_b" - }, - { - "type": "const ImVec2", - "name": "uv_c" - }, - { - "type": "const ImVec2", - "name": "uv_d" + "name": "type", + "type": "const char*" }, { - "type": "ImU32", - "name": "col" + "name": "flags", + "type": "ImGuiDragDropFlags" } ], + "argsoriginal": "(const char* type,ImGuiDragDropFlags flags=0)", + "call_args": "(type,flags)", + "cimguiname": "igAcceptDragDropPayload", "defaults": { - "uv_c": "ImVec2(1,1)", - "uv_a": "ImVec2(0,0)", - "col": "0xFFFFFFFF", - "uv_b": "ImVec2(1,0)", - "uv_d": "ImVec2(0,1)" + "flags": "0" }, - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_AddImageQuad" + "funcname": "AcceptDragDropPayload", + "namespace": "ImGui", + "ov_cimguiname": "igAcceptDragDropPayload", + "ret": "const ImGuiPayload*", + "signature": "(const char*,ImGuiDragDropFlags)", + "stname": "" } ], - "igIsWindowCollapsed": [ + "igAlignTextToFramePadding": [ { - "funcname": "IsWindowCollapsed", "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igAlignTextToFramePadding", "defaults": [], + "funcname": "AlignTextToFramePadding", + "namespace": "ImGui", + "ov_cimguiname": "igAlignTextToFramePadding", + "ret": "void", "signature": "()", - "cimguiname": "igIsWindowCollapsed" + "stname": "" } ], - "ImDrawList_AddImage": [ + "igArrowButton": [ { - "funcname": "AddImage", - "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(user_texture_id,a,b,uv_a,uv_b,col)", - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)", - "stname": "ImDrawList", + "args": "(const char* str_id,ImGuiDir dir)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "ImTextureID", - "name": "user_texture_id" - }, - { - "type": "const ImVec2", - "name": "a" + "name": "str_id", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "b" - }, + "name": "dir", + "type": "ImGuiDir" + } + ], + "argsoriginal": "(const char* str_id,ImGuiDir dir)", + "call_args": "(str_id,dir)", + "cimguiname": "igArrowButton", + "defaults": [], + "funcname": "ArrowButton", + "namespace": "ImGui", + "ov_cimguiname": "igArrowButton", + "ret": "bool", + "signature": "(const char*,ImGuiDir)", + "stname": "" + } + ], + "igBegin": [ + { + "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", + "argsT": [ { - "type": "const ImVec2", - "name": "uv_a" + "name": "name", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "uv_b" + "name": "p_open", + "type": "bool*" }, { - "type": "ImU32", - "name": "col" + "name": "flags", + "type": "ImGuiWindowFlags" } ], + "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", + "call_args": "(name,p_open,flags)", + "cimguiname": "igBegin", "defaults": { - "uv_b": "ImVec2(1,1)", - "uv_a": "ImVec2(0,0)", - "col": "0xFFFFFFFF" + "flags": "0", + "p_open": "((void*)0)" }, - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_AddImage" + "funcname": "Begin", + "namespace": "ImGui", + "ov_cimguiname": "igBegin", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiWindowFlags)", + "stname": "" } ], - "ImDrawList_AddText": [ + "igBeginChild": [ { - "funcname": "AddText", - "args": "(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)", - "ret": "void", - "comment": "", - "call_args": "(pos,col,text_begin,text_end)", - "argsoriginal": "(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0))", - "stname": "ImDrawList", + "args": "(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "pos" + "name": "str_id", + "type": "const char*" }, { - "type": "ImU32", - "name": "col" + "name": "size", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "text_begin" + "name": "border", + "type": "bool" }, { - "type": "const char*", - "name": "text_end" + "name": "flags", + "type": "ImGuiWindowFlags" } ], - "ov_cimguiname": "ImDrawList_AddText", - "defaults": { "text_end": "((void*)0)" }, - "signature": "(const ImVec2,ImU32,const char*,const char*)", - "cimguiname": "ImDrawList_AddText" + "argsoriginal": "(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)", + "call_args": "(str_id,size,border,flags)", + "cimguiname": "igBeginChild", + "defaults": { + "border": "false", + "flags": "0", + "size": "ImVec2(0,0)" + }, + "funcname": "BeginChild", + "namespace": "ImGui", + "ov_cimguiname": "igBeginChild", + "ret": "bool", + "signature": "(const char*,const ImVec2,bool,ImGuiWindowFlags)", + "stname": "" }, { - "funcname": "AddText", - "args": "(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)", - "ret": "void", - "comment": "", - "call_args": "(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)", - "argsoriginal": "(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void*)0))", - "stname": "ImDrawList", + "args": "(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImFont*", - "name": "font" - }, - { - "type": "float", - "name": "font_size" - }, - { - "type": "const ImVec2", - "name": "pos" - }, - { - "type": "ImU32", - "name": "col" - }, - { - "type": "const char*", - "name": "text_begin" + "name": "id", + "type": "ImGuiID" }, { - "type": "const char*", - "name": "text_end" + "name": "size", + "type": "const ImVec2" }, { - "type": "float", - "name": "wrap_width" + "name": "border", + "type": "bool" }, { - "type": "const ImVec4*", - "name": "cpu_fine_clip_rect" + "name": "flags", + "type": "ImGuiWindowFlags" } ], - "ov_cimguiname": "ImDrawList_AddTextFontPtr", + "argsoriginal": "(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)", + "call_args": "(id,size,border,flags)", + "cimguiname": "igBeginChild", "defaults": { - "text_end": "((void*)0)", - "cpu_fine_clip_rect": "((void*)0)", - "wrap_width": "0.0f" + "border": "false", + "flags": "0", + "size": "ImVec2(0,0)" }, - "signature": "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)", - "cimguiname": "ImDrawList_AddText" - } - ], - "igSetNextWindowFocus": [ - { - "funcname": "SetNextWindowFocus", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igSetNextWindowFocus" + "funcname": "BeginChild", + "namespace": "ImGui", + "ov_cimguiname": "igBeginChildID", + "ret": "bool", + "signature": "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)", + "stname": "" } ], - "igSameLine": [ + "igBeginChildFrame": [ { - "funcname": "SameLine", - "args": "(float pos_x,float spacing_w)", - "ret": "void", - "comment": "", - "call_args": "(pos_x,spacing_w)", - "argsoriginal": "(float pos_x=0.0f,float spacing_w=-1.0f)", - "stname": "ImGui", + "args": "(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)", "argsT": [ { - "type": "float", - "name": "pos_x" + "name": "id", + "type": "ImGuiID" }, { - "type": "float", - "name": "spacing_w" + "name": "size", + "type": "const ImVec2" + }, + { + "name": "flags", + "type": "ImGuiWindowFlags" } ], + "argsoriginal": "(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)", + "call_args": "(id,size,flags)", + "cimguiname": "igBeginChildFrame", "defaults": { - "pos_x": "0.0f", - "spacing_w": "-1.0f" + "flags": "0" }, - "signature": "(float,float)", - "cimguiname": "igSameLine" + "funcname": "BeginChildFrame", + "namespace": "ImGui", + "ov_cimguiname": "igBeginChildFrame", + "ret": "bool", + "signature": "(ImGuiID,const ImVec2,ImGuiWindowFlags)", + "stname": "" } ], - "igBegin": [ + "igBeginCombo": [ { - "funcname": "Begin", - "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(name,p_open,flags)", - "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", - "stname": "ImGui", + "args": "(const char* label,const char* preview_value,ImGuiComboFlags flags)", "argsT": [ { - "type": "const char*", - "name": "name" + "name": "label", + "type": "const char*" }, { - "type": "bool*", - "name": "p_open" + "name": "preview_value", + "type": "const char*" }, { - "type": "ImGuiWindowFlags", - "name": "flags" + "name": "flags", + "type": "ImGuiComboFlags" } ], + "argsoriginal": "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)", + "call_args": "(label,preview_value,flags)", + "cimguiname": "igBeginCombo", "defaults": { - "p_open": "((void*)0)", "flags": "0" }, - "signature": "(const char*,bool*,ImGuiWindowFlags)", - "cimguiname": "igBegin" + "funcname": "BeginCombo", + "namespace": "ImGui", + "ov_cimguiname": "igBeginCombo", + "ret": "bool", + "signature": "(const char*,const char*,ImGuiComboFlags)", + "stname": "" } ], - "igColorEdit3": [ + "igBeginDragDropSource": [ { - "funcname": "ColorEdit3", - "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,col,flags)", - "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", - "stname": "ImGui", + "args": "(ImGuiDragDropFlags flags)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "float[3]", - "name": "col" - }, - { - "type": "ImGuiColorEditFlags", - "name": "flags" + "name": "flags", + "type": "ImGuiDragDropFlags" } ], - "defaults": { "flags": "0" }, - "signature": "(const char*,float[3],ImGuiColorEditFlags)", - "cimguiname": "igColorEdit3" - } - ], - "ImDrawList_AddCircleFilled": [ - { - "funcname": "AddCircleFilled", - "args": "(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments)", + "argsoriginal": "(ImGuiDragDropFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igBeginDragDropSource", + "defaults": { + "flags": "0" + }, + "funcname": "BeginDragDropSource", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDragDropSource", + "ret": "bool", + "signature": "(ImGuiDragDropFlags)", + "stname": "" + } + ], + "igBeginDragDropTarget": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginDragDropTarget", + "defaults": [], + "funcname": "BeginDragDropTarget", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDragDropTarget", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginGroup": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginGroup", + "defaults": [], + "funcname": "BeginGroup", + "namespace": "ImGui", + "ov_cimguiname": "igBeginGroup", "ret": "void", - "comment": "", - "call_args": "(centre,radius,col,num_segments)", - "argsoriginal": "(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)", - "stname": "ImDrawList", + "signature": "()", + "stname": "" + } + ], + "igBeginMainMenuBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginMainMenuBar", + "defaults": [], + "funcname": "BeginMainMenuBar", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMainMenuBar", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginMenu": [ + { + "args": "(const char* label,bool enabled)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "centre" + "name": "label", + "type": "const char*" }, { - "type": "float", - "name": "radius" - }, + "name": "enabled", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,bool enabled=true)", + "call_args": "(label,enabled)", + "cimguiname": "igBeginMenu", + "defaults": { + "enabled": "true" + }, + "funcname": "BeginMenu", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMenu", + "ret": "bool", + "signature": "(const char*,bool)", + "stname": "" + } + ], + "igBeginMenuBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginMenuBar", + "defaults": [], + "funcname": "BeginMenuBar", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMenuBar", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginPopup": [ + { + "args": "(const char* str_id,ImGuiWindowFlags flags)", + "argsT": [ { - "type": "ImU32", - "name": "col" + "name": "str_id", + "type": "const char*" }, { - "type": "int", - "name": "num_segments" + "name": "flags", + "type": "ImGuiWindowFlags" } ], - "defaults": { "num_segments": "12" }, - "signature": "(const ImVec2,float,ImU32,int)", - "cimguiname": "ImDrawList_AddCircleFilled" + "argsoriginal": "(const char* str_id,ImGuiWindowFlags flags=0)", + "call_args": "(str_id,flags)", + "cimguiname": "igBeginPopup", + "defaults": { + "flags": "0" + }, + "funcname": "BeginPopup", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopup", + "ret": "bool", + "signature": "(const char*,ImGuiWindowFlags)", + "stname": "" } ], - "ImGuiIO_AddInputCharactersUTF8": [ + "igBeginPopupContextItem": [ { - "funcname": "AddInputCharactersUTF8", - "args": "(ImGuiIO* self,const char* utf8_chars)", - "ret": "void", - "comment": "", - "call_args": "(utf8_chars)", - "argsoriginal": "(const char* utf8_chars)", - "stname": "ImGuiIO", + "args": "(const char* str_id,int mouse_button)", "argsT": [ { - "type": "ImGuiIO*", - "name": "self" + "name": "str_id", + "type": "const char*" }, { - "type": "const char*", - "name": "utf8_chars" + "name": "mouse_button", + "type": "int" } ], - "defaults": [], - "signature": "(const char*)", - "cimguiname": "ImGuiIO_AddInputCharactersUTF8" + "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)", + "call_args": "(str_id,mouse_button)", + "cimguiname": "igBeginPopupContextItem", + "defaults": { + "mouse_button": "1", + "str_id": "((void*)0)" + }, + "funcname": "BeginPopupContextItem", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupContextItem", + "ret": "bool", + "signature": "(const char*,int)", + "stname": "" } ], - "ImDrawList_AddCircle": [ + "igBeginPopupContextVoid": [ { - "funcname": "AddCircle", - "args": "(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)", - "ret": "void", - "comment": "", - "call_args": "(centre,radius,col,num_segments,thickness)", - "argsoriginal": "(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)", - "stname": "ImDrawList", + "args": "(const char* str_id,int mouse_button)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "centre" + "name": "str_id", + "type": "const char*" }, { - "type": "float", - "name": "radius" - }, + "name": "mouse_button", + "type": "int" + } + ], + "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)", + "call_args": "(str_id,mouse_button)", + "cimguiname": "igBeginPopupContextVoid", + "defaults": { + "mouse_button": "1", + "str_id": "((void*)0)" + }, + "funcname": "BeginPopupContextVoid", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupContextVoid", + "ret": "bool", + "signature": "(const char*,int)", + "stname": "" + } + ], + "igBeginPopupContextWindow": [ + { + "args": "(const char* str_id,int mouse_button,bool also_over_items)", + "argsT": [ { - "type": "ImU32", - "name": "col" + "name": "str_id", + "type": "const char*" }, { - "type": "int", - "name": "num_segments" + "name": "mouse_button", + "type": "int" }, { - "type": "float", - "name": "thickness" + "name": "also_over_items", + "type": "bool" } ], + "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1,bool also_over_items=true)", + "call_args": "(str_id,mouse_button,also_over_items)", + "cimguiname": "igBeginPopupContextWindow", "defaults": { - "num_segments": "12", - "thickness": "1.0f" + "also_over_items": "true", + "mouse_button": "1", + "str_id": "((void*)0)" }, - "signature": "(const ImVec2,float,ImU32,int,float)", - "cimguiname": "ImDrawList_AddCircle" + "funcname": "BeginPopupContextWindow", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupContextWindow", + "ret": "bool", + "signature": "(const char*,int,bool)", + "stname": "" } ], - "ImDrawList_AddTriangleFilled": [ + "igBeginPopupModal": [ { - "funcname": "AddTriangleFilled", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(a,b,c,col)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)", - "stname": "ImDrawList", + "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "name", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "a" + "name": "p_open", + "type": "bool*" }, { - "type": "const ImVec2", - "name": "b" - }, - { - "type": "const ImVec2", - "name": "c" - }, - { - "type": "ImU32", - "name": "col" + "name": "flags", + "type": "ImGuiWindowFlags" } ], - "defaults": [], - "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_AddTriangleFilled" + "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", + "call_args": "(name,p_open,flags)", + "cimguiname": "igBeginPopupModal", + "defaults": { + "flags": "0", + "p_open": "((void*)0)" + }, + "funcname": "BeginPopupModal", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupModal", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiWindowFlags)", + "stname": "" } ], - "igDragFloat2": [ + "igBeginTabBar": [ { - "funcname": "DragFloat2", - "args": "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(const char* str_id,ImGuiTabBarFlags flags)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "float[2]", - "name": "v" - }, - { - "type": "float", - "name": "v_speed" + "name": "str_id", + "type": "const char*" }, { - "type": "float", - "name": "v_min" - }, + "name": "flags", + "type": "ImGuiTabBarFlags" + } + ], + "argsoriginal": "(const char* str_id,ImGuiTabBarFlags flags=0)", + "call_args": "(str_id,flags)", + "cimguiname": "igBeginTabBar", + "defaults": { + "flags": "0" + }, + "funcname": "BeginTabBar", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTabBar", + "ret": "bool", + "signature": "(const char*,ImGuiTabBarFlags)", + "stname": "" + } + ], + "igBeginTabItem": [ + { + "args": "(const char* label,bool* p_open,ImGuiTabItemFlags flags)", + "argsT": [ { - "type": "float", - "name": "v_max" + "name": "label", + "type": "const char*" }, { - "type": "const char*", - "name": "format" + "name": "p_open", + "type": "bool*" }, { - "type": "float", - "name": "power" + "name": "flags", + "type": "ImGuiTabItemFlags" } ], + "argsoriginal": "(const char* label,bool* p_open=((void*)0),ImGuiTabItemFlags flags=0)", + "call_args": "(label,p_open,flags)", + "cimguiname": "igBeginTabItem", "defaults": { - "v_speed": "1.0f", - "v_min": "0.0f", - "power": "1.0f", - "v_max": "0.0f", - "format": "\"%.3f\"" + "flags": "0", + "p_open": "((void*)0)" }, - "signature": "(const char*,float[2],float,float,float,const char*,float)", - "cimguiname": "igDragFloat2" + "funcname": "BeginTabItem", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTabItem", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiTabItemFlags)", + "stname": "" } ], - "igPushButtonRepeat": [ + "igBeginTooltip": [ { - "funcname": "PushButtonRepeat", - "args": "(bool repeat)", - "ret": "void", - "comment": "", - "call_args": "(repeat)", - "argsoriginal": "(bool repeat)", - "stname": "ImGui", - "argsT": [ - { - "type": "bool", - "name": "repeat" - } - ], + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginTooltip", "defaults": [], - "signature": "(bool)", - "cimguiname": "igPushButtonRepeat" + "funcname": "BeginTooltip", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTooltip", + "ret": "void", + "signature": "()", + "stname": "" } ], - "igPopItemWidth": [ + "igBullet": [ { - "funcname": "PopItemWidth", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBullet", "defaults": [], + "funcname": "Bullet", + "namespace": "ImGui", + "ov_cimguiname": "igBullet", + "ret": "void", "signature": "()", - "cimguiname": "igPopItemWidth" + "stname": "" } ], - "ImDrawList_AddTriangle": [ + "igBulletText": [ { - "funcname": "AddTriangle", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)", - "ret": "void", - "comment": "", - "call_args": "(a,b,c,col,thickness)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)", - "stname": "ImDrawList", + "args": "(const char* fmt,...)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" + "name": "fmt", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "c" - }, - { - "type": "ImU32", - "name": "col" - }, - { - "type": "float", - "name": "thickness" + "name": "...", + "type": "..." } ], - "defaults": { "thickness": "1.0f" }, - "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)", - "cimguiname": "ImDrawList_AddTriangle" + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igBulletText", + "defaults": [], + "funcname": "BulletText", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igBulletText", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" } ], - "ImDrawList_AddQuadFilled": [ + "igBulletTextV": [ { - "funcname": "AddQuadFilled", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(a,b,c,d,col)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)", - "stname": "ImDrawList", + "args": "(const char* fmt,va_list args)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, - { - "type": "const ImVec2", - "name": "c" - }, - { - "type": "const ImVec2", - "name": "d" + "name": "fmt", + "type": "const char*" }, { - "type": "ImU32", - "name": "col" + "name": "args", + "type": "va_list" } ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igBulletTextV", "defaults": [], - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_AddQuadFilled" + "funcname": "BulletTextV", + "namespace": "ImGui", + "ov_cimguiname": "igBulletTextV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" } ], - "ImDrawList_AddQuad": [ + "igButton": [ { - "funcname": "AddQuad", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)", - "ret": "void", - "comment": "", - "call_args": "(a,b,c,d,col,thickness)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)", - "stname": "ImDrawList", + "args": "(const char* label,const ImVec2 size)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "label", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,size)", + "cimguiname": "igButton", + "defaults": { + "size": "ImVec2(0,0)" + }, + "funcname": "Button", + "namespace": "ImGui", + "ov_cimguiname": "igButton", + "ret": "bool", + "signature": "(const char*,const ImVec2)", + "stname": "" + } + ], + "igCalcItemWidth": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igCalcItemWidth", + "defaults": [], + "funcname": "CalcItemWidth", + "namespace": "ImGui", + "ov_cimguiname": "igCalcItemWidth", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igCalcListClipping": [ + { + "args": "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)", + "argsT": [ { - "type": "const ImVec2", - "name": "c" + "name": "items_count", + "type": "int" }, { - "type": "const ImVec2", - "name": "d" + "name": "items_height", + "type": "float" }, { - "type": "ImU32", - "name": "col" + "name": "out_items_display_start", + "type": "int*" }, { - "type": "float", - "name": "thickness" + "name": "out_items_display_end", + "type": "int*" } ], - "defaults": { "thickness": "1.0f" }, - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)", - "cimguiname": "ImDrawList_AddQuad" + "argsoriginal": "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)", + "call_args": "(items_count,items_height,out_items_display_start,out_items_display_end)", + "cimguiname": "igCalcListClipping", + "defaults": [], + "funcname": "CalcListClipping", + "namespace": "ImGui", + "ov_cimguiname": "igCalcListClipping", + "ret": "void", + "signature": "(int,float,int*,int*)", + "stname": "" } ], - "ImDrawList_AddRectFilledMultiColor": [ + "igCalcTextSize": [ { - "funcname": "AddRectFilledMultiColor", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", - "ret": "void", - "comment": "", - "call_args": "(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", - "stname": "ImDrawList", + "args": "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "a" + "name": "hide_text_after_double_hash", + "type": "bool" }, { - "type": "const ImVec2", - "name": "b" + "name": "wrap_width", + "type": "float" + } + ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", + "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", + "cimguiname": "igCalcTextSize", + "defaults": { + "hide_text_after_double_hash": "false", + "text_end": "((void*)0)", + "wrap_width": "-1.0f" + }, + "funcname": "CalcTextSize", + "namespace": "ImGui", + "ov_cimguiname": "igCalcTextSize", + "ret": "ImVec2", + "signature": "(const char*,const char*,bool,float)", + "stname": "" + }, + { + "args": "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" }, { - "type": "ImU32", - "name": "col_upr_left" + "name": "text", + "type": "const char*" }, { - "type": "ImU32", - "name": "col_upr_right" + "name": "text_end", + "type": "const char*" }, { - "type": "ImU32", - "name": "col_bot_right" + "name": "hide_text_after_double_hash", + "type": "bool" }, { - "type": "ImU32", - "name": "col_bot_left" + "name": "wrap_width", + "type": "float" } ], - "defaults": [], - "signature": "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)", - "cimguiname": "ImDrawList_AddRectFilledMultiColor" - } - ], - "igGetFontSize": [ - { - "funcname": "GetFontSize", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetFontSize" - } - ], - "igInputDouble": [ + "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", + "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", + "cimguiname": "igCalcTextSize", + "defaults": { + "hide_text_after_double_hash": "false", + "text_end": "((void*)0)", + "wrap_width": "-1.0f" + }, + "funcname": "CalcTextSize", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igCalcTextSize_nonUDT", + "ret": "void", + "signature": "(const char*,const char*,bool,float)", + "stname": "" + }, { - "funcname": "InputDouble", - "args": "(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,step,step_fast,format,extra_flags)", - "argsoriginal": "(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "text", + "type": "const char*" }, { - "type": "double*", - "name": "v" + "name": "text_end", + "type": "const char*" }, { - "type": "double", - "name": "step" + "name": "hide_text_after_double_hash", + "type": "bool" }, { - "type": "double", - "name": "step_fast" - }, - { - "type": "const char*", - "name": "format" - }, - { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "wrap_width", + "type": "float" } ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", + "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", + "cimguiname": "igCalcTextSize", "defaults": { - "step": "0.0f", - "format": "\"%.6f\"", - "step_fast": "0.0f", - "extra_flags": "0" + "hide_text_after_double_hash": "false", + "text_end": "((void*)0)", + "wrap_width": "-1.0f" }, - "signature": "(const char*,double*,double,double,const char*,ImGuiInputTextFlags)", - "cimguiname": "igInputDouble" + "funcname": "CalcTextSize", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igCalcTextSize_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "(const char*,const char*,bool,float)", + "stname": "" } ], - "ImDrawList_PrimReserve": [ + "igCaptureKeyboardFromApp": [ { - "funcname": "PrimReserve", - "args": "(ImDrawList* self,int idx_count,int vtx_count)", + "args": "(bool want_capture_keyboard_value)", + "argsT": [ + { + "name": "want_capture_keyboard_value", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_keyboard_value=true)", + "call_args": "(want_capture_keyboard_value)", + "cimguiname": "igCaptureKeyboardFromApp", + "defaults": { + "want_capture_keyboard_value": "true" + }, + "funcname": "CaptureKeyboardFromApp", + "namespace": "ImGui", + "ov_cimguiname": "igCaptureKeyboardFromApp", "ret": "void", - "comment": "", - "call_args": "(idx_count,vtx_count)", - "argsoriginal": "(int idx_count,int vtx_count)", - "stname": "ImDrawList", + "signature": "(bool)", + "stname": "" + } + ], + "igCaptureMouseFromApp": [ + { + "args": "(bool want_capture_mouse_value)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, + "name": "want_capture_mouse_value", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_mouse_value=true)", + "call_args": "(want_capture_mouse_value)", + "cimguiname": "igCaptureMouseFromApp", + "defaults": { + "want_capture_mouse_value": "true" + }, + "funcname": "CaptureMouseFromApp", + "namespace": "ImGui", + "ov_cimguiname": "igCaptureMouseFromApp", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igCheckbox": [ + { + "args": "(const char* label,bool* v)", + "argsT": [ { - "type": "int", - "name": "idx_count" + "name": "label", + "type": "const char*" }, { - "type": "int", - "name": "vtx_count" + "name": "v", + "type": "bool*" } ], + "argsoriginal": "(const char* label,bool* v)", + "call_args": "(label,v)", + "cimguiname": "igCheckbox", "defaults": [], - "signature": "(int,int)", - "cimguiname": "ImDrawList_PrimReserve" + "funcname": "Checkbox", + "namespace": "ImGui", + "ov_cimguiname": "igCheckbox", + "ret": "bool", + "signature": "(const char*,bool*)", + "stname": "" } ], - "ImDrawList_AddLine": [ + "igCheckboxFlags": [ { - "funcname": "AddLine", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)", - "ret": "void", - "comment": "", - "call_args": "(a,b,col,thickness)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)", - "stname": "ImDrawList", + "args": "(const char* label,unsigned int* flags,unsigned int flags_value)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" + "name": "label", + "type": "const char*" }, { - "type": "ImU32", - "name": "col" + "name": "flags", + "type": "unsigned int*" }, { - "type": "float", - "name": "thickness" + "name": "flags_value", + "type": "unsigned int" } ], - "defaults": { "thickness": "1.0f" }, - "signature": "(const ImVec2,const ImVec2,ImU32,float)", - "cimguiname": "ImDrawList_AddLine" + "argsoriginal": "(const char* label,unsigned int* flags,unsigned int flags_value)", + "call_args": "(label,flags,flags_value)", + "cimguiname": "igCheckboxFlags", + "defaults": [], + "funcname": "CheckboxFlags", + "namespace": "ImGui", + "ov_cimguiname": "igCheckboxFlags", + "ret": "bool", + "signature": "(const char*,unsigned int*,unsigned int)", + "stname": "" } ], - "igEndPopup": [ + "igCloseCurrentPopup": [ { - "funcname": "EndPopup", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEndPopup" - } - ], - "ImFontAtlas_ClearInputData": [ - { - "funcname": "ClearInputData", - "args": "(ImFontAtlas* self)", - "ret": "void", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImFontAtlas", - "argsT": [ - { - "type": "ImFontAtlas*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igCloseCurrentPopup", "defaults": [], + "funcname": "CloseCurrentPopup", + "namespace": "ImGui", + "ov_cimguiname": "igCloseCurrentPopup", + "ret": "void", "signature": "()", - "cimguiname": "ImFontAtlas_ClearInputData" + "stname": "" } ], - "ImDrawList_GetClipRectMin": [ + "igCollapsingHeader": [ { - "funcname": "GetClipRectMin", - "args": "(ImDrawList* self)", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "args": "(const char* label,ImGuiTreeNodeFlags flags)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_GetClipRectMin" + "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", + "call_args": "(label,flags)", + "cimguiname": "igCollapsingHeader", + "defaults": { + "flags": "0" + }, + "funcname": "CollapsingHeader", + "namespace": "ImGui", + "ov_cimguiname": "igCollapsingHeader", + "ret": "bool", + "signature": "(const char*,ImGuiTreeNodeFlags)", + "stname": "" }, { - "funcname": "GetClipRectMin", - "args": "(ImVec2 *pOut,ImDrawList* self)", - "ret": "void", - "cimguiname": "ImDrawList_GetClipRectMin", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", - "signature": "()", - "ov_cimguiname": "ImDrawList_GetClipRectMin_nonUDT", - "comment": "", - "defaults": [], + "args": "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "label", + "type": "const char*" }, { - "type": "ImDrawList*", - "name": "self" - } - ] - }, - { - "cimguiname": "ImDrawList_GetClipRectMin", - "funcname": "GetClipRectMin", - "args": "(ImDrawList* self)", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", - "retorig": "ImVec2", - "ov_cimguiname": "ImDrawList_GetClipRectMin_nonUDT2", - "comment": "", - "defaults": [], - "argsT": [ + "name": "p_open", + "type": "bool*" + }, { - "type": "ImDrawList*", - "name": "self" + "name": "flags", + "type": "ImGuiTreeNodeFlags" } - ] + ], + "argsoriginal": "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)", + "call_args": "(label,p_open,flags)", + "cimguiname": "igCollapsingHeader", + "defaults": { + "flags": "0" + }, + "funcname": "CollapsingHeader", + "namespace": "ImGui", + "ov_cimguiname": "igCollapsingHeaderBoolPtr", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiTreeNodeFlags)", + "stname": "" } ], - "igInputTextMultiline": [ + "igColorButton": [ { - "funcname": "InputTextMultiline", - "args": "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", - "ret": "bool", - "comment": "", - "call_args": "(label,buf,buf_size,size,flags,callback,user_data)", - "argsoriginal": "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", - "stname": "ImGui", + "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "desc_id", + "type": "const char*" }, { - "type": "char*", - "name": "buf" + "name": "col", + "type": "const ImVec4" }, { - "type": "size_t", - "name": "buf_size" + "name": "flags", + "type": "ImGuiColorEditFlags" }, { - "type": "const ImVec2", - "name": "size" - }, - { - "type": "ImGuiInputTextFlags", - "name": "flags" - }, - { - "type": "ImGuiInputTextCallback", - "name": "callback" - }, - { - "type": "void*", - "name": "user_data" + "name": "size", + "type": "ImVec2" } ], + "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))", + "call_args": "(desc_id,col,flags,size)", + "cimguiname": "igColorButton", "defaults": { - "callback": "((void*)0)", - "user_data": "((void*)0)", - "size": "ImVec2(0,0)", - "flags": "0" + "flags": "0", + "size": "ImVec2(0,0)" }, - "signature": "(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", - "cimguiname": "igInputTextMultiline" + "funcname": "ColorButton", + "namespace": "ImGui", + "ov_cimguiname": "igColorButton", + "ret": "bool", + "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)", + "stname": "" } ], - "igSelectable": [ + "igColorConvertFloat4ToU32": [ { - "funcname": "Selectable", - "args": "(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)", - "ret": "bool", - "comment": "", - "call_args": "(label,selected,flags,size)", - "argsoriginal": "(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", - "stname": "ImGui", + "args": "(const ImVec4 in)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "bool", - "name": "selected" - }, - { - "type": "ImGuiSelectableFlags", - "name": "flags" - }, - { - "type": "const ImVec2", - "name": "size" + "name": "in", + "type": "const ImVec4" } ], - "ov_cimguiname": "igSelectable", - "defaults": { - "selected": "false", - "size": "ImVec2(0,0)", - "flags": "0" - }, - "signature": "(const char*,bool,ImGuiSelectableFlags,const ImVec2)", - "cimguiname": "igSelectable" - }, + "argsoriginal": "(const ImVec4& in)", + "call_args": "(in)", + "cimguiname": "igColorConvertFloat4ToU32", + "defaults": [], + "funcname": "ColorConvertFloat4ToU32", + "namespace": "ImGui", + "ov_cimguiname": "igColorConvertFloat4ToU32", + "ret": "ImU32", + "signature": "(const ImVec4)", + "stname": "" + } + ], + "igColorConvertHSVtoRGB": [ { - "funcname": "Selectable", - "args": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)", - "ret": "bool", - "comment": "", - "call_args": "(label,p_selected,flags,size)", - "argsoriginal": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", - "stname": "ImGui", + "args": "(float h,float s,float v,float out_r,float out_g,float out_b)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" }, { - "type": "bool*", - "name": "p_selected" + "name": "out_r", + "type": "float&" }, { - "type": "ImGuiSelectableFlags", - "name": "flags" + "name": "out_g", + "type": "float&" }, { - "type": "const ImVec2", - "name": "size" + "name": "out_b", + "type": "float&" } ], - "ov_cimguiname": "igSelectableBoolPtr", - "defaults": { - "size": "ImVec2(0,0)", - "flags": "0" - }, - "signature": "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)", - "cimguiname": "igSelectable" + "argsoriginal": "(float h,float s,float v,float& out_r,float& out_g,float& out_b)", + "call_args": "(h,s,v,out_r,out_g,out_b)", + "cimguiname": "igColorConvertHSVtoRGB", + "defaults": [], + "funcname": "ColorConvertHSVtoRGB", + "manual": true, + "namespace": "ImGui", + "ov_cimguiname": "igColorConvertHSVtoRGB", + "ret": "void", + "signature": "(float,float,float,float,float,float)", + "stname": "" } ], - "igListBox": [ + "igColorConvertRGBtoHSV": [ { - "funcname": "ListBox", - "args": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)", - "ret": "bool", - "comment": "", - "call_args": "(label,current_item,items,items_count,height_in_items)", - "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)", - "stname": "ImGui", + "args": "(float r,float g,float b,float out_h,float out_s,float out_v)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "r", + "type": "float" + }, + { + "name": "g", + "type": "float" }, { - "type": "int*", - "name": "current_item" + "name": "b", + "type": "float" }, { - "type": "const char* const[]", - "name": "items" + "name": "out_h", + "type": "float&" }, { - "type": "int", - "name": "items_count" + "name": "out_s", + "type": "float&" }, { - "type": "int", - "name": "height_in_items" + "name": "out_v", + "type": "float&" } ], - "ov_cimguiname": "igListBoxStr_arr", - "defaults": { "height_in_items": "-1" }, - "signature": "(const char*,int*,const char* const[],int,int)", - "cimguiname": "igListBox" + "argsoriginal": "(float r,float g,float b,float& out_h,float& out_s,float& out_v)", + "call_args": "(r,g,b,out_h,out_s,out_v)", + "cimguiname": "igColorConvertRGBtoHSV", + "defaults": [], + "funcname": "ColorConvertRGBtoHSV", + "manual": true, + "namespace": "ImGui", + "ov_cimguiname": "igColorConvertRGBtoHSV", + "ret": "void", + "signature": "(float,float,float,float,float,float)", + "stname": "" + } + ], + "igColorConvertU32ToFloat4": [ + { + "args": "(ImU32 in)", + "argsT": [ + { + "name": "in", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 in)", + "call_args": "(in)", + "cimguiname": "igColorConvertU32ToFloat4", + "defaults": [], + "funcname": "ColorConvertU32ToFloat4", + "namespace": "ImGui", + "ov_cimguiname": "igColorConvertU32ToFloat4", + "ret": "ImVec4", + "signature": "(ImU32)", + "stname": "" }, { - "funcname": "ListBox", - "args": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)", - "ret": "bool", - "comment": "", - "call_args": "(label,current_item,items_getter,data,items_count,height_in_items)", - "argsoriginal": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)", - "stname": "ImGui", + "args": "(ImVec4 *pOut,ImU32 in)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "pOut", + "type": "ImVec4*" }, { - "type": "int*", - "name": "current_item" - }, + "name": "in", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 in)", + "call_args": "(in)", + "cimguiname": "igColorConvertU32ToFloat4", + "defaults": [], + "funcname": "ColorConvertU32ToFloat4", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igColorConvertU32ToFloat4_nonUDT", + "ret": "void", + "signature": "(ImU32)", + "stname": "" + }, + { + "args": "(ImU32 in)", + "argsT": [ { - "type": "bool(*)(void* data,int idx,const char** out_text)", - "signature": "(void* data,int idx,const char** out_text)", - "name": "items_getter", - "ret": "bool" - }, + "name": "in", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 in)", + "call_args": "(in)", + "cimguiname": "igColorConvertU32ToFloat4", + "defaults": [], + "funcname": "ColorConvertU32ToFloat4", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igColorConvertU32ToFloat4_nonUDT2", + "ret": "ImVec4_Simple", + "retorig": "ImVec4", + "signature": "(ImU32)", + "stname": "" + } + ], + "igColorEdit3": [ + { + "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", + "argsT": [ { - "type": "void*", - "name": "data" + "name": "label", + "type": "const char*" }, { - "type": "int", - "name": "items_count" + "name": "col", + "type": "float[3]" }, { - "type": "int", - "name": "height_in_items" + "name": "flags", + "type": "ImGuiColorEditFlags" } ], - "ov_cimguiname": "igListBoxFnPtr", - "defaults": { "height_in_items": "-1" }, - "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", - "cimguiname": "igListBox" + "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", + "call_args": "(label,col,flags)", + "cimguiname": "igColorEdit3", + "defaults": { + "flags": "0" + }, + "funcname": "ColorEdit3", + "namespace": "ImGui", + "ov_cimguiname": "igColorEdit3", + "ret": "bool", + "signature": "(const char*,float[3],ImGuiColorEditFlags)", + "stname": "" } ], - "ImDrawList_PopTextureID": [ + "igColorEdit4": [ { - "funcname": "PopTextureID", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "args": "(const char* label,float col[4],ImGuiColorEditFlags flags)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "col", + "type": "float[4]" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_PopTextureID" + "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0)", + "call_args": "(label,col,flags)", + "cimguiname": "igColorEdit4", + "defaults": { + "flags": "0" + }, + "funcname": "ColorEdit4", + "namespace": "ImGui", + "ov_cimguiname": "igColorEdit4", + "ret": "bool", + "signature": "(const char*,float[4],ImGuiColorEditFlags)", + "stname": "" } ], - "igSetWindowFocus": [ - { - "funcname": "SetWindowFocus", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "ov_cimguiname": "igSetWindowFocus", - "defaults": [], - "signature": "()", - "cimguiname": "igSetWindowFocus" - }, + "igColorPicker3": [ { - "funcname": "SetWindowFocus", - "args": "(const char* name)", - "ret": "void", - "comment": "", - "call_args": "(name)", - "argsoriginal": "(const char* name)", - "stname": "ImGui", + "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", "argsT": [ { - "type": "const char*", - "name": "name" + "name": "label", + "type": "const char*" + }, + { + "name": "col", + "type": "float[3]" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" } ], - "ov_cimguiname": "igSetWindowFocusStr", - "defaults": [], - "signature": "(const char*)", - "cimguiname": "igSetWindowFocus" + "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", + "call_args": "(label,col,flags)", + "cimguiname": "igColorPicker3", + "defaults": { + "flags": "0" + }, + "funcname": "ColorPicker3", + "namespace": "ImGui", + "ov_cimguiname": "igColorPicker3", + "ret": "bool", + "signature": "(const char*,float[3],ImGuiColorEditFlags)", + "stname": "" } ], - "igInputFloat4": [ + "igColorPicker4": [ { - "funcname": "InputFloat4", - "args": "(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,format,extra_flags)", - "argsoriginal": "(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" }, { - "type": "float[4]", - "name": "v" + "name": "col", + "type": "float[4]" }, { - "type": "const char*", - "name": "format" + "name": "flags", + "type": "ImGuiColorEditFlags" }, { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "ref_col", + "type": "const float*" } ], + "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void*)0))", + "call_args": "(label,col,flags,ref_col)", + "cimguiname": "igColorPicker4", "defaults": { - "extra_flags": "0", - "format": "\"%.3f\"" + "flags": "0", + "ref_col": "((void*)0)" }, - "signature": "(const char*,float[4],const char*,ImGuiInputTextFlags)", - "cimguiname": "igInputFloat4" + "funcname": "ColorPicker4", + "namespace": "ImGui", + "ov_cimguiname": "igColorPicker4", + "ret": "bool", + "signature": "(const char*,float[4],ImGuiColorEditFlags,const float*)", + "stname": "" } ], - "ImDrawList_ImDrawList": [ + "igColumns": [ { - "funcname": "ImDrawList", - "args": "(const ImDrawListSharedData* shared_data)", + "args": "(int count,const char* id,bool border)", "argsT": [ { - "type": "const ImDrawListSharedData*", - "name": "shared_data" + "name": "count", + "type": "int" + }, + { + "name": "id", + "type": "const char*" + }, + { + "name": "border", + "type": "bool" } ], - "call_args": "(shared_data)", - "argsoriginal": "(const ImDrawListSharedData* shared_data)", - "stname": "ImDrawList", - "constructor": true, - "comment": "", - "defaults": [], - "signature": "(const ImDrawListSharedData*)", - "cimguiname": "ImDrawList_ImDrawList" + "argsoriginal": "(int count=1,const char* id=((void*)0),bool border=true)", + "call_args": "(count,id,border)", + "cimguiname": "igColumns", + "defaults": { + "border": "true", + "count": "1", + "id": "((void*)0)" + }, + "funcname": "Columns", + "namespace": "ImGui", + "ov_cimguiname": "igColumns", + "ret": "void", + "signature": "(int,const char*,bool)", + "stname": "" } ], - "igGetVersion": [ + "igCombo": [ { - "funcname": "GetVersion", - "args": "()", - "ret": "const char*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetVersion" - } - ], - "igEndCombo": [ - { - "funcname": "EndCombo", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEndCombo" - } - ], - "ImDrawCmd_ImDrawCmd": [ - { - "funcname": "ImDrawCmd", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawCmd", - "constructor": true, - "comment": "", - "defaults": [], - "signature": "()", - "cimguiname": "ImDrawCmd_ImDrawCmd" - } - ], - "igPushID": [ - { - "funcname": "PushID", - "args": "(const char* str_id)", - "ret": "void", - "comment": "", - "call_args": "(str_id)", - "argsoriginal": "(const char* str_id)", - "stname": "ImGui", + "args": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)", "argsT": [ { - "type": "const char*", - "name": "str_id" - } - ], - "ov_cimguiname": "igPushIDStr", - "defaults": [], - "signature": "(const char*)", - "cimguiname": "igPushID" - }, - { - "funcname": "PushID", - "args": "(const char* str_id_begin,const char* str_id_end)", - "ret": "void", - "comment": "", - "call_args": "(str_id_begin,str_id_end)", - "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", - "stname": "ImGui", - "argsT": [ + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items", + "type": "const char* const[]" + }, { - "type": "const char*", - "name": "str_id_begin" + "name": "items_count", + "type": "int" }, { - "type": "const char*", - "name": "str_id_end" + "name": "popup_max_height_in_items", + "type": "int" } ], - "ov_cimguiname": "igPushIDRange", - "defaults": [], - "signature": "(const char*,const char*)", - "cimguiname": "igPushID" + "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)", + "call_args": "(label,current_item,items,items_count,popup_max_height_in_items)", + "cimguiname": "igCombo", + "defaults": { + "popup_max_height_in_items": "-1" + }, + "funcname": "Combo", + "namespace": "ImGui", + "ov_cimguiname": "igCombo", + "ret": "bool", + "signature": "(const char*,int*,const char* const[],int,int)", + "stname": "" }, { - "funcname": "PushID", - "args": "(const void* ptr_id)", - "ret": "void", - "comment": "", - "call_args": "(ptr_id)", - "argsoriginal": "(const void* ptr_id)", - "stname": "ImGui", + "args": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)", "argsT": [ { - "type": "const void*", - "name": "ptr_id" + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items_separated_by_zeros", + "type": "const char*" + }, + { + "name": "popup_max_height_in_items", + "type": "int" } ], - "ov_cimguiname": "igPushIDPtr", - "defaults": [], - "signature": "(const void*)", - "cimguiname": "igPushID" + "argsoriginal": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)", + "call_args": "(label,current_item,items_separated_by_zeros,popup_max_height_in_items)", + "cimguiname": "igCombo", + "defaults": { + "popup_max_height_in_items": "-1" + }, + "funcname": "Combo", + "namespace": "ImGui", + "ov_cimguiname": "igComboStr", + "ret": "bool", + "signature": "(const char*,int*,const char*,int)", + "stname": "" }, { - "funcname": "PushID", - "args": "(int int_id)", - "ret": "void", - "comment": "", - "call_args": "(int_id)", - "argsoriginal": "(int int_id)", - "stname": "ImGui", + "args": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)", "argsT": [ { - "type": "int", - "name": "int_id" + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items_getter", + "ret": "bool", + "signature": "(void* data,int idx,const char** out_text)", + "type": "bool(*)(void* data,int idx,const char** out_text)" + }, + { + "name": "data", + "type": "void*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "popup_max_height_in_items", + "type": "int" } ], - "ov_cimguiname": "igPushIDInt", - "defaults": [], - "signature": "(int)", - "cimguiname": "igPushID" + "argsoriginal": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)", + "call_args": "(label,current_item,items_getter,data,items_count,popup_max_height_in_items)", + "cimguiname": "igCombo", + "defaults": { + "popup_max_height_in_items": "-1" + }, + "funcname": "Combo", + "namespace": "ImGui", + "ov_cimguiname": "igComboFnPtr", + "ret": "bool", + "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", + "stname": "" } ], - "ImGuiListClipper_End": [ + "igCreateContext": [ { - "funcname": "End", - "args": "(ImGuiListClipper* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiListClipper", + "args": "(ImFontAtlas* shared_font_atlas)", "argsT": [ { - "type": "ImGuiListClipper*", - "name": "self" + "name": "shared_font_atlas", + "type": "ImFontAtlas*" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImGuiListClipper_End" + "argsoriginal": "(ImFontAtlas* shared_font_atlas=((void*)0))", + "call_args": "(shared_font_atlas)", + "cimguiname": "igCreateContext", + "defaults": { + "shared_font_atlas": "((void*)0)" + }, + "funcname": "CreateContext", + "namespace": "ImGui", + "ov_cimguiname": "igCreateContext", + "ret": "ImGuiContext*", + "signature": "(ImFontAtlas*)", + "stname": "" } ], - "ImGuiListClipper_Begin": [ + "igDebugCheckVersionAndDataLayout": [ { - "funcname": "Begin", - "args": "(ImGuiListClipper* self,int items_count,float items_height)", - "ret": "void", - "comment": "", - "call_args": "(items_count,items_height)", - "argsoriginal": "(int items_count,float items_height=-1.0f)", - "stname": "ImGuiListClipper", + "args": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx)", "argsT": [ { - "type": "ImGuiListClipper*", - "name": "self" + "name": "version_str", + "type": "const char*" + }, + { + "name": "sz_io", + "type": "size_t" }, { - "type": "int", - "name": "items_count" + "name": "sz_style", + "type": "size_t" }, { - "type": "float", - "name": "items_height" + "name": "sz_vec2", + "type": "size_t" + }, + { + "name": "sz_vec4", + "type": "size_t" + }, + { + "name": "sz_drawvert", + "type": "size_t" + }, + { + "name": "sz_drawidx", + "type": "size_t" } ], - "defaults": { "items_height": "-1.0f" }, - "signature": "(int,float)", - "cimguiname": "ImGuiListClipper_Begin" - } - ], - "igGetDragDropPayload": [ - { - "funcname": "GetDragDropPayload", - "args": "()", - "ret": "const ImGuiPayload*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetDragDropPayload" - } - ], - "igAlignTextToFramePadding": [ - { - "funcname": "AlignTextToFramePadding", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "argsoriginal": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx)", + "call_args": "(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert,sz_drawidx)", + "cimguiname": "igDebugCheckVersionAndDataLayout", "defaults": [], - "signature": "()", - "cimguiname": "igAlignTextToFramePadding" + "funcname": "DebugCheckVersionAndDataLayout", + "namespace": "ImGui", + "ov_cimguiname": "igDebugCheckVersionAndDataLayout", + "ret": "bool", + "signature": "(const char*,size_t,size_t,size_t,size_t,size_t,size_t)", + "stname": "" } ], - "igPopStyleColor": [ + "igDestroyContext": [ { - "funcname": "PopStyleColor", - "args": "(int count)", - "ret": "void", - "comment": "", - "call_args": "(count)", - "argsoriginal": "(int count=1)", - "stname": "ImGui", + "args": "(ImGuiContext* ctx)", "argsT": [ { - "type": "int", - "name": "count" + "name": "ctx", + "type": "ImGuiContext*" } ], - "defaults": { "count": "1" }, - "signature": "(int)", - "cimguiname": "igPopStyleColor" + "argsoriginal": "(ImGuiContext* ctx=((void*)0))", + "call_args": "(ctx)", + "cimguiname": "igDestroyContext", + "defaults": { + "ctx": "((void*)0)" + }, + "funcname": "DestroyContext", + "namespace": "ImGui", + "ov_cimguiname": "igDestroyContext", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" } ], - "ImGuiListClipper_Step": [ + "igDestroyPlatformWindows": [ { - "funcname": "Step", - "args": "(ImGuiListClipper* self)", - "ret": "bool", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGuiListClipper", - "argsT": [ - { - "type": "ImGuiListClipper*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igDestroyPlatformWindows", "defaults": [], + "funcname": "DestroyPlatformWindows", + "namespace": "ImGui", + "ov_cimguiname": "igDestroyPlatformWindows", + "ret": "void", "signature": "()", - "cimguiname": "ImGuiListClipper_Step" + "stname": "" } ], - "igText": [ + "igDockSpace": [ { - "isvararg": "...)", - "funcname": "Text", - "args": "(const char* fmt,...)", - "ret": "void", - "comment": "", - "call_args": "(fmt,...)", - "argsoriginal": "(const char* fmt,...)", - "stname": "ImGui", + "args": "(ImGuiID id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "id", + "type": "ImGuiID" }, { - "type": "...", - "name": "..." - } - ], - "defaults": [], - "signature": "(const char*,...)", - "cimguiname": "igText" - } - ], - "igBeginMenu": [ - { - "funcname": "BeginMenu", - "args": "(const char* label,bool enabled)", - "ret": "bool", - "comment": "", - "call_args": "(label,enabled)", - "argsoriginal": "(const char* label,bool enabled=true)", - "stname": "ImGui", - "argsT": [ + "name": "size", + "type": "const ImVec2" + }, { - "type": "const char*", - "name": "label" + "name": "flags", + "type": "ImGuiDockNodeFlags" }, { - "type": "bool", - "name": "enabled" + "name": "window_class", + "type": "const ImGuiWindowClass*" } ], - "defaults": { "enabled": "true" }, - "signature": "(const char*,bool)", - "cimguiname": "igBeginMenu" + "argsoriginal": "(ImGuiID id,const ImVec2& size=ImVec2(0,0),ImGuiDockNodeFlags flags=0,const ImGuiWindowClass* window_class=((void*)0))", + "call_args": "(id,size,flags,window_class)", + "cimguiname": "igDockSpace", + "defaults": { + "flags": "0", + "size": "ImVec2(0,0)", + "window_class": "((void*)0)" + }, + "funcname": "DockSpace", + "namespace": "ImGui", + "ov_cimguiname": "igDockSpace", + "ret": "void", + "signature": "(ImGuiID,const ImVec2,ImGuiDockNodeFlags,const ImGuiWindowClass*)", + "stname": "" } ], - "ImGuiListClipper_ImGuiListClipper": [ + "igDockSpaceOverViewport": [ { - "funcname": "ImGuiListClipper", - "args": "(int items_count,float items_height)", + "args": "(ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)", "argsT": [ { - "type": "int", - "name": "items_count" + "name": "viewport", + "type": "ImGuiViewport*" + }, + { + "name": "flags", + "type": "ImGuiDockNodeFlags" }, { - "type": "float", - "name": "items_height" + "name": "window_class", + "type": "const ImGuiWindowClass*" } ], - "call_args": "(items_count,items_height)", - "argsoriginal": "(int items_count=-1,float items_height=-1.0f)", - "stname": "ImGuiListClipper", - "constructor": true, - "comment": "", + "argsoriginal": "(ImGuiViewport* viewport=((void*)0),ImGuiDockNodeFlags flags=0,const ImGuiWindowClass* window_class=((void*)0))", + "call_args": "(viewport,flags,window_class)", + "cimguiname": "igDockSpaceOverViewport", "defaults": { - "items_height": "-1.0f", - "items_count": "-1" + "flags": "0", + "viewport": "((void*)0)", + "window_class": "((void*)0)" }, - "signature": "(int,float)", - "cimguiname": "ImGuiListClipper_ImGuiListClipper" + "funcname": "DockSpaceOverViewport", + "namespace": "ImGui", + "ov_cimguiname": "igDockSpaceOverViewport", + "ret": "ImGuiID", + "signature": "(ImGuiViewport*,ImGuiDockNodeFlags,const ImGuiWindowClass*)", + "stname": "" } ], - "ImGuiStorage_GetFloatRef": [ + "igDragFloat": [ { - "funcname": "GetFloatRef", - "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", - "ret": "float*", - "comment": "", - "call_args": "(key,default_val)", - "argsoriginal": "(ImGuiID key,float default_val=0.0f)", - "stname": "ImGuiStorage", + "args": "(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" + "name": "label", + "type": "const char*" }, { - "type": "ImGuiID", - "name": "key" + "name": "v", + "type": "float*" }, { - "type": "float", - "name": "default_val" - } - ], - "defaults": { "default_val": "0.0f" }, - "signature": "(ImGuiID,float)", - "cimguiname": "ImGuiStorage_GetFloatRef" - } - ], - "igEndTooltip": [ - { - "funcname": "EndTooltip", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEndTooltip" - } - ], - "igTextV": [ - { - "funcname": "TextV", - "args": "(const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(fmt,args)", - "argsoriginal": "(const char* fmt,va_list args)", - "stname": "ImGui", - "argsT": [ - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "va_list", - "name": "args" - } - ], - "defaults": [], - "signature": "(const char*,va_list)", - "cimguiname": "igTextV" - } - ], - "igDragInt": [ - { - "funcname": "DragInt", - "args": "(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format)", - "argsoriginal": "(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", - "stname": "ImGui", - "argsT": [ - { - "type": "const char*", - "name": "label" - }, - { - "type": "int*", - "name": "v" + "name": "v_speed", + "type": "float" }, { - "type": "float", - "name": "v_speed" + "name": "v_min", + "type": "float" }, { - "type": "int", - "name": "v_min" + "name": "v_max", + "type": "float" }, { - "type": "int", - "name": "v_max" + "name": "format", + "type": "const char*" }, { - "type": "const char*", - "name": "format" + "name": "power", + "type": "float" } ], + "argsoriginal": "(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_speed,v_min,v_max,format,power)", + "cimguiname": "igDragFloat", "defaults": { - "v_speed": "1.0f", - "v_min": "0", - "format": "\"%d\"", - "v_max": "0" + "format": "\"%.3f\"", + "power": "1.0f", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" }, - "signature": "(const char*,int*,float,int,int,const char*)", - "cimguiname": "igDragInt" - } - ], - "igColorConvertFloat4ToU32": [ - { - "funcname": "ColorConvertFloat4ToU32", - "args": "(const ImVec4 in)", - "ret": "ImU32", - "comment": "", - "call_args": "(in)", - "argsoriginal": "(const ImVec4& in)", - "stname": "ImGui", - "argsT": [ - { - "type": "const ImVec4", - "name": "in" - } - ], - "defaults": [], - "signature": "(const ImVec4)", - "cimguiname": "igColorConvertFloat4ToU32" - } - ], - "ImGuiIO_ClearInputCharacters": [ - { - "funcname": "ClearInputCharacters", - "args": "(ImGuiIO* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiIO", - "argsT": [ - { - "type": "ImGuiIO*", - "name": "self" - } - ], - "defaults": [], - "signature": "()", - "cimguiname": "ImGuiIO_ClearInputCharacters" + "funcname": "DragFloat", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat", + "ret": "bool", + "signature": "(const char*,float*,float,float,float,const char*,float)", + "stname": "" } ], - "ImGuiPayload_IsDataType": [ + "igDragFloat2": [ { - "funcname": "IsDataType", - "args": "(ImGuiPayload* self,const char* type)", - "ret": "bool", - "comment": "", - "call_args": "(type)", - "argsoriginal": "(const char* type)", - "stname": "ImGuiPayload", + "args": "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)", "argsT": [ { - "type": "ImGuiPayload*", - "name": "self" + "name": "label", + "type": "const char*" }, { - "type": "const char*", - "name": "type" - } - ], - "defaults": [], - "signature": "(const char*)", - "cimguiname": "ImGuiPayload_IsDataType" - } - ], - "igPushClipRect": [ - { - "funcname": "PushClipRect", - "args": "(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", - "ret": "void", - "comment": "", - "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", - "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)", - "stname": "ImGui", - "argsT": [ + "name": "v", + "type": "float[2]" + }, { - "type": "const ImVec2", - "name": "clip_rect_min" + "name": "v_speed", + "type": "float" }, { - "type": "const ImVec2", - "name": "clip_rect_max" + "name": "v_min", + "type": "float" }, { - "type": "bool", - "name": "intersect_with_current_clip_rect" - } - ], - "defaults": [], - "signature": "(const ImVec2,const ImVec2,bool)", - "cimguiname": "igPushClipRect" - } - ], - "igSetColumnWidth": [ - { - "funcname": "SetColumnWidth", - "args": "(int column_index,float width)", - "ret": "void", - "comment": "", - "call_args": "(column_index,width)", - "argsoriginal": "(int column_index,float width)", - "stname": "ImGui", - "argsT": [ + "name": "v_max", + "type": "float" + }, { - "type": "int", - "name": "column_index" + "name": "format", + "type": "const char*" }, { - "type": "float", - "name": "width" + "name": "power", + "type": "float" } ], - "defaults": [], - "signature": "(int,float)", - "cimguiname": "igSetColumnWidth" - } - ], - "ImGuiPayload_ImGuiPayload": [ - { - "funcname": "ImGuiPayload", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiPayload", - "constructor": true, - "comment": "", - "defaults": [], - "signature": "()", - "cimguiname": "ImGuiPayload_ImGuiPayload" - } - ], - "igBeginMainMenuBar": [ - { - "funcname": "BeginMainMenuBar", - "args": "()", + "argsoriginal": "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_speed,v_min,v_max,format,power)", + "cimguiname": "igDragFloat2", + "defaults": { + "format": "\"%.3f\"", + "power": "1.0f", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloat2", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat2", "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igBeginMainMenuBar" - } - ], - "CustomRect_CustomRect": [ - { - "funcname": "CustomRect", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "CustomRect", - "constructor": true, - "comment": "", - "defaults": [], - "signature": "()", - "cimguiname": "CustomRect_CustomRect" + "signature": "(const char*,float[2],float,float,float,const char*,float)", + "stname": "" } ], - "ImGuiInputTextCallbackData_InsertChars": [ + "igDragFloat3": [ { - "funcname": "InsertChars", - "args": "(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)", - "ret": "void", - "comment": "", - "call_args": "(pos,text,text_end)", - "argsoriginal": "(int pos,const char* text,const char* text_end=((void*)0))", - "stname": "ImGuiInputTextCallbackData", + "args": "(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)", "argsT": [ { - "type": "ImGuiInputTextCallbackData*", - "name": "self" + "name": "label", + "type": "const char*" }, { - "type": "int", - "name": "pos" + "name": "v", + "type": "float[3]" }, { - "type": "const char*", - "name": "text" + "name": "v_speed", + "type": "float" }, { - "type": "const char*", - "name": "text_end" - } - ], - "defaults": { "text_end": "((void*)0)" }, - "signature": "(int,const char*,const char*)", - "cimguiname": "ImGuiInputTextCallbackData_InsertChars" - } - ], - "ImGuiStorage_GetFloat": [ - { - "funcname": "GetFloat", - "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", - "ret": "float", - "comment": "", - "call_args": "(key,default_val)", - "argsoriginal": "(ImGuiID key,float default_val=0.0f)", - "stname": "ImGuiStorage", - "argsT": [ + "name": "v_min", + "type": "float" + }, { - "type": "ImGuiStorage*", - "name": "self" + "name": "v_max", + "type": "float" }, { - "type": "ImGuiID", - "name": "key" + "name": "format", + "type": "const char*" }, { - "type": "float", - "name": "default_val" + "name": "power", + "type": "float" } ], - "defaults": { "default_val": "0.0f" }, - "signature": "(ImGuiID,float)", - "cimguiname": "ImGuiStorage_GetFloat" + "argsoriginal": "(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_speed,v_min,v_max,format,power)", + "cimguiname": "igDragFloat3", + "defaults": { + "format": "\"%.3f\"", + "power": "1.0f", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloat3", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat3", + "ret": "bool", + "signature": "(const char*,float[3],float,float,float,const char*,float)", + "stname": "" } ], - "ImFontAtlas_GetMouseCursorTexData": [ + "igDragFloat4": [ { - "funcname": "GetMouseCursorTexData", - "args": "(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", - "ret": "bool", - "comment": "", - "call_args": "(cursor,out_offset,out_size,out_uv_border,out_uv_fill)", - "argsoriginal": "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", - "stname": "ImFontAtlas", + "args": "(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[4]" }, { - "type": "ImGuiMouseCursor", - "name": "cursor" + "name": "v_speed", + "type": "float" }, { - "type": "ImVec2*", - "name": "out_offset" + "name": "v_min", + "type": "float" }, { - "type": "ImVec2*", - "name": "out_size" + "name": "v_max", + "type": "float" }, { - "type": "ImVec2[2]", - "name": "out_uv_border" + "name": "format", + "type": "const char*" }, { - "type": "ImVec2[2]", - "name": "out_uv_fill" + "name": "power", + "type": "float" } ], - "defaults": [], - "signature": "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])", - "cimguiname": "ImFontAtlas_GetMouseCursorTexData" + "argsoriginal": "(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_speed,v_min,v_max,format,power)", + "cimguiname": "igDragFloat4", + "defaults": { + "format": "\"%.3f\"", + "power": "1.0f", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloat4", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat4", + "ret": "bool", + "signature": "(const char*,float[4],float,float,float,const char*,float)", + "stname": "" } ], - "igVSliderScalar": [ + "igDragFloatRange2": [ { - "funcname": "VSliderScalar", - "args": "(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,size,data_type,v,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void*)0),float power=1.0f)", - "stname": "ImGui", + "args": "(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" + }, + { + "name": "v_current_min", + "type": "float*" }, { - "type": "const ImVec2", - "name": "size" + "name": "v_current_max", + "type": "float*" }, { - "type": "ImGuiDataType", - "name": "data_type" + "name": "v_speed", + "type": "float" }, { - "type": "void*", - "name": "v" + "name": "v_min", + "type": "float" }, { - "type": "const void*", - "name": "v_min" + "name": "v_max", + "type": "float" }, { - "type": "const void*", - "name": "v_max" + "name": "format", + "type": "const char*" }, { - "type": "const char*", - "name": "format" + "name": "format_max", + "type": "const char*" }, { - "type": "float", - "name": "power" + "name": "power", + "type": "float" } ], + "argsoriginal": "(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void*)0),float power=1.0f)", + "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)", + "cimguiname": "igDragFloatRange2", "defaults": { + "format": "\"%.3f\"", + "format_max": "((void*)0)", "power": "1.0f", - "format": "((void*)0)" + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" }, - "signature": "(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)", - "cimguiname": "igVSliderScalar" + "funcname": "DragFloatRange2", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloatRange2", + "ret": "bool", + "signature": "(const char*,float*,float*,float,float,float,const char*,const char*,float)", + "stname": "" } ], - "ImGuiStorage_GetVoidPtrRef": [ + "igDragInt": [ { - "funcname": "GetVoidPtrRef", - "args": "(ImGuiStorage* self,ImGuiID key,void* default_val)", - "ret": "void**", - "comment": "", - "call_args": "(key,default_val)", - "argsoriginal": "(ImGuiID key,void* default_val=((void*)0))", - "stname": "ImGuiStorage", + "args": "(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" }, { - "type": "ImGuiID", - "name": "key" + "name": "v_max", + "type": "int" }, { - "type": "void*", - "name": "default_val" + "name": "format", + "type": "const char*" } ], - "defaults": { "default_val": "((void*)0)" }, - "signature": "(ImGuiID,void*)", - "cimguiname": "ImGuiStorage_GetVoidPtrRef" + "argsoriginal": "(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", + "call_args": "(label,v,v_speed,v_min,v_max,format)", + "cimguiname": "igDragInt", + "defaults": { + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragInt", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt", + "ret": "bool", + "signature": "(const char*,int*,float,int,int,const char*)", + "stname": "" } ], - "ImFontConfig_destroy": [ + "igDragInt2": [ { - "signature": "(ImFontConfig*)", - "args": "(ImFontConfig* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImFontConfig", - "ov_cimguiname": "ImFontConfig_destroy", - "cimguiname": "ImFontConfig_destroy", + "args": "(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)", "argsT": [ { - "type": "ImFontConfig*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[2]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" } ], - "defaults": [] + "argsoriginal": "(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", + "call_args": "(label,v,v_speed,v_min,v_max,format)", + "cimguiname": "igDragInt2", + "defaults": { + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragInt2", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt2", + "ret": "bool", + "signature": "(const char*,int[2],float,int,int,const char*)", + "stname": "" } ], - "igStyleColorsLight": [ + "igDragInt3": [ { - "funcname": "StyleColorsLight", - "args": "(ImGuiStyle* dst)", - "ret": "void", - "comment": "", - "call_args": "(dst)", - "argsoriginal": "(ImGuiStyle* dst=((void*)0))", - "stname": "ImGui", + "args": "(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)", "argsT": [ { - "type": "ImGuiStyle*", - "name": "dst" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[3]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" } ], - "defaults": { "dst": "((void*)0)" }, - "signature": "(ImGuiStyle*)", - "cimguiname": "igStyleColorsLight" + "argsoriginal": "(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", + "call_args": "(label,v,v_speed,v_min,v_max,format)", + "cimguiname": "igDragInt3", + "defaults": { + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragInt3", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt3", + "ret": "bool", + "signature": "(const char*,int[3],float,int,int,const char*)", + "stname": "" } ], - "igSliderFloat3": [ + "igDragInt4": [ { - "funcname": "SliderFloat3", - "args": "(const char* label,float v[3],float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" }, { - "type": "float[3]", - "name": "v" + "name": "v", + "type": "int[4]" }, { - "type": "float", - "name": "v_min" + "name": "v_speed", + "type": "float" }, { - "type": "float", - "name": "v_max" + "name": "v_min", + "type": "int" }, { - "type": "const char*", - "name": "format" + "name": "v_max", + "type": "int" }, { - "type": "float", - "name": "power" + "name": "format", + "type": "const char*" } ], + "argsoriginal": "(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", + "call_args": "(label,v,v_speed,v_min,v_max,format)", + "cimguiname": "igDragInt4", "defaults": { - "power": "1.0f", - "format": "\"%.3f\"" + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" }, - "signature": "(const char*,float[3],float,float,const char*,float)", - "cimguiname": "igSliderFloat3" + "funcname": "DragInt4", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt4", + "ret": "bool", + "signature": "(const char*,int[4],float,int,int,const char*)", + "stname": "" } ], - "igSetAllocatorFunctions": [ + "igDragIntRange2": [ { - "funcname": "SetAllocatorFunctions", - "args": "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)", - "ret": "void", - "comment": "", - "call_args": "(alloc_func,free_func,user_data)", - "argsoriginal": "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void*)0))", - "stname": "ImGui", + "args": "(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)", "argsT": [ { - "type": "void*(*)(size_t sz,void* user_data)", - "signature": "(size_t sz,void* user_data)", - "name": "alloc_func", - "ret": "void*" + "name": "label", + "type": "const char*" }, { - "type": "void(*)(void* ptr,void* user_data)", - "signature": "(void* ptr,void* user_data)", - "name": "free_func", - "ret": "void" + "name": "v_current_min", + "type": "int*" + }, + { + "name": "v_current_max", + "type": "int*" + }, + { + "name": "v_speed", + "type": "float" }, { - "type": "void*", - "name": "user_data" + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "format_max", + "type": "const char*" } ], - "defaults": { "user_data": "((void*)0)" }, - "signature": "(void*(*)(size_t,void*),void(*)(void*,void*),void*)", - "cimguiname": "igSetAllocatorFunctions" + "argsoriginal": "(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void*)0))", + "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)", + "cimguiname": "igDragIntRange2", + "defaults": { + "format": "\"%d\"", + "format_max": "((void*)0)", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragIntRange2", + "namespace": "ImGui", + "ov_cimguiname": "igDragIntRange2", + "ret": "bool", + "signature": "(const char*,int*,int*,float,int,int,const char*,const char*)", + "stname": "" } ], - "igDragFloat": [ + "igDragScalar": [ { - "funcname": "DragFloat", - "args": "(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" }, { - "type": "float*", - "name": "v" + "name": "v", + "type": "void*" }, { - "type": "float", - "name": "v_speed" + "name": "v_speed", + "type": "float" }, { - "type": "float", - "name": "v_min" + "name": "v_min", + "type": "const void*" }, { - "type": "float", - "name": "v_max" + "name": "v_max", + "type": "const void*" }, { - "type": "const char*", - "name": "format" + "name": "format", + "type": "const char*" }, { - "type": "float", - "name": "power" + "name": "power", + "type": "float" } ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void*)0),const void* v_max=((void*)0),const char* format=((void*)0),float power=1.0f)", + "call_args": "(label,data_type,v,v_speed,v_min,v_max,format,power)", + "cimguiname": "igDragScalar", "defaults": { - "v_speed": "1.0f", - "v_min": "0.0f", + "format": "((void*)0)", "power": "1.0f", - "v_max": "0.0f", - "format": "\"%.3f\"" + "v_max": "((void*)0)", + "v_min": "((void*)0)" }, - "signature": "(const char*,float*,float,float,float,const char*,float)", - "cimguiname": "igDragFloat" + "funcname": "DragScalar", + "namespace": "ImGui", + "ov_cimguiname": "igDragScalar", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)", + "stname": "" } ], - "ImGuiStorage_GetIntRef": [ + "igDragScalarN": [ { - "funcname": "GetIntRef", - "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", - "ret": "int*", - "comment": "", - "call_args": "(key,default_val)", - "argsoriginal": "(ImGuiID key,int default_val=0)", - "stname": "ImGuiStorage", + "args": "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "v", + "type": "void*" + }, + { + "name": "components", + "type": "int" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "const void*" + }, + { + "name": "v_max", + "type": "const void*" }, { - "type": "ImGuiID", - "name": "key" + "name": "format", + "type": "const char*" }, { - "type": "int", - "name": "default_val" + "name": "power", + "type": "float" } ], - "defaults": { "default_val": "0" }, - "signature": "(ImGuiID,int)", - "cimguiname": "ImGuiStorage_GetIntRef" + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void*)0),const void* v_max=((void*)0),const char* format=((void*)0),float power=1.0f)", + "call_args": "(label,data_type,v,components,v_speed,v_min,v_max,format,power)", + "cimguiname": "igDragScalarN", + "defaults": { + "format": "((void*)0)", + "power": "1.0f", + "v_max": "((void*)0)", + "v_min": "((void*)0)" + }, + "funcname": "DragScalarN", + "namespace": "ImGui", + "ov_cimguiname": "igDragScalarN", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)", + "stname": "" } ], - "igGetWindowHeight": [ + "igDummy": [ + { + "args": "(const ImVec2 size)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& size)", + "call_args": "(size)", + "cimguiname": "igDummy", + "defaults": [], + "funcname": "Dummy", + "namespace": "ImGui", + "ov_cimguiname": "igDummy", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igEnd": [ { - "funcname": "GetWindowHeight", "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEnd", "defaults": [], + "funcname": "End", + "namespace": "ImGui", + "ov_cimguiname": "igEnd", + "ret": "void", "signature": "()", - "cimguiname": "igGetWindowHeight" + "stname": "" } ], - "igGetMousePosOnOpeningCurrentPopup": [ + "igEndChild": [ { - "funcname": "GetMousePosOnOpeningCurrentPopup", "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndChild", "defaults": [], + "funcname": "EndChild", + "namespace": "ImGui", + "ov_cimguiname": "igEndChild", + "ret": "void", "signature": "()", - "cimguiname": "igGetMousePosOnOpeningCurrentPopup" - }, + "stname": "" + } + ], + "igEndChildFrame": [ { - "funcname": "GetMousePosOnOpeningCurrentPopup", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetMousePosOnOpeningCurrentPopup", - "nonUDT": 1, - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup_nonUDT", - "comment": "", + "call_args": "()", + "cimguiname": "igEndChildFrame", "defaults": [], - "argsT": [ - { - "type": "ImVec2*", - "name": "pOut" - } - ] - }, + "funcname": "EndChildFrame", + "namespace": "ImGui", + "ov_cimguiname": "igEndChildFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndCombo": [ { - "cimguiname": "igGetMousePosOnOpeningCurrentPopup", - "funcname": "GetMousePosOnOpeningCurrentPopup", "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup_nonUDT2", - "comment": "", + "call_args": "()", + "cimguiname": "igEndCombo", "defaults": [], - "argsT": [] + "funcname": "EndCombo", + "namespace": "ImGui", + "ov_cimguiname": "igEndCombo", + "ret": "void", + "signature": "()", + "stname": "" } ], - "ImGuiStorage_SetVoidPtr": [ + "igEndDragDropSource": [ { - "funcname": "SetVoidPtr", - "args": "(ImGuiStorage* self,ImGuiID key,void* val)", - "ret": "void", - "comment": "", - "call_args": "(key,val)", - "argsoriginal": "(ImGuiID key,void* val)", - "stname": "ImGuiStorage", - "argsT": [ - { - "type": "ImGuiStorage*", - "name": "self" - }, - { - "type": "ImGuiID", - "name": "key" - }, - { - "type": "void*", - "name": "val" - } - ], + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndDragDropSource", "defaults": [], - "signature": "(ImGuiID,void*)", - "cimguiname": "ImGuiStorage_SetVoidPtr" + "funcname": "EndDragDropSource", + "namespace": "ImGui", + "ov_cimguiname": "igEndDragDropSource", + "ret": "void", + "signature": "()", + "stname": "" } ], - "igCalcListClipping": [ + "igEndDragDropTarget": [ { - "funcname": "CalcListClipping", - "args": "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)", - "ret": "void", - "comment": "", - "call_args": "(items_count,items_height,out_items_display_start,out_items_display_end)", - "argsoriginal": "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)", - "stname": "ImGui", - "argsT": [ - { - "type": "int", - "name": "items_count" - }, - { - "type": "float", - "name": "items_height" - }, - { - "type": "int*", - "name": "out_items_display_start" - }, - { - "type": "int*", - "name": "out_items_display_end" - } - ], + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndDragDropTarget", "defaults": [], - "signature": "(int,float,int*,int*)", - "cimguiname": "igCalcListClipping" + "funcname": "EndDragDropTarget", + "namespace": "ImGui", + "ov_cimguiname": "igEndDragDropTarget", + "ret": "void", + "signature": "()", + "stname": "" } ], - "ImGuiStorage_SetFloat": [ + "igEndFrame": [ { - "funcname": "SetFloat", - "args": "(ImGuiStorage* self,ImGuiID key,float val)", - "ret": "void", - "comment": "", - "call_args": "(key,val)", - "argsoriginal": "(ImGuiID key,float val)", - "stname": "ImGuiStorage", - "argsT": [ - { - "type": "ImGuiStorage*", - "name": "self" - }, - { - "type": "ImGuiID", - "name": "key" - }, - { - "type": "float", - "name": "val" - } - ], + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndFrame", "defaults": [], - "signature": "(ImGuiID,float)", - "cimguiname": "ImGuiStorage_SetFloat" + "funcname": "EndFrame", + "namespace": "ImGui", + "ov_cimguiname": "igEndFrame", + "ret": "void", + "signature": "()", + "stname": "" } ], - "igEndDragDropSource": [ + "igEndGroup": [ { - "funcname": "EndDragDropSource", "args": "()", - "ret": "void", - "comment": "", + "argsT": [], + "argsoriginal": "()", "call_args": "()", + "cimguiname": "igEndGroup", + "defaults": [], + "funcname": "EndGroup", + "namespace": "ImGui", + "ov_cimguiname": "igEndGroup", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndMainMenuBar": [ + { + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGui", + "call_args": "()", + "cimguiname": "igEndMainMenuBar", + "defaults": [], + "funcname": "EndMainMenuBar", + "namespace": "ImGui", + "ov_cimguiname": "igEndMainMenuBar", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndMenu": [ + { + "args": "()", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndMenu", "defaults": [], + "funcname": "EndMenu", + "namespace": "ImGui", + "ov_cimguiname": "igEndMenu", + "ret": "void", "signature": "()", - "cimguiname": "igEndDragDropSource" + "stname": "" } ], - "ImGuiStorage_BuildSortByKey": [ + "igEndMenuBar": [ { - "funcname": "BuildSortByKey", - "args": "(ImGuiStorage* self)", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndMenuBar", + "defaults": [], + "funcname": "EndMenuBar", + "namespace": "ImGui", + "ov_cimguiname": "igEndMenuBar", "ret": "void", - "comment": "", + "signature": "()", + "stname": "" + } + ], + "igEndPopup": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", "call_args": "()", + "cimguiname": "igEndPopup", + "defaults": [], + "funcname": "EndPopup", + "namespace": "ImGui", + "ov_cimguiname": "igEndPopup", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndTabBar": [ + { + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGuiStorage", - "argsT": [ - { - "type": "ImGuiStorage*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igEndTabBar", "defaults": [], + "funcname": "EndTabBar", + "namespace": "ImGui", + "ov_cimguiname": "igEndTabBar", + "ret": "void", "signature": "()", - "cimguiname": "ImGuiStorage_BuildSortByKey" + "stname": "" } ], - "ImGuiStorage_SetBool": [ + "igEndTabItem": [ { - "funcname": "SetBool", - "args": "(ImGuiStorage* self,ImGuiID key,bool val)", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndTabItem", + "defaults": [], + "funcname": "EndTabItem", + "namespace": "ImGui", + "ov_cimguiname": "igEndTabItem", "ret": "void", - "comment": "", - "call_args": "(key,val)", - "argsoriginal": "(ImGuiID key,bool val)", - "stname": "ImGuiStorage", - "argsT": [ - { - "type": "ImGuiStorage*", - "name": "self" - }, - { - "type": "ImGuiID", - "name": "key" - }, - { - "type": "bool", - "name": "val" - } - ], + "signature": "()", + "stname": "" + } + ], + "igEndTooltip": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndTooltip", "defaults": [], - "signature": "(ImGuiID,bool)", - "cimguiname": "ImGuiStorage_SetBool" + "funcname": "EndTooltip", + "namespace": "ImGui", + "ov_cimguiname": "igEndTooltip", + "ret": "void", + "signature": "()", + "stname": "" } ], - "ImGuiStorage_GetBool": [ + "igFindViewportByID": [ { - "funcname": "GetBool", - "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", - "ret": "bool", - "comment": "", - "call_args": "(key,default_val)", - "argsoriginal": "(ImGuiID key,bool default_val=false)", - "stname": "ImGuiStorage", + "args": "(ImGuiID id)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" - }, - { - "type": "ImGuiID", - "name": "key" - }, - { - "type": "bool", - "name": "default_val" + "name": "id", + "type": "ImGuiID" } ], - "defaults": { "default_val": "false" }, - "signature": "(ImGuiID,bool)", - "cimguiname": "ImGuiStorage_GetBool" + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igFindViewportByID", + "defaults": [], + "funcname": "FindViewportByID", + "namespace": "ImGui", + "ov_cimguiname": "igFindViewportByID", + "ret": "ImGuiViewport*", + "signature": "(ImGuiID)", + "stname": "" } ], - "ImGuiStorage_SetInt": [ + "igFindViewportByPlatformHandle": [ { - "funcname": "SetInt", - "args": "(ImGuiStorage* self,ImGuiID key,int val)", - "ret": "void", - "comment": "", - "call_args": "(key,val)", - "argsoriginal": "(ImGuiID key,int val)", - "stname": "ImGuiStorage", + "args": "(void* platform_handle)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" - }, - { - "type": "ImGuiID", - "name": "key" - }, - { - "type": "int", - "name": "val" + "name": "platform_handle", + "type": "void*" } ], + "argsoriginal": "(void* platform_handle)", + "call_args": "(platform_handle)", + "cimguiname": "igFindViewportByPlatformHandle", "defaults": [], - "signature": "(ImGuiID,int)", - "cimguiname": "ImGuiStorage_SetInt" + "funcname": "FindViewportByPlatformHandle", + "namespace": "ImGui", + "ov_cimguiname": "igFindViewportByPlatformHandle", + "ret": "ImGuiViewport*", + "signature": "(void*)", + "stname": "" } ], - "igLabelTextV": [ + "igGetBackgroundDrawList": [ { - "funcname": "LabelTextV", - "args": "(const char* label,const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(label,fmt,args)", - "argsoriginal": "(const char* label,const char* fmt,va_list args)", - "stname": "ImGui", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetBackgroundDrawList", + "defaults": [], + "funcname": "GetBackgroundDrawList", + "namespace": "ImGui", + "ov_cimguiname": "igGetBackgroundDrawList", + "ret": "ImDrawList*", + "signature": "()", + "stname": "" + }, + { + "args": "(ImGuiViewport* viewport)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "va_list", - "name": "args" + "name": "viewport", + "type": "ImGuiViewport*" } ], + "argsoriginal": "(ImGuiViewport* viewport)", + "call_args": "(viewport)", + "cimguiname": "igGetBackgroundDrawList", "defaults": [], - "signature": "(const char*,const char*,va_list)", - "cimguiname": "igLabelTextV" + "funcname": "GetBackgroundDrawList", + "namespace": "ImGui", + "ov_cimguiname": "igGetBackgroundDrawListViewportPtr", + "ret": "ImDrawList*", + "signature": "(ImGuiViewport*)", + "stname": "" } ], - "igGetFrameHeightWithSpacing": [ + "igGetClipboardText": [ { - "funcname": "GetFrameHeightWithSpacing", "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetClipboardText", "defaults": [], + "funcname": "GetClipboardText", + "namespace": "ImGui", + "ov_cimguiname": "igGetClipboardText", + "ret": "const char*", "signature": "()", - "cimguiname": "igGetFrameHeightWithSpacing" + "stname": "" } ], - "igTreeNodeEx": [ + "igGetColorU32": [ { - "funcname": "TreeNodeEx", - "args": "(const char* label,ImGuiTreeNodeFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,flags)", - "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", - "stname": "ImGui", + "args": "(ImGuiCol idx,float alpha_mul)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "idx", + "type": "ImGuiCol" }, { - "type": "ImGuiTreeNodeFlags", - "name": "flags" + "name": "alpha_mul", + "type": "float" } ], - "ov_cimguiname": "igTreeNodeExStr", - "defaults": { "flags": "0" }, - "signature": "(const char*,ImGuiTreeNodeFlags)", - "cimguiname": "igTreeNodeEx" + "argsoriginal": "(ImGuiCol idx,float alpha_mul=1.0f)", + "call_args": "(idx,alpha_mul)", + "cimguiname": "igGetColorU32", + "defaults": { + "alpha_mul": "1.0f" + }, + "funcname": "GetColorU32", + "namespace": "ImGui", + "ov_cimguiname": "igGetColorU32", + "ret": "ImU32", + "signature": "(ImGuiCol,float)", + "stname": "" }, { - "isvararg": "...)", - "funcname": "TreeNodeEx", - "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,flags,fmt,...)", - "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "stname": "ImGui", + "args": "(const ImVec4 col)", "argsT": [ { - "type": "const char*", - "name": "str_id" - }, - { - "type": "ImGuiTreeNodeFlags", - "name": "flags" - }, - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "...", - "name": "..." + "name": "col", + "type": "const ImVec4" } ], - "ov_cimguiname": "igTreeNodeExStrStr", + "argsoriginal": "(const ImVec4& col)", + "call_args": "(col)", + "cimguiname": "igGetColorU32", "defaults": [], - "signature": "(const char*,ImGuiTreeNodeFlags,const char*,...)", - "cimguiname": "igTreeNodeEx" + "funcname": "GetColorU32", + "namespace": "ImGui", + "ov_cimguiname": "igGetColorU32Vec4", + "ret": "ImU32", + "signature": "(const ImVec4)", + "stname": "" }, { - "isvararg": "...)", - "funcname": "TreeNodeEx", - "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "ret": "bool", - "comment": "", - "call_args": "(ptr_id,flags,fmt,...)", - "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "stname": "ImGui", + "args": "(ImU32 col)", "argsT": [ { - "type": "const void*", - "name": "ptr_id" - }, - { - "type": "ImGuiTreeNodeFlags", - "name": "flags" - }, - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "...", - "name": "..." + "name": "col", + "type": "ImU32" } ], - "ov_cimguiname": "igTreeNodeExPtr", + "argsoriginal": "(ImU32 col)", + "call_args": "(col)", + "cimguiname": "igGetColorU32", "defaults": [], - "signature": "(const void*,ImGuiTreeNodeFlags,const char*,...)", - "cimguiname": "igTreeNodeEx" + "funcname": "GetColorU32", + "namespace": "ImGui", + "ov_cimguiname": "igGetColorU32U32", + "ret": "ImU32", + "signature": "(ImU32)", + "stname": "" } ], - "igCloseCurrentPopup": [ + "igGetColumnIndex": [ { - "funcname": "CloseCurrentPopup", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetColumnIndex", "defaults": [], + "funcname": "GetColumnIndex", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnIndex", + "ret": "int", "signature": "()", - "cimguiname": "igCloseCurrentPopup" + "stname": "" } ], - "ImGuiTextBuffer_clear": [ + "igGetColumnOffset": [ { - "funcname": "clear", - "args": "(ImGuiTextBuffer* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiTextBuffer", + "args": "(int column_index)", "argsT": [ { - "type": "ImGuiTextBuffer*", - "name": "self" + "name": "column_index", + "type": "int" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImGuiTextBuffer_clear" + "argsoriginal": "(int column_index=-1)", + "call_args": "(column_index)", + "cimguiname": "igGetColumnOffset", + "defaults": { + "column_index": "-1" + }, + "funcname": "GetColumnOffset", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnOffset", + "ret": "float", + "signature": "(int)", + "stname": "" } ], - "ImGuiStorage_Clear": [ + "igGetColumnWidth": [ { - "funcname": "Clear", - "args": "(ImGuiStorage* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiStorage", + "args": "(int column_index)", "argsT": [ { - "type": "ImGuiStorage*", - "name": "self" + "name": "column_index", + "type": "int" } ], + "argsoriginal": "(int column_index=-1)", + "call_args": "(column_index)", + "cimguiname": "igGetColumnWidth", + "defaults": { + "column_index": "-1" + }, + "funcname": "GetColumnWidth", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnWidth", + "ret": "float", + "signature": "(int)", + "stname": "" + } + ], + "igGetColumnsCount": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetColumnsCount", "defaults": [], + "funcname": "GetColumnsCount", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnsCount", + "ret": "int", "signature": "()", - "cimguiname": "ImGuiStorage_Clear" + "stname": "" } ], - "Pair_Pair": [ + "igGetContentRegionAvail": [ { - "funcname": "Pair", - "args": "(ImGuiID _key,int _val_i)", - "argsT": [ - { - "type": "ImGuiID", - "name": "_key" - }, - { - "type": "int", - "name": "_val_i" - } - ], - "call_args": "(_key,_val_i)", - "argsoriginal": "(ImGuiID _key,int _val_i)", - "stname": "Pair", - "constructor": true, - "comment": "", - "ov_cimguiname": "Pair_PairInt", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetContentRegionAvail", "defaults": [], - "signature": "(ImGuiID,int)", - "cimguiname": "Pair_Pair" + "funcname": "GetContentRegionAvail", + "namespace": "ImGui", + "ov_cimguiname": "igGetContentRegionAvail", + "ret": "ImVec2", + "signature": "()", + "stname": "" }, { - "funcname": "Pair", - "args": "(ImGuiID _key,float _val_f)", + "args": "(ImVec2 *pOut)", "argsT": [ { - "type": "ImGuiID", - "name": "_key" - }, - { - "type": "float", - "name": "_val_f" + "name": "pOut", + "type": "ImVec2*" } ], - "call_args": "(_key,_val_f)", - "argsoriginal": "(ImGuiID _key,float _val_f)", - "stname": "Pair", - "constructor": true, - "comment": "", - "ov_cimguiname": "Pair_PairFloat", + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetContentRegionAvail", "defaults": [], - "signature": "(ImGuiID,float)", - "cimguiname": "Pair_Pair" + "funcname": "GetContentRegionAvail", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetContentRegionAvail_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" }, { - "funcname": "Pair", - "args": "(ImGuiID _key,void* _val_p)", - "argsT": [ - { - "type": "ImGuiID", - "name": "_key" - }, - { - "type": "void*", - "name": "_val_p" - } - ], - "call_args": "(_key,_val_p)", - "argsoriginal": "(ImGuiID _key,void* _val_p)", - "stname": "Pair", - "constructor": true, - "comment": "", - "ov_cimguiname": "Pair_PairPtr", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetContentRegionAvail", "defaults": [], - "signature": "(ImGuiID,void*)", - "cimguiname": "Pair_Pair" + "funcname": "GetContentRegionAvail", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetContentRegionAvail_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" } ], - "ImGuiTextBuffer_appendf": [ + "igGetContentRegionMax": [ { - "isvararg": "...)", - "funcname": "appendf", - "args": "(ImGuiTextBuffer* self,const char* fmt,...)", - "ret": "void", - "comment": "", - "manual": true, - "call_args": "(fmt,...)", - "argsoriginal": "(const char* fmt,...)", - "stname": "ImGuiTextBuffer", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetContentRegionMax", + "defaults": [], + "funcname": "GetContentRegionMax", + "namespace": "ImGui", + "ov_cimguiname": "igGetContentRegionMax", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", "argsT": [ { - "type": "ImGuiTextBuffer*", - "name": "self" - }, - { - "type": "const char*", - "name": "fmt" - }, - { - "type": "...", - "name": "..." + "name": "pOut", + "type": "ImVec2*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetContentRegionMax", "defaults": [], - "signature": "(const char*,...)", - "cimguiname": "ImGuiTextBuffer_appendf" + "funcname": "GetContentRegionMax", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetContentRegionMax_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetContentRegionMax", + "defaults": [], + "funcname": "GetContentRegionMax", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetContentRegionMax_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" } ], - "ImGuiTextBuffer_c_str": [ + "igGetCurrentContext": [ { - "funcname": "c_str", - "args": "(ImGuiTextBuffer* self)", - "ret": "const char*", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGuiTextBuffer", - "argsT": [ - { - "type": "ImGuiTextBuffer*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igGetCurrentContext", "defaults": [], + "funcname": "GetCurrentContext", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentContext", + "ret": "ImGuiContext*", "signature": "()", - "cimguiname": "ImGuiTextBuffer_c_str" + "stname": "" } ], - "ImGuiTextBuffer_reserve": [ + "igGetCursorPos": [ { - "funcname": "reserve", - "args": "(ImGuiTextBuffer* self,int capacity)", - "ret": "void", - "comment": "", - "call_args": "(capacity)", - "argsoriginal": "(int capacity)", - "stname": "ImGuiTextBuffer", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorPos", + "defaults": [], + "funcname": "GetCursorPos", + "namespace": "ImGui", + "ov_cimguiname": "igGetCursorPos", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", "argsT": [ { - "type": "ImGuiTextBuffer*", - "name": "self" - }, - { - "type": "int", - "name": "capacity" + "name": "pOut", + "type": "ImVec2*" } ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorPos", "defaults": [], - "signature": "(int)", - "cimguiname": "ImGuiTextBuffer_reserve" + "funcname": "GetCursorPos", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetCursorPos_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorPos", + "defaults": [], + "funcname": "GetCursorPos", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetCursorPos_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" } ], - "ImGuiTextBuffer_empty": [ + "igGetCursorPosX": [ { - "funcname": "empty", - "args": "(ImGuiTextBuffer* self)", - "ret": "bool", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGuiTextBuffer", - "argsT": [ - { - "type": "ImGuiTextBuffer*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igGetCursorPosX", "defaults": [], + "funcname": "GetCursorPosX", + "namespace": "ImGui", + "ov_cimguiname": "igGetCursorPosX", + "ret": "float", "signature": "()", - "cimguiname": "ImGuiTextBuffer_empty" + "stname": "" } ], - "ImVec4_destroy": [ + "igGetCursorPosY": [ { - "signature": "(ImVec4*)", - "args": "(ImVec4* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImVec4", - "ov_cimguiname": "ImVec4_destroy", - "cimguiname": "ImVec4_destroy", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorPosY", + "defaults": [], + "funcname": "GetCursorPosY", + "namespace": "ImGui", + "ov_cimguiname": "igGetCursorPosY", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetCursorScreenPos": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorScreenPos", + "defaults": [], + "funcname": "GetCursorScreenPos", + "namespace": "ImGui", + "ov_cimguiname": "igGetCursorScreenPos", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorScreenPos", + "defaults": [], + "funcname": "GetCursorScreenPos", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetCursorScreenPos_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorScreenPos", + "defaults": [], + "funcname": "GetCursorScreenPos", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetCursorScreenPos_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetCursorStartPos": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorStartPos", + "defaults": [], + "funcname": "GetCursorStartPos", + "namespace": "ImGui", + "ov_cimguiname": "igGetCursorStartPos", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorStartPos", + "defaults": [], + "funcname": "GetCursorStartPos", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetCursorStartPos_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorStartPos", + "defaults": [], + "funcname": "GetCursorStartPos", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetCursorStartPos_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetDragDropPayload": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetDragDropPayload", + "defaults": [], + "funcname": "GetDragDropPayload", + "namespace": "ImGui", + "ov_cimguiname": "igGetDragDropPayload", + "ret": "const ImGuiPayload*", + "signature": "()", + "stname": "" + } + ], + "igGetDrawData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetDrawData", + "defaults": [], + "funcname": "GetDrawData", + "namespace": "ImGui", + "ov_cimguiname": "igGetDrawData", + "ret": "ImDrawData*", + "signature": "()", + "stname": "" + } + ], + "igGetDrawListSharedData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetDrawListSharedData", + "defaults": [], + "funcname": "GetDrawListSharedData", + "namespace": "ImGui", + "ov_cimguiname": "igGetDrawListSharedData", + "ret": "ImDrawListSharedData*", + "signature": "()", + "stname": "" + } + ], + "igGetFont": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFont", + "defaults": [], + "funcname": "GetFont", + "namespace": "ImGui", + "ov_cimguiname": "igGetFont", + "ret": "ImFont*", + "signature": "()", + "stname": "" + } + ], + "igGetFontSize": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFontSize", + "defaults": [], + "funcname": "GetFontSize", + "namespace": "ImGui", + "ov_cimguiname": "igGetFontSize", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetFontTexUvWhitePixel": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFontTexUvWhitePixel", + "defaults": [], + "funcname": "GetFontTexUvWhitePixel", + "namespace": "ImGui", + "ov_cimguiname": "igGetFontTexUvWhitePixel", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFontTexUvWhitePixel", + "defaults": [], + "funcname": "GetFontTexUvWhitePixel", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetFontTexUvWhitePixel_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFontTexUvWhitePixel", + "defaults": [], + "funcname": "GetFontTexUvWhitePixel", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetFontTexUvWhitePixel_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetForegroundDrawList": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetForegroundDrawList", + "defaults": [], + "funcname": "GetForegroundDrawList", + "namespace": "ImGui", + "ov_cimguiname": "igGetForegroundDrawList", + "ret": "ImDrawList*", + "signature": "()", + "stname": "" + }, + { + "args": "(ImGuiViewport* viewport)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewport*" + } + ], + "argsoriginal": "(ImGuiViewport* viewport)", + "call_args": "(viewport)", + "cimguiname": "igGetForegroundDrawList", + "defaults": [], + "funcname": "GetForegroundDrawList", + "namespace": "ImGui", + "ov_cimguiname": "igGetForegroundDrawListViewportPtr", + "ret": "ImDrawList*", + "signature": "(ImGuiViewport*)", + "stname": "" + } + ], + "igGetFrameCount": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFrameCount", + "defaults": [], + "funcname": "GetFrameCount", + "namespace": "ImGui", + "ov_cimguiname": "igGetFrameCount", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igGetFrameHeight": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFrameHeight", + "defaults": [], + "funcname": "GetFrameHeight", + "namespace": "ImGui", + "ov_cimguiname": "igGetFrameHeight", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetFrameHeightWithSpacing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFrameHeightWithSpacing", + "defaults": [], + "funcname": "GetFrameHeightWithSpacing", + "namespace": "ImGui", + "ov_cimguiname": "igGetFrameHeightWithSpacing", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetID": [ + { + "args": "(const char* str_id)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igGetID", + "defaults": [], + "funcname": "GetID", + "namespace": "ImGui", + "ov_cimguiname": "igGetIDStr", + "ret": "ImGuiID", + "signature": "(const char*)", + "stname": "" + }, + { + "args": "(const char* str_id_begin,const char* str_id_end)", + "argsT": [ + { + "name": "str_id_begin", + "type": "const char*" + }, + { + "name": "str_id_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", + "call_args": "(str_id_begin,str_id_end)", + "cimguiname": "igGetID", + "defaults": [], + "funcname": "GetID", + "namespace": "ImGui", + "ov_cimguiname": "igGetIDRange", + "ret": "ImGuiID", + "signature": "(const char*,const char*)", + "stname": "" + }, + { + "args": "(const void* ptr_id)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + } + ], + "argsoriginal": "(const void* ptr_id)", + "call_args": "(ptr_id)", + "cimguiname": "igGetID", + "defaults": [], + "funcname": "GetID", + "namespace": "ImGui", + "ov_cimguiname": "igGetIDPtr", + "ret": "ImGuiID", + "signature": "(const void*)", + "stname": "" + } + ], + "igGetIO": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetIO", + "defaults": [], + "funcname": "GetIO", + "namespace": "ImGui", + "ov_cimguiname": "igGetIO", + "ret": "ImGuiIO*", + "retref": "&", + "signature": "()", + "stname": "" + } + ], + "igGetItemRectMax": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMax", + "defaults": [], + "funcname": "GetItemRectMax", + "namespace": "ImGui", + "ov_cimguiname": "igGetItemRectMax", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMax", + "defaults": [], + "funcname": "GetItemRectMax", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetItemRectMax_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMax", + "defaults": [], + "funcname": "GetItemRectMax", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetItemRectMax_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetItemRectMin": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMin", + "defaults": [], + "funcname": "GetItemRectMin", + "namespace": "ImGui", + "ov_cimguiname": "igGetItemRectMin", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMin", + "defaults": [], + "funcname": "GetItemRectMin", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetItemRectMin_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMin", + "defaults": [], + "funcname": "GetItemRectMin", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetItemRectMin_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetItemRectSize": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectSize", + "defaults": [], + "funcname": "GetItemRectSize", + "namespace": "ImGui", + "ov_cimguiname": "igGetItemRectSize", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectSize", + "defaults": [], + "funcname": "GetItemRectSize", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetItemRectSize_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectSize", + "defaults": [], + "funcname": "GetItemRectSize", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetItemRectSize_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetKeyIndex": [ + { + "args": "(ImGuiKey imgui_key)", + "argsT": [ + { + "name": "imgui_key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey imgui_key)", + "call_args": "(imgui_key)", + "cimguiname": "igGetKeyIndex", + "defaults": [], + "funcname": "GetKeyIndex", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyIndex", + "ret": "int", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyPressedAmount": [ + { + "args": "(int key_index,float repeat_delay,float rate)", + "argsT": [ + { + "name": "key_index", + "type": "int" + }, + { + "name": "repeat_delay", + "type": "float" + }, + { + "name": "rate", + "type": "float" + } + ], + "argsoriginal": "(int key_index,float repeat_delay,float rate)", + "call_args": "(key_index,repeat_delay,rate)", + "cimguiname": "igGetKeyPressedAmount", + "defaults": [], + "funcname": "GetKeyPressedAmount", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyPressedAmount", + "ret": "int", + "signature": "(int,float,float)", + "stname": "" + } + ], + "igGetMainViewport": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMainViewport", + "defaults": [], + "funcname": "GetMainViewport", + "namespace": "ImGui", + "ov_cimguiname": "igGetMainViewport", + "ret": "ImGuiViewport*", + "signature": "()", + "stname": "" + } + ], + "igGetMouseCursor": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMouseCursor", + "defaults": [], + "funcname": "GetMouseCursor", + "namespace": "ImGui", + "ov_cimguiname": "igGetMouseCursor", + "ret": "ImGuiMouseCursor", + "signature": "()", + "stname": "" + } + ], + "igGetMouseDragDelta": [ + { + "args": "(int button,float lock_threshold)", + "argsT": [ + { + "name": "button", + "type": "int" + }, + { + "name": "lock_threshold", + "type": "float" + } + ], + "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", + "call_args": "(button,lock_threshold)", + "cimguiname": "igGetMouseDragDelta", + "defaults": { + "button": "0", + "lock_threshold": "-1.0f" + }, + "funcname": "GetMouseDragDelta", + "namespace": "ImGui", + "ov_cimguiname": "igGetMouseDragDelta", + "ret": "ImVec2", + "signature": "(int,float)", + "stname": "" + }, + { + "args": "(ImVec2 *pOut,int button,float lock_threshold)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "button", + "type": "int" + }, + { + "name": "lock_threshold", + "type": "float" + } + ], + "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", + "call_args": "(button,lock_threshold)", + "cimguiname": "igGetMouseDragDelta", + "defaults": { + "button": "0", + "lock_threshold": "-1.0f" + }, + "funcname": "GetMouseDragDelta", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetMouseDragDelta_nonUDT", + "ret": "void", + "signature": "(int,float)", + "stname": "" + }, + { + "args": "(int button,float lock_threshold)", + "argsT": [ + { + "name": "button", + "type": "int" + }, + { + "name": "lock_threshold", + "type": "float" + } + ], + "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", + "call_args": "(button,lock_threshold)", + "cimguiname": "igGetMouseDragDelta", + "defaults": { + "button": "0", + "lock_threshold": "-1.0f" + }, + "funcname": "GetMouseDragDelta", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetMouseDragDelta_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "(int,float)", + "stname": "" + } + ], + "igGetMousePos": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePos", + "defaults": [], + "funcname": "GetMousePos", + "namespace": "ImGui", + "ov_cimguiname": "igGetMousePos", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePos", + "defaults": [], + "funcname": "GetMousePos", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetMousePos_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePos", + "defaults": [], + "funcname": "GetMousePos", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetMousePos_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetMousePosOnOpeningCurrentPopup": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePosOnOpeningCurrentPopup", + "defaults": [], + "funcname": "GetMousePosOnOpeningCurrentPopup", + "namespace": "ImGui", + "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePosOnOpeningCurrentPopup", + "defaults": [], + "funcname": "GetMousePosOnOpeningCurrentPopup", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePosOnOpeningCurrentPopup", + "defaults": [], + "funcname": "GetMousePosOnOpeningCurrentPopup", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetPlatformIO": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetPlatformIO", + "defaults": [], + "funcname": "GetPlatformIO", + "namespace": "ImGui", + "ov_cimguiname": "igGetPlatformIO", + "ret": "ImGuiPlatformIO*", + "retref": "&", + "signature": "()", + "stname": "" + } + ], + "igGetScrollMaxX": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollMaxX", + "defaults": [], + "funcname": "GetScrollMaxX", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollMaxX", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetScrollMaxY": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollMaxY", + "defaults": [], + "funcname": "GetScrollMaxY", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollMaxY", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetScrollX": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollX", + "defaults": [], + "funcname": "GetScrollX", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollX", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetScrollY": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollY", + "defaults": [], + "funcname": "GetScrollY", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollY", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetStateStorage": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetStateStorage", + "defaults": [], + "funcname": "GetStateStorage", + "namespace": "ImGui", + "ov_cimguiname": "igGetStateStorage", + "ret": "ImGuiStorage*", + "signature": "()", + "stname": "" + } + ], + "igGetStyle": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetStyle", + "defaults": [], + "funcname": "GetStyle", + "namespace": "ImGui", + "ov_cimguiname": "igGetStyle", + "ret": "ImGuiStyle*", + "retref": "&", + "signature": "()", + "stname": "" + } + ], + "igGetStyleColorName": [ + { + "args": "(ImGuiCol idx)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + } + ], + "argsoriginal": "(ImGuiCol idx)", + "call_args": "(idx)", + "cimguiname": "igGetStyleColorName", + "defaults": [], + "funcname": "GetStyleColorName", + "namespace": "ImGui", + "ov_cimguiname": "igGetStyleColorName", + "ret": "const char*", + "signature": "(ImGuiCol)", + "stname": "" + } + ], + "igGetStyleColorVec4": [ + { + "args": "(ImGuiCol idx)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + } + ], + "argsoriginal": "(ImGuiCol idx)", + "call_args": "(idx)", + "cimguiname": "igGetStyleColorVec4", + "defaults": [], + "funcname": "GetStyleColorVec4", + "namespace": "ImGui", + "ov_cimguiname": "igGetStyleColorVec4", + "ret": "const ImVec4*", + "retref": "&", + "signature": "(ImGuiCol)", + "stname": "" + } + ], + "igGetTextLineHeight": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTextLineHeight", + "defaults": [], + "funcname": "GetTextLineHeight", + "namespace": "ImGui", + "ov_cimguiname": "igGetTextLineHeight", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetTextLineHeightWithSpacing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTextLineHeightWithSpacing", + "defaults": [], + "funcname": "GetTextLineHeightWithSpacing", + "namespace": "ImGui", + "ov_cimguiname": "igGetTextLineHeightWithSpacing", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetTime": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTime", + "defaults": [], + "funcname": "GetTime", + "namespace": "ImGui", + "ov_cimguiname": "igGetTime", + "ret": "double", + "signature": "()", + "stname": "" + } + ], + "igGetTreeNodeToLabelSpacing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTreeNodeToLabelSpacing", + "defaults": [], + "funcname": "GetTreeNodeToLabelSpacing", + "namespace": "ImGui", + "ov_cimguiname": "igGetTreeNodeToLabelSpacing", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetVersion": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetVersion", + "defaults": [], + "funcname": "GetVersion", + "namespace": "ImGui", + "ov_cimguiname": "igGetVersion", + "ret": "const char*", + "signature": "()", + "stname": "" + } + ], + "igGetWindowContentRegionMax": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowContentRegionMax", + "defaults": [], + "funcname": "GetWindowContentRegionMax", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowContentRegionMax", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowContentRegionMax", + "defaults": [], + "funcname": "GetWindowContentRegionMax", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetWindowContentRegionMax_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowContentRegionMax", + "defaults": [], + "funcname": "GetWindowContentRegionMax", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetWindowContentRegionMax_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetWindowContentRegionMin": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowContentRegionMin", + "defaults": [], + "funcname": "GetWindowContentRegionMin", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowContentRegionMin", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowContentRegionMin", + "defaults": [], + "funcname": "GetWindowContentRegionMin", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetWindowContentRegionMin_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowContentRegionMin", + "defaults": [], + "funcname": "GetWindowContentRegionMin", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetWindowContentRegionMin_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetWindowContentRegionWidth": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowContentRegionWidth", + "defaults": [], + "funcname": "GetWindowContentRegionWidth", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowContentRegionWidth", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetWindowDockID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowDockID", + "defaults": [], + "funcname": "GetWindowDockID", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowDockID", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], + "igGetWindowDpiScale": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowDpiScale", + "defaults": [], + "funcname": "GetWindowDpiScale", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowDpiScale", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetWindowDrawList": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowDrawList", + "defaults": [], + "funcname": "GetWindowDrawList", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowDrawList", + "ret": "ImDrawList*", + "signature": "()", + "stname": "" + } + ], + "igGetWindowHeight": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowHeight", + "defaults": [], + "funcname": "GetWindowHeight", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowHeight", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetWindowPos": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowPos", + "defaults": [], + "funcname": "GetWindowPos", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowPos", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowPos", + "defaults": [], + "funcname": "GetWindowPos", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetWindowPos_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowPos", + "defaults": [], + "funcname": "GetWindowPos", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetWindowPos_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetWindowSize": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowSize", + "defaults": [], + "funcname": "GetWindowSize", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowSize", + "ret": "ImVec2", + "signature": "()", + "stname": "" + }, + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowSize", + "defaults": [], + "funcname": "GetWindowSize", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetWindowSize_nonUDT", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowSize", + "defaults": [], + "funcname": "GetWindowSize", + "namespace": "ImGui", + "nonUDT": 2, + "ov_cimguiname": "igGetWindowSize_nonUDT2", + "ret": "ImVec2_Simple", + "retorig": "ImVec2", + "signature": "()", + "stname": "" + } + ], + "igGetWindowViewport": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowViewport", + "defaults": [], + "funcname": "GetWindowViewport", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowViewport", + "ret": "ImGuiViewport*", + "signature": "()", + "stname": "" + } + ], + "igGetWindowWidth": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowWidth", + "defaults": [], + "funcname": "GetWindowWidth", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowWidth", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igImage": [ + { + "args": "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)", + "argsT": [ + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "uv0", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "tint_col", + "type": "const ImVec4" + }, + { + "name": "border_col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))", + "call_args": "(user_texture_id,size,uv0,uv1,tint_col,border_col)", + "cimguiname": "igImage", + "defaults": { + "border_col": "ImVec4(0,0,0,0)", + "tint_col": "ImVec4(1,1,1,1)", + "uv0": "ImVec2(0,0)", + "uv1": "ImVec2(1,1)" + }, + "funcname": "Image", + "namespace": "ImGui", + "ov_cimguiname": "igImage", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", + "stname": "" + } + ], + "igImageButton": [ + { + "args": "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)", + "argsT": [ + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "uv0", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "frame_padding", + "type": "int" + }, + { + "name": "bg_col", + "type": "const ImVec4" + }, + { + "name": "tint_col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", + "call_args": "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)", + "cimguiname": "igImageButton", + "defaults": { + "bg_col": "ImVec4(0,0,0,0)", + "frame_padding": "-1", + "tint_col": "ImVec4(1,1,1,1)", + "uv0": "ImVec2(0,0)", + "uv1": "ImVec2(1,1)" + }, + "funcname": "ImageButton", + "namespace": "ImGui", + "ov_cimguiname": "igImageButton", + "ret": "bool", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)", + "stname": "" + } + ], + "igIndent": [ + { + "args": "(float indent_w)", + "argsT": [ + { + "name": "indent_w", + "type": "float" + } + ], + "argsoriginal": "(float indent_w=0.0f)", + "call_args": "(indent_w)", + "cimguiname": "igIndent", + "defaults": { + "indent_w": "0.0f" + }, + "funcname": "Indent", + "namespace": "ImGui", + "ov_cimguiname": "igIndent", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igInputDouble": [ + { + "args": "(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "double*" + }, + { + "name": "step", + "type": "double" + }, + { + "name": "step_fast", + "type": "double" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,double* v,double step=0.0,double step_fast=0.0,const char* format=\"%.6f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,step,step_fast,format,flags)", + "cimguiname": "igInputDouble", + "defaults": { + "flags": "0", + "format": "\"%.6f\"", + "step": "0.0", + "step_fast": "0.0" + }, + "funcname": "InputDouble", + "namespace": "ImGui", + "ov_cimguiname": "igInputDouble", + "ret": "bool", + "signature": "(const char*,double*,double,double,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat": [ + { + "args": "(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float*" + }, + { + "name": "step", + "type": "float" + }, + { + "name": "step_fast", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,step,step_fast,format,flags)", + "cimguiname": "igInputFloat", + "defaults": { + "flags": "0", + "format": "\"%.3f\"", + "step": "0.0f", + "step_fast": "0.0f" + }, + "funcname": "InputFloat", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat", + "ret": "bool", + "signature": "(const char*,float*,float,float,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat2": [ + { + "args": "(const char* label,float v[2],const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[2]" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,format,flags)", + "cimguiname": "igInputFloat2", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "InputFloat2", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat2", + "ret": "bool", + "signature": "(const char*,float[2],const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat3": [ + { + "args": "(const char* label,float v[3],const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[3]" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,format,flags)", + "cimguiname": "igInputFloat3", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "InputFloat3", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat3", + "ret": "bool", + "signature": "(const char*,float[3],const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat4": [ + { + "args": "(const char* label,float v[4],const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[4]" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,format,flags)", + "cimguiname": "igInputFloat4", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "InputFloat4", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat4", + "ret": "bool", + "signature": "(const char*,float[4],const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt": [ + { + "args": "(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "step", + "type": "int" + }, + { + "name": "step_fast", + "type": "int" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,step,step_fast,flags)", + "cimguiname": "igInputInt", + "defaults": { + "flags": "0", + "step": "1", + "step_fast": "100" + }, + "funcname": "InputInt", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt", + "ret": "bool", + "signature": "(const char*,int*,int,int,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt2": [ + { + "args": "(const char* label,int v[2],ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[2]" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int v[2],ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,flags)", + "cimguiname": "igInputInt2", + "defaults": { + "flags": "0" + }, + "funcname": "InputInt2", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt2", + "ret": "bool", + "signature": "(const char*,int[2],ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt3": [ + { + "args": "(const char* label,int v[3],ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[3]" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int v[3],ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,flags)", + "cimguiname": "igInputInt3", + "defaults": { + "flags": "0" + }, + "funcname": "InputInt3", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt3", + "ret": "bool", + "signature": "(const char*,int[3],ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt4": [ + { + "args": "(const char* label,int v[4],ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[4]" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int v[4],ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,flags)", + "cimguiname": "igInputInt4", + "defaults": { + "flags": "0" + }, + "funcname": "InputInt4", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt4", + "ret": "bool", + "signature": "(const char*,int[4],ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputScalar": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "v", + "type": "void*" + }, + { + "name": "step", + "type": "const void*" + }, + { + "name": "step_fast", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,const void* step=((void*)0),const void* step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags flags=0)", + "call_args": "(label,data_type,v,step,step_fast,format,flags)", + "cimguiname": "igInputScalar", + "defaults": { + "flags": "0", + "format": "((void*)0)", + "step": "((void*)0)", + "step_fast": "((void*)0)" + }, + "funcname": "InputScalar", + "namespace": "ImGui", + "ov_cimguiname": "igInputScalar", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputScalarN": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "v", + "type": "void*" + }, + { + "name": "components", + "type": "int" + }, + { + "name": "step", + "type": "const void*" + }, + { + "name": "step_fast", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void*)0),const void* step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags flags=0)", + "call_args": "(label,data_type,v,components,step,step_fast,format,flags)", + "cimguiname": "igInputScalarN", + "defaults": { + "flags": "0", + "format": "((void*)0)", + "step": "((void*)0)", + "step_fast": "((void*)0)" + }, + "funcname": "InputScalarN", + "namespace": "ImGui", + "ov_cimguiname": "igInputScalarN", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputText": [ + { + "args": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "callback", + "type": "ImGuiInputTextCallback" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", + "call_args": "(label,buf,buf_size,flags,callback,user_data)", + "cimguiname": "igInputText", + "defaults": { + "callback": "((void*)0)", + "flags": "0", + "user_data": "((void*)0)" + }, + "funcname": "InputText", + "namespace": "ImGui", + "ov_cimguiname": "igInputText", + "ret": "bool", + "signature": "(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", + "stname": "" + } + ], + "igInputTextMultiline": [ + { + "args": "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "callback", + "type": "ImGuiInputTextCallback" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", + "call_args": "(label,buf,buf_size,size,flags,callback,user_data)", + "cimguiname": "igInputTextMultiline", + "defaults": { + "callback": "((void*)0)", + "flags": "0", + "size": "ImVec2(0,0)", + "user_data": "((void*)0)" + }, + "funcname": "InputTextMultiline", + "namespace": "ImGui", + "ov_cimguiname": "igInputTextMultiline", + "ret": "bool", + "signature": "(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", + "stname": "" + } + ], + "igInputTextWithHint": [ + { + "args": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "hint", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "callback", + "type": "ImGuiInputTextCallback" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", + "call_args": "(label,hint,buf,buf_size,flags,callback,user_data)", + "cimguiname": "igInputTextWithHint", + "defaults": { + "callback": "((void*)0)", + "flags": "0", + "user_data": "((void*)0)" + }, + "funcname": "InputTextWithHint", + "namespace": "ImGui", + "ov_cimguiname": "igInputTextWithHint", + "ret": "bool", + "signature": "(const char*,const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", + "stname": "" + } + ], + "igInvisibleButton": [ + { + "args": "(const char* str_id,const ImVec2 size)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* str_id,const ImVec2& size)", + "call_args": "(str_id,size)", + "cimguiname": "igInvisibleButton", + "defaults": [], + "funcname": "InvisibleButton", + "namespace": "ImGui", + "ov_cimguiname": "igInvisibleButton", + "ret": "bool", + "signature": "(const char*,const ImVec2)", + "stname": "" + } + ], + "igIsAnyItemActive": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyItemActive", + "defaults": [], + "funcname": "IsAnyItemActive", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyItemActive", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsAnyItemFocused": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyItemFocused", + "defaults": [], + "funcname": "IsAnyItemFocused", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyItemFocused", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsAnyItemHovered": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyItemHovered", + "defaults": [], + "funcname": "IsAnyItemHovered", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyItemHovered", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsAnyMouseDown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyMouseDown", + "defaults": [], + "funcname": "IsAnyMouseDown", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyMouseDown", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemActivated": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemActivated", + "defaults": [], + "funcname": "IsItemActivated", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemActivated", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemActive": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemActive", + "defaults": [], + "funcname": "IsItemActive", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemActive", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemClicked": [ + { + "args": "(int mouse_button)", + "argsT": [ + { + "name": "mouse_button", + "type": "int" + } + ], + "argsoriginal": "(int mouse_button=0)", + "call_args": "(mouse_button)", + "cimguiname": "igIsItemClicked", + "defaults": { + "mouse_button": "0" + }, + "funcname": "IsItemClicked", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemClicked", + "ret": "bool", + "signature": "(int)", + "stname": "" + } + ], + "igIsItemDeactivated": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemDeactivated", + "defaults": [], + "funcname": "IsItemDeactivated", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemDeactivated", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemDeactivatedAfterEdit": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemDeactivatedAfterEdit", + "defaults": [], + "funcname": "IsItemDeactivatedAfterEdit", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemDeactivatedAfterEdit", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemEdited": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemEdited", + "defaults": [], + "funcname": "IsItemEdited", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemEdited", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemFocused": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemFocused", + "defaults": [], + "funcname": "IsItemFocused", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemFocused", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemHovered": [ + { + "args": "(ImGuiHoveredFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiHoveredFlags" + } + ], + "argsoriginal": "(ImGuiHoveredFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igIsItemHovered", + "defaults": { + "flags": "0" + }, + "funcname": "IsItemHovered", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemHovered", + "ret": "bool", + "signature": "(ImGuiHoveredFlags)", + "stname": "" + } + ], + "igIsItemVisible": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemVisible", + "defaults": [], + "funcname": "IsItemVisible", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemVisible", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsKeyDown": [ + { + "args": "(int user_key_index)", + "argsT": [ + { + "name": "user_key_index", + "type": "int" + } + ], + "argsoriginal": "(int user_key_index)", + "call_args": "(user_key_index)", + "cimguiname": "igIsKeyDown", + "defaults": [], + "funcname": "IsKeyDown", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyDown", + "ret": "bool", + "signature": "(int)", + "stname": "" + } + ], + "igIsKeyPressed": [ + { + "args": "(int user_key_index,bool repeat)", + "argsT": [ + { + "name": "user_key_index", + "type": "int" + }, + { + "name": "repeat", + "type": "bool" + } + ], + "argsoriginal": "(int user_key_index,bool repeat=true)", + "call_args": "(user_key_index,repeat)", + "cimguiname": "igIsKeyPressed", + "defaults": { + "repeat": "true" + }, + "funcname": "IsKeyPressed", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyPressed", + "ret": "bool", + "signature": "(int,bool)", + "stname": "" + } + ], + "igIsKeyReleased": [ + { + "args": "(int user_key_index)", + "argsT": [ + { + "name": "user_key_index", + "type": "int" + } + ], + "argsoriginal": "(int user_key_index)", + "call_args": "(user_key_index)", + "cimguiname": "igIsKeyReleased", + "defaults": [], + "funcname": "IsKeyReleased", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyReleased", + "ret": "bool", + "signature": "(int)", + "stname": "" + } + ], + "igIsMouseClicked": [ + { + "args": "(int button,bool repeat)", + "argsT": [ + { + "name": "button", + "type": "int" + }, + { + "name": "repeat", + "type": "bool" + } + ], + "argsoriginal": "(int button,bool repeat=false)", + "call_args": "(button,repeat)", + "cimguiname": "igIsMouseClicked", + "defaults": { + "repeat": "false" + }, + "funcname": "IsMouseClicked", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseClicked", + "ret": "bool", + "signature": "(int,bool)", + "stname": "" + } + ], + "igIsMouseDoubleClicked": [ + { + "args": "(int button)", + "argsT": [ + { + "name": "button", + "type": "int" + } + ], + "argsoriginal": "(int button)", + "call_args": "(button)", + "cimguiname": "igIsMouseDoubleClicked", + "defaults": [], + "funcname": "IsMouseDoubleClicked", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDoubleClicked", + "ret": "bool", + "signature": "(int)", + "stname": "" + } + ], + "igIsMouseDown": [ + { + "args": "(int button)", + "argsT": [ + { + "name": "button", + "type": "int" + } + ], + "argsoriginal": "(int button)", + "call_args": "(button)", + "cimguiname": "igIsMouseDown", + "defaults": [], + "funcname": "IsMouseDown", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDown", + "ret": "bool", + "signature": "(int)", + "stname": "" + } + ], + "igIsMouseDragging": [ + { + "args": "(int button,float lock_threshold)", + "argsT": [ + { + "name": "button", + "type": "int" + }, + { + "name": "lock_threshold", + "type": "float" + } + ], + "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", + "call_args": "(button,lock_threshold)", + "cimguiname": "igIsMouseDragging", + "defaults": { + "button": "0", + "lock_threshold": "-1.0f" + }, + "funcname": "IsMouseDragging", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDragging", + "ret": "bool", + "signature": "(int,float)", + "stname": "" + } + ], + "igIsMouseHoveringRect": [ + { + "args": "(const ImVec2 r_min,const ImVec2 r_max,bool clip)", + "argsT": [ + { + "name": "r_min", + "type": "const ImVec2" + }, + { + "name": "r_max", + "type": "const ImVec2" + }, + { + "name": "clip", + "type": "bool" + } + ], + "argsoriginal": "(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)", + "call_args": "(r_min,r_max,clip)", + "cimguiname": "igIsMouseHoveringRect", + "defaults": { + "clip": "true" + }, + "funcname": "IsMouseHoveringRect", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseHoveringRect", + "ret": "bool", + "signature": "(const ImVec2,const ImVec2,bool)", + "stname": "" + } + ], + "igIsMousePosValid": [ + { + "args": "(const ImVec2* mouse_pos)", "argsT": [ { - "type": "ImVec4*", - "name": "self" + "name": "mouse_pos", + "type": "const ImVec2*" } ], - "defaults": [] + "argsoriginal": "(const ImVec2* mouse_pos=((void*)0))", + "call_args": "(mouse_pos)", + "cimguiname": "igIsMousePosValid", + "defaults": { + "mouse_pos": "((void*)0)" + }, + "funcname": "IsMousePosValid", + "namespace": "ImGui", + "ov_cimguiname": "igIsMousePosValid", + "ret": "bool", + "signature": "(const ImVec2*)", + "stname": "" } ], - "igSliderScalar": [ + "igIsMouseReleased": [ { - "funcname": "SliderScalar", - "args": "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)", + "args": "(int button)", + "argsT": [ + { + "name": "button", + "type": "int" + } + ], + "argsoriginal": "(int button)", + "call_args": "(button)", + "cimguiname": "igIsMouseReleased", + "defaults": [], + "funcname": "IsMouseReleased", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseReleased", "ret": "bool", - "comment": "", - "call_args": "(label,data_type,v,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void*)0),float power=1.0f)", - "stname": "ImGui", + "signature": "(int)", + "stname": "" + } + ], + "igIsPopupOpen": [ + { + "args": "(const char* str_id)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igIsPopupOpen", + "defaults": [], + "funcname": "IsPopupOpen", + "namespace": "ImGui", + "ov_cimguiname": "igIsPopupOpen", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + } + ], + "igIsRectVisible": [ + { + "args": "(const ImVec2 size)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& size)", + "call_args": "(size)", + "cimguiname": "igIsRectVisible", + "defaults": [], + "funcname": "IsRectVisible", + "namespace": "ImGui", + "ov_cimguiname": "igIsRectVisible", + "ret": "bool", + "signature": "(const ImVec2)", + "stname": "" + }, + { + "args": "(const ImVec2 rect_min,const ImVec2 rect_max)", + "argsT": [ + { + "name": "rect_min", + "type": "const ImVec2" + }, + { + "name": "rect_max", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max)", + "call_args": "(rect_min,rect_max)", + "cimguiname": "igIsRectVisible", + "defaults": [], + "funcname": "IsRectVisible", + "namespace": "ImGui", + "ov_cimguiname": "igIsRectVisibleVec2", + "ret": "bool", + "signature": "(const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igIsWindowAppearing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsWindowAppearing", + "defaults": [], + "funcname": "IsWindowAppearing", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowAppearing", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsWindowCollapsed": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsWindowCollapsed", + "defaults": [], + "funcname": "IsWindowCollapsed", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowCollapsed", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsWindowDocked": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsWindowDocked", + "defaults": [], + "funcname": "IsWindowDocked", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowDocked", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsWindowFocused": [ + { + "args": "(ImGuiFocusedFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiFocusedFlags" + } + ], + "argsoriginal": "(ImGuiFocusedFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igIsWindowFocused", + "defaults": { + "flags": "0" + }, + "funcname": "IsWindowFocused", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowFocused", + "ret": "bool", + "signature": "(ImGuiFocusedFlags)", + "stname": "" + } + ], + "igIsWindowHovered": [ + { + "args": "(ImGuiHoveredFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiHoveredFlags" + } + ], + "argsoriginal": "(ImGuiHoveredFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igIsWindowHovered", + "defaults": { + "flags": "0" + }, + "funcname": "IsWindowHovered", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowHovered", + "ret": "bool", + "signature": "(ImGuiHoveredFlags)", + "stname": "" + } + ], + "igLabelText": [ + { + "args": "(const char* label,const char* fmt,...)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* label,const char* fmt,...)", + "call_args": "(label,fmt,...)", + "cimguiname": "igLabelText", + "defaults": [], + "funcname": "LabelText", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igLabelText", + "ret": "void", + "signature": "(const char*,const char*,...)", + "stname": "" + } + ], + "igLabelTextV": [ + { + "args": "(const char* label,const char* fmt,va_list args)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* label,const char* fmt,va_list args)", + "call_args": "(label,fmt,args)", + "cimguiname": "igLabelTextV", + "defaults": [], + "funcname": "LabelTextV", + "namespace": "ImGui", + "ov_cimguiname": "igLabelTextV", + "ret": "void", + "signature": "(const char*,const char*,va_list)", + "stname": "" + } + ], + "igListBox": [ + { + "args": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items", + "type": "const char* const[]" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "height_in_items", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)", + "call_args": "(label,current_item,items,items_count,height_in_items)", + "cimguiname": "igListBox", + "defaults": { + "height_in_items": "-1" + }, + "funcname": "ListBox", + "namespace": "ImGui", + "ov_cimguiname": "igListBoxStr_arr", + "ret": "bool", + "signature": "(const char*,int*,const char* const[],int,int)", + "stname": "" + }, + { + "args": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items_getter", + "ret": "bool", + "signature": "(void* data,int idx,const char** out_text)", + "type": "bool(*)(void* data,int idx,const char** out_text)" + }, + { + "name": "data", + "type": "void*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "height_in_items", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)", + "call_args": "(label,current_item,items_getter,data,items_count,height_in_items)", + "cimguiname": "igListBox", + "defaults": { + "height_in_items": "-1" + }, + "funcname": "ListBox", + "namespace": "ImGui", + "ov_cimguiname": "igListBoxFnPtr", + "ret": "bool", + "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", + "stname": "" + } + ], + "igListBoxFooter": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igListBoxFooter", + "defaults": [], + "funcname": "ListBoxFooter", + "namespace": "ImGui", + "ov_cimguiname": "igListBoxFooter", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igListBoxHeader": [ + { + "args": "(const char* label,const ImVec2 size)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" }, { - "type": "ImGuiDataType", - "name": "data_type" - }, - { - "type": "void*", - "name": "v" - }, - { - "type": "const void*", - "name": "v_min" - }, + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,size)", + "cimguiname": "igListBoxHeader", + "defaults": { + "size": "ImVec2(0,0)" + }, + "funcname": "ListBoxHeader", + "namespace": "ImGui", + "ov_cimguiname": "igListBoxHeaderVec2", + "ret": "bool", + "signature": "(const char*,const ImVec2)", + "stname": "" + }, + { + "args": "(const char* label,int items_count,int height_in_items)", + "argsT": [ { - "type": "const void*", - "name": "v_max" + "name": "label", + "type": "const char*" }, { - "type": "const char*", - "name": "format" + "name": "items_count", + "type": "int" }, { - "type": "float", - "name": "power" + "name": "height_in_items", + "type": "int" } ], + "argsoriginal": "(const char* label,int items_count,int height_in_items=-1)", + "call_args": "(label,items_count,height_in_items)", + "cimguiname": "igListBoxHeader", "defaults": { - "power": "1.0f", - "format": "((void*)0)" + "height_in_items": "-1" }, - "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)", - "cimguiname": "igSliderScalar" + "funcname": "ListBoxHeader", + "namespace": "ImGui", + "ov_cimguiname": "igListBoxHeaderInt", + "ret": "bool", + "signature": "(const char*,int,int)", + "stname": "" } ], - "igTreePush": [ + "igLoadIniSettingsFromDisk": [ { - "funcname": "TreePush", - "args": "(const char* str_id)", - "ret": "void", - "comment": "", - "call_args": "(str_id)", - "argsoriginal": "(const char* str_id)", - "stname": "ImGui", + "args": "(const char* ini_filename)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "ini_filename", + "type": "const char*" } ], - "ov_cimguiname": "igTreePushStr", + "argsoriginal": "(const char* ini_filename)", + "call_args": "(ini_filename)", + "cimguiname": "igLoadIniSettingsFromDisk", "defaults": [], + "funcname": "LoadIniSettingsFromDisk", + "namespace": "ImGui", + "ov_cimguiname": "igLoadIniSettingsFromDisk", + "ret": "void", "signature": "(const char*)", - "cimguiname": "igTreePush" - }, + "stname": "" + } + ], + "igLoadIniSettingsFromMemory": [ { - "funcname": "TreePush", - "args": "(const void* ptr_id)", - "ret": "void", - "comment": "", - "call_args": "(ptr_id)", - "argsoriginal": "(const void* ptr_id=((void*)0))", - "stname": "ImGui", + "args": "(const char* ini_data,size_t ini_size)", "argsT": [ { - "type": "const void*", - "name": "ptr_id" + "name": "ini_data", + "type": "const char*" + }, + { + "name": "ini_size", + "type": "size_t" } ], - "ov_cimguiname": "igTreePushPtr", - "defaults": { "ptr_id": "((void*)0)" }, - "signature": "(const void*)", - "cimguiname": "igTreePush" + "argsoriginal": "(const char* ini_data,size_t ini_size=0)", + "call_args": "(ini_data,ini_size)", + "cimguiname": "igLoadIniSettingsFromMemory", + "defaults": { + "ini_size": "0" + }, + "funcname": "LoadIniSettingsFromMemory", + "namespace": "ImGui", + "ov_cimguiname": "igLoadIniSettingsFromMemory", + "ret": "void", + "signature": "(const char*,size_t)", + "stname": "" } ], - "igListBoxFooter": [ + "igLogButtons": [ { - "funcname": "ListBoxFooter", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGui", + "call_args": "()", + "cimguiname": "igLogButtons", + "defaults": [], + "funcname": "LogButtons", + "namespace": "ImGui", + "ov_cimguiname": "igLogButtons", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igLogFinish": [ + { + "args": "()", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igLogFinish", "defaults": [], + "funcname": "LogFinish", + "namespace": "ImGui", + "ov_cimguiname": "igLogFinish", + "ret": "void", "signature": "()", - "cimguiname": "igListBoxFooter" + "stname": "" } ], - "igTextDisabled": [ + "igLogText": [ { - "isvararg": "...)", - "funcname": "TextDisabled", "args": "(const char* fmt,...)", - "ret": "void", - "comment": "", - "call_args": "(fmt,...)", - "argsoriginal": "(const char* fmt,...)", - "stname": "ImGui", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "fmt", + "type": "const char*" }, { - "type": "...", - "name": "..." + "name": "...", + "type": "..." } ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igLogText", "defaults": [], + "funcname": "LogText", + "isvararg": "...)", + "manual": true, + "namespace": "ImGui", + "ov_cimguiname": "igLogText", + "ret": "void", "signature": "(const char*,...)", - "cimguiname": "igTextDisabled" + "stname": "" } ], - "igIsItemHovered": [ + "igLogToClipboard": [ { - "funcname": "IsItemHovered", - "args": "(ImGuiHoveredFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(flags)", - "argsoriginal": "(ImGuiHoveredFlags flags=0)", - "stname": "ImGui", + "args": "(int auto_open_depth)", "argsT": [ { - "type": "ImGuiHoveredFlags", - "name": "flags" + "name": "auto_open_depth", + "type": "int" } ], - "defaults": { "flags": "0" }, - "signature": "(ImGuiHoveredFlags)", - "cimguiname": "igIsItemHovered" + "argsoriginal": "(int auto_open_depth=-1)", + "call_args": "(auto_open_depth)", + "cimguiname": "igLogToClipboard", + "defaults": { + "auto_open_depth": "-1" + }, + "funcname": "LogToClipboard", + "namespace": "ImGui", + "ov_cimguiname": "igLogToClipboard", + "ret": "void", + "signature": "(int)", + "stname": "" } ], - "ImDrawList_PrimWriteVtx": [ + "igLogToFile": [ { - "funcname": "PrimWriteVtx", - "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(pos,uv,col)", - "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", - "stname": "ImDrawList", + "args": "(int auto_open_depth,const char* filename)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "pos" + "name": "auto_open_depth", + "type": "int" }, { - "type": "const ImVec2", - "name": "uv" - }, - { - "type": "ImU32", - "name": "col" + "name": "filename", + "type": "const char*" } ], - "defaults": [], - "signature": "(const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_PrimWriteVtx" - } - ], - "igBullet": [ - { - "funcname": "Bullet", - "args": "()", + "argsoriginal": "(int auto_open_depth=-1,const char* filename=((void*)0))", + "call_args": "(auto_open_depth,filename)", + "cimguiname": "igLogToFile", + "defaults": { + "auto_open_depth": "-1", + "filename": "((void*)0)" + }, + "funcname": "LogToFile", + "namespace": "ImGui", + "ov_cimguiname": "igLogToFile", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igBullet" - } - ], - "ImGuiIO_ImGuiIO": [ - { - "funcname": "ImGuiIO", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiIO", - "constructor": true, - "comment": "", - "defaults": [], - "signature": "()", - "cimguiname": "ImGuiIO_ImGuiIO" + "signature": "(int,const char*)", + "stname": "" } ], - "igInputInt3": [ + "igLogToTTY": [ { - "funcname": "InputInt3", - "args": "(const char* label,int v[3],ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,extra_flags)", - "argsoriginal": "(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(int auto_open_depth)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int[3]", - "name": "v" - }, - { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "auto_open_depth", + "type": "int" } ], - "defaults": { "extra_flags": "0" }, - "signature": "(const char*,int[3],ImGuiInputTextFlags)", - "cimguiname": "igInputInt3" + "argsoriginal": "(int auto_open_depth=-1)", + "call_args": "(auto_open_depth)", + "cimguiname": "igLogToTTY", + "defaults": { + "auto_open_depth": "-1" + }, + "funcname": "LogToTTY", + "namespace": "ImGui", + "ov_cimguiname": "igLogToTTY", + "ret": "void", + "signature": "(int)", + "stname": "" } ], - "TextRange_end": [ + "igMemAlloc": [ { - "funcname": "end", - "args": "(TextRange* self)", - "ret": "const char*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "TextRange", + "args": "(size_t size)", "argsT": [ { - "type": "TextRange*", - "name": "self" + "name": "size", + "type": "size_t" } ], + "argsoriginal": "(size_t size)", + "call_args": "(size)", + "cimguiname": "igMemAlloc", "defaults": [], - "signature": "()", - "cimguiname": "TextRange_end" + "funcname": "MemAlloc", + "namespace": "ImGui", + "ov_cimguiname": "igMemAlloc", + "ret": "void*", + "signature": "(size_t)", + "stname": "" } ], - "igStyleColorsDark": [ + "igMemFree": [ { - "funcname": "StyleColorsDark", - "args": "(ImGuiStyle* dst)", - "ret": "void", - "comment": "", - "call_args": "(dst)", - "argsoriginal": "(ImGuiStyle* dst=((void*)0))", - "stname": "ImGui", + "args": "(void* ptr)", "argsT": [ { - "type": "ImGuiStyle*", - "name": "dst" + "name": "ptr", + "type": "void*" } ], - "defaults": { "dst": "((void*)0)" }, - "signature": "(ImGuiStyle*)", - "cimguiname": "igStyleColorsDark" + "argsoriginal": "(void* ptr)", + "call_args": "(ptr)", + "cimguiname": "igMemFree", + "defaults": [], + "funcname": "MemFree", + "namespace": "ImGui", + "ov_cimguiname": "igMemFree", + "ret": "void", + "signature": "(void*)", + "stname": "" } ], - "igInputInt": [ + "igMenuItem": [ { - "funcname": "InputInt", - "args": "(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,step,step_fast,extra_flags)", - "argsoriginal": "(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(const char* label,const char* shortcut,bool selected,bool enabled)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int*", - "name": "v" + "name": "label", + "type": "const char*" }, { - "type": "int", - "name": "step" + "name": "shortcut", + "type": "const char*" }, { - "type": "int", - "name": "step_fast" + "name": "selected", + "type": "bool" }, { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "enabled", + "type": "bool" } ], + "argsoriginal": "(const char* label,const char* shortcut=((void*)0),bool selected=false,bool enabled=true)", + "call_args": "(label,shortcut,selected,enabled)", + "cimguiname": "igMenuItem", "defaults": { - "step": "1", - "extra_flags": "0", - "step_fast": "100" + "enabled": "true", + "selected": "false", + "shortcut": "((void*)0)" }, - "signature": "(const char*,int*,int,int,ImGuiInputTextFlags)", - "cimguiname": "igInputInt" - } - ], - "igSetWindowFontScale": [ - { - "funcname": "SetWindowFontScale", - "args": "(float scale)", - "ret": "void", - "comment": "", - "call_args": "(scale)", - "argsoriginal": "(float scale)", - "stname": "ImGui", - "argsT": [ - { - "type": "float", - "name": "scale" - } - ], - "defaults": [], - "signature": "(float)", - "cimguiname": "igSetWindowFontScale" - } - ], - "igSliderInt": [ - { - "funcname": "SliderInt", - "args": "(const char* label,int* v,int v_min,int v_max,const char* format)", + "funcname": "MenuItem", + "namespace": "ImGui", + "ov_cimguiname": "igMenuItemBool", "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format)", - "argsoriginal": "(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")", - "stname": "ImGui", + "signature": "(const char*,const char*,bool,bool)", + "stname": "" + }, + { + "args": "(const char* label,const char* shortcut,bool* p_selected,bool enabled)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "int*", - "name": "v" + "name": "label", + "type": "const char*" }, { - "type": "int", - "name": "v_min" + "name": "shortcut", + "type": "const char*" }, { - "type": "int", - "name": "v_max" + "name": "p_selected", + "type": "bool*" }, { - "type": "const char*", - "name": "format" + "name": "enabled", + "type": "bool" } ], - "defaults": { "format": "\"%d\"" }, - "signature": "(const char*,int*,int,int,const char*)", - "cimguiname": "igSliderInt" + "argsoriginal": "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)", + "call_args": "(label,shortcut,p_selected,enabled)", + "cimguiname": "igMenuItem", + "defaults": { + "enabled": "true" + }, + "funcname": "MenuItem", + "namespace": "ImGui", + "ov_cimguiname": "igMenuItemBoolPtr", + "ret": "bool", + "signature": "(const char*,const char*,bool*,bool)", + "stname": "" } ], - "TextRange_begin": [ + "igNewFrame": [ { - "funcname": "begin", - "args": "(TextRange* self)", - "ret": "const char*", - "comment": "", + "args": "()", + "argsT": [], + "argsoriginal": "()", "call_args": "()", + "cimguiname": "igNewFrame", + "defaults": [], + "funcname": "NewFrame", + "namespace": "ImGui", + "ov_cimguiname": "igNewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igNewLine": [ + { + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "TextRange", - "argsT": [ - { - "type": "TextRange*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igNewLine", "defaults": [], + "funcname": "NewLine", + "namespace": "ImGui", + "ov_cimguiname": "igNewLine", + "ret": "void", "signature": "()", - "cimguiname": "TextRange_begin" + "stname": "" } ], - "TextRange_TextRange": [ + "igNextColumn": [ { - "funcname": "TextRange", "args": "()", "argsT": [], - "call_args": "()", "argsoriginal": "()", - "stname": "TextRange", - "constructor": true, - "comment": "", - "ov_cimguiname": "TextRange_TextRange", + "call_args": "()", + "cimguiname": "igNextColumn", "defaults": [], + "funcname": "NextColumn", + "namespace": "ImGui", + "ov_cimguiname": "igNextColumn", + "ret": "void", "signature": "()", - "cimguiname": "TextRange_TextRange" - }, + "stname": "" + } + ], + "igOpenPopup": [ { - "funcname": "TextRange", - "args": "(const char* _b,const char* _e)", + "args": "(const char* str_id)", "argsT": [ { - "type": "const char*", - "name": "_b" - }, - { - "type": "const char*", - "name": "_e" + "name": "str_id", + "type": "const char*" } ], - "call_args": "(_b,_e)", - "argsoriginal": "(const char* _b,const char* _e)", - "stname": "TextRange", - "constructor": true, - "comment": "", - "ov_cimguiname": "TextRange_TextRangeStr", + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igOpenPopup", "defaults": [], - "signature": "(const char*,const char*)", - "cimguiname": "TextRange_TextRange" + "funcname": "OpenPopup", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopup", + "ret": "void", + "signature": "(const char*)", + "stname": "" } ], - "igSetNextWindowPos": [ + "igOpenPopupOnItemClick": [ { - "funcname": "SetNextWindowPos", - "args": "(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)", - "ret": "void", - "comment": "", - "call_args": "(pos,cond,pivot)", - "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))", - "stname": "ImGui", + "args": "(const char* str_id,int mouse_button)", "argsT": [ { - "type": "const ImVec2", - "name": "pos" + "name": "str_id", + "type": "const char*" }, { - "type": "ImGuiCond", - "name": "cond" - }, - { - "type": "const ImVec2", - "name": "pivot" + "name": "mouse_button", + "type": "int" } ], + "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)", + "call_args": "(str_id,mouse_button)", + "cimguiname": "igOpenPopupOnItemClick", "defaults": { - "cond": "0", - "pivot": "ImVec2(0,0)" + "mouse_button": "1", + "str_id": "((void*)0)" }, - "signature": "(const ImVec2,ImGuiCond,const ImVec2)", - "cimguiname": "igSetNextWindowPos" + "funcname": "OpenPopupOnItemClick", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopupOnItemClick", + "ret": "bool", + "signature": "(const char*,int)", + "stname": "" } ], - "igDragInt3": [ + "igPlotHistogram": [ { - "funcname": "DragInt3", - "args": "(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_speed,v_min,v_max,format)", - "argsoriginal": "(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")", - "stname": "ImGui", + "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" + }, + { + "name": "values", + "type": "const float*" + }, + { + "name": "values_count", + "type": "int" }, { - "type": "int[3]", - "name": "v" + "name": "values_offset", + "type": "int" }, { - "type": "float", - "name": "v_speed" + "name": "overlay_text", + "type": "const char*" }, { - "type": "int", - "name": "v_min" + "name": "scale_min", + "type": "float" }, { - "type": "int", - "name": "v_max" + "name": "scale_max", + "type": "float" }, { - "type": "const char*", - "name": "format" + "name": "graph_size", + "type": "ImVec2" + }, + { + "name": "stride", + "type": "int" } ], + "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", + "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", + "cimguiname": "igPlotHistogram", "defaults": { - "v_speed": "1.0f", - "v_min": "0", - "format": "\"%d\"", - "v_max": "0" + "graph_size": "ImVec2(0,0)", + "overlay_text": "((void*)0)", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "stride": "sizeof(float)", + "values_offset": "0" }, - "signature": "(const char*,int[3],float,int,int,const char*)", - "cimguiname": "igDragInt3" - } - ], - "igOpenPopup": [ - { - "funcname": "OpenPopup", - "args": "(const char* str_id)", + "funcname": "PlotHistogram", + "namespace": "ImGui", + "ov_cimguiname": "igPlotHistogramFloatPtr", "ret": "void", - "comment": "", - "call_args": "(str_id)", - "argsoriginal": "(const char* str_id)", - "stname": "ImGui", - "argsT": [ - { - "type": "const char*", - "name": "str_id" - } - ], - "defaults": [], - "signature": "(const char*)", - "cimguiname": "igOpenPopup" - } - ], - "igSetColumnOffset": [ + "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", + "stname": "" + }, { - "funcname": "SetColumnOffset", - "args": "(int column_index,float offset_x)", - "ret": "void", - "comment": "", - "call_args": "(column_index,offset_x)", - "argsoriginal": "(int column_index,float offset_x)", - "stname": "ImGui", + "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", "argsT": [ { - "type": "int", - "name": "column_index" + "name": "label", + "type": "const char*" + }, + { + "name": "values_getter", + "ret": "float", + "signature": "(void* data,int idx)", + "type": "float(*)(void* data,int idx)" + }, + { + "name": "data", + "type": "void*" + }, + { + "name": "values_count", + "type": "int" + }, + { + "name": "values_offset", + "type": "int" + }, + { + "name": "overlay_text", + "type": "const char*" + }, + { + "name": "scale_min", + "type": "float" + }, + { + "name": "scale_max", + "type": "float" }, { - "type": "float", - "name": "offset_x" + "name": "graph_size", + "type": "ImVec2" } ], - "defaults": [], - "signature": "(int,float)", - "cimguiname": "igSetColumnOffset" + "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))", + "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", + "cimguiname": "igPlotHistogram", + "defaults": { + "graph_size": "ImVec2(0,0)", + "overlay_text": "((void*)0)", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "values_offset": "0" + }, + "funcname": "PlotHistogram", + "namespace": "ImGui", + "ov_cimguiname": "igPlotHistogramFnPtr", + "ret": "void", + "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", + "stname": "" } ], - "ImDrawList_GetClipRectMax": [ + "igPlotLines": [ { - "funcname": "GetClipRectMax", - "args": "(ImDrawList* self)", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "values", + "type": "const float*" + }, + { + "name": "values_count", + "type": "int" + }, + { + "name": "values_offset", + "type": "int" + }, + { + "name": "overlay_text", + "type": "const char*" + }, + { + "name": "scale_min", + "type": "float" + }, + { + "name": "scale_max", + "type": "float" + }, + { + "name": "graph_size", + "type": "ImVec2" + }, + { + "name": "stride", + "type": "int" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_GetClipRectMax" + "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", + "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", + "cimguiname": "igPlotLines", + "defaults": { + "graph_size": "ImVec2(0,0)", + "overlay_text": "((void*)0)", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "stride": "sizeof(float)", + "values_offset": "0" + }, + "funcname": "PlotLines", + "namespace": "ImGui", + "ov_cimguiname": "igPlotLines", + "ret": "void", + "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", + "stname": "" }, { - "funcname": "GetClipRectMax", - "args": "(ImVec2 *pOut,ImDrawList* self)", - "ret": "void", - "cimguiname": "ImDrawList_GetClipRectMax", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", - "signature": "()", - "ov_cimguiname": "ImDrawList_GetClipRectMax_nonUDT", - "comment": "", - "defaults": [], + "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "label", + "type": "const char*" }, { - "type": "ImDrawList*", - "name": "self" - } - ] - }, - { - "cimguiname": "ImDrawList_GetClipRectMax", - "funcname": "GetClipRectMax", - "args": "(ImDrawList* self)", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", - "retorig": "ImVec2", - "ov_cimguiname": "ImDrawList_GetClipRectMax_nonUDT2", - "comment": "", - "defaults": [], - "argsT": [ + "name": "values_getter", + "ret": "float", + "signature": "(void* data,int idx)", + "type": "float(*)(void* data,int idx)" + }, { - "type": "ImDrawList*", - "name": "self" - } - ] - } - ], - "igBeginCombo": [ - { - "funcname": "BeginCombo", - "args": "(const char* label,const char* preview_value,ImGuiComboFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,preview_value,flags)", - "argsoriginal": "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)", - "stname": "ImGui", - "argsT": [ + "name": "data", + "type": "void*" + }, { - "type": "const char*", - "name": "label" + "name": "values_count", + "type": "int" }, { - "type": "const char*", - "name": "preview_value" + "name": "values_offset", + "type": "int" }, { - "type": "ImGuiComboFlags", - "name": "flags" - } - ], - "defaults": { "flags": "0" }, - "signature": "(const char*,const char*,ImGuiComboFlags)", - "cimguiname": "igBeginCombo" - } - ], - "igGetDrawListSharedData": [ - { - "funcname": "GetDrawListSharedData", - "args": "()", - "ret": "ImDrawListSharedData*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetDrawListSharedData" - } - ], - "ImGuiTextFilter_Draw": [ - { - "funcname": "Draw", - "args": "(ImGuiTextFilter* self,const char* label,float width)", - "ret": "bool", - "comment": "", - "call_args": "(label,width)", - "argsoriginal": "(const char* label=\"Filter(inc,-exc)\",float width=0.0f)", - "stname": "ImGuiTextFilter", - "argsT": [ + "name": "overlay_text", + "type": "const char*" + }, { - "type": "ImGuiTextFilter*", - "name": "self" + "name": "scale_min", + "type": "float" }, { - "type": "const char*", - "name": "label" + "name": "scale_max", + "type": "float" }, { - "type": "float", - "name": "width" + "name": "graph_size", + "type": "ImVec2" } ], + "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))", + "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", + "cimguiname": "igPlotLines", "defaults": { - "label": "\"Filter(inc,-exc)\"", - "width": "0.0f" + "graph_size": "ImVec2(0,0)", + "overlay_text": "((void*)0)", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "values_offset": "0" }, - "signature": "(const char*,float)", - "cimguiname": "ImGuiTextFilter_Draw" + "funcname": "PlotLines", + "namespace": "ImGui", + "ov_cimguiname": "igPlotLinesFnPtr", + "ret": "void", + "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", + "stname": "" + } + ], + "igPopAllowKeyboardFocus": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopAllowKeyboardFocus", + "defaults": [], + "funcname": "PopAllowKeyboardFocus", + "namespace": "ImGui", + "ov_cimguiname": "igPopAllowKeyboardFocus", + "ret": "void", + "signature": "()", + "stname": "" } ], - "igIsItemActive": [ + "igPopButtonRepeat": [ { - "funcname": "IsItemActive", "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopButtonRepeat", "defaults": [], + "funcname": "PopButtonRepeat", + "namespace": "ImGui", + "ov_cimguiname": "igPopButtonRepeat", + "ret": "void", "signature": "()", - "cimguiname": "igIsItemActive" + "stname": "" } ], - "ImGuiTextFilter_ImGuiTextFilter": [ + "igPopClipRect": [ { - "funcname": "ImGuiTextFilter", - "args": "(const char* default_filter)", - "argsT": [ - { - "type": "const char*", - "name": "default_filter" - } - ], - "call_args": "(default_filter)", - "argsoriginal": "(const char* default_filter=\"\")", - "stname": "ImGuiTextFilter", - "constructor": true, - "comment": "", - "defaults": { "default_filter": "\"\"" }, - "signature": "(const char*)", - "cimguiname": "ImGuiTextFilter_ImGuiTextFilter" + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopClipRect", + "defaults": [], + "funcname": "PopClipRect", + "namespace": "ImGui", + "ov_cimguiname": "igPopClipRect", + "ret": "void", + "signature": "()", + "stname": "" } ], - "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame": [ + "igPopFont": [ { - "funcname": "ImGuiOnceUponAFrame", "args": "()", "argsT": [], - "call_args": "()", "argsoriginal": "()", - "stname": "ImGuiOnceUponAFrame", - "constructor": true, - "comment": "", + "call_args": "()", + "cimguiname": "igPopFont", "defaults": [], + "funcname": "PopFont", + "namespace": "ImGui", + "ov_cimguiname": "igPopFont", + "ret": "void", "signature": "()", - "cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame" + "stname": "" } ], - "igBeginDragDropTarget": [ + "igPopID": [ { - "funcname": "BeginDragDropTarget", "args": "()", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopID", "defaults": [], + "funcname": "PopID", + "namespace": "ImGui", + "ov_cimguiname": "igPopID", + "ret": "void", "signature": "()", - "cimguiname": "igBeginDragDropTarget" + "stname": "" } ], - "TextRange_empty": [ + "igPopItemWidth": [ { - "funcname": "empty", - "args": "(TextRange* self)", - "ret": "bool", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "TextRange", - "argsT": [ - { - "type": "TextRange*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igPopItemWidth", "defaults": [], + "funcname": "PopItemWidth", + "namespace": "ImGui", + "ov_cimguiname": "igPopItemWidth", + "ret": "void", "signature": "()", - "cimguiname": "TextRange_empty" + "stname": "" } ], - "ImGuiPayload_IsDelivery": [ + "igPopStyleColor": [ { - "funcname": "IsDelivery", - "args": "(ImGuiPayload* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiPayload", + "args": "(int count)", "argsT": [ { - "type": "ImGuiPayload*", - "name": "self" + "name": "count", + "type": "int" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImGuiPayload_IsDelivery" + "argsoriginal": "(int count=1)", + "call_args": "(count)", + "cimguiname": "igPopStyleColor", + "defaults": { + "count": "1" + }, + "funcname": "PopStyleColor", + "namespace": "ImGui", + "ov_cimguiname": "igPopStyleColor", + "ret": "void", + "signature": "(int)", + "stname": "" } ], - "ImGuiIO_AddInputCharacter": [ + "igPopStyleVar": [ { - "funcname": "AddInputCharacter", - "args": "(ImGuiIO* self,ImWchar c)", - "ret": "void", - "comment": "", - "call_args": "(c)", - "argsoriginal": "(ImWchar c)", - "stname": "ImGuiIO", + "args": "(int count)", "argsT": [ { - "type": "ImGuiIO*", - "name": "self" - }, - { - "type": "ImWchar", - "name": "c" + "name": "count", + "type": "int" } ], - "defaults": [], - "signature": "(ImWchar)", - "cimguiname": "ImGuiIO_AddInputCharacter" + "argsoriginal": "(int count=1)", + "call_args": "(count)", + "cimguiname": "igPopStyleVar", + "defaults": { + "count": "1" + }, + "funcname": "PopStyleVar", + "namespace": "ImGui", + "ov_cimguiname": "igPopStyleVar", + "ret": "void", + "signature": "(int)", + "stname": "" } ], - "ImDrawList_AddImageRounded": [ + "igPopTextWrapPos": [ { - "funcname": "AddImageRounded", - "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopTextWrapPos", + "defaults": [], + "funcname": "PopTextWrapPos", + "namespace": "ImGui", + "ov_cimguiname": "igPopTextWrapPos", "ret": "void", - "comment": "", - "call_args": "(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)", - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)", - "stname": "ImDrawList", + "signature": "()", + "stname": "" + } + ], + "igProgressBar": [ + { + "args": "(float fraction,const ImVec2 size_arg,const char* overlay)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "ImTextureID", - "name": "user_texture_id" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, - { - "type": "const ImVec2", - "name": "uv_a" - }, - { - "type": "const ImVec2", - "name": "uv_b" - }, - { - "type": "ImU32", - "name": "col" + "name": "fraction", + "type": "float" }, { - "type": "float", - "name": "rounding" + "name": "size_arg", + "type": "const ImVec2" }, { - "type": "int", - "name": "rounding_corners" + "name": "overlay", + "type": "const char*" } ], - "defaults": { "rounding_corners": "ImDrawCornerFlags_All" }, - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", - "cimguiname": "ImDrawList_AddImageRounded" + "argsoriginal": "(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void*)0))", + "call_args": "(fraction,size_arg,overlay)", + "cimguiname": "igProgressBar", + "defaults": { + "overlay": "((void*)0)", + "size_arg": "ImVec2(-1,0)" + }, + "funcname": "ProgressBar", + "namespace": "ImGui", + "ov_cimguiname": "igProgressBar", + "ret": "void", + "signature": "(float,const ImVec2,const char*)", + "stname": "" } ], - "ImGuiStyle_ImGuiStyle": [ + "igPushAllowKeyboardFocus": [ { - "funcname": "ImGuiStyle", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiStyle", - "constructor": true, - "comment": "", + "args": "(bool allow_keyboard_focus)", + "argsT": [ + { + "name": "allow_keyboard_focus", + "type": "bool" + } + ], + "argsoriginal": "(bool allow_keyboard_focus)", + "call_args": "(allow_keyboard_focus)", + "cimguiname": "igPushAllowKeyboardFocus", "defaults": [], - "signature": "()", - "cimguiname": "ImGuiStyle_ImGuiStyle" + "funcname": "PushAllowKeyboardFocus", + "namespace": "ImGui", + "ov_cimguiname": "igPushAllowKeyboardFocus", + "ret": "void", + "signature": "(bool)", + "stname": "" } ], - "igPushStyleColor": [ + "igPushButtonRepeat": [ { - "funcname": "PushStyleColor", - "args": "(ImGuiCol idx,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(idx,col)", - "argsoriginal": "(ImGuiCol idx,ImU32 col)", - "stname": "ImGui", + "args": "(bool repeat)", "argsT": [ { - "type": "ImGuiCol", - "name": "idx" - }, - { - "type": "ImU32", - "name": "col" + "name": "repeat", + "type": "bool" } ], - "ov_cimguiname": "igPushStyleColorU32", + "argsoriginal": "(bool repeat)", + "call_args": "(repeat)", + "cimguiname": "igPushButtonRepeat", "defaults": [], - "signature": "(ImGuiCol,ImU32)", - "cimguiname": "igPushStyleColor" - }, - { - "funcname": "PushStyleColor", - "args": "(ImGuiCol idx,const ImVec4 col)", + "funcname": "PushButtonRepeat", + "namespace": "ImGui", + "ov_cimguiname": "igPushButtonRepeat", "ret": "void", - "comment": "", - "call_args": "(idx,col)", - "argsoriginal": "(ImGuiCol idx,const ImVec4& col)", - "stname": "ImGui", + "signature": "(bool)", + "stname": "" + } + ], + "igPushClipRect": [ + { + "args": "(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", "argsT": [ { - "type": "ImGuiCol", - "name": "idx" + "name": "clip_rect_min", + "type": "const ImVec2" }, { - "type": "const ImVec4", - "name": "col" + "name": "clip_rect_max", + "type": "const ImVec2" + }, + { + "name": "intersect_with_current_clip_rect", + "type": "bool" } ], - "ov_cimguiname": "igPushStyleColor", + "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)", + "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", + "cimguiname": "igPushClipRect", "defaults": [], - "signature": "(ImGuiCol,const ImVec4)", - "cimguiname": "igPushStyleColor" + "funcname": "PushClipRect", + "namespace": "ImGui", + "ov_cimguiname": "igPushClipRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,bool)", + "stname": "" } ], - "igGetContentRegionMax": [ - { - "funcname": "GetContentRegionMax", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetContentRegionMax" - }, + "igPushFont": [ { - "funcname": "GetContentRegionMax", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetContentRegionMax", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetContentRegionMax_nonUDT", - "comment": "", - "defaults": [], + "args": "(ImFont* font)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "font", + "type": "ImFont*" } - ] - }, - { - "cimguiname": "igGetContentRegionMax", - "funcname": "GetContentRegionMax", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetContentRegionMax_nonUDT2", - "comment": "", + ], + "argsoriginal": "(ImFont* font)", + "call_args": "(font)", + "cimguiname": "igPushFont", "defaults": [], - "argsT": [] + "funcname": "PushFont", + "namespace": "ImGui", + "ov_cimguiname": "igPushFont", + "ret": "void", + "signature": "(ImFont*)", + "stname": "" } ], - "igBeginChildFrame": [ + "igPushID": [ { - "funcname": "BeginChildFrame", - "args": "(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(id,size,flags)", - "argsoriginal": "(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)", - "stname": "ImGui", + "args": "(const char* str_id)", "argsT": [ { - "type": "ImGuiID", - "name": "id" - }, + "name": "str_id", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igPushID", + "defaults": [], + "funcname": "PushID", + "namespace": "ImGui", + "ov_cimguiname": "igPushIDStr", + "ret": "void", + "signature": "(const char*)", + "stname": "" + }, + { + "args": "(const char* str_id_begin,const char* str_id_end)", + "argsT": [ { - "type": "const ImVec2", - "name": "size" + "name": "str_id_begin", + "type": "const char*" }, { - "type": "ImGuiWindowFlags", - "name": "flags" + "name": "str_id_end", + "type": "const char*" } ], - "defaults": { "flags": "0" }, - "signature": "(ImGuiID,const ImVec2,ImGuiWindowFlags)", - "cimguiname": "igBeginChildFrame" - } - ], - "igSaveIniSettingsToDisk": [ - { - "funcname": "SaveIniSettingsToDisk", - "args": "(const char* ini_filename)", + "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", + "call_args": "(str_id_begin,str_id_end)", + "cimguiname": "igPushID", + "defaults": [], + "funcname": "PushID", + "namespace": "ImGui", + "ov_cimguiname": "igPushIDRange", "ret": "void", - "comment": "", - "call_args": "(ini_filename)", - "argsoriginal": "(const char* ini_filename)", - "stname": "ImGui", + "signature": "(const char*,const char*)", + "stname": "" + }, + { + "args": "(const void* ptr_id)", "argsT": [ { - "type": "const char*", - "name": "ini_filename" + "name": "ptr_id", + "type": "const void*" } ], + "argsoriginal": "(const void* ptr_id)", + "call_args": "(ptr_id)", + "cimguiname": "igPushID", "defaults": [], - "signature": "(const char*)", - "cimguiname": "igSaveIniSettingsToDisk" - } - ], - "ImFont_ClearOutputData": [ - { - "funcname": "ClearOutputData", - "args": "(ImFont* self)", + "funcname": "PushID", + "namespace": "ImGui", + "ov_cimguiname": "igPushIDPtr", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFont", + "signature": "(const void*)", + "stname": "" + }, + { + "args": "(int int_id)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "int_id", + "type": "int" } ], + "argsoriginal": "(int int_id)", + "call_args": "(int_id)", + "cimguiname": "igPushID", "defaults": [], - "signature": "()", - "cimguiname": "ImFont_ClearOutputData" + "funcname": "PushID", + "namespace": "ImGui", + "ov_cimguiname": "igPushIDInt", + "ret": "void", + "signature": "(int)", + "stname": "" } ], - "ImColor_destroy": [ + "igPushItemWidth": [ { - "signature": "(ImColor*)", - "args": "(ImColor* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImColor", - "ov_cimguiname": "ImColor_destroy", - "cimguiname": "ImColor_destroy", + "args": "(float item_width)", "argsT": [ { - "type": "ImColor*", - "name": "self" + "name": "item_width", + "type": "float" } ], - "defaults": [] + "argsoriginal": "(float item_width)", + "call_args": "(item_width)", + "cimguiname": "igPushItemWidth", + "defaults": [], + "funcname": "PushItemWidth", + "namespace": "ImGui", + "ov_cimguiname": "igPushItemWidth", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "ImDrawList_PrimQuadUV": [ + "igPushStyleColor": [ { - "funcname": "PrimQuadUV", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)", - "stname": "ImDrawList", + "args": "(ImGuiCol idx,ImU32 col)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" - }, - { - "type": "const ImVec2", - "name": "c" + "name": "idx", + "type": "ImGuiCol" }, { - "type": "const ImVec2", - "name": "d" - }, - { - "type": "const ImVec2", - "name": "uv_a" - }, - { - "type": "const ImVec2", - "name": "uv_b" - }, - { - "type": "const ImVec2", - "name": "uv_c" - }, - { - "type": "const ImVec2", - "name": "uv_d" - }, - { - "type": "ImU32", - "name": "col" + "name": "col", + "type": "ImU32" } ], + "argsoriginal": "(ImGuiCol idx,ImU32 col)", + "call_args": "(idx,col)", + "cimguiname": "igPushStyleColor", "defaults": [], - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_PrimQuadUV" - } - ], - "igEndDragDropTarget": [ - { - "funcname": "EndDragDropTarget", - "args": "()", + "funcname": "PushStyleColor", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleColorU32", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEndDragDropTarget" - } - ], - "ImFontAtlas_GetGlyphRangesKorean": [ + "signature": "(ImGuiCol,ImU32)", + "stname": "" + }, { - "funcname": "GetGlyphRangesKorean", - "args": "(ImFontAtlas* self)", - "ret": "const ImWchar*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", + "args": "(ImGuiCol idx,const ImVec4 col)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" + "name": "idx", + "type": "ImGuiCol" + }, + { + "name": "col", + "type": "const ImVec4" } ], + "argsoriginal": "(ImGuiCol idx,const ImVec4& col)", + "call_args": "(idx,col)", + "cimguiname": "igPushStyleColor", "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesKorean" + "funcname": "PushStyleColor", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleColor", + "ret": "void", + "signature": "(ImGuiCol,const ImVec4)", + "stname": "" } ], - "igGetKeyPressedAmount": [ + "igPushStyleVar": [ { - "funcname": "GetKeyPressedAmount", - "args": "(int key_index,float repeat_delay,float rate)", - "ret": "int", - "comment": "", - "call_args": "(key_index,repeat_delay,rate)", - "argsoriginal": "(int key_index,float repeat_delay,float rate)", - "stname": "ImGui", + "args": "(ImGuiStyleVar idx,float val)", "argsT": [ { - "type": "int", - "name": "key_index" - }, - { - "type": "float", - "name": "repeat_delay" + "name": "idx", + "type": "ImGuiStyleVar" }, { - "type": "float", - "name": "rate" + "name": "val", + "type": "float" } ], + "argsoriginal": "(ImGuiStyleVar idx,float val)", + "call_args": "(idx,val)", + "cimguiname": "igPushStyleVar", "defaults": [], - "signature": "(int,float,float)", - "cimguiname": "igGetKeyPressedAmount" - } - ], - "ImFontAtlas_GetTexDataAsRGBA32": [ - { - "funcname": "GetTexDataAsRGBA32", - "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", + "funcname": "PushStyleVar", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleVarFloat", "ret": "void", - "comment": "", - "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", - "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", - "stname": "ImFontAtlas", + "signature": "(ImGuiStyleVar,float)", + "stname": "" + }, + { + "args": "(ImGuiStyleVar idx,const ImVec2 val)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" - }, - { - "type": "unsigned char**", - "name": "out_pixels" - }, - { - "type": "int*", - "name": "out_width" - }, - { - "type": "int*", - "name": "out_height" + "name": "idx", + "type": "ImGuiStyleVar" }, { - "type": "int*", - "name": "out_bytes_per_pixel" + "name": "val", + "type": "const ImVec2" } ], - "defaults": { "out_bytes_per_pixel": "((void*)0)" }, - "signature": "(unsigned char**,int*,int*,int*)", - "cimguiname": "ImFontAtlas_GetTexDataAsRGBA32" - } - ], - "igNewFrame": [ - { - "funcname": "NewFrame", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "argsoriginal": "(ImGuiStyleVar idx,const ImVec2& val)", + "call_args": "(idx,val)", + "cimguiname": "igPushStyleVar", "defaults": [], - "signature": "()", - "cimguiname": "igNewFrame" + "funcname": "PushStyleVar", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleVarVec2", + "ret": "void", + "signature": "(ImGuiStyleVar,const ImVec2)", + "stname": "" } ], - "igResetMouseDragDelta": [ + "igPushTextWrapPos": [ { - "funcname": "ResetMouseDragDelta", - "args": "(int button)", - "ret": "void", - "comment": "", - "call_args": "(button)", - "argsoriginal": "(int button=0)", - "stname": "ImGui", + "args": "(float wrap_local_pos_x)", "argsT": [ { - "type": "int", - "name": "button" + "name": "wrap_local_pos_x", + "type": "float" } ], - "defaults": { "button": "0" }, - "signature": "(int)", - "cimguiname": "igResetMouseDragDelta" - } - ], - "igGetTreeNodeToLabelSpacing": [ - { - "funcname": "GetTreeNodeToLabelSpacing", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetTreeNodeToLabelSpacing" + "argsoriginal": "(float wrap_local_pos_x=0.0f)", + "call_args": "(wrap_local_pos_x)", + "cimguiname": "igPushTextWrapPos", + "defaults": { + "wrap_local_pos_x": "0.0f" + }, + "funcname": "PushTextWrapPos", + "namespace": "ImGui", + "ov_cimguiname": "igPushTextWrapPos", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "igGetMousePos": [ - { - "funcname": "GetMousePos", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetMousePos" - }, + "igRadioButton": [ { - "funcname": "GetMousePos", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetMousePos", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetMousePos_nonUDT", - "comment": "", - "defaults": [], + "args": "(const char* label,bool active)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "label", + "type": "const char*" + }, + { + "name": "active", + "type": "bool" } - ] - }, - { - "cimguiname": "igGetMousePos", - "funcname": "GetMousePos", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetMousePos_nonUDT2", - "comment": "", + ], + "argsoriginal": "(const char* label,bool active)", + "call_args": "(label,active)", + "cimguiname": "igRadioButton", "defaults": [], - "argsT": [] - } - ], - "GlyphRangesBuilder_AddChar": [ + "funcname": "RadioButton", + "namespace": "ImGui", + "ov_cimguiname": "igRadioButtonBool", + "ret": "bool", + "signature": "(const char*,bool)", + "stname": "" + }, { - "funcname": "AddChar", - "args": "(GlyphRangesBuilder* self,ImWchar c)", - "ret": "void", - "comment": "", - "call_args": "(c)", - "argsoriginal": "(ImWchar c)", - "stname": "GlyphRangesBuilder", + "args": "(const char* label,int* v,int v_button)", "argsT": [ { - "type": "GlyphRangesBuilder*", - "name": "self" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" }, { - "type": "ImWchar", - "name": "c" + "name": "v_button", + "type": "int" } ], + "argsoriginal": "(const char* label,int* v,int v_button)", + "call_args": "(label,v,v_button)", + "cimguiname": "igRadioButton", "defaults": [], - "signature": "(ImWchar)", - "cimguiname": "GlyphRangesBuilder_AddChar" + "funcname": "RadioButton", + "namespace": "ImGui", + "ov_cimguiname": "igRadioButtonIntPtr", + "ret": "bool", + "signature": "(const char*,int*,int)", + "stname": "" } ], - "igPopID": [ + "igRender": [ { - "funcname": "PopID", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igRender", "defaults": [], + "funcname": "Render", + "namespace": "ImGui", + "ov_cimguiname": "igRender", + "ret": "void", "signature": "()", - "cimguiname": "igPopID" + "stname": "" } ], - "igIsMouseDoubleClicked": [ + "igRenderPlatformWindowsDefault": [ + { + "args": "(void* platform_arg,void* renderer_arg)", + "argsT": [ + { + "name": "platform_arg", + "type": "void*" + }, + { + "name": "renderer_arg", + "type": "void*" + } + ], + "argsoriginal": "(void* platform_arg=((void*)0),void* renderer_arg=((void*)0))", + "call_args": "(platform_arg,renderer_arg)", + "cimguiname": "igRenderPlatformWindowsDefault", + "defaults": { + "platform_arg": "((void*)0)", + "renderer_arg": "((void*)0)" + }, + "funcname": "RenderPlatformWindowsDefault", + "namespace": "ImGui", + "ov_cimguiname": "igRenderPlatformWindowsDefault", + "ret": "void", + "signature": "(void*,void*)", + "stname": "" + } + ], + "igResetMouseDragDelta": [ { - "funcname": "IsMouseDoubleClicked", "args": "(int button)", - "ret": "bool", - "comment": "", - "call_args": "(button)", - "argsoriginal": "(int button)", - "stname": "ImGui", "argsT": [ { - "type": "int", - "name": "button" + "name": "button", + "type": "int" } ], - "defaults": [], + "argsoriginal": "(int button=0)", + "call_args": "(button)", + "cimguiname": "igResetMouseDragDelta", + "defaults": { + "button": "0" + }, + "funcname": "ResetMouseDragDelta", + "namespace": "ImGui", + "ov_cimguiname": "igResetMouseDragDelta", + "ret": "void", "signature": "(int)", - "cimguiname": "igIsMouseDoubleClicked" + "stname": "" } ], - "igSetNextWindowSize": [ + "igSameLine": [ { - "funcname": "SetNextWindowSize", - "args": "(const ImVec2 size,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(size,cond)", - "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", - "stname": "ImGui", + "args": "(float offset_from_start_x,float spacing)", "argsT": [ { - "type": "const ImVec2", - "name": "size" + "name": "offset_from_start_x", + "type": "float" }, { - "type": "ImGuiCond", - "name": "cond" + "name": "spacing", + "type": "float" } ], - "defaults": { "cond": "0" }, - "signature": "(const ImVec2,ImGuiCond)", - "cimguiname": "igSetNextWindowSize" + "argsoriginal": "(float offset_from_start_x=0.0f,float spacing=-1.0f)", + "call_args": "(offset_from_start_x,spacing)", + "cimguiname": "igSameLine", + "defaults": { + "offset_from_start_x": "0.0f", + "spacing": "-1.0f" + }, + "funcname": "SameLine", + "namespace": "ImGui", + "ov_cimguiname": "igSameLine", + "ret": "void", + "signature": "(float,float)", + "stname": "" } ], - "ImGuiTextFilter_IsActive": [ + "igSaveIniSettingsToDisk": [ { - "funcname": "IsActive", - "args": "(ImGuiTextFilter* self)", - "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiTextFilter", + "args": "(const char* ini_filename)", "argsT": [ { - "type": "ImGuiTextFilter*", - "name": "self" + "name": "ini_filename", + "type": "const char*" } ], + "argsoriginal": "(const char* ini_filename)", + "call_args": "(ini_filename)", + "cimguiname": "igSaveIniSettingsToDisk", "defaults": [], - "signature": "()", - "cimguiname": "ImGuiTextFilter_IsActive" + "funcname": "SaveIniSettingsToDisk", + "namespace": "ImGui", + "ov_cimguiname": "igSaveIniSettingsToDisk", + "ret": "void", + "signature": "(const char*)", + "stname": "" } ], - "ImDrawList_PathClear": [ + "igSaveIniSettingsToMemory": [ { - "funcname": "PathClear", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "args": "(size_t* out_ini_size)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "out_ini_size", + "type": "size_t*" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_PathClear" - } - ], - "igBeginGroup": [ - { - "funcname": "BeginGroup", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igBeginGroup" + "argsoriginal": "(size_t* out_ini_size=((void*)0))", + "call_args": "(out_ini_size)", + "cimguiname": "igSaveIniSettingsToMemory", + "defaults": { + "out_ini_size": "((void*)0)" + }, + "funcname": "SaveIniSettingsToMemory", + "namespace": "ImGui", + "ov_cimguiname": "igSaveIniSettingsToMemory", + "ret": "const char*", + "signature": "(size_t*)", + "stname": "" } ], - "igColorConvertHSVtoRGB": [ + "igSelectable": [ { - "funcname": "ColorConvertHSVtoRGB", - "args": "(float h,float s,float v,float out_r,float out_g,float out_b)", - "ret": "void", - "comment": "", - "manual": true, - "call_args": "(h,s,v,out_r,out_g,out_b)", - "argsoriginal": "(float h,float s,float v,float& out_r,float& out_g,float& out_b)", - "stname": "ImGui", + "args": "(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)", "argsT": [ { - "type": "float", - "name": "h" - }, - { - "type": "float", - "name": "s" - }, - { - "type": "float", - "name": "v" + "name": "label", + "type": "const char*" }, { - "type": "float&", - "name": "out_r" + "name": "selected", + "type": "bool" }, { - "type": "float&", - "name": "out_g" + "name": "flags", + "type": "ImGuiSelectableFlags" }, { - "type": "float&", - "name": "out_b" + "name": "size", + "type": "const ImVec2" } ], - "defaults": [], - "signature": "(float,float,float,float,float,float)", - "cimguiname": "igColorConvertHSVtoRGB" - } - ], - "ImColor_ImColor": [ - { - "funcname": "ImColor", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImColor", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImColor_ImColor", - "defaults": [], - "signature": "()", - "cimguiname": "ImColor_ImColor" + "argsoriginal": "(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,selected,flags,size)", + "cimguiname": "igSelectable", + "defaults": { + "flags": "0", + "selected": "false", + "size": "ImVec2(0,0)" + }, + "funcname": "Selectable", + "namespace": "ImGui", + "ov_cimguiname": "igSelectable", + "ret": "bool", + "signature": "(const char*,bool,ImGuiSelectableFlags,const ImVec2)", + "stname": "" }, { - "funcname": "ImColor", - "args": "(int r,int g,int b,int a)", + "args": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)", "argsT": [ { - "type": "int", - "name": "r" + "name": "label", + "type": "const char*" }, { - "type": "int", - "name": "g" + "name": "p_selected", + "type": "bool*" }, { - "type": "int", - "name": "b" + "name": "flags", + "type": "ImGuiSelectableFlags" }, { - "type": "int", - "name": "a" + "name": "size", + "type": "const ImVec2" } ], - "call_args": "(r,g,b,a)", - "argsoriginal": "(int r,int g,int b,int a=255)", - "stname": "ImColor", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImColor_ImColorInt", - "defaults": { "a": "255" }, - "signature": "(int,int,int,int)", - "cimguiname": "ImColor_ImColor" - }, + "argsoriginal": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,p_selected,flags,size)", + "cimguiname": "igSelectable", + "defaults": { + "flags": "0", + "size": "ImVec2(0,0)" + }, + "funcname": "Selectable", + "namespace": "ImGui", + "ov_cimguiname": "igSelectableBoolPtr", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)", + "stname": "" + } + ], + "igSeparator": [ { - "funcname": "ImColor", - "args": "(ImU32 rgba)", - "argsT": [ - { - "type": "ImU32", - "name": "rgba" - } - ], - "call_args": "(rgba)", - "argsoriginal": "(ImU32 rgba)", - "stname": "ImColor", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImColor_ImColorU32", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSeparator", "defaults": [], - "signature": "(ImU32)", - "cimguiname": "ImColor_ImColor" - }, + "funcname": "Separator", + "namespace": "ImGui", + "ov_cimguiname": "igSeparator", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSetAllocatorFunctions": [ { - "funcname": "ImColor", - "args": "(float r,float g,float b,float a)", + "args": "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)", "argsT": [ { - "type": "float", - "name": "r" - }, - { - "type": "float", - "name": "g" + "name": "alloc_func", + "ret": "void*", + "signature": "(size_t sz,void* user_data)", + "type": "void*(*)(size_t sz,void* user_data)" }, { - "type": "float", - "name": "b" + "name": "free_func", + "ret": "void", + "signature": "(void* ptr,void* user_data)", + "type": "void(*)(void* ptr,void* user_data)" }, { - "type": "float", - "name": "a" + "name": "user_data", + "type": "void*" } ], - "call_args": "(r,g,b,a)", - "argsoriginal": "(float r,float g,float b,float a=1.0f)", - "stname": "ImColor", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImColor_ImColorFloat", - "defaults": { "a": "1.0f" }, - "signature": "(float,float,float,float)", - "cimguiname": "ImColor_ImColor" - }, + "argsoriginal": "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void*)0))", + "call_args": "(alloc_func,free_func,user_data)", + "cimguiname": "igSetAllocatorFunctions", + "defaults": { + "user_data": "((void*)0)" + }, + "funcname": "SetAllocatorFunctions", + "namespace": "ImGui", + "ov_cimguiname": "igSetAllocatorFunctions", + "ret": "void", + "signature": "(void*(*)(size_t,void*),void(*)(void*,void*),void*)", + "stname": "" + } + ], + "igSetClipboardText": [ { - "funcname": "ImColor", - "args": "(const ImVec4 col)", + "args": "(const char* text)", "argsT": [ { - "type": "const ImVec4", - "name": "col" + "name": "text", + "type": "const char*" } ], - "call_args": "(col)", - "argsoriginal": "(const ImVec4& col)", - "stname": "ImColor", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImColor_ImColorVec4", + "argsoriginal": "(const char* text)", + "call_args": "(text)", + "cimguiname": "igSetClipboardText", "defaults": [], - "signature": "(const ImVec4)", - "cimguiname": "ImColor_ImColor" + "funcname": "SetClipboardText", + "namespace": "ImGui", + "ov_cimguiname": "igSetClipboardText", + "ret": "void", + "signature": "(const char*)", + "stname": "" } ], - "igVSliderFloat": [ + "igSetColorEditOptions": [ { - "funcname": "VSliderFloat", - "args": "(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,size,v,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(ImGuiColorEditFlags flags)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "const ImVec2", - "name": "size" - }, - { - "type": "float*", - "name": "v" - }, - { - "type": "float", - "name": "v_min" - }, - { - "type": "float", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" - }, - { - "type": "float", - "name": "power" + "name": "flags", + "type": "ImGuiColorEditFlags" } ], - "defaults": { - "power": "1.0f", - "format": "\"%.3f\"" - }, - "signature": "(const char*,const ImVec2,float*,float,float,const char*,float)", - "cimguiname": "igVSliderFloat" + "argsoriginal": "(ImGuiColorEditFlags flags)", + "call_args": "(flags)", + "cimguiname": "igSetColorEditOptions", + "defaults": [], + "funcname": "SetColorEditOptions", + "namespace": "ImGui", + "ov_cimguiname": "igSetColorEditOptions", + "ret": "void", + "signature": "(ImGuiColorEditFlags)", + "stname": "" } ], - "igColorConvertU32ToFloat4": [ + "igSetColumnOffset": [ { - "funcname": "ColorConvertU32ToFloat4", - "args": "(ImU32 in)", - "ret": "ImVec4", - "comment": "", - "call_args": "(in)", - "argsoriginal": "(ImU32 in)", - "stname": "ImGui", + "args": "(int column_index,float offset_x)", "argsT": [ { - "type": "ImU32", - "name": "in" + "name": "column_index", + "type": "int" + }, + { + "name": "offset_x", + "type": "float" } ], + "argsoriginal": "(int column_index,float offset_x)", + "call_args": "(column_index,offset_x)", + "cimguiname": "igSetColumnOffset", "defaults": [], - "signature": "(ImU32)", - "cimguiname": "igColorConvertU32ToFloat4" - }, - { - "funcname": "ColorConvertU32ToFloat4", - "args": "(ImVec4 *pOut,ImU32 in)", + "funcname": "SetColumnOffset", + "namespace": "ImGui", + "ov_cimguiname": "igSetColumnOffset", "ret": "void", - "cimguiname": "igColorConvertU32ToFloat4", - "nonUDT": 1, - "call_args": "(in)", - "argsoriginal": "(ImU32 in)", - "stname": "ImGui", - "signature": "(ImU32)", - "ov_cimguiname": "igColorConvertU32ToFloat4_nonUDT", - "comment": "", - "defaults": [], + "signature": "(int,float)", + "stname": "" + } + ], + "igSetColumnWidth": [ + { + "args": "(int column_index,float width)", "argsT": [ { - "type": "ImVec4*", - "name": "pOut" + "name": "column_index", + "type": "int" }, { - "type": "ImU32", - "name": "in" + "name": "width", + "type": "float" } - ] - }, - { - "cimguiname": "igColorConvertU32ToFloat4", - "funcname": "ColorConvertU32ToFloat4", - "args": "(ImU32 in)", - "ret": "ImVec4_Simple", - "nonUDT": 2, - "signature": "(ImU32)", - "call_args": "(in)", - "argsoriginal": "(ImU32 in)", - "stname": "ImGui", - "retorig": "ImVec4", - "ov_cimguiname": "igColorConvertU32ToFloat4_nonUDT2", - "comment": "", + ], + "argsoriginal": "(int column_index,float width)", + "call_args": "(column_index,width)", + "cimguiname": "igSetColumnWidth", "defaults": [], + "funcname": "SetColumnWidth", + "namespace": "ImGui", + "ov_cimguiname": "igSetColumnWidth", + "ret": "void", + "signature": "(int,float)", + "stname": "" + } + ], + "igSetCurrentContext": [ + { + "args": "(ImGuiContext* ctx)", "argsT": [ { - "type": "ImU32", - "name": "in" + "name": "ctx", + "type": "ImGuiContext*" } - ] + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igSetCurrentContext", + "defaults": [], + "funcname": "SetCurrentContext", + "namespace": "ImGui", + "ov_cimguiname": "igSetCurrentContext", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" } ], - "igPopTextWrapPos": [ + "igSetCursorPos": [ { - "funcname": "PopTextWrapPos", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(const ImVec2 local_pos)", + "argsT": [ + { + "name": "local_pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& local_pos)", + "call_args": "(local_pos)", + "cimguiname": "igSetCursorPos", "defaults": [], - "signature": "()", - "cimguiname": "igPopTextWrapPos" + "funcname": "SetCursorPos", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorPos", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" } ], - "ImGuiTextFilter_Clear": [ + "igSetCursorPosX": [ { - "funcname": "Clear", - "args": "(ImGuiTextFilter* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiTextFilter", + "args": "(float local_x)", "argsT": [ { - "type": "ImGuiTextFilter*", - "name": "self" + "name": "local_x", + "type": "float" } ], + "argsoriginal": "(float local_x)", + "call_args": "(local_x)", + "cimguiname": "igSetCursorPosX", "defaults": [], - "signature": "()", - "cimguiname": "ImGuiTextFilter_Clear" + "funcname": "SetCursorPosX", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorPosX", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "GlyphRangesBuilder_destroy": [ + "igSetCursorPosY": [ { - "signature": "(GlyphRangesBuilder*)", - "args": "(GlyphRangesBuilder* self)", + "args": "(float local_y)", + "argsT": [ + { + "name": "local_y", + "type": "float" + } + ], + "argsoriginal": "(float local_y)", + "call_args": "(local_y)", + "cimguiname": "igSetCursorPosY", + "defaults": [], + "funcname": "SetCursorPosY", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorPosY", "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "GlyphRangesBuilder", - "ov_cimguiname": "GlyphRangesBuilder_destroy", - "cimguiname": "GlyphRangesBuilder_destroy", + "signature": "(float)", + "stname": "" + } + ], + "igSetCursorScreenPos": [ + { + "args": "(const ImVec2 pos)", "argsT": [ { - "type": "GlyphRangesBuilder*", - "name": "self" + "name": "pos", + "type": "const ImVec2" } ], - "defaults": [] + "argsoriginal": "(const ImVec2& pos)", + "call_args": "(pos)", + "cimguiname": "igSetCursorScreenPos", + "defaults": [], + "funcname": "SetCursorScreenPos", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorScreenPos", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" } ], - "igGetColumnWidth": [ + "igSetDragDropPayload": [ { - "funcname": "GetColumnWidth", - "args": "(int column_index)", - "ret": "float", - "comment": "", - "call_args": "(column_index)", - "argsoriginal": "(int column_index=-1)", - "stname": "ImGui", + "args": "(const char* type,const void* data,size_t sz,ImGuiCond cond)", "argsT": [ { - "type": "int", - "name": "column_index" + "name": "type", + "type": "const char*" + }, + { + "name": "data", + "type": "const void*" + }, + { + "name": "sz", + "type": "size_t" + }, + { + "name": "cond", + "type": "ImGuiCond" } ], - "defaults": { "column_index": "-1" }, - "signature": "(int)", - "cimguiname": "igGetColumnWidth" + "argsoriginal": "(const char* type,const void* data,size_t sz,ImGuiCond cond=0)", + "call_args": "(type,data,sz,cond)", + "cimguiname": "igSetDragDropPayload", + "defaults": { + "cond": "0" + }, + "funcname": "SetDragDropPayload", + "namespace": "ImGui", + "ov_cimguiname": "igSetDragDropPayload", + "ret": "bool", + "signature": "(const char*,const void*,size_t,ImGuiCond)", + "stname": "" } ], - "igEndMenuBar": [ + "igSetItemAllowOverlap": [ { - "funcname": "EndMenuBar", "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetItemAllowOverlap", "defaults": [], + "funcname": "SetItemAllowOverlap", + "namespace": "ImGui", + "ov_cimguiname": "igSetItemAllowOverlap", + "ret": "void", "signature": "()", - "cimguiname": "igEndMenuBar" + "stname": "" } ], - "ImGuiTextFilter_destroy": [ + "igSetItemDefaultFocus": [ { - "signature": "(ImGuiTextFilter*)", - "args": "(ImGuiTextFilter* self)", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetItemDefaultFocus", + "defaults": [], + "funcname": "SetItemDefaultFocus", + "namespace": "ImGui", + "ov_cimguiname": "igSetItemDefaultFocus", "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiTextFilter", - "ov_cimguiname": "ImGuiTextFilter_destroy", - "cimguiname": "ImGuiTextFilter_destroy", + "signature": "()", + "stname": "" + } + ], + "igSetKeyboardFocusHere": [ + { + "args": "(int offset)", "argsT": [ { - "type": "ImGuiTextFilter*", - "name": "self" + "name": "offset", + "type": "int" } ], - "defaults": [] + "argsoriginal": "(int offset=0)", + "call_args": "(offset)", + "cimguiname": "igSetKeyboardFocusHere", + "defaults": { + "offset": "0" + }, + "funcname": "SetKeyboardFocusHere", + "namespace": "ImGui", + "ov_cimguiname": "igSetKeyboardFocusHere", + "ret": "void", + "signature": "(int)", + "stname": "" } ], - "igGetStyleColorName": [ + "igSetMouseCursor": [ { - "funcname": "GetStyleColorName", - "args": "(ImGuiCol idx)", - "ret": "const char*", - "comment": "", - "call_args": "(idx)", - "argsoriginal": "(ImGuiCol idx)", - "stname": "ImGui", + "args": "(ImGuiMouseCursor type)", "argsT": [ { - "type": "ImGuiCol", - "name": "idx" + "name": "type", + "type": "ImGuiMouseCursor" } ], + "argsoriginal": "(ImGuiMouseCursor type)", + "call_args": "(type)", + "cimguiname": "igSetMouseCursor", "defaults": [], - "signature": "(ImGuiCol)", - "cimguiname": "igGetStyleColorName" + "funcname": "SetMouseCursor", + "namespace": "ImGui", + "ov_cimguiname": "igSetMouseCursor", + "ret": "void", + "signature": "(ImGuiMouseCursor)", + "stname": "" } ], - "igIsMouseDragging": [ + "igSetNextItemOpen": [ { - "funcname": "IsMouseDragging", - "args": "(int button,float lock_threshold)", - "ret": "bool", - "comment": "", - "call_args": "(button,lock_threshold)", - "argsoriginal": "(int button=0,float lock_threshold=-1.0f)", - "stname": "ImGui", + "args": "(bool is_open,ImGuiCond cond)", "argsT": [ { - "type": "int", - "name": "button" + "name": "is_open", + "type": "bool" }, { - "type": "float", - "name": "lock_threshold" + "name": "cond", + "type": "ImGuiCond" } ], + "argsoriginal": "(bool is_open,ImGuiCond cond=0)", + "call_args": "(is_open,cond)", + "cimguiname": "igSetNextItemOpen", "defaults": { - "lock_threshold": "-1.0f", - "button": "0" + "cond": "0" }, - "signature": "(int,float)", - "cimguiname": "igIsMouseDragging" - } - ], - "ImDrawList_PrimWriteIdx": [ - { - "funcname": "PrimWriteIdx", - "args": "(ImDrawList* self,ImDrawIdx idx)", + "funcname": "SetNextItemOpen", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemOpen", "ret": "void", - "comment": "", - "call_args": "(idx)", - "argsoriginal": "(ImDrawIdx idx)", - "stname": "ImDrawList", - "argsT": [ - { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "ImDrawIdx", - "name": "idx" - } - ], - "defaults": [], - "signature": "(ImDrawIdx)", - "cimguiname": "ImDrawList_PrimWriteIdx" + "signature": "(bool,ImGuiCond)", + "stname": "" } ], - "ImGuiStyle_ScaleAllSizes": [ + "igSetNextItemWidth": [ { - "funcname": "ScaleAllSizes", - "args": "(ImGuiStyle* self,float scale_factor)", - "ret": "void", - "comment": "", - "call_args": "(scale_factor)", - "argsoriginal": "(float scale_factor)", - "stname": "ImGuiStyle", + "args": "(float item_width)", "argsT": [ { - "type": "ImGuiStyle*", - "name": "self" - }, - { - "type": "float", - "name": "scale_factor" + "name": "item_width", + "type": "float" } ], + "argsoriginal": "(float item_width)", + "call_args": "(item_width)", + "cimguiname": "igSetNextItemWidth", "defaults": [], + "funcname": "SetNextItemWidth", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemWidth", + "ret": "void", "signature": "(float)", - "cimguiname": "ImGuiStyle_ScaleAllSizes" + "stname": "" } ], - "igGetItemRectSize": [ - { - "funcname": "GetItemRectSize", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetItemRectSize" - }, + "igSetNextWindowBgAlpha": [ { - "funcname": "GetItemRectSize", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetItemRectSize", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetItemRectSize_nonUDT", - "comment": "", - "defaults": [], + "args": "(float alpha)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "alpha", + "type": "float" } - ] - }, - { - "cimguiname": "igGetItemRectSize", - "funcname": "GetItemRectSize", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetItemRectSize_nonUDT2", - "comment": "", + ], + "argsoriginal": "(float alpha)", + "call_args": "(alpha)", + "cimguiname": "igSetNextWindowBgAlpha", "defaults": [], - "argsT": [] + "funcname": "SetNextWindowBgAlpha", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowBgAlpha", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "igMemAlloc": [ + "igSetNextWindowClass": [ { - "funcname": "MemAlloc", - "args": "(size_t size)", - "ret": "void*", - "comment": "", - "call_args": "(size)", - "argsoriginal": "(size_t size)", - "stname": "ImGui", + "args": "(const ImGuiWindowClass* window_class)", "argsT": [ { - "type": "size_t", - "name": "size" + "name": "window_class", + "type": "const ImGuiWindowClass*" } ], + "argsoriginal": "(const ImGuiWindowClass* window_class)", + "call_args": "(window_class)", + "cimguiname": "igSetNextWindowClass", "defaults": [], - "signature": "(size_t)", - "cimguiname": "igMemAlloc" + "funcname": "SetNextWindowClass", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowClass", + "ret": "void", + "signature": "(const ImGuiWindowClass*)", + "stname": "" } ], - "igColorPicker3": [ + "igSetNextWindowCollapsed": [ { - "funcname": "ColorPicker3", - "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,col,flags)", - "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", - "stname": "ImGui", + "args": "(bool collapsed,ImGuiCond cond)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "float[3]", - "name": "col" + "name": "collapsed", + "type": "bool" }, { - "type": "ImGuiColorEditFlags", - "name": "flags" + "name": "cond", + "type": "ImGuiCond" } ], - "defaults": { "flags": "0" }, - "signature": "(const char*,float[3],ImGuiColorEditFlags)", - "cimguiname": "igColorPicker3" + "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", + "call_args": "(collapsed,cond)", + "cimguiname": "igSetNextWindowCollapsed", + "defaults": { + "cond": "0" + }, + "funcname": "SetNextWindowCollapsed", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowCollapsed", + "ret": "void", + "signature": "(bool,ImGuiCond)", + "stname": "" } ], - "igSetCurrentContext": [ + "igSetNextWindowContentSize": [ { - "funcname": "SetCurrentContext", - "args": "(ImGuiContext* ctx)", - "ret": "void", - "comment": "", - "call_args": "(ctx)", - "argsoriginal": "(ImGuiContext* ctx)", - "stname": "ImGui", + "args": "(const ImVec2 size)", "argsT": [ { - "type": "ImGuiContext*", - "name": "ctx" + "name": "size", + "type": "const ImVec2" } ], + "argsoriginal": "(const ImVec2& size)", + "call_args": "(size)", + "cimguiname": "igSetNextWindowContentSize", "defaults": [], - "signature": "(ImGuiContext*)", - "cimguiname": "igSetCurrentContext" + "funcname": "SetNextWindowContentSize", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowContentSize", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" } ], - "igPushItemWidth": [ + "igSetNextWindowDockID": [ { - "funcname": "PushItemWidth", - "args": "(float item_width)", - "ret": "void", - "comment": "", - "call_args": "(item_width)", - "argsoriginal": "(float item_width)", - "stname": "ImGui", + "args": "(ImGuiID dock_id,ImGuiCond cond)", "argsT": [ { - "type": "float", - "name": "item_width" + "name": "dock_id", + "type": "ImGuiID" + }, + { + "name": "cond", + "type": "ImGuiCond" } ], - "defaults": [], - "signature": "(float)", - "cimguiname": "igPushItemWidth" + "argsoriginal": "(ImGuiID dock_id,ImGuiCond cond=0)", + "call_args": "(dock_id,cond)", + "cimguiname": "igSetNextWindowDockID", + "defaults": { + "cond": "0" + }, + "funcname": "SetNextWindowDockID", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowDockID", + "ret": "void", + "signature": "(ImGuiID,ImGuiCond)", + "stname": "" } ], - "igGetStyle": [ + "igSetNextWindowFocus": [ { - "funcname": "GetStyle", "args": "()", - "ret": "ImGuiStyle*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], - "retref": "&", - "defaults": [], - "signature": "()", - "cimguiname": "igGetStyle" - } - ], - "igSetItemAllowOverlap": [ - { - "funcname": "SetItemAllowOverlap", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igSetItemAllowOverlap" - } - ], - "igEndChild": [ - { - "funcname": "EndChild", - "args": "()", - "ret": "void", - "comment": "", "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "cimguiname": "igSetNextWindowFocus", "defaults": [], + "funcname": "SetNextWindowFocus", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowFocus", + "ret": "void", "signature": "()", - "cimguiname": "igEndChild" + "stname": "" } ], - "igCollapsingHeader": [ - { - "funcname": "CollapsingHeader", - "args": "(const char* label,ImGuiTreeNodeFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,flags)", - "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", - "stname": "ImGui", - "argsT": [ - { - "type": "const char*", - "name": "label" - }, - { - "type": "ImGuiTreeNodeFlags", - "name": "flags" - } - ], - "ov_cimguiname": "igCollapsingHeader", - "defaults": { "flags": "0" }, - "signature": "(const char*,ImGuiTreeNodeFlags)", - "cimguiname": "igCollapsingHeader" - }, + "igSetNextWindowPos": [ { - "funcname": "CollapsingHeader", - "args": "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,p_open,flags)", - "argsoriginal": "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)", - "stname": "ImGui", + "args": "(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "pos", + "type": "const ImVec2" }, { - "type": "bool*", - "name": "p_open" + "name": "cond", + "type": "ImGuiCond" }, { - "type": "ImGuiTreeNodeFlags", - "name": "flags" + "name": "pivot", + "type": "const ImVec2" } ], - "ov_cimguiname": "igCollapsingHeaderBoolPtr", - "defaults": { "flags": "0" }, - "signature": "(const char*,bool*,ImGuiTreeNodeFlags)", - "cimguiname": "igCollapsingHeader" + "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))", + "call_args": "(pos,cond,pivot)", + "cimguiname": "igSetNextWindowPos", + "defaults": { + "cond": "0", + "pivot": "ImVec2(0,0)" + }, + "funcname": "SetNextWindowPos", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowPos", + "ret": "void", + "signature": "(const ImVec2,ImGuiCond,const ImVec2)", + "stname": "" } ], - "igTextDisabledV": [ + "igSetNextWindowSize": [ { - "funcname": "TextDisabledV", - "args": "(const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(fmt,args)", - "argsoriginal": "(const char* fmt,va_list args)", - "stname": "ImGui", + "args": "(const ImVec2 size,ImGuiCond cond)", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "size", + "type": "const ImVec2" }, { - "type": "va_list", - "name": "args" + "name": "cond", + "type": "ImGuiCond" } ], - "defaults": [], - "signature": "(const char*,va_list)", - "cimguiname": "igTextDisabledV" + "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", + "call_args": "(size,cond)", + "cimguiname": "igSetNextWindowSize", + "defaults": { + "cond": "0" + }, + "funcname": "SetNextWindowSize", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowSize", + "ret": "void", + "signature": "(const ImVec2,ImGuiCond)", + "stname": "" } ], - "igDragFloatRange2": [ + "igSetNextWindowSizeConstraints": [ { - "funcname": "DragFloatRange2", - "args": "(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)", - "argsoriginal": "(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void*)0),float power=1.0f)", - "stname": "ImGui", + "args": "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "float*", - "name": "v_current_min" - }, - { - "type": "float*", - "name": "v_current_max" + "name": "size_min", + "type": "const ImVec2" }, { - "type": "float", - "name": "v_speed" + "name": "size_max", + "type": "const ImVec2" }, { - "type": "float", - "name": "v_min" + "name": "custom_callback", + "type": "ImGuiSizeCallback" }, { - "type": "float", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" - }, - { - "type": "const char*", - "name": "format_max" - }, - { - "type": "float", - "name": "power" + "name": "custom_callback_data", + "type": "void*" } ], + "argsoriginal": "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void*)0),void* custom_callback_data=((void*)0))", + "call_args": "(size_min,size_max,custom_callback,custom_callback_data)", + "cimguiname": "igSetNextWindowSizeConstraints", "defaults": { - "v_speed": "1.0f", - "v_min": "0.0f", - "power": "1.0f", - "format_max": "((void*)0)", - "v_max": "0.0f", - "format": "\"%.3f\"" + "custom_callback": "((void*)0)", + "custom_callback_data": "((void*)0)" }, - "signature": "(const char*,float*,float*,float,float,float,const char*,const char*,float)", - "cimguiname": "igDragFloatRange2" + "funcname": "SetNextWindowSizeConstraints", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowSizeConstraints", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)", + "stname": "" } ], - "igSetMouseCursor": [ + "igSetNextWindowViewport": [ { - "funcname": "SetMouseCursor", - "args": "(ImGuiMouseCursor type)", - "ret": "void", - "comment": "", - "call_args": "(type)", - "argsoriginal": "(ImGuiMouseCursor type)", - "stname": "ImGui", + "args": "(ImGuiID viewport_id)", "argsT": [ { - "type": "ImGuiMouseCursor", - "name": "type" + "name": "viewport_id", + "type": "ImGuiID" } ], + "argsoriginal": "(ImGuiID viewport_id)", + "call_args": "(viewport_id)", + "cimguiname": "igSetNextWindowViewport", "defaults": [], - "signature": "(ImGuiMouseCursor)", - "cimguiname": "igSetMouseCursor" + "funcname": "SetNextWindowViewport", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowViewport", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" } ], - "igShowFontSelector": [ + "igSetScrollFromPosX": [ { - "funcname": "ShowFontSelector", - "args": "(const char* label)", - "ret": "void", - "comment": "", - "call_args": "(label)", - "argsoriginal": "(const char* label)", - "stname": "ImGui", + "args": "(float local_x,float center_x_ratio)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "local_x", + "type": "float" + }, + { + "name": "center_x_ratio", + "type": "float" } ], - "defaults": [], - "signature": "(const char*)", - "cimguiname": "igShowFontSelector" + "argsoriginal": "(float local_x,float center_x_ratio=0.5f)", + "call_args": "(local_x,center_x_ratio)", + "cimguiname": "igSetScrollFromPosX", + "defaults": { + "center_x_ratio": "0.5f" + }, + "funcname": "SetScrollFromPosX", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollFromPosX", + "ret": "void", + "signature": "(float,float)", + "stname": "" } ], - "igInputScalar": [ + "igSetScrollFromPosY": [ { - "funcname": "InputScalar", - "args": "(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,data_type,v,step,step_fast,format,extra_flags)", - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,const void* step=((void*)0),const void* step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(float local_y,float center_y_ratio)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "ImGuiDataType", - "name": "data_type" + "name": "local_y", + "type": "float" }, { - "type": "void*", - "name": "v" - }, - { - "type": "const void*", - "name": "step" - }, - { - "type": "const void*", - "name": "step_fast" - }, - { - "type": "const char*", - "name": "format" - }, - { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "center_y_ratio", + "type": "float" } ], + "argsoriginal": "(float local_y,float center_y_ratio=0.5f)", + "call_args": "(local_y,center_y_ratio)", + "cimguiname": "igSetScrollFromPosY", "defaults": { - "step": "((void*)0)", - "format": "((void*)0)", - "step_fast": "((void*)0)", - "extra_flags": "0" + "center_y_ratio": "0.5f" }, - "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)", - "cimguiname": "igInputScalar" + "funcname": "SetScrollFromPosY", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollFromPosY", + "ret": "void", + "signature": "(float,float)", + "stname": "" } ], - "ImDrawList_PushClipRectFullScreen": [ + "igSetScrollHereX": [ { - "funcname": "PushClipRectFullScreen", - "args": "(ImDrawList* self)", + "args": "(float center_x_ratio)", + "argsT": [ + { + "name": "center_x_ratio", + "type": "float" + } + ], + "argsoriginal": "(float center_x_ratio=0.5f)", + "call_args": "(center_x_ratio)", + "cimguiname": "igSetScrollHereX", + "defaults": { + "center_x_ratio": "0.5f" + }, + "funcname": "SetScrollHereX", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollHereX", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "signature": "(float)", + "stname": "" + } + ], + "igSetScrollHereY": [ + { + "args": "(float center_y_ratio)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "center_y_ratio", + "type": "float" } ], - "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_PushClipRectFullScreen" + "argsoriginal": "(float center_y_ratio=0.5f)", + "call_args": "(center_y_ratio)", + "cimguiname": "igSetScrollHereY", + "defaults": { + "center_y_ratio": "0.5f" + }, + "funcname": "SetScrollHereY", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollHereY", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "igShowStyleSelector": [ + "igSetScrollX": [ { - "funcname": "ShowStyleSelector", - "args": "(const char* label)", - "ret": "bool", - "comment": "", - "call_args": "(label)", - "argsoriginal": "(const char* label)", - "stname": "ImGui", + "args": "(float scroll_x)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "scroll_x", + "type": "float" } ], + "argsoriginal": "(float scroll_x)", + "call_args": "(scroll_x)", + "cimguiname": "igSetScrollX", "defaults": [], - "signature": "(const char*)", - "cimguiname": "igShowStyleSelector" + "funcname": "SetScrollX", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollX", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "igGetTime": [ + "igSetScrollY": [ { - "funcname": "GetTime", - "args": "()", - "ret": "double", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(float scroll_y)", + "argsT": [ + { + "name": "scroll_y", + "type": "float" + } + ], + "argsoriginal": "(float scroll_y)", + "call_args": "(scroll_y)", + "cimguiname": "igSetScrollY", "defaults": [], - "signature": "()", - "cimguiname": "igGetTime" + "funcname": "SetScrollY", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollY", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "ImDrawList_ChannelsMerge": [ + "igSetStateStorage": [ { - "funcname": "ChannelsMerge", - "args": "(ImDrawList* self)", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawList", + "args": "(ImGuiStorage* storage)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" + "name": "storage", + "type": "ImGuiStorage*" } ], + "argsoriginal": "(ImGuiStorage* storage)", + "call_args": "(storage)", + "cimguiname": "igSetStateStorage", "defaults": [], - "signature": "()", - "cimguiname": "ImDrawList_ChannelsMerge" + "funcname": "SetStateStorage", + "namespace": "ImGui", + "ov_cimguiname": "igSetStateStorage", + "ret": "void", + "signature": "(ImGuiStorage*)", + "stname": "" } ], - "igGetColumnIndex": [ + "igSetTabItemClosed": [ { - "funcname": "GetColumnIndex", - "args": "()", - "ret": "int", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(const char* tab_or_docked_window_label)", + "argsT": [ + { + "name": "tab_or_docked_window_label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* tab_or_docked_window_label)", + "call_args": "(tab_or_docked_window_label)", + "cimguiname": "igSetTabItemClosed", "defaults": [], - "signature": "()", - "cimguiname": "igGetColumnIndex" + "funcname": "SetTabItemClosed", + "namespace": "ImGui", + "ov_cimguiname": "igSetTabItemClosed", + "ret": "void", + "signature": "(const char*)", + "stname": "" } ], - "igBeginPopupContextItem": [ + "igSetTooltip": [ { - "funcname": "BeginPopupContextItem", - "args": "(const char* str_id,int mouse_button)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,mouse_button)", - "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)", - "stname": "ImGui", + "args": "(const char* fmt,...)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "fmt", + "type": "const char*" }, { - "type": "int", - "name": "mouse_button" + "name": "...", + "type": "..." } ], - "defaults": { - "mouse_button": "1", - "str_id": "((void*)0)" - }, - "signature": "(const char*,int)", - "cimguiname": "igBeginPopupContextItem" - } - ], - "igGetCursorPosX": [ - { - "funcname": "GetCursorPosX", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igSetTooltip", "defaults": [], - "signature": "()", - "cimguiname": "igGetCursorPosX" - } - ], - "igEndMainMenuBar": [ - { - "funcname": "EndMainMenuBar", - "args": "()", + "funcname": "SetTooltip", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igSetTooltip", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEndMainMenuBar" + "signature": "(const char*,...)", + "stname": "" } ], - "igSetCursorPosX": [ + "igSetTooltipV": [ { - "funcname": "SetCursorPosX", - "args": "(float x)", - "ret": "void", - "comment": "", - "call_args": "(x)", - "argsoriginal": "(float x)", - "stname": "ImGui", + "args": "(const char* fmt,va_list args)", "argsT": [ { - "type": "float", - "name": "x" + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" } ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igSetTooltipV", "defaults": [], - "signature": "(float)", - "cimguiname": "igSetCursorPosX" - } - ], - "igGetMouseCursor": [ - { - "funcname": "GetMouseCursor", - "args": "()", - "ret": "ImGuiMouseCursor", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetMouseCursor" + "funcname": "SetTooltipV", + "namespace": "ImGui", + "ov_cimguiname": "igSetTooltipV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" } ], - "igMenuItem": [ + "igSetWindowCollapsed": [ { - "funcname": "MenuItem", - "args": "(const char* label,const char* shortcut,bool selected,bool enabled)", - "ret": "bool", - "comment": "", - "call_args": "(label,shortcut,selected,enabled)", - "argsoriginal": "(const char* label,const char* shortcut=((void*)0),bool selected=false,bool enabled=true)", - "stname": "ImGui", + "args": "(bool collapsed,ImGuiCond cond)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "const char*", - "name": "shortcut" + "name": "collapsed", + "type": "bool" }, { - "type": "bool", - "name": "selected" - }, - { - "type": "bool", - "name": "enabled" + "name": "cond", + "type": "ImGuiCond" } ], - "ov_cimguiname": "igMenuItemBool", + "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", + "call_args": "(collapsed,cond)", + "cimguiname": "igSetWindowCollapsed", "defaults": { - "enabled": "true", - "shortcut": "((void*)0)", - "selected": "false" + "cond": "0" }, - "signature": "(const char*,const char*,bool,bool)", - "cimguiname": "igMenuItem" + "funcname": "SetWindowCollapsed", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowCollapsedBool", + "ret": "void", + "signature": "(bool,ImGuiCond)", + "stname": "" }, { - "funcname": "MenuItem", - "args": "(const char* label,const char* shortcut,bool* p_selected,bool enabled)", - "ret": "bool", - "comment": "", - "call_args": "(label,shortcut,p_selected,enabled)", - "argsoriginal": "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)", - "stname": "ImGui", + "args": "(const char* name,bool collapsed,ImGuiCond cond)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "const char*", - "name": "shortcut" + "name": "name", + "type": "const char*" }, { - "type": "bool*", - "name": "p_selected" + "name": "collapsed", + "type": "bool" }, { - "type": "bool", - "name": "enabled" + "name": "cond", + "type": "ImGuiCond" } ], - "ov_cimguiname": "igMenuItemBoolPtr", - "defaults": { "enabled": "true" }, - "signature": "(const char*,const char*,bool*,bool)", - "cimguiname": "igMenuItem" + "argsoriginal": "(const char* name,bool collapsed,ImGuiCond cond=0)", + "call_args": "(name,collapsed,cond)", + "cimguiname": "igSetWindowCollapsed", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowCollapsed", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowCollapsedStr", + "ret": "void", + "signature": "(const char*,bool,ImGuiCond)", + "stname": "" } ], - "igGetScrollY": [ + "igSetWindowFocus": [ { - "funcname": "GetScrollY", "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetWindowFocus", "defaults": [], + "funcname": "SetWindowFocus", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowFocus", + "ret": "void", "signature": "()", - "cimguiname": "igGetScrollY" - } - ], - "igPushAllowKeyboardFocus": [ + "stname": "" + }, { - "funcname": "PushAllowKeyboardFocus", - "args": "(bool allow_keyboard_focus)", - "ret": "void", - "comment": "", - "call_args": "(allow_keyboard_focus)", - "argsoriginal": "(bool allow_keyboard_focus)", - "stname": "ImGui", + "args": "(const char* name)", "argsT": [ { - "type": "bool", - "name": "allow_keyboard_focus" + "name": "name", + "type": "const char*" } ], + "argsoriginal": "(const char* name)", + "call_args": "(name)", + "cimguiname": "igSetWindowFocus", "defaults": [], - "signature": "(bool)", - "cimguiname": "igPushAllowKeyboardFocus" + "funcname": "SetWindowFocus", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowFocusStr", + "ret": "void", + "signature": "(const char*)", + "stname": "" } ], - "ImGuiTextBuffer_begin": [ + "igSetWindowFontScale": [ { - "funcname": "begin", - "args": "(ImGuiTextBuffer* self)", - "ret": "const char*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiTextBuffer", + "args": "(float scale)", "argsT": [ { - "type": "ImGuiTextBuffer*", - "name": "self" + "name": "scale", + "type": "float" } ], + "argsoriginal": "(float scale)", + "call_args": "(scale)", + "cimguiname": "igSetWindowFontScale", "defaults": [], - "signature": "()", - "cimguiname": "ImGuiTextBuffer_begin" - } - ], - "igSetCursorPosY": [ - { - "funcname": "SetCursorPosY", - "args": "(float y)", + "funcname": "SetWindowFontScale", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowFontScale", "ret": "void", - "comment": "", - "call_args": "(y)", - "argsoriginal": "(float y)", - "stname": "ImGui", - "argsT": [ - { - "type": "float", - "name": "y" - } - ], - "defaults": [], "signature": "(float)", - "cimguiname": "igSetCursorPosY" + "stname": "" } ], "igSetWindowPos": [ { - "funcname": "SetWindowPos", "args": "(const ImVec2 pos,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(pos,cond)", - "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0)", - "stname": "ImGui", "argsT": [ { - "type": "const ImVec2", - "name": "pos" + "name": "pos", + "type": "const ImVec2" }, { - "type": "ImGuiCond", - "name": "cond" + "name": "cond", + "type": "ImGuiCond" } ], + "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0)", + "call_args": "(pos,cond)", + "cimguiname": "igSetWindowPos", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowPos", + "namespace": "ImGui", "ov_cimguiname": "igSetWindowPosVec2", - "defaults": { "cond": "0" }, + "ret": "void", "signature": "(const ImVec2,ImGuiCond)", - "cimguiname": "igSetWindowPos" + "stname": "" }, { - "funcname": "SetWindowPos", "args": "(const char* name,const ImVec2 pos,ImGuiCond cond)", - "ret": "void", - "comment": "", - "call_args": "(name,pos,cond)", - "argsoriginal": "(const char* name,const ImVec2& pos,ImGuiCond cond=0)", - "stname": "ImGui", "argsT": [ { - "type": "const char*", - "name": "name" + "name": "name", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "pos" + "name": "pos", + "type": "const ImVec2" }, { - "type": "ImGuiCond", - "name": "cond" + "name": "cond", + "type": "ImGuiCond" } ], + "argsoriginal": "(const char* name,const ImVec2& pos,ImGuiCond cond=0)", + "call_args": "(name,pos,cond)", + "cimguiname": "igSetWindowPos", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowPos", + "namespace": "ImGui", "ov_cimguiname": "igSetWindowPosStr", - "defaults": { "cond": "0" }, + "ret": "void", "signature": "(const char*,const ImVec2,ImGuiCond)", - "cimguiname": "igSetWindowPos" - } - ], - "igGetCursorPosY": [ - { - "funcname": "GetCursorPosY", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetCursorPosY" + "stname": "" } ], - "ImFontAtlas_AddCustomRectFontGlyph": [ + "igSetWindowSize": [ { - "funcname": "AddCustomRectFontGlyph", - "args": "(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)", - "ret": "int", - "comment": "", - "call_args": "(font,id,width,height,advance_x,offset)", - "argsoriginal": "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))", - "stname": "ImFontAtlas", + "args": "(const ImVec2 size,ImGuiCond cond)", "argsT": [ { - "type": "ImFontAtlas*", - "name": "self" - }, - { - "type": "ImFont*", - "name": "font" - }, - { - "type": "ImWchar", - "name": "id" + "name": "size", + "type": "const ImVec2" }, { - "type": "int", - "name": "width" - }, + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", + "call_args": "(size,cond)", + "cimguiname": "igSetWindowSize", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowSize", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowSizeVec2", + "ret": "void", + "signature": "(const ImVec2,ImGuiCond)", + "stname": "" + }, + { + "args": "(const char* name,const ImVec2 size,ImGuiCond cond)", + "argsT": [ { - "type": "int", - "name": "height" + "name": "name", + "type": "const char*" }, { - "type": "float", - "name": "advance_x" + "name": "size", + "type": "const ImVec2" }, { - "type": "const ImVec2", - "name": "offset" + "name": "cond", + "type": "ImGuiCond" } ], - "defaults": { "offset": "ImVec2(0,0)" }, - "signature": "(ImFont*,ImWchar,int,int,float,const ImVec2)", - "cimguiname": "ImFontAtlas_AddCustomRectFontGlyph" - } - ], - "ImVec2_ImVec2": [ - { - "funcname": "ImVec2", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImVec2", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImVec2_ImVec2", - "defaults": [], - "signature": "()", - "cimguiname": "ImVec2_ImVec2" - }, + "argsoriginal": "(const char* name,const ImVec2& size,ImGuiCond cond=0)", + "call_args": "(name,size,cond)", + "cimguiname": "igSetWindowSize", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowSize", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowSizeStr", + "ret": "void", + "signature": "(const char*,const ImVec2,ImGuiCond)", + "stname": "" + } + ], + "igShowAboutWindow": [ { - "funcname": "ImVec2", - "args": "(float _x,float _y)", + "args": "(bool* p_open)", "argsT": [ { - "type": "float", - "name": "_x" - }, - { - "type": "float", - "name": "_y" + "name": "p_open", + "type": "bool*" } ], - "call_args": "(_x,_y)", - "argsoriginal": "(float _x,float _y)", - "stname": "ImVec2", - "constructor": true, - "comment": "", - "ov_cimguiname": "ImVec2_ImVec2Float", - "defaults": [], - "signature": "(float,float)", - "cimguiname": "ImVec2_ImVec2" + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowAboutWindow", + "defaults": { + "p_open": "((void*)0)" + }, + "funcname": "ShowAboutWindow", + "namespace": "ImGui", + "ov_cimguiname": "igShowAboutWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" } ], - "igBulletTextV": [ + "igShowDemoWindow": [ { - "funcname": "BulletTextV", - "args": "(const char* fmt,va_list args)", - "ret": "void", - "comment": "", - "call_args": "(fmt,args)", - "argsoriginal": "(const char* fmt,va_list args)", - "stname": "ImGui", + "args": "(bool* p_open)", "argsT": [ { - "type": "const char*", - "name": "fmt" - }, - { - "type": "va_list", - "name": "args" + "name": "p_open", + "type": "bool*" } ], - "defaults": [], - "signature": "(const char*,va_list)", - "cimguiname": "igBulletTextV" + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowDemoWindow", + "defaults": { + "p_open": "((void*)0)" + }, + "funcname": "ShowDemoWindow", + "namespace": "ImGui", + "ov_cimguiname": "igShowDemoWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" } ], - "igGetContentRegionAvailWidth": [ + "igShowFontSelector": [ { - "funcname": "GetContentRegionAvailWidth", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igShowFontSelector", "defaults": [], - "signature": "()", - "cimguiname": "igGetContentRegionAvailWidth" + "funcname": "ShowFontSelector", + "namespace": "ImGui", + "ov_cimguiname": "igShowFontSelector", + "ret": "void", + "signature": "(const char*)", + "stname": "" } ], - "igEnd": [ + "igShowMetricsWindow": [ { - "funcname": "End", - "args": "()", + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowMetricsWindow", + "defaults": { + "p_open": "((void*)0)" + }, + "funcname": "ShowMetricsWindow", + "namespace": "ImGui", + "ov_cimguiname": "igShowMetricsWindow", "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igEnd" + "signature": "(bool*)", + "stname": "" } ], - "igIsKeyDown": [ + "igShowStyleEditor": [ { - "funcname": "IsKeyDown", - "args": "(int user_key_index)", - "ret": "bool", - "comment": "", - "call_args": "(user_key_index)", - "argsoriginal": "(int user_key_index)", - "stname": "ImGui", + "args": "(ImGuiStyle* ref)", "argsT": [ { - "type": "int", - "name": "user_key_index" + "name": "ref", + "type": "ImGuiStyle*" } ], - "defaults": [], - "signature": "(int)", - "cimguiname": "igIsKeyDown" + "argsoriginal": "(ImGuiStyle* ref=((void*)0))", + "call_args": "(ref)", + "cimguiname": "igShowStyleEditor", + "defaults": { + "ref": "((void*)0)" + }, + "funcname": "ShowStyleEditor", + "namespace": "ImGui", + "ov_cimguiname": "igShowStyleEditor", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "" } ], - "igIsMouseDown": [ + "igShowStyleSelector": [ { - "funcname": "IsMouseDown", - "args": "(int button)", - "ret": "bool", - "comment": "", - "call_args": "(button)", - "argsoriginal": "(int button)", - "stname": "ImGui", + "args": "(const char* label)", "argsT": [ { - "type": "int", - "name": "button" + "name": "label", + "type": "const char*" } ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igShowStyleSelector", "defaults": [], - "signature": "(int)", - "cimguiname": "igIsMouseDown" + "funcname": "ShowStyleSelector", + "namespace": "ImGui", + "ov_cimguiname": "igShowStyleSelector", + "ret": "bool", + "signature": "(const char*)", + "stname": "" } ], - "igGetCursorPos": [ + "igShowUserGuide": [ { - "funcname": "GetCursorPos", "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igShowUserGuide", "defaults": [], - "signature": "()", - "cimguiname": "igGetCursorPos" - }, - { - "funcname": "GetCursorPos", - "args": "(ImVec2 *pOut)", + "funcname": "ShowUserGuide", + "namespace": "ImGui", + "ov_cimguiname": "igShowUserGuide", "ret": "void", - "cimguiname": "igGetCursorPos", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "signature": "()", - "ov_cimguiname": "igGetCursorPos_nonUDT", - "comment": "", - "defaults": [], + "stname": "" + } + ], + "igSliderAngle": [ + { + "args": "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "label", + "type": "const char*" + }, + { + "name": "v_rad", + "type": "float*" + }, + { + "name": "v_degrees_min", + "type": "float" + }, + { + "name": "v_degrees_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" } - ] - }, - { - "cimguiname": "igGetCursorPos", - "funcname": "GetCursorPos", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetCursorPos_nonUDT2", - "comment": "", - "defaults": [], - "argsT": [] + ], + "argsoriginal": "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f,const char* format=\"%.0f deg\")", + "call_args": "(label,v_rad,v_degrees_min,v_degrees_max,format)", + "cimguiname": "igSliderAngle", + "defaults": { + "format": "\"%.0f deg\"", + "v_degrees_max": "+360.0f", + "v_degrees_min": "-360.0f" + }, + "funcname": "SliderAngle", + "namespace": "ImGui", + "ov_cimguiname": "igSliderAngle", + "ret": "bool", + "signature": "(const char*,float*,float,float,const char*)", + "stname": "" } ], - "igLogButtons": [ + "igSliderFloat": [ { - "funcname": "LogButtons", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igLogButtons" + "args": "(const char* label,float* v,float v_min,float v_max,const char* format,float power)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float*" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "power", + "type": "float" + } + ], + "argsoriginal": "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_min,v_max,format,power)", + "cimguiname": "igSliderFloat", + "defaults": { + "format": "\"%.3f\"", + "power": "1.0f" + }, + "funcname": "SliderFloat", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat", + "ret": "bool", + "signature": "(const char*,float*,float,float,const char*,float)", + "stname": "" } ], - "igDestroyContext": [ + "igSliderFloat2": [ { - "funcname": "DestroyContext", - "args": "(ImGuiContext* ctx)", - "ret": "void", - "comment": "", - "call_args": "(ctx)", - "argsoriginal": "(ImGuiContext* ctx=((void*)0))", - "stname": "ImGui", + "args": "(const char* label,float v[2],float v_min,float v_max,const char* format,float power)", "argsT": [ { - "type": "ImGuiContext*", - "name": "ctx" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[2]" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "power", + "type": "float" } ], - "defaults": { "ctx": "((void*)0)" }, - "signature": "(ImGuiContext*)", - "cimguiname": "igDestroyContext" + "argsoriginal": "(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_min,v_max,format,power)", + "cimguiname": "igSliderFloat2", + "defaults": { + "format": "\"%.3f\"", + "power": "1.0f" + }, + "funcname": "SliderFloat2", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat2", + "ret": "bool", + "signature": "(const char*,float[2],float,float,const char*,float)", + "stname": "" } ], - "igSliderAngle": [ + "igSliderFloat3": [ { - "funcname": "SliderAngle", - "args": "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format)", + "args": "(const char* label,float v[3],float v_min,float v_max,const char* format,float power)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[3]" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "power", + "type": "float" + } + ], + "argsoriginal": "(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_min,v_max,format,power)", + "cimguiname": "igSliderFloat3", + "defaults": { + "format": "\"%.3f\"", + "power": "1.0f" + }, + "funcname": "SliderFloat3", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat3", "ret": "bool", - "comment": "", - "call_args": "(label,v_rad,v_degrees_min,v_degrees_max,format)", - "argsoriginal": "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f,const char* format=\"%.0f deg\")", - "stname": "ImGui", + "signature": "(const char*,float[3],float,float,const char*,float)", + "stname": "" + } + ], + "igSliderFloat4": [ + { + "args": "(const char* label,float v[4],float v_min,float v_max,const char* format,float power)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[4]" }, { - "type": "float*", - "name": "v_rad" + "name": "v_min", + "type": "float" }, { - "type": "float", - "name": "v_degrees_min" + "name": "v_max", + "type": "float" }, { - "type": "float", - "name": "v_degrees_max" + "name": "format", + "type": "const char*" }, { - "type": "const char*", - "name": "format" + "name": "power", + "type": "float" } ], + "argsoriginal": "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,v,v_min,v_max,format,power)", + "cimguiname": "igSliderFloat4", "defaults": { - "v_degrees_min": "-360.0f", - "v_degrees_max": "+360.0f", - "format": "\"%.0f deg\"" + "format": "\"%.3f\"", + "power": "1.0f" }, - "signature": "(const char*,float*,float,float,const char*)", - "cimguiname": "igSliderAngle" + "funcname": "SliderFloat4", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat4", + "ret": "bool", + "signature": "(const char*,float[4],float,float,const char*,float)", + "stname": "" } ], - "igSetNextWindowContentSize": [ + "igSliderInt": [ { - "funcname": "SetNextWindowContentSize", - "args": "(const ImVec2 size)", - "ret": "void", - "comment": "", - "call_args": "(size)", - "argsoriginal": "(const ImVec2& size)", - "stname": "ImGui", + "args": "(const char* label,int* v,int v_min,int v_max,const char* format)", "argsT": [ { - "type": "const ImVec2", - "name": "size" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" } ], - "defaults": [], - "signature": "(const ImVec2)", - "cimguiname": "igSetNextWindowContentSize" - } - ], - "igGetWindowWidth": [ - { - "funcname": "GetWindowWidth", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetWindowWidth" + "argsoriginal": "(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")", + "call_args": "(label,v,v_min,v_max,format)", + "cimguiname": "igSliderInt", + "defaults": { + "format": "\"%d\"" + }, + "funcname": "SliderInt", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt", + "ret": "bool", + "signature": "(const char*,int*,int,int,const char*)", + "stname": "" } ], - "igGetWindowContentRegionMin": [ - { - "funcname": "GetWindowContentRegionMin", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetWindowContentRegionMin" - }, + "igSliderInt2": [ { - "funcname": "GetWindowContentRegionMin", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetWindowContentRegionMin", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetWindowContentRegionMin_nonUDT", - "comment": "", - "defaults": [], + "args": "(const char* label,int v[2],int v_min,int v_max,const char* format)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" - } - ] - }, - { - "cimguiname": "igGetWindowContentRegionMin", - "funcname": "GetWindowContentRegionMin", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetWindowContentRegionMin_nonUDT2", - "comment": "", - "defaults": [], - "argsT": [] - } - ], - "ImGuiStorage_GetInt": [ - { - "funcname": "GetInt", - "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", - "ret": "int", - "comment": "", - "call_args": "(key,default_val)", - "argsoriginal": "(ImGuiID key,int default_val=0)", - "stname": "ImGuiStorage", - "argsT": [ + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[2]" + }, { - "type": "ImGuiStorage*", - "name": "self" + "name": "v_min", + "type": "int" }, { - "type": "ImGuiID", - "name": "key" + "name": "v_max", + "type": "int" }, { - "type": "int", - "name": "default_val" + "name": "format", + "type": "const char*" } ], - "defaults": { "default_val": "0" }, - "signature": "(ImGuiID,int)", - "cimguiname": "ImGuiStorage_GetInt" + "argsoriginal": "(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")", + "call_args": "(label,v,v_min,v_max,format)", + "cimguiname": "igSliderInt2", + "defaults": { + "format": "\"%d\"" + }, + "funcname": "SliderInt2", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt2", + "ret": "bool", + "signature": "(const char*,int[2],int,int,const char*)", + "stname": "" } ], "igSliderInt3": [ { - "funcname": "SliderInt3", "args": "(const char* label,int v[3],int v_min,int v_max,const char* format)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format)", - "argsoriginal": "(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")", - "stname": "ImGui", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "label", + "type": "const char*" }, { - "type": "int[3]", - "name": "v" + "name": "v", + "type": "int[3]" }, { - "type": "int", - "name": "v_min" + "name": "v_min", + "type": "int" }, { - "type": "int", - "name": "v_max" + "name": "v_max", + "type": "int" }, { - "type": "const char*", - "name": "format" + "name": "format", + "type": "const char*" } ], - "defaults": { "format": "\"%d\"" }, + "argsoriginal": "(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")", + "call_args": "(label,v,v_min,v_max,format)", + "cimguiname": "igSliderInt3", + "defaults": { + "format": "\"%d\"" + }, + "funcname": "SliderInt3", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt3", + "ret": "bool", "signature": "(const char*,int[3],int,int,const char*)", - "cimguiname": "igSliderInt3" + "stname": "" } ], - "igPushTextWrapPos": [ + "igSliderInt4": [ { - "funcname": "PushTextWrapPos", - "args": "(float wrap_pos_x)", - "ret": "void", - "comment": "", - "call_args": "(wrap_pos_x)", - "argsoriginal": "(float wrap_pos_x=0.0f)", - "stname": "ImGui", + "args": "(const char* label,int v[4],int v_min,int v_max,const char* format)", "argsT": [ { - "type": "float", - "name": "wrap_pos_x" + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[4]" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" } ], - "defaults": { "wrap_pos_x": "0.0f" }, - "signature": "(float)", - "cimguiname": "igPushTextWrapPos" + "argsoriginal": "(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")", + "call_args": "(label,v,v_min,v_max,format)", + "cimguiname": "igSliderInt4", + "defaults": { + "format": "\"%d\"" + }, + "funcname": "SliderInt4", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt4", + "ret": "bool", + "signature": "(const char*,int[4],int,int,const char*)", + "stname": "" } ], - "igSliderScalarN": [ + "igSliderScalar": [ { - "funcname": "SliderScalarN", - "args": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,data_type,v,components,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void*)0),float power=1.0f)", - "stname": "ImGui", + "args": "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "ImGuiDataType", - "name": "data_type" + "name": "label", + "type": "const char*" }, { - "type": "void*", - "name": "v" + "name": "data_type", + "type": "ImGuiDataType" }, { - "type": "int", - "name": "components" + "name": "v", + "type": "void*" }, { - "type": "const void*", - "name": "v_min" + "name": "v_min", + "type": "const void*" }, { - "type": "const void*", - "name": "v_max" + "name": "v_max", + "type": "const void*" }, { - "type": "const char*", - "name": "format" + "name": "format", + "type": "const char*" }, { - "type": "float", - "name": "power" + "name": "power", + "type": "float" } ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void*)0),float power=1.0f)", + "call_args": "(label,data_type,v,v_min,v_max,format,power)", + "cimguiname": "igSliderScalar", "defaults": { - "power": "1.0f", - "format": "((void*)0)" + "format": "((void*)0)", + "power": "1.0f" }, - "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)", - "cimguiname": "igSliderScalarN" + "funcname": "SliderScalar", + "namespace": "ImGui", + "ov_cimguiname": "igSliderScalar", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)", + "stname": "" } ], - "ImColor_HSV": [ + "igSliderScalarN": [ { - "funcname": "HSV", - "args": "(ImColor* self,float h,float s,float v,float a)", - "ret": "ImColor", - "comment": "", - "call_args": "(h,s,v,a)", - "argsoriginal": "(float h,float s,float v,float a=1.0f)", - "stname": "ImColor", + "args": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)", "argsT": [ { - "type": "ImColor*", - "name": "self" - }, - { - "type": "float", - "name": "h" + "name": "label", + "type": "const char*" }, { - "type": "float", - "name": "s" + "name": "data_type", + "type": "ImGuiDataType" }, { - "type": "float", - "name": "v" - }, - { - "type": "float", - "name": "a" - } - ], - "defaults": { "a": "1.0f" }, - "signature": "(float,float,float,float)", - "cimguiname": "ImColor_HSV" - }, - { - "funcname": "HSV", - "args": "(ImColor *pOut,ImColor* self,float h,float s,float v,float a)", - "ret": "void", - "cimguiname": "ImColor_HSV", - "nonUDT": 1, - "call_args": "(h,s,v,a)", - "argsoriginal": "(float h,float s,float v,float a=1.0f)", - "stname": "ImColor", - "signature": "(float,float,float,float)", - "ov_cimguiname": "ImColor_HSV_nonUDT", - "comment": "", - "defaults": { "a": "1.0f" }, - "argsT": [ - { - "type": "ImColor*", - "name": "pOut" + "name": "v", + "type": "void*" }, { - "type": "ImColor*", - "name": "self" + "name": "components", + "type": "int" }, { - "type": "float", - "name": "h" + "name": "v_min", + "type": "const void*" }, { - "type": "float", - "name": "s" + "name": "v_max", + "type": "const void*" }, { - "type": "float", - "name": "v" + "name": "format", + "type": "const char*" }, { - "type": "float", - "name": "a" + "name": "power", + "type": "float" } - ] - }, + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void*)0),float power=1.0f)", + "call_args": "(label,data_type,v,components,v_min,v_max,format,power)", + "cimguiname": "igSliderScalarN", + "defaults": { + "format": "((void*)0)", + "power": "1.0f" + }, + "funcname": "SliderScalarN", + "namespace": "ImGui", + "ov_cimguiname": "igSliderScalarN", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)", + "stname": "" + } + ], + "igSmallButton": [ { - "cimguiname": "ImColor_HSV", - "funcname": "HSV", - "args": "(ImColor* self,float h,float s,float v,float a)", - "ret": "ImColor_Simple", - "nonUDT": 2, - "signature": "(float,float,float,float)", - "call_args": "(h,s,v,a)", - "argsoriginal": "(float h,float s,float v,float a=1.0f)", - "stname": "ImColor", - "retorig": "ImColor", - "ov_cimguiname": "ImColor_HSV_nonUDT2", - "comment": "", - "defaults": { "a": "1.0f" }, + "args": "(const char* label)", "argsT": [ { - "type": "ImColor*", - "name": "self" - }, - { - "type": "float", - "name": "h" - }, - { - "type": "float", - "name": "s" - }, - { - "type": "float", - "name": "v" - }, - { - "type": "float", - "name": "a" + "name": "label", + "type": "const char*" } - ] + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igSmallButton", + "defaults": [], + "funcname": "SmallButton", + "namespace": "ImGui", + "ov_cimguiname": "igSmallButton", + "ret": "bool", + "signature": "(const char*)", + "stname": "" } ], - "ImDrawList_PathLineTo": [ + "igSpacing": [ { - "funcname": "PathLineTo", - "args": "(ImDrawList* self,const ImVec2 pos)", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSpacing", + "defaults": [], + "funcname": "Spacing", + "namespace": "ImGui", + "ov_cimguiname": "igSpacing", "ret": "void", - "comment": "", - "call_args": "(pos)", - "argsoriginal": "(const ImVec2& pos)", - "stname": "ImDrawList", + "signature": "()", + "stname": "" + } + ], + "igStyleColorsClassic": [ + { + "args": "(ImGuiStyle* dst)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "pos" + "name": "dst", + "type": "ImGuiStyle*" } ], - "defaults": [], - "signature": "(const ImVec2)", - "cimguiname": "ImDrawList_PathLineTo" + "argsoriginal": "(ImGuiStyle* dst=((void*)0))", + "call_args": "(dst)", + "cimguiname": "igStyleColorsClassic", + "defaults": { + "dst": "((void*)0)" + }, + "funcname": "StyleColorsClassic", + "namespace": "ImGui", + "ov_cimguiname": "igStyleColorsClassic", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "" } ], - "igStyleColorsClassic": [ + "igStyleColorsDark": [ { - "funcname": "StyleColorsClassic", "args": "(ImGuiStyle* dst)", - "ret": "void", - "comment": "", - "call_args": "(dst)", - "argsoriginal": "(ImGuiStyle* dst=((void*)0))", - "stname": "ImGui", "argsT": [ { - "type": "ImGuiStyle*", - "name": "dst" + "name": "dst", + "type": "ImGuiStyle*" } ], - "defaults": { "dst": "((void*)0)" }, + "argsoriginal": "(ImGuiStyle* dst=((void*)0))", + "call_args": "(dst)", + "cimguiname": "igStyleColorsDark", + "defaults": { + "dst": "((void*)0)" + }, + "funcname": "StyleColorsDark", + "namespace": "ImGui", + "ov_cimguiname": "igStyleColorsDark", + "ret": "void", "signature": "(ImGuiStyle*)", - "cimguiname": "igStyleColorsClassic" + "stname": "" } ], - "igSliderFloat": [ + "igStyleColorsLight": [ { - "funcname": "SliderFloat", - "args": "(const char* label,float* v,float v_min,float v_max,const char* format,float power)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", - "stname": "ImGui", + "args": "(ImGuiStyle* dst)", "argsT": [ { - "type": "const char*", - "name": "label" - }, - { - "type": "float*", - "name": "v" - }, - { - "type": "float", - "name": "v_min" - }, - { - "type": "float", - "name": "v_max" - }, - { - "type": "const char*", - "name": "format" - }, - { - "type": "float", - "name": "power" + "name": "dst", + "type": "ImGuiStyle*" } ], + "argsoriginal": "(ImGuiStyle* dst=((void*)0))", + "call_args": "(dst)", + "cimguiname": "igStyleColorsLight", "defaults": { - "power": "1.0f", - "format": "\"%.3f\"" + "dst": "((void*)0)" }, - "signature": "(const char*,float*,float,float,const char*,float)", - "cimguiname": "igSliderFloat" + "funcname": "StyleColorsLight", + "namespace": "ImGui", + "ov_cimguiname": "igStyleColorsLight", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "" } ], - "ImFont_destroy": [ + "igText": [ { - "signature": "(ImFont*)", - "args": "(ImFont* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImFont", - "ov_cimguiname": "ImFont_destroy", - "cimguiname": "ImFont_destroy", + "args": "(const char* fmt,...)", "argsT": [ { - "type": "ImFont*", - "name": "self" + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." } ], - "defaults": [] + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igText", + "defaults": [], + "funcname": "Text", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igText", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" } ], - "igImage": [ + "igTextColored": [ { - "funcname": "Image", - "args": "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)", - "ret": "void", - "comment": "", - "call_args": "(user_texture_id,size,uv0,uv1,tint_col,border_col)", - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))", - "stname": "ImGui", + "args": "(const ImVec4 col,const char* fmt,...)", "argsT": [ { - "type": "ImTextureID", - "name": "user_texture_id" + "name": "col", + "type": "const ImVec4" }, { - "type": "const ImVec2", - "name": "size" + "name": "fmt", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "uv0" - }, + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const ImVec4& col,const char* fmt,...)", + "call_args": "(col,fmt,...)", + "cimguiname": "igTextColored", + "defaults": [], + "funcname": "TextColored", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igTextColored", + "ret": "void", + "signature": "(const ImVec4,const char*,...)", + "stname": "" + } + ], + "igTextColoredV": [ + { + "args": "(const ImVec4 col,const char* fmt,va_list args)", + "argsT": [ { - "type": "const ImVec2", - "name": "uv1" + "name": "col", + "type": "const ImVec4" }, { - "type": "const ImVec4", - "name": "tint_col" + "name": "fmt", + "type": "const char*" }, { - "type": "const ImVec4", - "name": "border_col" + "name": "args", + "type": "va_list" } ], - "defaults": { - "uv1": "ImVec2(1,1)", - "tint_col": "ImVec4(1,1,1,1)", - "uv0": "ImVec2(0,0)", - "border_col": "ImVec4(0,0,0,0)" - }, - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", - "cimguiname": "igImage" - } - ], - "ImGuiTextBuffer_ImGuiTextBuffer": [ - { - "funcname": "ImGuiTextBuffer", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGuiTextBuffer", - "constructor": true, - "comment": "", + "argsoriginal": "(const ImVec4& col,const char* fmt,va_list args)", + "call_args": "(col,fmt,args)", + "cimguiname": "igTextColoredV", "defaults": [], - "signature": "()", - "cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer" + "funcname": "TextColoredV", + "namespace": "ImGui", + "ov_cimguiname": "igTextColoredV", + "ret": "void", + "signature": "(const ImVec4,const char*,va_list)", + "stname": "" } ], - "igBulletText": [ + "igTextDisabled": [ { - "isvararg": "...)", - "funcname": "BulletText", "args": "(const char* fmt,...)", - "ret": "void", - "comment": "", - "call_args": "(fmt,...)", - "argsoriginal": "(const char* fmt,...)", - "stname": "ImGui", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "fmt", + "type": "const char*" }, { - "type": "...", - "name": "..." + "name": "...", + "type": "..." } ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igTextDisabled", "defaults": [], + "funcname": "TextDisabled", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igTextDisabled", + "ret": "void", "signature": "(const char*,...)", - "cimguiname": "igBulletText" + "stname": "" } ], - "igInputFloat2": [ + "igTextDisabledV": [ { - "funcname": "InputFloat2", - "args": "(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,format,extra_flags)", - "argsoriginal": "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(const char* fmt,va_list args)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "fmt", + "type": "const char*" }, { - "type": "float[2]", - "name": "v" - }, + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igTextDisabledV", + "defaults": [], + "funcname": "TextDisabledV", + "namespace": "ImGui", + "ov_cimguiname": "igTextDisabledV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igTextUnformatted": [ + { + "args": "(const char* text,const char* text_end)", + "argsT": [ { - "type": "const char*", - "name": "format" + "name": "text", + "type": "const char*" }, { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "text_end", + "type": "const char*" } ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0))", + "call_args": "(text,text_end)", + "cimguiname": "igTextUnformatted", "defaults": { - "extra_flags": "0", - "format": "\"%.3f\"" + "text_end": "((void*)0)" }, - "signature": "(const char*,float[2],const char*,ImGuiInputTextFlags)", - "cimguiname": "igInputFloat2" + "funcname": "TextUnformatted", + "namespace": "ImGui", + "ov_cimguiname": "igTextUnformatted", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "" } ], - "igGetTextLineHeightWithSpacing": [ + "igTextV": [ { - "funcname": "GetTextLineHeightWithSpacing", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igTextV", "defaults": [], - "signature": "()", - "cimguiname": "igGetTextLineHeightWithSpacing" + "funcname": "TextV", + "namespace": "ImGui", + "ov_cimguiname": "igTextV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" } ], - "ImDrawList_PrimRectUV": [ + "igTextWrapped": [ { - "funcname": "PrimRectUV", - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)", - "ret": "void", - "comment": "", - "call_args": "(a,b,uv_a,uv_b,col)", - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)", - "stname": "ImDrawList", + "args": "(const char* fmt,...)", "argsT": [ { - "type": "ImDrawList*", - "name": "self" - }, - { - "type": "const ImVec2", - "name": "a" - }, - { - "type": "const ImVec2", - "name": "b" + "name": "fmt", + "type": "const char*" }, { - "type": "const ImVec2", - "name": "uv_a" - }, + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igTextWrapped", + "defaults": [], + "funcname": "TextWrapped", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igTextWrapped", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igTextWrappedV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ { - "type": "const ImVec2", - "name": "uv_b" + "name": "fmt", + "type": "const char*" }, { - "type": "ImU32", - "name": "col" + "name": "args", + "type": "va_list" } ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igTextWrappedV", "defaults": [], - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "cimguiname": "ImDrawList_PrimRectUV" + "funcname": "TextWrappedV", + "namespace": "ImGui", + "ov_cimguiname": "igTextWrappedV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" } ], - "igColorEdit4": [ + "igTreeNode": [ { - "funcname": "ColorEdit4", - "args": "(const char* label,float col[4],ImGuiColorEditFlags flags)", + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igTreeNode", + "defaults": [], + "funcname": "TreeNode", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeStr", "ret": "bool", - "comment": "", - "call_args": "(label,col,flags)", - "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0)", - "stname": "ImGui", + "signature": "(const char*)", + "stname": "" + }, + { + "args": "(const char* str_id,const char* fmt,...)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "str_id", + "type": "const char*" }, { - "type": "float[4]", - "name": "col" + "name": "fmt", + "type": "const char*" }, { - "type": "ImGuiColorEditFlags", - "name": "flags" + "name": "...", + "type": "..." } ], - "defaults": { "flags": "0" }, - "signature": "(const char*,float[4],ImGuiColorEditFlags)", - "cimguiname": "igColorEdit4" - } - ], - "igLogToClipboard": [ + "argsoriginal": "(const char* str_id,const char* fmt,...)", + "call_args": "(str_id,fmt,...)", + "cimguiname": "igTreeNode", + "defaults": [], + "funcname": "TreeNode", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeStrStr", + "ret": "bool", + "signature": "(const char*,const char*,...)", + "stname": "" + }, { - "funcname": "LogToClipboard", - "args": "(int max_depth)", - "ret": "void", - "comment": "", - "call_args": "(max_depth)", - "argsoriginal": "(int max_depth=-1)", - "stname": "ImGui", + "args": "(const void* ptr_id,const char* fmt,...)", "argsT": [ { - "type": "int", - "name": "max_depth" + "name": "ptr_id", + "type": "const void*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." } ], - "defaults": { "max_depth": "-1" }, - "signature": "(int)", - "cimguiname": "igLogToClipboard" - } - ], - "igBeginPopupContextWindow": [ - { - "funcname": "BeginPopupContextWindow", - "args": "(const char* str_id,int mouse_button,bool also_over_items)", + "argsoriginal": "(const void* ptr_id,const char* fmt,...)", + "call_args": "(ptr_id,fmt,...)", + "cimguiname": "igTreeNode", + "defaults": [], + "funcname": "TreeNode", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodePtr", "ret": "bool", - "comment": "", - "call_args": "(str_id,mouse_button,also_over_items)", - "argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1,bool also_over_items=true)", - "stname": "ImGui", + "signature": "(const void*,const char*,...)", + "stname": "" + } + ], + "igTreeNodeEx": [ + { + "args": "(const char* label,ImGuiTreeNodeFlags flags)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "label", + "type": "const char*" }, { - "type": "int", - "name": "mouse_button" - }, - { - "type": "bool", - "name": "also_over_items" + "name": "flags", + "type": "ImGuiTreeNodeFlags" } ], + "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", + "call_args": "(label,flags)", + "cimguiname": "igTreeNodeEx", "defaults": { - "str_id": "((void*)0)", - "mouse_button": "1", - "also_over_items": "true" + "flags": "0" }, - "signature": "(const char*,int,bool)", - "cimguiname": "igBeginPopupContextWindow" - } - ], - "ImFontAtlas_ImFontAtlas": [ - { - "funcname": "ImFontAtlas", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImFontAtlas", - "constructor": true, - "comment": "", - "defaults": [], - "signature": "()", - "cimguiname": "ImFontAtlas_ImFontAtlas" - } - ], - "igDragScalar": [ - { - "funcname": "DragScalar", - "args": "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)", + "funcname": "TreeNodeEx", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeExStr", "ret": "bool", - "comment": "", - "call_args": "(label,data_type,v,v_speed,v_min,v_max,format,power)", - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void*)0),const void* v_max=((void*)0),const char* format=((void*)0),float power=1.0f)", - "stname": "ImGui", + "signature": "(const char*,ImGuiTreeNodeFlags)", + "stname": "" + }, + { + "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "str_id", + "type": "const char*" }, { - "type": "ImGuiDataType", - "name": "data_type" + "name": "flags", + "type": "ImGuiTreeNodeFlags" }, { - "type": "void*", - "name": "v" + "name": "fmt", + "type": "const char*" }, { - "type": "float", - "name": "v_speed" - }, + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", + "call_args": "(str_id,flags,fmt,...)", + "cimguiname": "igTreeNodeEx", + "defaults": [], + "funcname": "TreeNodeEx", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeExStrStr", + "ret": "bool", + "signature": "(const char*,ImGuiTreeNodeFlags,const char*,...)", + "stname": "" + }, + { + "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", + "argsT": [ { - "type": "const void*", - "name": "v_min" + "name": "ptr_id", + "type": "const void*" }, { - "type": "const void*", - "name": "v_max" + "name": "flags", + "type": "ImGuiTreeNodeFlags" }, { - "type": "const char*", - "name": "format" + "name": "fmt", + "type": "const char*" }, { - "type": "float", - "name": "power" + "name": "...", + "type": "..." } ], - "defaults": { - "v_max": "((void*)0)", - "v_min": "((void*)0)", - "format": "((void*)0)", - "power": "1.0f" - }, - "signature": "(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)", - "cimguiname": "igDragScalar" - } - ], - "igSetItemDefaultFocus": [ - { - "funcname": "SetItemDefaultFocus", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], + "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", + "call_args": "(ptr_id,flags,fmt,...)", + "cimguiname": "igTreeNodeEx", "defaults": [], - "signature": "()", - "cimguiname": "igSetItemDefaultFocus" - } - ], - "igCaptureMouseFromApp": [ - { - "funcname": "CaptureMouseFromApp", - "args": "(bool capture)", - "ret": "void", - "comment": "", - "call_args": "(capture)", - "argsoriginal": "(bool capture=true)", - "stname": "ImGui", - "argsT": [ - { - "type": "bool", - "name": "capture" - } - ], - "defaults": { "capture": "true" }, - "signature": "(bool)", - "cimguiname": "igCaptureMouseFromApp" - } - ], - "igIsAnyItemHovered": [ - { - "funcname": "IsAnyItemHovered", - "args": "()", + "funcname": "TreeNodeEx", + "isvararg": "...)", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeExPtr", "ret": "bool", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igIsAnyItemHovered" + "signature": "(const void*,ImGuiTreeNodeFlags,const char*,...)", + "stname": "" } ], - "igPushFont": [ + "igTreeNodeExV": [ { - "funcname": "PushFont", - "args": "(ImFont* font)", - "ret": "void", - "comment": "", - "call_args": "(font)", - "argsoriginal": "(ImFont* font)", - "stname": "ImGui", + "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", "argsT": [ { - "type": "ImFont*", - "name": "font" + "name": "str_id", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" } ], + "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", + "call_args": "(str_id,flags,fmt,args)", + "cimguiname": "igTreeNodeExV", "defaults": [], - "signature": "(ImFont*)", - "cimguiname": "igPushFont" - } - ], - "ImDrawData_destroy": [ + "funcname": "TreeNodeExV", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeExVStr", + "ret": "bool", + "signature": "(const char*,ImGuiTreeNodeFlags,const char*,va_list)", + "stname": "" + }, { - "signature": "(ImDrawData*)", - "args": "(ImDrawData* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImDrawData", - "ov_cimguiname": "ImDrawData_destroy", - "cimguiname": "ImDrawData_destroy", + "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", "argsT": [ { - "type": "ImDrawData*", - "name": "self" + "name": "ptr_id", + "type": "const void*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" } ], - "defaults": [] - } - ], - "igTreePop": [ - { - "funcname": "TreePop", - "args": "()", - "ret": "void", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igTreePop" - } - ], - "igGetWindowContentRegionWidth": [ - { - "funcname": "GetWindowContentRegionWidth", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetWindowContentRegionWidth" - } - ], - "ImDrawData_ImDrawData": [ - { - "funcname": "ImDrawData", - "args": "()", - "argsT": [], - "call_args": "()", - "argsoriginal": "()", - "stname": "ImDrawData", - "constructor": true, - "comment": "", + "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", + "call_args": "(ptr_id,flags,fmt,args)", + "cimguiname": "igTreeNodeExV", "defaults": [], - "signature": "()", - "cimguiname": "ImDrawData_ImDrawData" + "funcname": "TreeNodeExV", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeExVPtr", + "ret": "bool", + "signature": "(const void*,ImGuiTreeNodeFlags,const char*,va_list)", + "stname": "" } ], - "igInputText": [ + "igTreeNodeV": [ { - "funcname": "InputText", - "args": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", - "ret": "bool", - "comment": "", - "call_args": "(label,buf,buf_size,flags,callback,user_data)", - "argsoriginal": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", - "stname": "ImGui", + "args": "(const char* str_id,const char* fmt,va_list args)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "str_id", + "type": "const char*" }, { - "type": "char*", - "name": "buf" + "name": "fmt", + "type": "const char*" }, { - "type": "size_t", - "name": "buf_size" - }, + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* str_id,const char* fmt,va_list args)", + "call_args": "(str_id,fmt,args)", + "cimguiname": "igTreeNodeV", + "defaults": [], + "funcname": "TreeNodeV", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeVStr", + "ret": "bool", + "signature": "(const char*,const char*,va_list)", + "stname": "" + }, + { + "args": "(const void* ptr_id,const char* fmt,va_list args)", + "argsT": [ { - "type": "ImGuiInputTextFlags", - "name": "flags" + "name": "ptr_id", + "type": "const void*" }, { - "type": "ImGuiInputTextCallback", - "name": "callback" + "name": "fmt", + "type": "const char*" }, { - "type": "void*", - "name": "user_data" + "name": "args", + "type": "va_list" } ], - "defaults": { - "callback": "((void*)0)", - "user_data": "((void*)0)", - "flags": "0" - }, - "signature": "(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", - "cimguiname": "igInputText" + "argsoriginal": "(const void* ptr_id,const char* fmt,va_list args)", + "call_args": "(ptr_id,fmt,args)", + "cimguiname": "igTreeNodeV", + "defaults": [], + "funcname": "TreeNodeV", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeVPtr", + "ret": "bool", + "signature": "(const void*,const char*,va_list)", + "stname": "" } ], - "ImGuiTextBuffer_end": [ + "igTreePop": [ { - "funcname": "end", - "args": "(ImGuiTextBuffer* self)", - "ret": "const char*", - "comment": "", - "call_args": "()", + "args": "()", + "argsT": [], "argsoriginal": "()", - "stname": "ImGuiTextBuffer", - "argsT": [ - { - "type": "ImGuiTextBuffer*", - "name": "self" - } - ], + "call_args": "()", + "cimguiname": "igTreePop", "defaults": [], + "funcname": "TreePop", + "namespace": "ImGui", + "ov_cimguiname": "igTreePop", + "ret": "void", "signature": "()", - "cimguiname": "ImGuiTextBuffer_end" + "stname": "" } ], - "igPopStyleVar": [ + "igTreePush": [ { - "funcname": "PopStyleVar", - "args": "(int count)", - "ret": "void", - "comment": "", - "call_args": "(count)", - "argsoriginal": "(int count=1)", - "stname": "ImGui", + "args": "(const char* str_id)", "argsT": [ { - "type": "int", - "name": "count" + "name": "str_id", + "type": "const char*" } ], - "defaults": { "count": "1" }, - "signature": "(int)", - "cimguiname": "igPopStyleVar" - } - ], - "ImGuiTextFilter_PassFilter": [ + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igTreePush", + "defaults": [], + "funcname": "TreePush", + "namespace": "ImGui", + "ov_cimguiname": "igTreePushStr", + "ret": "void", + "signature": "(const char*)", + "stname": "" + }, { - "funcname": "PassFilter", - "args": "(ImGuiTextFilter* self,const char* text,const char* text_end)", - "ret": "bool", - "comment": "", - "call_args": "(text,text_end)", - "argsoriginal": "(const char* text,const char* text_end=((void*)0))", - "stname": "ImGuiTextFilter", - "argsT": [ - { - "type": "ImGuiTextFilter*", - "name": "self" - }, - { - "type": "const char*", - "name": "text" - }, + "args": "(const void* ptr_id)", + "argsT": [ { - "type": "const char*", - "name": "text_end" + "name": "ptr_id", + "type": "const void*" } ], - "defaults": { "text_end": "((void*)0)" }, - "signature": "(const char*,const char*)", - "cimguiname": "ImGuiTextFilter_PassFilter" + "argsoriginal": "(const void* ptr_id=((void*)0))", + "call_args": "(ptr_id)", + "cimguiname": "igTreePush", + "defaults": { + "ptr_id": "((void*)0)" + }, + "funcname": "TreePush", + "namespace": "ImGui", + "ov_cimguiname": "igTreePushPtr", + "ret": "void", + "signature": "(const void*)", + "stname": "" } ], - "ImGuiOnceUponAFrame_destroy": [ + "igUnindent": [ { - "signature": "(ImGuiOnceUponAFrame*)", - "args": "(ImGuiOnceUponAFrame* self)", - "ret": "void", - "call_args": "(self)", - "destructor": true, - "stname": "ImGuiOnceUponAFrame", - "ov_cimguiname": "ImGuiOnceUponAFrame_destroy", - "cimguiname": "ImGuiOnceUponAFrame_destroy", + "args": "(float indent_w)", "argsT": [ { - "type": "ImGuiOnceUponAFrame*", - "name": "self" + "name": "indent_w", + "type": "float" } ], - "defaults": [] + "argsoriginal": "(float indent_w=0.0f)", + "call_args": "(indent_w)", + "cimguiname": "igUnindent", + "defaults": { + "indent_w": "0.0f" + }, + "funcname": "Unindent", + "namespace": "ImGui", + "ov_cimguiname": "igUnindent", + "ret": "void", + "signature": "(float)", + "stname": "" } ], - "igGetFont": [ + "igUpdatePlatformWindows": [ { - "funcname": "GetFont", "args": "()", - "ret": "ImFont*", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igUpdatePlatformWindows", "defaults": [], + "funcname": "UpdatePlatformWindows", + "namespace": "ImGui", + "ov_cimguiname": "igUpdatePlatformWindows", + "ret": "void", "signature": "()", - "cimguiname": "igGetFont" + "stname": "" } ], - "igTreeNode": [ + "igVSliderFloat": [ { - "funcname": "TreeNode", - "args": "(const char* label)", - "ret": "bool", - "comment": "", - "call_args": "(label)", - "argsoriginal": "(const char* label)", - "stname": "ImGui", + "args": "(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)", "argsT": [ { - "type": "const char*", - "name": "label" - } - ], - "ov_cimguiname": "igTreeNodeStr", - "defaults": [], - "signature": "(const char*)", - "cimguiname": "igTreeNode" - }, - { - "isvararg": "...)", - "funcname": "TreeNode", - "args": "(const char* str_id,const char* fmt,...)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,fmt,...)", - "argsoriginal": "(const char* str_id,const char* fmt,...)", - "stname": "ImGui", - "argsT": [ + "name": "label", + "type": "const char*" + }, { - "type": "const char*", - "name": "str_id" + "name": "size", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "fmt" + "name": "v", + "type": "float*" }, { - "type": "...", - "name": "..." - } - ], - "ov_cimguiname": "igTreeNodeStrStr", - "defaults": [], - "signature": "(const char*,const char*,...)", - "cimguiname": "igTreeNode" - }, - { - "isvararg": "...)", - "funcname": "TreeNode", - "args": "(const void* ptr_id,const char* fmt,...)", - "ret": "bool", - "comment": "", - "call_args": "(ptr_id,fmt,...)", - "argsoriginal": "(const void* ptr_id,const char* fmt,...)", - "stname": "ImGui", - "argsT": [ + "name": "v_min", + "type": "float" + }, { - "type": "const void*", - "name": "ptr_id" + "name": "v_max", + "type": "float" }, { - "type": "const char*", - "name": "fmt" + "name": "format", + "type": "const char*" }, { - "type": "...", - "name": "..." + "name": "power", + "type": "float" } ], - "ov_cimguiname": "igTreeNodePtr", - "defaults": [], - "signature": "(const void*,const char*,...)", - "cimguiname": "igTreeNode" + "argsoriginal": "(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)", + "call_args": "(label,size,v,v_min,v_max,format,power)", + "cimguiname": "igVSliderFloat", + "defaults": { + "format": "\"%.3f\"", + "power": "1.0f" + }, + "funcname": "VSliderFloat", + "namespace": "ImGui", + "ov_cimguiname": "igVSliderFloat", + "ret": "bool", + "signature": "(const char*,const ImVec2,float*,float,float,const char*,float)", + "stname": "" } ], - "igTreeNodeV": [ + "igVSliderInt": [ { - "funcname": "TreeNodeV", - "args": "(const char* str_id,const char* fmt,va_list args)", - "ret": "bool", - "comment": "", - "call_args": "(str_id,fmt,args)", - "argsoriginal": "(const char* str_id,const char* fmt,va_list args)", - "stname": "ImGui", + "args": "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)", "argsT": [ { - "type": "const char*", - "name": "str_id" + "name": "label", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" }, { - "type": "const char*", - "name": "fmt" + "name": "v", + "type": "int*" }, { - "type": "va_list", - "name": "args" + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" } ], - "ov_cimguiname": "igTreeNodeVStr", - "defaults": [], - "signature": "(const char*,const char*,va_list)", - "cimguiname": "igTreeNodeV" - }, - { - "funcname": "TreeNodeV", - "args": "(const void* ptr_id,const char* fmt,va_list args)", + "argsoriginal": "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")", + "call_args": "(label,size,v,v_min,v_max,format)", + "cimguiname": "igVSliderInt", + "defaults": { + "format": "\"%d\"" + }, + "funcname": "VSliderInt", + "namespace": "ImGui", + "ov_cimguiname": "igVSliderInt", "ret": "bool", - "comment": "", - "call_args": "(ptr_id,fmt,args)", - "argsoriginal": "(const void* ptr_id,const char* fmt,va_list args)", - "stname": "ImGui", + "signature": "(const char*,const ImVec2,int*,int,int,const char*)", + "stname": "" + } + ], + "igVSliderScalar": [ + { + "args": "(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)", "argsT": [ { - "type": "const void*", - "name": "ptr_id" + "name": "label", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "v", + "type": "void*" + }, + { + "name": "v_min", + "type": "const void*" + }, + { + "name": "v_max", + "type": "const void*" }, { - "type": "const char*", - "name": "fmt" + "name": "format", + "type": "const char*" }, { - "type": "va_list", - "name": "args" + "name": "power", + "type": "float" } ], - "ov_cimguiname": "igTreeNodeVPtr", - "defaults": [], - "signature": "(const void*,const char*,va_list)", - "cimguiname": "igTreeNodeV" - } - ], - "igGetScrollMaxX": [ - { - "funcname": "GetScrollMaxX", - "args": "()", - "ret": "float", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetScrollMaxX" + "argsoriginal": "(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void*)0),float power=1.0f)", + "call_args": "(label,size,data_type,v,v_min,v_max,format,power)", + "cimguiname": "igVSliderScalar", + "defaults": { + "format": "((void*)0)", + "power": "1.0f" + }, + "funcname": "VSliderScalar", + "namespace": "ImGui", + "ov_cimguiname": "igVSliderScalar", + "ret": "bool", + "signature": "(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)", + "stname": "" } ], - "igSetTooltip": [ + "igValue": [ { - "isvararg": "...)", - "funcname": "SetTooltip", - "args": "(const char* fmt,...)", - "ret": "void", - "comment": "", - "call_args": "(fmt,...)", - "argsoriginal": "(const char* fmt,...)", - "stname": "ImGui", + "args": "(const char* prefix,bool b)", "argsT": [ { - "type": "const char*", - "name": "fmt" + "name": "prefix", + "type": "const char*" }, { - "type": "...", - "name": "..." + "name": "b", + "type": "bool" } ], + "argsoriginal": "(const char* prefix,bool b)", + "call_args": "(prefix,b)", + "cimguiname": "igValue", "defaults": [], - "signature": "(const char*,...)", - "cimguiname": "igSetTooltip" - } - ], - "igGetContentRegionAvail": [ - { - "funcname": "GetContentRegionAvail", - "args": "()", - "ret": "ImVec2", - "comment": "", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "argsT": [], - "defaults": [], - "signature": "()", - "cimguiname": "igGetContentRegionAvail" + "funcname": "Value", + "namespace": "ImGui", + "ov_cimguiname": "igValueBool", + "ret": "void", + "signature": "(const char*,bool)", + "stname": "" }, { - "funcname": "GetContentRegionAvail", - "args": "(ImVec2 *pOut)", - "ret": "void", - "cimguiname": "igGetContentRegionAvail", - "nonUDT": 1, - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "signature": "()", - "ov_cimguiname": "igGetContentRegionAvail_nonUDT", - "comment": "", - "defaults": [], + "args": "(const char* prefix,int v)", "argsT": [ { - "type": "ImVec2*", - "name": "pOut" + "name": "prefix", + "type": "const char*" + }, + { + "name": "v", + "type": "int" } - ] - }, - { - "cimguiname": "igGetContentRegionAvail", - "funcname": "GetContentRegionAvail", - "args": "()", - "ret": "ImVec2_Simple", - "nonUDT": 2, - "signature": "()", - "call_args": "()", - "argsoriginal": "()", - "stname": "ImGui", - "retorig": "ImVec2", - "ov_cimguiname": "igGetContentRegionAvail_nonUDT2", - "comment": "", + ], + "argsoriginal": "(const char* prefix,int v)", + "call_args": "(prefix,v)", + "cimguiname": "igValue", "defaults": [], - "argsT": [] - } - ], - "igInputFloat3": [ + "funcname": "Value", + "namespace": "ImGui", + "ov_cimguiname": "igValueInt", + "ret": "void", + "signature": "(const char*,int)", + "stname": "" + }, { - "funcname": "InputFloat3", - "args": "(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)", - "ret": "bool", - "comment": "", - "call_args": "(label,v,format,extra_flags)", - "argsoriginal": "(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)", - "stname": "ImGui", + "args": "(const char* prefix,unsigned int v)", "argsT": [ { - "type": "const char*", - "name": "label" + "name": "prefix", + "type": "const char*" }, { - "type": "float[3]", - "name": "v" + "name": "v", + "type": "unsigned int" + } + ], + "argsoriginal": "(const char* prefix,unsigned int v)", + "call_args": "(prefix,v)", + "cimguiname": "igValue", + "defaults": [], + "funcname": "Value", + "namespace": "ImGui", + "ov_cimguiname": "igValueUint", + "ret": "void", + "signature": "(const char*,unsigned int)", + "stname": "" + }, + { + "args": "(const char* prefix,float v,const char* float_format)", + "argsT": [ + { + "name": "prefix", + "type": "const char*" }, { - "type": "const char*", - "name": "format" + "name": "v", + "type": "float" }, { - "type": "ImGuiInputTextFlags", - "name": "extra_flags" + "name": "float_format", + "type": "const char*" } ], + "argsoriginal": "(const char* prefix,float v,const char* float_format=((void*)0))", + "call_args": "(prefix,v,float_format)", + "cimguiname": "igValue", "defaults": { - "extra_flags": "0", - "format": "\"%.3f\"" + "float_format": "((void*)0)" }, - "signature": "(const char*,float[3],const char*,ImGuiInputTextFlags)", - "cimguiname": "igInputFloat3" - } - ], - "igSetKeyboardFocusHere": [ - { - "funcname": "SetKeyboardFocusHere", - "args": "(int offset)", + "funcname": "Value", + "namespace": "ImGui", + "ov_cimguiname": "igValueFloat", "ret": "void", - "comment": "", - "call_args": "(offset)", - "argsoriginal": "(int offset=0)", - "stname": "ImGui", - "argsT": [ - { - "type": "int", - "name": "offset" - } - ], - "defaults": { "offset": "0" }, - "signature": "(int)", - "cimguiname": "igSetKeyboardFocusHere" + "signature": "(const char*,float,const char*)", + "stname": "" } ] } \ No newline at end of file diff --git a/src/CodeGenerator/structs_and_enums.json b/src/CodeGenerator/structs_and_enums.json index c88b0893..a6ada52b 100644 --- a/src/CodeGenerator/structs_and_enums.json +++ b/src/CodeGenerator/structs_and_enums.json @@ -1,234 +1,136 @@ { "enums": { - "ImGuiComboFlags_": [ + "ImDrawCornerFlags_": [ { "calc_value": 0, - "name": "ImGuiComboFlags_None", + "name": "ImDrawCornerFlags_None", "value": "0" }, { "calc_value": 1, - "name": "ImGuiComboFlags_PopupAlignLeft", + "name": "ImDrawCornerFlags_TopLeft", "value": "1 << 0" }, { "calc_value": 2, - "name": "ImGuiComboFlags_HeightSmall", + "name": "ImDrawCornerFlags_TopRight", "value": "1 << 1" }, { "calc_value": 4, - "name": "ImGuiComboFlags_HeightRegular", + "name": "ImDrawCornerFlags_BotLeft", "value": "1 << 2" }, { "calc_value": 8, - "name": "ImGuiComboFlags_HeightLarge", + "name": "ImDrawCornerFlags_BotRight", "value": "1 << 3" }, { - "calc_value": 16, - "name": "ImGuiComboFlags_HeightLargest", - "value": "1 << 4" + "calc_value": 3, + "name": "ImDrawCornerFlags_Top", + "value": "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight" }, { - "calc_value": 32, - "name": "ImGuiComboFlags_NoArrowButton", - "value": "1 << 5" + "calc_value": 12, + "name": "ImDrawCornerFlags_Bot", + "value": "ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight" }, { - "calc_value": 64, - "name": "ImGuiComboFlags_NoPreview", - "value": "1 << 6" + "calc_value": 5, + "name": "ImDrawCornerFlags_Left", + "value": "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft" }, { - "calc_value": 30, - "name": "ImGuiComboFlags_HeightMask_", - "value": "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest" + "calc_value": 10, + "name": "ImDrawCornerFlags_Right", + "value": "ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight" + }, + { + "calc_value": 15, + "name": "ImDrawCornerFlags_All", + "value": "0xF" } ], - "ImGuiTreeNodeFlags_": [ + "ImDrawListFlags_": [ { "calc_value": 0, - "name": "ImGuiTreeNodeFlags_None", + "name": "ImDrawListFlags_None", "value": "0" }, { "calc_value": 1, - "name": "ImGuiTreeNodeFlags_Selected", + "name": "ImDrawListFlags_AntiAliasedLines", "value": "1 << 0" }, { "calc_value": 2, - "name": "ImGuiTreeNodeFlags_Framed", + "name": "ImDrawListFlags_AntiAliasedFill", "value": "1 << 1" }, { "calc_value": 4, - "name": "ImGuiTreeNodeFlags_AllowItemOverlap", + "name": "ImDrawListFlags_AllowVtxOffset", "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiTreeNodeFlags_NoTreePushOnOpen", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiTreeNodeFlags_NoAutoOpenOnLog", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiTreeNodeFlags_DefaultOpen", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiTreeNodeFlags_OpenOnDoubleClick", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiTreeNodeFlags_OpenOnArrow", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiTreeNodeFlags_Leaf", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiTreeNodeFlags_Bullet", - "value": "1 << 9" - }, + } + ], + "ImFontAtlasFlags_": [ { - "calc_value": 1024, - "name": "ImGuiTreeNodeFlags_FramePadding", - "value": "1 << 10" + "calc_value": 0, + "name": "ImFontAtlasFlags_None", + "value": "0" }, { - "calc_value": 8192, - "name": "ImGuiTreeNodeFlags_NavLeftJumpsBackHere", - "value": "1 << 13" + "calc_value": 1, + "name": "ImFontAtlasFlags_NoPowerOfTwoHeight", + "value": "1 << 0" }, { - "calc_value": 26, - "name": "ImGuiTreeNodeFlags_CollapsingHeader", - "value": "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog" + "calc_value": 2, + "name": "ImFontAtlasFlags_NoMouseCursors", + "value": "1 << 1" } ], - "ImGuiStyleVar_": [ + "ImGuiBackendFlags_": [ { "calc_value": 0, - "name": "ImGuiStyleVar_Alpha", - "value": 0 + "name": "ImGuiBackendFlags_None", + "value": "0" }, { "calc_value": 1, - "name": "ImGuiStyleVar_WindowPadding", - "value": 1 + "name": "ImGuiBackendFlags_HasGamepad", + "value": "1 << 0" }, { "calc_value": 2, - "name": "ImGuiStyleVar_WindowRounding", - "value": 2 - }, - { - "calc_value": 3, - "name": "ImGuiStyleVar_WindowBorderSize", - "value": 3 + "name": "ImGuiBackendFlags_HasMouseCursors", + "value": "1 << 1" }, { "calc_value": 4, - "name": "ImGuiStyleVar_WindowMinSize", - "value": 4 - }, - { - "calc_value": 5, - "name": "ImGuiStyleVar_WindowTitleAlign", - "value": 5 - }, - { - "calc_value": 6, - "name": "ImGuiStyleVar_ChildRounding", - "value": 6 - }, - { - "calc_value": 7, - "name": "ImGuiStyleVar_ChildBorderSize", - "value": 7 + "name": "ImGuiBackendFlags_HasSetMousePos", + "value": "1 << 2" }, { "calc_value": 8, - "name": "ImGuiStyleVar_PopupRounding", - "value": 8 - }, - { - "calc_value": 9, - "name": "ImGuiStyleVar_PopupBorderSize", - "value": 9 - }, - { - "calc_value": 10, - "name": "ImGuiStyleVar_FramePadding", - "value": 10 - }, - { - "calc_value": 11, - "name": "ImGuiStyleVar_FrameRounding", - "value": 11 - }, - { - "calc_value": 12, - "name": "ImGuiStyleVar_FrameBorderSize", - "value": 12 - }, - { - "calc_value": 13, - "name": "ImGuiStyleVar_ItemSpacing", - "value": 13 - }, - { - "calc_value": 14, - "name": "ImGuiStyleVar_ItemInnerSpacing", - "value": 14 - }, - { - "calc_value": 15, - "name": "ImGuiStyleVar_IndentSpacing", - "value": 15 - }, - { - "calc_value": 16, - "name": "ImGuiStyleVar_ScrollbarSize", - "value": 16 - }, - { - "calc_value": 17, - "name": "ImGuiStyleVar_ScrollbarRounding", - "value": 17 - }, - { - "calc_value": 18, - "name": "ImGuiStyleVar_GrabMinSize", - "value": 18 + "name": "ImGuiBackendFlags_RendererHasVtxOffset", + "value": "1 << 3" }, { - "calc_value": 19, - "name": "ImGuiStyleVar_GrabRounding", - "value": 19 + "calc_value": 1024, + "name": "ImGuiBackendFlags_PlatformHasViewports", + "value": "1 << 10" }, { - "calc_value": 20, - "name": "ImGuiStyleVar_ButtonTextAlign", - "value": 20 + "calc_value": 2048, + "name": "ImGuiBackendFlags_HasMouseHoveredViewport", + "value": "1 << 11" }, { - "calc_value": 21, - "name": "ImGuiStyleVar_COUNT", - "value": 21 + "calc_value": 4096, + "name": "ImGuiBackendFlags_RendererHasViewports", + "value": "1 << 12" } ], "ImGuiCol_": [ @@ -399,205 +301,914 @@ }, { "calc_value": 33, - "name": "ImGuiCol_PlotLines", + "name": "ImGuiCol_Tab", "value": 33 }, { "calc_value": 34, - "name": "ImGuiCol_PlotLinesHovered", + "name": "ImGuiCol_TabHovered", "value": 34 }, { "calc_value": 35, - "name": "ImGuiCol_PlotHistogram", + "name": "ImGuiCol_TabActive", "value": 35 }, { "calc_value": 36, - "name": "ImGuiCol_PlotHistogramHovered", + "name": "ImGuiCol_TabUnfocused", "value": 36 }, { "calc_value": 37, - "name": "ImGuiCol_TextSelectedBg", + "name": "ImGuiCol_TabUnfocusedActive", "value": 37 }, { "calc_value": 38, - "name": "ImGuiCol_DragDropTarget", + "name": "ImGuiCol_DockingPreview", "value": 38 }, { "calc_value": 39, - "name": "ImGuiCol_NavHighlight", + "name": "ImGuiCol_DockingEmptyBg", "value": 39 }, { "calc_value": 40, - "name": "ImGuiCol_NavWindowingHighlight", + "name": "ImGuiCol_PlotLines", "value": 40 }, { "calc_value": 41, - "name": "ImGuiCol_NavWindowingDimBg", + "name": "ImGuiCol_PlotLinesHovered", "value": 41 }, { "calc_value": 42, - "name": "ImGuiCol_ModalWindowDimBg", + "name": "ImGuiCol_PlotHistogram", "value": 42 }, { "calc_value": 43, - "name": "ImGuiCol_COUNT", + "name": "ImGuiCol_PlotHistogramHovered", "value": 43 - } - ], - "ImGuiWindowFlags_": [ - { - "calc_value": 0, - "name": "ImGuiWindowFlags_None", - "value": "0" }, { - "calc_value": 1, - "name": "ImGuiWindowFlags_NoTitleBar", - "value": "1 << 0" + "calc_value": 44, + "name": "ImGuiCol_TextSelectedBg", + "value": 44 }, { - "calc_value": 2, - "name": "ImGuiWindowFlags_NoResize", - "value": "1 << 1" + "calc_value": 45, + "name": "ImGuiCol_DragDropTarget", + "value": 45 }, { - "calc_value": 4, - "name": "ImGuiWindowFlags_NoMove", - "value": "1 << 2" + "calc_value": 46, + "name": "ImGuiCol_NavHighlight", + "value": 46 }, { - "calc_value": 8, - "name": "ImGuiWindowFlags_NoScrollbar", - "value": "1 << 3" + "calc_value": 47, + "name": "ImGuiCol_NavWindowingHighlight", + "value": 47 }, { - "calc_value": 16, - "name": "ImGuiWindowFlags_NoScrollWithMouse", - "value": "1 << 4" + "calc_value": 48, + "name": "ImGuiCol_NavWindowingDimBg", + "value": 48 }, { - "calc_value": 32, - "name": "ImGuiWindowFlags_NoCollapse", - "value": "1 << 5" + "calc_value": 49, + "name": "ImGuiCol_ModalWindowDimBg", + "value": 49 + }, + { + "calc_value": 50, + "name": "ImGuiCol_COUNT", + "value": 50 + } + ], + "ImGuiColorEditFlags_": [ + { + "calc_value": 0, + "name": "ImGuiColorEditFlags_None", + "value": "0" + }, + { + "calc_value": 2, + "name": "ImGuiColorEditFlags_NoAlpha", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiColorEditFlags_NoPicker", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiColorEditFlags_NoOptions", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiColorEditFlags_NoSmallPreview", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiColorEditFlags_NoInputs", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiColorEditFlags_NoTooltip", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiColorEditFlags_NoLabel", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiColorEditFlags_NoSidePreview", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiColorEditFlags_NoDragDrop", + "value": "1 << 9" + }, + { + "calc_value": 65536, + "name": "ImGuiColorEditFlags_AlphaBar", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiColorEditFlags_AlphaPreview", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiColorEditFlags_AlphaPreviewHalf", + "value": "1 << 18" + }, + { + "calc_value": 524288, + "name": "ImGuiColorEditFlags_HDR", + "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiColorEditFlags_DisplayRGB", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiColorEditFlags_DisplayHSV", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiColorEditFlags_DisplayHex", + "value": "1 << 22" + }, + { + "calc_value": 8388608, + "name": "ImGuiColorEditFlags_Uint8", + "value": "1 << 23" + }, + { + "calc_value": 16777216, + "name": "ImGuiColorEditFlags_Float", + "value": "1 << 24" + }, + { + "calc_value": 33554432, + "name": "ImGuiColorEditFlags_PickerHueBar", + "value": "1 << 25" + }, + { + "calc_value": 67108864, + "name": "ImGuiColorEditFlags_PickerHueWheel", + "value": "1 << 26" + }, + { + "calc_value": 134217728, + "name": "ImGuiColorEditFlags_InputRGB", + "value": "1 << 27" + }, + { + "calc_value": 268435456, + "name": "ImGuiColorEditFlags_InputHSV", + "value": "1 << 28" + }, + { + "calc_value": 177209344, + "name": "ImGuiColorEditFlags__OptionsDefault", + "value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_DisplayRGB|ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_PickerHueBar" + }, + { + "calc_value": 7340032, + "name": "ImGuiColorEditFlags__DisplayMask", + "value": "ImGuiColorEditFlags_DisplayRGB|ImGuiColorEditFlags_DisplayHSV|ImGuiColorEditFlags_DisplayHex" + }, + { + "calc_value": 25165824, + "name": "ImGuiColorEditFlags__DataTypeMask", + "value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float" + }, + { + "calc_value": 100663296, + "name": "ImGuiColorEditFlags__PickerMask", + "value": "ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar" + }, + { + "calc_value": 402653184, + "name": "ImGuiColorEditFlags__InputMask", + "value": "ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_InputHSV" + } + ], + "ImGuiComboFlags_": [ + { + "calc_value": 0, + "name": "ImGuiComboFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiComboFlags_PopupAlignLeft", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiComboFlags_HeightSmall", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiComboFlags_HeightRegular", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiComboFlags_HeightLarge", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiComboFlags_HeightLargest", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiComboFlags_NoArrowButton", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiComboFlags_NoPreview", + "value": "1 << 6" + }, + { + "calc_value": 30, + "name": "ImGuiComboFlags_HeightMask_", + "value": "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest" + } + ], + "ImGuiCond_": [ + { + "calc_value": 1, + "name": "ImGuiCond_Always", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiCond_Once", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiCond_FirstUseEver", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiCond_Appearing", + "value": "1 << 3" + } + ], + "ImGuiConfigFlags_": [ + { + "calc_value": 0, + "name": "ImGuiConfigFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiConfigFlags_NavEnableKeyboard", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiConfigFlags_NavEnableGamepad", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiConfigFlags_NavEnableSetMousePos", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiConfigFlags_NavNoCaptureKeyboard", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiConfigFlags_NoMouse", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiConfigFlags_NoMouseCursorChange", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiConfigFlags_DockingEnable", + "value": "1 << 6" + }, + { + "calc_value": 1024, + "name": "ImGuiConfigFlags_ViewportsEnable", + "value": "1 << 10" + }, + { + "calc_value": 16384, + "name": "ImGuiConfigFlags_DpiEnableScaleViewports", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiConfigFlags_DpiEnableScaleFonts", + "value": "1 << 15" + }, + { + "calc_value": 1048576, + "name": "ImGuiConfigFlags_IsSRGB", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiConfigFlags_IsTouchScreen", + "value": "1 << 21" + } + ], + "ImGuiDataType_": [ + { + "calc_value": 0, + "name": "ImGuiDataType_S8", + "value": 0 + }, + { + "calc_value": 1, + "name": "ImGuiDataType_U8", + "value": 1 + }, + { + "calc_value": 2, + "name": "ImGuiDataType_S16", + "value": 2 + }, + { + "calc_value": 3, + "name": "ImGuiDataType_U16", + "value": 3 + }, + { + "calc_value": 4, + "name": "ImGuiDataType_S32", + "value": 4 + }, + { + "calc_value": 5, + "name": "ImGuiDataType_U32", + "value": 5 + }, + { + "calc_value": 6, + "name": "ImGuiDataType_S64", + "value": 6 + }, + { + "calc_value": 7, + "name": "ImGuiDataType_U64", + "value": 7 + }, + { + "calc_value": 8, + "name": "ImGuiDataType_Float", + "value": 8 + }, + { + "calc_value": 9, + "name": "ImGuiDataType_Double", + "value": 9 + }, + { + "calc_value": 10, + "name": "ImGuiDataType_COUNT", + "value": 10 + } + ], + "ImGuiDir_": [ + { + "calc_value": -1, + "name": "ImGuiDir_None", + "value": "-1" + }, + { + "calc_value": 0, + "name": "ImGuiDir_Left", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDir_Right", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiDir_Up", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiDir_Down", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiDir_COUNT", + "value": 4 + } + ], + "ImGuiDockNodeFlags_": [ + { + "calc_value": 0, + "name": "ImGuiDockNodeFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDockNodeFlags_KeepAliveOnly", + "value": "1 << 0" + }, + { + "calc_value": 4, + "name": "ImGuiDockNodeFlags_NoDockingInCentralNode", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiDockNodeFlags_PassthruCentralNode", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiDockNodeFlags_NoSplit", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiDockNodeFlags_NoResize", + "value": "1 << 5" }, { "calc_value": 64, - "name": "ImGuiWindowFlags_AlwaysAutoResize", + "name": "ImGuiDockNodeFlags_AutoHideTabBar", + "value": "1 << 6" + } + ], + "ImGuiDragDropFlags_": [ + { + "calc_value": 0, + "name": "ImGuiDragDropFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDragDropFlags_SourceNoPreviewTooltip", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiDragDropFlags_SourceNoDisableHover", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiDragDropFlags_SourceNoHoldToOpenOthers", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiDragDropFlags_SourceAllowNullID", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiDragDropFlags_SourceExtern", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiDragDropFlags_SourceAutoExpirePayload", + "value": "1 << 5" + }, + { + "calc_value": 1024, + "name": "ImGuiDragDropFlags_AcceptBeforeDelivery", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiDragDropFlags_AcceptNoDrawDefaultRect", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiDragDropFlags_AcceptNoPreviewTooltip", + "value": "1 << 12" + }, + { + "calc_value": 3072, + "name": "ImGuiDragDropFlags_AcceptPeekOnly", + "value": "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" + } + ], + "ImGuiFocusedFlags_": [ + { + "calc_value": 0, + "name": "ImGuiFocusedFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiFocusedFlags_ChildWindows", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiFocusedFlags_RootWindow", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiFocusedFlags_AnyWindow", + "value": "1 << 2" + }, + { + "calc_value": 3, + "name": "ImGuiFocusedFlags_RootAndChildWindows", + "value": "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows" + } + ], + "ImGuiHoveredFlags_": [ + { + "calc_value": 0, + "name": "ImGuiHoveredFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiHoveredFlags_ChildWindows", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiHoveredFlags_RootWindow", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiHoveredFlags_AnyWindow", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiHoveredFlags_AllowWhenBlockedByPopup", + "value": "1 << 3" + }, + { + "calc_value": 32, + "name": "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiHoveredFlags_AllowWhenOverlapped", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiHoveredFlags_AllowWhenDisabled", + "value": "1 << 7" + }, + { + "calc_value": 104, + "name": "ImGuiHoveredFlags_RectOnly", + "value": "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" + }, + { + "calc_value": 3, + "name": "ImGuiHoveredFlags_RootAndChildWindows", + "value": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" + } + ], + "ImGuiInputTextFlags_": [ + { + "calc_value": 0, + "name": "ImGuiInputTextFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiInputTextFlags_CharsDecimal", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiInputTextFlags_CharsHexadecimal", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiInputTextFlags_CharsUppercase", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiInputTextFlags_CharsNoBlank", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiInputTextFlags_AutoSelectAll", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiInputTextFlags_EnterReturnsTrue", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiInputTextFlags_CallbackCompletion", "value": "1 << 6" }, { - "calc_value": 128, - "name": "ImGuiWindowFlags_NoBackground", - "value": "1 << 7" + "calc_value": 128, + "name": "ImGuiInputTextFlags_CallbackHistory", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiInputTextFlags_CallbackAlways", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiInputTextFlags_CallbackCharFilter", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiInputTextFlags_AllowTabInput", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiInputTextFlags_CtrlEnterForNewLine", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiInputTextFlags_NoHorizontalScroll", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiInputTextFlags_AlwaysInsertMode", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiInputTextFlags_ReadOnly", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiInputTextFlags_Password", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiInputTextFlags_NoUndoRedo", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiInputTextFlags_CharsScientific", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiInputTextFlags_CallbackResize", + "value": "1 << 18" + }, + { + "calc_value": 1048576, + "name": "ImGuiInputTextFlags_Multiline", + "value": "1 << 20" }, { - "calc_value": 256, - "name": "ImGuiWindowFlags_NoSavedSettings", - "value": "1 << 8" + "calc_value": 2097152, + "name": "ImGuiInputTextFlags_NoMarkEdited", + "value": "1 << 21" + } + ], + "ImGuiKey_": [ + { + "calc_value": 0, + "name": "ImGuiKey_Tab", + "value": 0 }, { - "calc_value": 512, - "name": "ImGuiWindowFlags_NoMouseInputs", - "value": "1 << 9" + "calc_value": 1, + "name": "ImGuiKey_LeftArrow", + "value": 1 }, { - "calc_value": 1024, - "name": "ImGuiWindowFlags_MenuBar", - "value": "1 << 10" + "calc_value": 2, + "name": "ImGuiKey_RightArrow", + "value": 2 }, { - "calc_value": 2048, - "name": "ImGuiWindowFlags_HorizontalScrollbar", - "value": "1 << 11" + "calc_value": 3, + "name": "ImGuiKey_UpArrow", + "value": 3 }, { - "calc_value": 4096, - "name": "ImGuiWindowFlags_NoFocusOnAppearing", - "value": "1 << 12" + "calc_value": 4, + "name": "ImGuiKey_DownArrow", + "value": 4 }, { - "calc_value": 8192, - "name": "ImGuiWindowFlags_NoBringToFrontOnFocus", - "value": "1 << 13" + "calc_value": 5, + "name": "ImGuiKey_PageUp", + "value": 5 }, { - "calc_value": 16384, - "name": "ImGuiWindowFlags_AlwaysVerticalScrollbar", - "value": "1 << 14" + "calc_value": 6, + "name": "ImGuiKey_PageDown", + "value": 6 }, { - "calc_value": 32768, - "name": "ImGuiWindowFlags_AlwaysHorizontalScrollbar", - "value": "1<< 15" + "calc_value": 7, + "name": "ImGuiKey_Home", + "value": 7 }, { - "calc_value": 65536, - "name": "ImGuiWindowFlags_AlwaysUseWindowPadding", - "value": "1 << 16" + "calc_value": 8, + "name": "ImGuiKey_End", + "value": 8 }, { - "calc_value": 262144, - "name": "ImGuiWindowFlags_NoNavInputs", - "value": "1 << 18" + "calc_value": 9, + "name": "ImGuiKey_Insert", + "value": 9 }, { - "calc_value": 524288, - "name": "ImGuiWindowFlags_NoNavFocus", - "value": "1 << 19" + "calc_value": 10, + "name": "ImGuiKey_Delete", + "value": 10 }, { - "calc_value": 786432, - "name": "ImGuiWindowFlags_NoNav", - "value": "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" + "calc_value": 11, + "name": "ImGuiKey_Backspace", + "value": 11 }, { - "calc_value": 43, - "name": "ImGuiWindowFlags_NoDecoration", - "value": "ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse" + "calc_value": 12, + "name": "ImGuiKey_Space", + "value": 12 }, { - "calc_value": 786944, - "name": "ImGuiWindowFlags_NoInputs", - "value": "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" + "calc_value": 13, + "name": "ImGuiKey_Enter", + "value": 13 }, { - "calc_value": 8388608, - "name": "ImGuiWindowFlags_NavFlattened", - "value": "1 << 23" + "calc_value": 14, + "name": "ImGuiKey_Escape", + "value": 14 }, { - "calc_value": 16777216, - "name": "ImGuiWindowFlags_ChildWindow", - "value": "1 << 24" + "calc_value": 15, + "name": "ImGuiKey_KeyPadEnter", + "value": 15 }, { - "calc_value": 33554432, - "name": "ImGuiWindowFlags_Tooltip", - "value": "1 << 25" + "calc_value": 16, + "name": "ImGuiKey_A", + "value": 16 }, { - "calc_value": 67108864, - "name": "ImGuiWindowFlags_Popup", - "value": "1 << 26" + "calc_value": 17, + "name": "ImGuiKey_C", + "value": 17 }, { - "calc_value": 134217728, - "name": "ImGuiWindowFlags_Modal", - "value": "1 << 27" + "calc_value": 18, + "name": "ImGuiKey_V", + "value": 18 }, { - "calc_value": 268435456, - "name": "ImGuiWindowFlags_ChildMenu", - "value": "1 << 28" + "calc_value": 19, + "name": "ImGuiKey_X", + "value": 19 + }, + { + "calc_value": 20, + "name": "ImGuiKey_Y", + "value": 20 + }, + { + "calc_value": 21, + "name": "ImGuiKey_Z", + "value": 21 + }, + { + "calc_value": 22, + "name": "ImGuiKey_COUNT", + "value": 22 + } + ], + "ImGuiMouseCursor_": [ + { + "calc_value": -1, + "name": "ImGuiMouseCursor_None", + "value": "-1" + }, + { + "calc_value": 0, + "name": "ImGuiMouseCursor_Arrow", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiMouseCursor_TextInput", + "value": 1 + }, + { + "calc_value": 2, + "name": "ImGuiMouseCursor_ResizeAll", + "value": 2 + }, + { + "calc_value": 3, + "name": "ImGuiMouseCursor_ResizeNS", + "value": 3 + }, + { + "calc_value": 4, + "name": "ImGuiMouseCursor_ResizeEW", + "value": 4 + }, + { + "calc_value": 5, + "name": "ImGuiMouseCursor_ResizeNESW", + "value": 5 + }, + { + "calc_value": 6, + "name": "ImGuiMouseCursor_ResizeNWSE", + "value": 6 + }, + { + "calc_value": 7, + "name": "ImGuiMouseCursor_Hand", + "value": 7 + }, + { + "calc_value": 8, + "name": "ImGuiMouseCursor_COUNT", + "value": 8 } ], "ImGuiNavInput_": [ @@ -688,62 +1299,40 @@ }, { "calc_value": 17, - "name": "ImGuiNavInput_KeyLeft_", + "name": "ImGuiNavInput_KeyTab_", "value": 17 }, { "calc_value": 18, - "name": "ImGuiNavInput_KeyRight_", + "name": "ImGuiNavInput_KeyLeft_", "value": 18 }, { "calc_value": 19, - "name": "ImGuiNavInput_KeyUp_", + "name": "ImGuiNavInput_KeyRight_", "value": 19 }, { "calc_value": 20, - "name": "ImGuiNavInput_KeyDown_", + "name": "ImGuiNavInput_KeyUp_", "value": 20 }, { "calc_value": 21, - "name": "ImGuiNavInput_COUNT", + "name": "ImGuiNavInput_KeyDown_", "value": 21 }, + { + "calc_value": 22, + "name": "ImGuiNavInput_COUNT", + "value": 22 + }, { "calc_value": 16, "name": "ImGuiNavInput_InternalStart_", "value": "ImGuiNavInput_KeyMenu_" } ], - "ImGuiFocusedFlags_": [ - { - "calc_value": 0, - "name": "ImGuiFocusedFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiFocusedFlags_ChildWindows", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiFocusedFlags_RootWindow", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiFocusedFlags_AnyWindow", - "value": "1 << 2" - }, - { - "calc_value": 3, - "name": "ImGuiFocusedFlags_RootAndChildWindows", - "value": "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows" - } - ], "ImGuiSelectableFlags_": [ { "calc_value": 0, @@ -769,1834 +1358,1932 @@ "calc_value": 8, "name": "ImGuiSelectableFlags_Disabled", "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiSelectableFlags_AllowItemOverlap", + "value": "1 << 4" } ], - "ImGuiKey_": [ + "ImGuiStyleVar_": [ { "calc_value": 0, - "name": "ImGuiKey_Tab", + "name": "ImGuiStyleVar_Alpha", "value": 0 }, { "calc_value": 1, - "name": "ImGuiKey_LeftArrow", + "name": "ImGuiStyleVar_WindowPadding", "value": 1 }, { "calc_value": 2, - "name": "ImGuiKey_RightArrow", + "name": "ImGuiStyleVar_WindowRounding", "value": 2 }, { "calc_value": 3, - "name": "ImGuiKey_UpArrow", + "name": "ImGuiStyleVar_WindowBorderSize", "value": 3 }, { "calc_value": 4, - "name": "ImGuiKey_DownArrow", + "name": "ImGuiStyleVar_WindowMinSize", "value": 4 }, { "calc_value": 5, - "name": "ImGuiKey_PageUp", + "name": "ImGuiStyleVar_WindowTitleAlign", "value": 5 }, { "calc_value": 6, - "name": "ImGuiKey_PageDown", + "name": "ImGuiStyleVar_ChildRounding", "value": 6 }, { "calc_value": 7, - "name": "ImGuiKey_Home", + "name": "ImGuiStyleVar_ChildBorderSize", "value": 7 }, { "calc_value": 8, - "name": "ImGuiKey_End", + "name": "ImGuiStyleVar_PopupRounding", "value": 8 }, { "calc_value": 9, - "name": "ImGuiKey_Insert", + "name": "ImGuiStyleVar_PopupBorderSize", "value": 9 }, { "calc_value": 10, - "name": "ImGuiKey_Delete", + "name": "ImGuiStyleVar_FramePadding", "value": 10 }, { "calc_value": 11, - "name": "ImGuiKey_Backspace", + "name": "ImGuiStyleVar_FrameRounding", "value": 11 }, { "calc_value": 12, - "name": "ImGuiKey_Space", + "name": "ImGuiStyleVar_FrameBorderSize", "value": 12 }, { "calc_value": 13, - "name": "ImGuiKey_Enter", + "name": "ImGuiStyleVar_ItemSpacing", "value": 13 }, { "calc_value": 14, - "name": "ImGuiKey_Escape", + "name": "ImGuiStyleVar_ItemInnerSpacing", "value": 14 }, { "calc_value": 15, - "name": "ImGuiKey_A", + "name": "ImGuiStyleVar_IndentSpacing", "value": 15 }, { "calc_value": 16, - "name": "ImGuiKey_C", + "name": "ImGuiStyleVar_ScrollbarSize", "value": 16 }, { "calc_value": 17, - "name": "ImGuiKey_V", + "name": "ImGuiStyleVar_ScrollbarRounding", "value": 17 }, { "calc_value": 18, - "name": "ImGuiKey_X", + "name": "ImGuiStyleVar_GrabMinSize", "value": 18 }, { "calc_value": 19, - "name": "ImGuiKey_Y", + "name": "ImGuiStyleVar_GrabRounding", "value": 19 }, { "calc_value": 20, - "name": "ImGuiKey_Z", + "name": "ImGuiStyleVar_TabRounding", "value": 20 }, { "calc_value": 21, - "name": "ImGuiKey_COUNT", + "name": "ImGuiStyleVar_ButtonTextAlign", "value": 21 - } - ], - "ImFontAtlasFlags_": [ - { - "calc_value": 0, - "name": "ImFontAtlasFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImFontAtlasFlags_NoPowerOfTwoHeight", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImFontAtlasFlags_NoMouseCursors", - "value": "1 << 1" - } - ], - "ImGuiConfigFlags_": [ - { - "calc_value": 1, - "name": "ImGuiConfigFlags_NavEnableKeyboard", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiConfigFlags_NavEnableGamepad", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiConfigFlags_NavEnableSetMousePos", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiConfigFlags_NavNoCaptureKeyboard", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiConfigFlags_NoMouse", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiConfigFlags_NoMouseCursorChange", - "value": "1 << 5" - }, - { - "calc_value": 1048576, - "name": "ImGuiConfigFlags_IsSRGB", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiConfigFlags_IsTouchScreen", - "value": "1 << 21" - } - ], - "ImDrawCornerFlags_": [ - { - "calc_value": 1, - "name": "ImDrawCornerFlags_TopLeft", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImDrawCornerFlags_TopRight", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImDrawCornerFlags_BotLeft", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImDrawCornerFlags_BotRight", - "value": "1 << 3" - }, - { - "calc_value": 3, - "name": "ImDrawCornerFlags_Top", - "value": "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight" - }, - { - "calc_value": 12, - "name": "ImDrawCornerFlags_Bot", - "value": "ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight" - }, - { - "calc_value": 5, - "name": "ImDrawCornerFlags_Left", - "value": "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft" }, { - "calc_value": 10, - "name": "ImDrawCornerFlags_Right", - "value": "ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight" + "calc_value": 22, + "name": "ImGuiStyleVar_SelectableTextAlign", + "value": 22 }, { - "calc_value": 15, - "name": "ImDrawCornerFlags_All", - "value": "0xF" + "calc_value": 23, + "name": "ImGuiStyleVar_COUNT", + "value": 23 } ], - "ImGuiDragDropFlags_": [ + "ImGuiTabBarFlags_": [ { "calc_value": 0, - "name": "ImGuiDragDropFlags_None", + "name": "ImGuiTabBarFlags_None", "value": "0" }, { "calc_value": 1, - "name": "ImGuiDragDropFlags_SourceNoPreviewTooltip", + "name": "ImGuiTabBarFlags_Reorderable", "value": "1 << 0" }, { "calc_value": 2, - "name": "ImGuiDragDropFlags_SourceNoDisableHover", + "name": "ImGuiTabBarFlags_AutoSelectNewTabs", "value": "1 << 1" }, { "calc_value": 4, - "name": "ImGuiDragDropFlags_SourceNoHoldToOpenOthers", + "name": "ImGuiTabBarFlags_TabListPopupButton", "value": "1 << 2" }, { "calc_value": 8, - "name": "ImGuiDragDropFlags_SourceAllowNullID", + "name": "ImGuiTabBarFlags_NoCloseWithMiddleMouseButton", "value": "1 << 3" }, { "calc_value": 16, - "name": "ImGuiDragDropFlags_SourceExtern", + "name": "ImGuiTabBarFlags_NoTabListScrollingButtons", "value": "1 << 4" }, { "calc_value": 32, - "name": "ImGuiDragDropFlags_SourceAutoExpirePayload", + "name": "ImGuiTabBarFlags_NoTooltip", "value": "1 << 5" }, { - "calc_value": 1024, - "name": "ImGuiDragDropFlags_AcceptBeforeDelivery", - "value": "1 << 10" + "calc_value": 64, + "name": "ImGuiTabBarFlags_FittingPolicyResizeDown", + "value": "1 << 6" }, { - "calc_value": 2048, - "name": "ImGuiDragDropFlags_AcceptNoDrawDefaultRect", - "value": "1 << 11" + "calc_value": 128, + "name": "ImGuiTabBarFlags_FittingPolicyScroll", + "value": "1 << 7" }, { - "calc_value": 4096, - "name": "ImGuiDragDropFlags_AcceptNoPreviewTooltip", - "value": "1 << 12" + "calc_value": 192, + "name": "ImGuiTabBarFlags_FittingPolicyMask_", + "value": "ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll" }, { - "calc_value": 3072, - "name": "ImGuiDragDropFlags_AcceptPeekOnly", - "value": "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" + "calc_value": 64, + "name": "ImGuiTabBarFlags_FittingPolicyDefault_", + "value": "ImGuiTabBarFlags_FittingPolicyResizeDown" } ], - "ImGuiCond_": [ + "ImGuiTabItemFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTabItemFlags_None", + "value": "0" + }, { "calc_value": 1, - "name": "ImGuiCond_Always", + "name": "ImGuiTabItemFlags_UnsavedDocument", "value": "1 << 0" }, { "calc_value": 2, - "name": "ImGuiCond_Once", + "name": "ImGuiTabItemFlags_SetSelected", "value": "1 << 1" }, { "calc_value": 4, - "name": "ImGuiCond_FirstUseEver", + "name": "ImGuiTabItemFlags_NoCloseWithMiddleMouseButton", "value": "1 << 2" }, { "calc_value": 8, - "name": "ImGuiCond_Appearing", + "name": "ImGuiTabItemFlags_NoPushId", "value": "1 << 3" } ], - "ImGuiInputTextFlags_": [ + "ImGuiTreeNodeFlags_": [ { "calc_value": 0, - "name": "ImGuiInputTextFlags_None", + "name": "ImGuiTreeNodeFlags_None", "value": "0" }, { "calc_value": 1, - "name": "ImGuiInputTextFlags_CharsDecimal", + "name": "ImGuiTreeNodeFlags_Selected", "value": "1 << 0" }, { "calc_value": 2, - "name": "ImGuiInputTextFlags_CharsHexadecimal", + "name": "ImGuiTreeNodeFlags_Framed", "value": "1 << 1" }, { "calc_value": 4, - "name": "ImGuiInputTextFlags_CharsUppercase", + "name": "ImGuiTreeNodeFlags_AllowItemOverlap", "value": "1 << 2" }, { "calc_value": 8, - "name": "ImGuiInputTextFlags_CharsNoBlank", + "name": "ImGuiTreeNodeFlags_NoTreePushOnOpen", "value": "1 << 3" }, { "calc_value": 16, - "name": "ImGuiInputTextFlags_AutoSelectAll", + "name": "ImGuiTreeNodeFlags_NoAutoOpenOnLog", "value": "1 << 4" }, { "calc_value": 32, - "name": "ImGuiInputTextFlags_EnterReturnsTrue", + "name": "ImGuiTreeNodeFlags_DefaultOpen", "value": "1 << 5" }, { "calc_value": 64, - "name": "ImGuiInputTextFlags_CallbackCompletion", + "name": "ImGuiTreeNodeFlags_OpenOnDoubleClick", "value": "1 << 6" }, { "calc_value": 128, - "name": "ImGuiInputTextFlags_CallbackHistory", + "name": "ImGuiTreeNodeFlags_OpenOnArrow", "value": "1 << 7" }, { "calc_value": 256, - "name": "ImGuiInputTextFlags_CallbackAlways", + "name": "ImGuiTreeNodeFlags_Leaf", "value": "1 << 8" }, { "calc_value": 512, - "name": "ImGuiInputTextFlags_CallbackCharFilter", + "name": "ImGuiTreeNodeFlags_Bullet", "value": "1 << 9" }, { "calc_value": 1024, - "name": "ImGuiInputTextFlags_AllowTabInput", + "name": "ImGuiTreeNodeFlags_FramePadding", "value": "1 << 10" }, { "calc_value": 2048, - "name": "ImGuiInputTextFlags_CtrlEnterForNewLine", + "name": "ImGuiTreeNodeFlags_SpanAvailWidth", "value": "1 << 11" }, { "calc_value": 4096, - "name": "ImGuiInputTextFlags_NoHorizontalScroll", + "name": "ImGuiTreeNodeFlags_SpanFullWidth", "value": "1 << 12" }, { "calc_value": 8192, - "name": "ImGuiInputTextFlags_AlwaysInsertMode", + "name": "ImGuiTreeNodeFlags_NavLeftJumpsBackHere", "value": "1 << 13" }, { - "calc_value": 16384, - "name": "ImGuiInputTextFlags_ReadOnly", - "value": "1 << 14" - }, - { - "calc_value": 32768, - "name": "ImGuiInputTextFlags_Password", - "value": "1 << 15" - }, - { - "calc_value": 65536, - "name": "ImGuiInputTextFlags_NoUndoRedo", - "value": "1 << 16" - }, - { - "calc_value": 131072, - "name": "ImGuiInputTextFlags_CharsScientific", - "value": "1 << 17" - }, - { - "calc_value": 262144, - "name": "ImGuiInputTextFlags_CallbackResize", - "value": "1 << 18" - }, - { - "calc_value": 1048576, - "name": "ImGuiInputTextFlags_Multiline", - "value": "1 << 20" + "calc_value": 26, + "name": "ImGuiTreeNodeFlags_CollapsingHeader", + "value": "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog" } ], - "ImGuiMouseCursor_": [ - { - "calc_value": -1, - "name": "ImGuiMouseCursor_None", - "value": "-1" - }, + "ImGuiViewportFlags_": [ { "calc_value": 0, - "name": "ImGuiMouseCursor_Arrow", + "name": "ImGuiViewportFlags_None", "value": "0" }, { "calc_value": 1, - "name": "ImGuiMouseCursor_TextInput", - "value": 1 + "name": "ImGuiViewportFlags_NoDecoration", + "value": "1 << 0" }, { "calc_value": 2, - "name": "ImGuiMouseCursor_ResizeAll", - "value": 2 + "name": "ImGuiViewportFlags_NoTaskBarIcon", + "value": "1 << 1" }, { - "calc_value": 3, - "name": "ImGuiMouseCursor_ResizeNS", - "value": 3 + "calc_value": 4, + "name": "ImGuiViewportFlags_NoFocusOnAppearing", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiViewportFlags_NoFocusOnClick", + "value": "1 << 3" }, { - "calc_value": 4, - "name": "ImGuiMouseCursor_ResizeEW", - "value": 4 + "calc_value": 16, + "name": "ImGuiViewportFlags_NoInputs", + "value": "1 << 4" }, { - "calc_value": 5, - "name": "ImGuiMouseCursor_ResizeNESW", - "value": 5 + "calc_value": 32, + "name": "ImGuiViewportFlags_NoRendererClear", + "value": "1 << 5" }, { - "calc_value": 6, - "name": "ImGuiMouseCursor_ResizeNWSE", - "value": 6 + "calc_value": 64, + "name": "ImGuiViewportFlags_TopMost", + "value": "1 << 6" }, { - "calc_value": 7, - "name": "ImGuiMouseCursor_Hand", - "value": 7 + "calc_value": 128, + "name": "ImGuiViewportFlags_Minimized", + "value": "1 << 7" }, { - "calc_value": 8, - "name": "ImGuiMouseCursor_COUNT", - "value": 8 + "calc_value": 256, + "name": "ImGuiViewportFlags_NoAutoMerge", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiViewportFlags_CanHostOtherWindows", + "value": "1 << 9" } ], - "ImGuiColorEditFlags_": [ + "ImGuiWindowFlags_": [ { "calc_value": 0, - "name": "ImGuiColorEditFlags_None", + "name": "ImGuiWindowFlags_None", "value": "0" }, + { + "calc_value": 1, + "name": "ImGuiWindowFlags_NoTitleBar", + "value": "1 << 0" + }, { "calc_value": 2, - "name": "ImGuiColorEditFlags_NoAlpha", + "name": "ImGuiWindowFlags_NoResize", "value": "1 << 1" }, { "calc_value": 4, - "name": "ImGuiColorEditFlags_NoPicker", + "name": "ImGuiWindowFlags_NoMove", "value": "1 << 2" }, { "calc_value": 8, - "name": "ImGuiColorEditFlags_NoOptions", + "name": "ImGuiWindowFlags_NoScrollbar", "value": "1 << 3" }, { "calc_value": 16, - "name": "ImGuiColorEditFlags_NoSmallPreview", + "name": "ImGuiWindowFlags_NoScrollWithMouse", "value": "1 << 4" }, { "calc_value": 32, - "name": "ImGuiColorEditFlags_NoInputs", + "name": "ImGuiWindowFlags_NoCollapse", "value": "1 << 5" }, { "calc_value": 64, - "name": "ImGuiColorEditFlags_NoTooltip", + "name": "ImGuiWindowFlags_AlwaysAutoResize", "value": "1 << 6" }, { "calc_value": 128, - "name": "ImGuiColorEditFlags_NoLabel", + "name": "ImGuiWindowFlags_NoBackground", "value": "1 << 7" }, { "calc_value": 256, - "name": "ImGuiColorEditFlags_NoSidePreview", + "name": "ImGuiWindowFlags_NoSavedSettings", "value": "1 << 8" }, { "calc_value": 512, - "name": "ImGuiColorEditFlags_NoDragDrop", + "name": "ImGuiWindowFlags_NoMouseInputs", "value": "1 << 9" }, { - "calc_value": 65536, - "name": "ImGuiColorEditFlags_AlphaBar", - "value": "1 << 16" + "calc_value": 1024, + "name": "ImGuiWindowFlags_MenuBar", + "value": "1 << 10" }, { - "calc_value": 131072, - "name": "ImGuiColorEditFlags_AlphaPreview", - "value": "1 << 17" + "calc_value": 2048, + "name": "ImGuiWindowFlags_HorizontalScrollbar", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiWindowFlags_NoFocusOnAppearing", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiWindowFlags_NoBringToFrontOnFocus", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiWindowFlags_AlwaysVerticalScrollbar", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiWindowFlags_AlwaysHorizontalScrollbar", + "value": "1<< 15" + }, + { + "calc_value": 65536, + "name": "ImGuiWindowFlags_AlwaysUseWindowPadding", + "value": "1 << 16" }, { "calc_value": 262144, - "name": "ImGuiColorEditFlags_AlphaPreviewHalf", + "name": "ImGuiWindowFlags_NoNavInputs", "value": "1 << 18" }, { "calc_value": 524288, - "name": "ImGuiColorEditFlags_HDR", + "name": "ImGuiWindowFlags_NoNavFocus", "value": "1 << 19" }, { "calc_value": 1048576, - "name": "ImGuiColorEditFlags_RGB", + "name": "ImGuiWindowFlags_UnsavedDocument", "value": "1 << 20" }, { "calc_value": 2097152, - "name": "ImGuiColorEditFlags_HSV", + "name": "ImGuiWindowFlags_NoDocking", "value": "1 << 21" }, { - "calc_value": 4194304, - "name": "ImGuiColorEditFlags_HEX", - "value": "1 << 22" + "calc_value": 786432, + "name": "ImGuiWindowFlags_NoNav", + "value": "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" + }, + { + "calc_value": 43, + "name": "ImGuiWindowFlags_NoDecoration", + "value": "ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse" + }, + { + "calc_value": 786944, + "name": "ImGuiWindowFlags_NoInputs", + "value": "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" }, { "calc_value": 8388608, - "name": "ImGuiColorEditFlags_Uint8", + "name": "ImGuiWindowFlags_NavFlattened", "value": "1 << 23" }, { "calc_value": 16777216, - "name": "ImGuiColorEditFlags_Float", + "name": "ImGuiWindowFlags_ChildWindow", "value": "1 << 24" }, { "calc_value": 33554432, - "name": "ImGuiColorEditFlags_PickerHueBar", + "name": "ImGuiWindowFlags_Tooltip", "value": "1 << 25" }, { "calc_value": 67108864, - "name": "ImGuiColorEditFlags_PickerHueWheel", + "name": "ImGuiWindowFlags_Popup", "value": "1 << 26" }, { - "calc_value": 7340032, - "name": "ImGuiColorEditFlags__InputsMask", - "value": "ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX" + "calc_value": 134217728, + "name": "ImGuiWindowFlags_Modal", + "value": "1 << 27" }, { - "calc_value": 25165824, - "name": "ImGuiColorEditFlags__DataTypeMask", - "value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float" + "calc_value": 268435456, + "name": "ImGuiWindowFlags_ChildMenu", + "value": "1 << 28" }, { - "calc_value": 100663296, - "name": "ImGuiColorEditFlags__PickerMask", - "value": "ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar" - }, + "calc_value": 536870912, + "name": "ImGuiWindowFlags_DockNodeHost", + "value": "1 << 29" + } + ] + }, + "structs": { + "ImColor": [ { - "calc_value": 42991616, - "name": "ImGuiColorEditFlags__OptionsDefault", - "value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar" + "name": "Value", + "type": "ImVec4" } ], - "ImGuiHoveredFlags_": [ - { - "calc_value": 0, - "name": "ImGuiHoveredFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiHoveredFlags_ChildWindows", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiHoveredFlags_RootWindow", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiHoveredFlags_AnyWindow", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiHoveredFlags_AllowWhenBlockedByPopup", - "value": "1 << 3" - }, - { - "calc_value": 32, - "name": "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiHoveredFlags_AllowWhenOverlapped", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiHoveredFlags_AllowWhenDisabled", - "value": "1 << 7" - }, + "ImDrawChannel": [ { - "calc_value": 104, - "name": "ImGuiHoveredFlags_RectOnly", - "value": "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" + "name": "_CmdBuffer", + "template_type": "ImDrawCmd", + "type": "ImVector_ImDrawCmd" }, { - "calc_value": 3, - "name": "ImGuiHoveredFlags_RootAndChildWindows", - "value": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" + "name": "_IdxBuffer", + "template_type": "ImDrawIdx", + "type": "ImVector_ImDrawIdx" } ], - "ImGuiDir_": [ + "ImDrawCmd": [ { - "calc_value": -1, - "name": "ImGuiDir_None", - "value": "-1" + "name": "ElemCount", + "type": "unsigned int" }, { - "calc_value": 0, - "name": "ImGuiDir_Left", - "value": "0" + "name": "ClipRect", + "type": "ImVec4" }, { - "calc_value": 1, - "name": "ImGuiDir_Right", - "value": "1" + "name": "TextureId", + "type": "ImTextureID" }, { - "calc_value": 2, - "name": "ImGuiDir_Up", - "value": "2" + "name": "VtxOffset", + "type": "unsigned int" }, { - "calc_value": 3, - "name": "ImGuiDir_Down", - "value": "3" + "name": "IdxOffset", + "type": "unsigned int" }, { - "calc_value": 4, - "name": "ImGuiDir_COUNT", - "value": 4 - } - ], - "ImDrawListFlags_": [ - { - "calc_value": 1, - "name": "ImDrawListFlags_AntiAliasedLines", - "value": "1 << 0" + "name": "UserCallback", + "type": "ImDrawCallback" }, { - "calc_value": 2, - "name": "ImDrawListFlags_AntiAliasedFill", - "value": "1 << 1" + "name": "UserCallbackData", + "type": "void*" } ], - "ImGuiDataType_": [ - { - "calc_value": 0, - "name": "ImGuiDataType_S32", - "value": 0 - }, - { - "calc_value": 1, - "name": "ImGuiDataType_U32", - "value": 1 - }, - { - "calc_value": 2, - "name": "ImGuiDataType_S64", - "value": 2 - }, + "ImDrawData": [ { - "calc_value": 3, - "name": "ImGuiDataType_U64", - "value": 3 + "name": "Valid", + "type": "bool" }, { - "calc_value": 4, - "name": "ImGuiDataType_Float", - "value": 4 + "name": "CmdLists", + "type": "ImDrawList**" }, { - "calc_value": 5, - "name": "ImGuiDataType_Double", - "value": 5 + "name": "CmdListsCount", + "type": "int" }, { - "calc_value": 6, - "name": "ImGuiDataType_COUNT", - "value": 6 - } - ], - "ImGuiBackendFlags_": [ - { - "calc_value": 1, - "name": "ImGuiBackendFlags_HasGamepad", - "value": "1 << 0" + "name": "TotalIdxCount", + "type": "int" }, { - "calc_value": 2, - "name": "ImGuiBackendFlags_HasMouseCursors", - "value": "1 << 1" + "name": "TotalVtxCount", + "type": "int" }, { - "calc_value": 4, - "name": "ImGuiBackendFlags_HasSetMousePos", - "value": "1 << 2" - } - ] - }, - "structs": { - "ImDrawVert": [ + "name": "DisplayPos", + "type": "ImVec2" + }, { - "type": "ImVec2", - "name": "pos" + "name": "DisplaySize", + "type": "ImVec2" }, { - "type": "ImVec2", - "name": "uv" + "name": "FramebufferScale", + "type": "ImVec2" }, { - "type": "ImU32", - "name": "col" + "name": "OwnerViewport", + "type": "ImGuiViewport*" } ], "ImDrawList": [ { - "type": "ImVector_ImDrawCmd", + "name": "CmdBuffer", "template_type": "ImDrawCmd", - "name": "CmdBuffer" + "type": "ImVector_ImDrawCmd" }, { - "type": "ImVector_ImDrawIdx", + "name": "IdxBuffer", "template_type": "ImDrawIdx", - "name": "IdxBuffer" + "type": "ImVector_ImDrawIdx" }, { - "type": "ImVector_ImDrawVert", + "name": "VtxBuffer", "template_type": "ImDrawVert", - "name": "VtxBuffer" + "type": "ImVector_ImDrawVert" }, { - "type": "ImDrawListFlags", - "name": "Flags" + "name": "Flags", + "type": "ImDrawListFlags" }, { - "type": "const ImDrawListSharedData*", - "name": "_Data" + "name": "_Data", + "type": "const ImDrawListSharedData*" }, { - "type": "const char*", - "name": "_OwnerName" + "name": "_OwnerName", + "type": "const char*" }, { - "type": "unsigned int", - "name": "_VtxCurrentIdx" + "name": "_VtxCurrentOffset", + "type": "unsigned int" }, { - "type": "ImDrawVert*", - "name": "_VtxWritePtr" + "name": "_VtxCurrentIdx", + "type": "unsigned int" }, { - "type": "ImDrawIdx*", - "name": "_IdxWritePtr" + "name": "_VtxWritePtr", + "type": "ImDrawVert*" }, { - "type": "ImVector_ImVec4", + "name": "_IdxWritePtr", + "type": "ImDrawIdx*" + }, + { + "name": "_ClipRectStack", "template_type": "ImVec4", - "name": "_ClipRectStack" + "type": "ImVector_ImVec4" }, { - "type": "ImVector_ImTextureID", + "name": "_TextureIdStack", "template_type": "ImTextureID", - "name": "_TextureIdStack" + "type": "ImVector_ImTextureID" }, { - "type": "ImVector_ImVec2", + "name": "_Path", "template_type": "ImVec2", - "name": "_Path" + "type": "ImVector_ImVec2" }, { - "type": "int", - "name": "_ChannelsCurrent" + "name": "_Splitter", + "type": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter": [ + { + "name": "_Current", + "type": "int" }, { - "type": "int", - "name": "_ChannelsCount" + "name": "_Count", + "type": "int" }, { - "type": "ImVector_ImDrawChannel", + "name": "_Channels", "template_type": "ImDrawChannel", - "name": "_Channels" + "type": "ImVector_ImDrawChannel" } ], - "Pair": [ + "ImDrawVert": [ + { + "name": "pos", + "type": "ImVec2" + }, { - "type": "ImGuiID", - "name": "key" + "name": "uv", + "type": "ImVec2" }, { - "type": "union { int val_i; float val_f; void* val_p;", - "name": "}" + "name": "col", + "type": "ImU32" } ], "ImFont": [ { - "type": "float", - "name": "FontSize" + "name": "IndexAdvanceX", + "template_type": "float", + "type": "ImVector_float" + }, + { + "name": "FallbackAdvanceX", + "type": "float" }, { - "type": "float", - "name": "Scale" + "name": "FontSize", + "type": "float" }, { - "type": "ImVec2", - "name": "DisplayOffset" + "name": "IndexLookup", + "template_type": "ImWchar", + "type": "ImVector_ImWchar" }, { - "type": "ImVector_ImFontGlyph", + "name": "Glyphs", "template_type": "ImFontGlyph", - "name": "Glyphs" + "type": "ImVector_ImFontGlyph" }, { - "type": "ImVector_float", - "template_type": "float", - "name": "IndexAdvanceX" + "name": "FallbackGlyph", + "type": "const ImFontGlyph*" }, { - "type": "ImVector_ImWchar", - "template_type": "ImWchar", - "name": "IndexLookup" + "name": "DisplayOffset", + "type": "ImVec2" }, { - "type": "const ImFontGlyph*", - "name": "FallbackGlyph" + "name": "ContainerAtlas", + "type": "ImFontAtlas*" }, { - "type": "float", - "name": "FallbackAdvanceX" + "name": "ConfigData", + "type": "const ImFontConfig*" }, { - "type": "ImWchar", - "name": "FallbackChar" + "name": "ConfigDataCount", + "type": "short" }, { - "type": "short", - "name": "ConfigDataCount" + "name": "FallbackChar", + "type": "ImWchar" }, { - "type": "ImFontConfig*", - "name": "ConfigData" + "name": "EllipsisChar", + "type": "ImWchar" }, { - "type": "ImFontAtlas*", - "name": "ContainerAtlas" + "name": "Scale", + "type": "float" }, { - "type": "float", - "name": "Ascent" + "name": "Ascent", + "type": "float" }, { - "type": "float", - "name": "Descent" + "name": "Descent", + "type": "float" }, { - "type": "bool", - "name": "DirtyLookupTables" + "name": "MetricsTotalSurface", + "type": "int" }, { - "type": "int", - "name": "MetricsTotalSurface" + "name": "DirtyLookupTables", + "type": "bool" } ], - "ImGuiListClipper": [ + "ImFontAtlas": [ + { + "name": "Locked", + "type": "bool" + }, + { + "name": "Flags", + "type": "ImFontAtlasFlags" + }, { - "type": "float", - "name": "StartPosY" + "name": "TexID", + "type": "ImTextureID" }, { - "type": "float", - "name": "ItemsHeight" + "name": "TexDesiredWidth", + "type": "int" }, { - "type": "int", - "name": "ItemsCount" + "name": "TexGlyphPadding", + "type": "int" }, { - "type": "int", - "name": "StepNo" + "name": "TexPixelsAlpha8", + "type": "unsigned char*" }, { - "type": "int", - "name": "DisplayStart" + "name": "TexPixelsRGBA32", + "type": "unsigned int*" }, { - "type": "int", - "name": "DisplayEnd" + "name": "TexWidth", + "type": "int" + }, + { + "name": "TexHeight", + "type": "int" + }, + { + "name": "TexUvScale", + "type": "ImVec2" + }, + { + "name": "TexUvWhitePixel", + "type": "ImVec2" + }, + { + "name": "Fonts", + "template_type": "ImFont*", + "type": "ImVector_ImFontPtr" + }, + { + "name": "CustomRects", + "template_type": "ImFontAtlasCustomRect", + "type": "ImVector_ImFontAtlasCustomRect" + }, + { + "name": "ConfigData", + "template_type": "ImFontConfig", + "type": "ImVector_ImFontConfig" + }, + { + "name": "CustomRectIds[1]", + "size": 1, + "type": "int" } ], - "CustomRect": [ + "ImFontAtlasCustomRect": [ { - "type": "unsigned int", - "name": "ID" + "name": "ID", + "type": "unsigned int" }, { - "type": "unsigned short", - "name": "Width" + "name": "Width", + "type": "unsigned short" }, { - "type": "unsigned short", - "name": "Height" + "name": "Height", + "type": "unsigned short" }, { - "type": "unsigned short", - "name": "X" + "name": "X", + "type": "unsigned short" }, { - "type": "unsigned short", - "name": "Y" + "name": "Y", + "type": "unsigned short" }, { - "type": "float", - "name": "GlyphAdvanceX" + "name": "GlyphAdvanceX", + "type": "float" }, { - "type": "ImVec2", - "name": "GlyphOffset" + "name": "GlyphOffset", + "type": "ImVec2" }, { - "type": "ImFont*", - "name": "Font" + "name": "Font", + "type": "ImFont*" } ], - "ImVec4": [ + "ImFontConfig": [ + { + "name": "FontData", + "type": "void*" + }, + { + "name": "FontDataSize", + "type": "int" + }, + { + "name": "FontDataOwnedByAtlas", + "type": "bool" + }, + { + "name": "FontNo", + "type": "int" + }, + { + "name": "SizePixels", + "type": "float" + }, + { + "name": "OversampleH", + "type": "int" + }, + { + "name": "OversampleV", + "type": "int" + }, + { + "name": "PixelSnapH", + "type": "bool" + }, + { + "name": "GlyphExtraSpacing", + "type": "ImVec2" + }, + { + "name": "GlyphOffset", + "type": "ImVec2" + }, + { + "name": "GlyphRanges", + "type": "const ImWchar*" + }, + { + "name": "GlyphMinAdvanceX", + "type": "float" + }, + { + "name": "GlyphMaxAdvanceX", + "type": "float" + }, + { + "name": "MergeMode", + "type": "bool" + }, + { + "name": "RasterizerFlags", + "type": "unsigned int" + }, { - "type": "float", - "name": "x" + "name": "RasterizerMultiply", + "type": "float" }, { - "type": "float", - "name": "y" + "name": "EllipsisChar", + "type": "ImWchar" }, { - "type": "float", - "name": "z" + "name": "Name[40]", + "size": 40, + "type": "char" }, { - "type": "float", - "name": "w" + "name": "DstFont", + "type": "ImFont*" } ], - "GlyphRangesBuilder": [ + "ImFontGlyph": [ + { + "name": "Codepoint", + "type": "ImWchar" + }, + { + "name": "AdvanceX", + "type": "float" + }, + { + "name": "X0", + "type": "float" + }, + { + "name": "Y0", + "type": "float" + }, + { + "name": "X1", + "type": "float" + }, + { + "name": "Y1", + "type": "float" + }, + { + "name": "U0", + "type": "float" + }, + { + "name": "V0", + "type": "float" + }, + { + "name": "U1", + "type": "float" + }, { - "type": "ImVector_unsigned_char", - "template_type": "unsigned char", - "name": "UsedChars" + "name": "V1", + "type": "float" } ], - "ImGuiStorage": [ + "ImFontGlyphRangesBuilder": [ { - "type": "ImVector_Pair", - "template_type": "Pair", - "name": "Data" + "name": "UsedChars", + "template_type": "ImU32", + "type": "ImVector_ImU32" } ], - "ImFontAtlas": [ + "ImGuiIO": [ { - "type": "bool", - "name": "Locked" + "name": "ConfigFlags", + "type": "ImGuiConfigFlags" }, { - "type": "ImFontAtlasFlags", - "name": "Flags" + "name": "BackendFlags", + "type": "ImGuiBackendFlags" }, { - "type": "ImTextureID", - "name": "TexID" + "name": "DisplaySize", + "type": "ImVec2" }, { - "type": "int", - "name": "TexDesiredWidth" + "name": "DeltaTime", + "type": "float" }, { - "type": "int", - "name": "TexGlyphPadding" + "name": "IniSavingRate", + "type": "float" }, { - "type": "unsigned char*", - "name": "TexPixelsAlpha8" + "name": "IniFilename", + "type": "const char*" }, { - "type": "unsigned int*", - "name": "TexPixelsRGBA32" + "name": "LogFilename", + "type": "const char*" }, { - "type": "int", - "name": "TexWidth" + "name": "MouseDoubleClickTime", + "type": "float" }, { - "type": "int", - "name": "TexHeight" + "name": "MouseDoubleClickMaxDist", + "type": "float" }, { - "type": "ImVec2", - "name": "TexUvScale" + "name": "MouseDragThreshold", + "type": "float" }, { - "type": "ImVec2", - "name": "TexUvWhitePixel" + "name": "KeyMap[ImGuiKey_COUNT]", + "size": 22, + "type": "int" }, { - "type": "ImVector_ImFontPtr", - "template_type": "ImFont*", - "name": "Fonts" + "name": "KeyRepeatDelay", + "type": "float" }, { - "type": "ImVector_CustomRect", - "template_type": "CustomRect", - "name": "CustomRects" + "name": "KeyRepeatRate", + "type": "float" }, { - "type": "ImVector_ImFontConfig", - "template_type": "ImFontConfig", - "name": "ConfigData" + "name": "UserData", + "type": "void*" }, { - "type": "int", - "size": 1, - "name": "CustomRectIds[1]" - } - ], - "ImFontGlyph": [ + "name": "Fonts", + "type": "ImFontAtlas*" + }, { - "type": "ImWchar", - "name": "Codepoint" + "name": "FontGlobalScale", + "type": "float" }, { - "type": "float", - "name": "AdvanceX" + "name": "FontAllowUserScaling", + "type": "bool" }, { - "type": "float", - "name": "X0" + "name": "FontDefault", + "type": "ImFont*" }, { - "type": "float", - "name": "Y0" + "name": "DisplayFramebufferScale", + "type": "ImVec2" }, { - "type": "float", - "name": "X1" + "name": "ConfigDockingNoSplit", + "type": "bool" }, { - "type": "float", - "name": "Y1" + "name": "ConfigDockingWithShift", + "type": "bool" }, { - "type": "float", - "name": "U0" + "name": "ConfigDockingAlwaysTabBar", + "type": "bool" }, { - "type": "float", - "name": "V0" + "name": "ConfigDockingTransparentPayload", + "type": "bool" }, { - "type": "float", - "name": "U1" + "name": "ConfigViewportsNoAutoMerge", + "type": "bool" }, { - "type": "float", - "name": "V1" - } - ], - "ImFontConfig": [ + "name": "ConfigViewportsNoTaskBarIcon", + "type": "bool" + }, { - "type": "void*", - "name": "FontData" + "name": "ConfigViewportsNoDecoration", + "type": "bool" }, { - "type": "int", - "name": "FontDataSize" + "name": "ConfigViewportsNoDefaultParent", + "type": "bool" }, { - "type": "bool", - "name": "FontDataOwnedByAtlas" + "name": "MouseDrawCursor", + "type": "bool" }, { - "type": "int", - "name": "FontNo" + "name": "ConfigMacOSXBehaviors", + "type": "bool" }, { - "type": "float", - "name": "SizePixels" + "name": "ConfigInputTextCursorBlink", + "type": "bool" }, { - "type": "int", - "name": "OversampleH" + "name": "ConfigWindowsResizeFromEdges", + "type": "bool" }, { - "type": "int", - "name": "OversampleV" + "name": "ConfigWindowsMoveFromTitleBarOnly", + "type": "bool" }, { - "type": "bool", - "name": "PixelSnapH" + "name": "ConfigWindowsMemoryCompactTimer", + "type": "float" }, { - "type": "ImVec2", - "name": "GlyphExtraSpacing" + "name": "BackendPlatformName", + "type": "const char*" }, { - "type": "ImVec2", - "name": "GlyphOffset" + "name": "BackendRendererName", + "type": "const char*" }, { - "type": "const ImWchar*", - "name": "GlyphRanges" + "name": "BackendPlatformUserData", + "type": "void*" }, { - "type": "float", - "name": "GlyphMinAdvanceX" + "name": "BackendRendererUserData", + "type": "void*" }, { - "type": "float", - "name": "GlyphMaxAdvanceX" + "name": "BackendLanguageUserData", + "type": "void*" }, { - "type": "bool", - "name": "MergeMode" + "name": "GetClipboardTextFn", + "type": "const char*(*)(void* user_data)" }, { - "type": "unsigned int", - "name": "RasterizerFlags" + "name": "SetClipboardTextFn", + "type": "void(*)(void* user_data,const char* text)" }, { - "type": "float", - "name": "RasterizerMultiply" + "name": "ClipboardUserData", + "type": "void*" }, { - "type": "char", - "size": 40, - "name": "Name[40]" + "name": "RenderDrawListsFnUnused", + "type": "void*" }, { - "type": "ImFont*", - "name": "DstFont" - } - ], - "ImDrawData": [ + "name": "MousePos", + "type": "ImVec2" + }, { - "type": "bool", - "name": "Valid" + "name": "MouseDown[5]", + "size": 5, + "type": "bool" }, { - "type": "ImDrawList**", - "name": "CmdLists" + "name": "MouseWheel", + "type": "float" }, { - "type": "int", - "name": "CmdListsCount" + "name": "MouseWheelH", + "type": "float" }, { - "type": "int", - "name": "TotalIdxCount" + "name": "MouseHoveredViewport", + "type": "ImGuiID" }, { - "type": "int", - "name": "TotalVtxCount" + "name": "KeyCtrl", + "type": "bool" }, { - "type": "ImVec2", - "name": "DisplayPos" + "name": "KeyShift", + "type": "bool" }, { - "type": "ImVec2", - "name": "DisplaySize" - } - ], - "ImGuiTextBuffer": [ + "name": "KeyAlt", + "type": "bool" + }, { - "type": "ImVector_char", - "template_type": "char", - "name": "Buf" + "name": "KeySuper", + "type": "bool" }, { - "type": "static char", - "size": 1, - "name": "EmptyString[1]" - } - ], - "ImGuiStyle": [ + "name": "KeysDown[512]", + "size": 512, + "type": "bool" + }, + { + "name": "NavInputs[ImGuiNavInput_COUNT]", + "size": 22, + "type": "float" + }, + { + "name": "WantCaptureMouse", + "type": "bool" + }, { - "type": "float", - "name": "Alpha" + "name": "WantCaptureKeyboard", + "type": "bool" }, { - "type": "ImVec2", - "name": "WindowPadding" + "name": "WantTextInput", + "type": "bool" }, { - "type": "float", - "name": "WindowRounding" + "name": "WantSetMousePos", + "type": "bool" }, { - "type": "float", - "name": "WindowBorderSize" + "name": "WantSaveIniSettings", + "type": "bool" }, { - "type": "ImVec2", - "name": "WindowMinSize" + "name": "NavActive", + "type": "bool" }, { - "type": "ImVec2", - "name": "WindowTitleAlign" + "name": "NavVisible", + "type": "bool" }, { - "type": "float", - "name": "ChildRounding" + "name": "Framerate", + "type": "float" }, { - "type": "float", - "name": "ChildBorderSize" + "name": "MetricsRenderVertices", + "type": "int" }, { - "type": "float", - "name": "PopupRounding" + "name": "MetricsRenderIndices", + "type": "int" }, { - "type": "float", - "name": "PopupBorderSize" + "name": "MetricsRenderWindows", + "type": "int" }, { - "type": "ImVec2", - "name": "FramePadding" + "name": "MetricsActiveWindows", + "type": "int" }, { - "type": "float", - "name": "FrameRounding" + "name": "MetricsActiveAllocations", + "type": "int" }, { - "type": "float", - "name": "FrameBorderSize" + "name": "MouseDelta", + "type": "ImVec2" }, { - "type": "ImVec2", - "name": "ItemSpacing" + "name": "MousePosPrev", + "type": "ImVec2" }, { - "type": "ImVec2", - "name": "ItemInnerSpacing" + "name": "MouseClickedPos[5]", + "size": 5, + "type": "ImVec2" }, { - "type": "ImVec2", - "name": "TouchExtraPadding" + "name": "MouseClickedTime[5]", + "size": 5, + "type": "double" }, { - "type": "float", - "name": "IndentSpacing" + "name": "MouseClicked[5]", + "size": 5, + "type": "bool" }, { - "type": "float", - "name": "ColumnsMinSpacing" + "name": "MouseDoubleClicked[5]", + "size": 5, + "type": "bool" }, { - "type": "float", - "name": "ScrollbarSize" + "name": "MouseReleased[5]", + "size": 5, + "type": "bool" }, { - "type": "float", - "name": "ScrollbarRounding" + "name": "MouseDownOwned[5]", + "size": 5, + "type": "bool" }, { - "type": "float", - "name": "GrabMinSize" + "name": "MouseDownWasDoubleClick[5]", + "size": 5, + "type": "bool" }, { - "type": "float", - "name": "GrabRounding" + "name": "MouseDownDuration[5]", + "size": 5, + "type": "float" }, { - "type": "ImVec2", - "name": "ButtonTextAlign" + "name": "MouseDownDurationPrev[5]", + "size": 5, + "type": "float" }, { - "type": "ImVec2", - "name": "DisplayWindowPadding" + "name": "MouseDragMaxDistanceAbs[5]", + "size": 5, + "type": "ImVec2" }, { - "type": "ImVec2", - "name": "DisplaySafeAreaPadding" + "name": "MouseDragMaxDistanceSqr[5]", + "size": 5, + "type": "float" }, { - "type": "float", - "name": "MouseCursorScale" + "name": "KeysDownDuration[512]", + "size": 512, + "type": "float" }, { - "type": "bool", - "name": "AntiAliasedLines" + "name": "KeysDownDurationPrev[512]", + "size": 512, + "type": "float" }, { - "type": "bool", - "name": "AntiAliasedFill" + "name": "NavInputsDownDuration[ImGuiNavInput_COUNT]", + "size": 22, + "type": "float" }, { - "type": "float", - "name": "CurveTessellationTol" + "name": "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]", + "size": 22, + "type": "float" }, { - "type": "ImVec4", - "size": 43, - "name": "Colors[ImGuiCol_COUNT]" + "name": "InputQueueCharacters", + "template_type": "ImWchar", + "type": "ImVector_ImWchar" } ], - "ImDrawChannel": [ + "ImGuiInputTextCallbackData": [ { - "type": "ImVector_ImDrawCmd", - "template_type": "ImDrawCmd", - "name": "CmdBuffer" + "name": "EventFlag", + "type": "ImGuiInputTextFlags" }, { - "type": "ImVector_ImDrawIdx", - "template_type": "ImDrawIdx", - "name": "IdxBuffer" - } - ], - "ImDrawCmd": [ + "name": "Flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "UserData", + "type": "void*" + }, { - "type": "unsigned int", - "name": "ElemCount" + "name": "EventChar", + "type": "ImWchar" }, { - "type": "ImVec4", - "name": "ClipRect" + "name": "EventKey", + "type": "ImGuiKey" }, { - "type": "ImTextureID", - "name": "TextureId" + "name": "Buf", + "type": "char*" }, { - "type": "ImDrawCallback", - "name": "UserCallback" + "name": "BufTextLen", + "type": "int" }, { - "type": "void*", - "name": "UserCallbackData" + "name": "BufSize", + "type": "int" + }, + { + "name": "BufDirty", + "type": "bool" + }, + { + "name": "CursorPos", + "type": "int" + }, + { + "name": "SelectionStart", + "type": "int" + }, + { + "name": "SelectionEnd", + "type": "int" } ], - "TextRange": [ + "ImGuiListClipper": [ + { + "name": "StartPosY", + "type": "float" + }, + { + "name": "ItemsHeight", + "type": "float" + }, + { + "name": "ItemsCount", + "type": "int" + }, + { + "name": "StepNo", + "type": "int" + }, { - "type": "const char*", - "name": "b" + "name": "DisplayStart", + "type": "int" }, { - "type": "const char*", - "name": "e" + "name": "DisplayEnd", + "type": "int" } ], "ImGuiOnceUponAFrame": [ { - "type": "int", - "name": "RefFrame" + "name": "RefFrame", + "type": "int" } ], - "ImVector": [], - "ImGuiIO": [ + "ImGuiPayload": [ { - "type": "ImGuiConfigFlags", - "name": "ConfigFlags" + "name": "Data", + "type": "void*" }, { - "type": "ImGuiBackendFlags", - "name": "BackendFlags" + "name": "DataSize", + "type": "int" }, { - "type": "ImVec2", - "name": "DisplaySize" + "name": "SourceId", + "type": "ImGuiID" }, { - "type": "float", - "name": "DeltaTime" + "name": "SourceParentId", + "type": "ImGuiID" }, { - "type": "float", - "name": "IniSavingRate" + "name": "DataFrameCount", + "type": "int" }, { - "type": "const char*", - "name": "IniFilename" + "name": "DataType[32+1]", + "size": 33, + "type": "char" }, { - "type": "const char*", - "name": "LogFilename" + "name": "Preview", + "type": "bool" }, { - "type": "float", - "name": "MouseDoubleClickTime" - }, + "name": "Delivery", + "type": "bool" + } + ], + "ImGuiPlatformIO": [ { - "type": "float", - "name": "MouseDoubleClickMaxDist" + "name": "Platform_CreateWindow", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "float", - "name": "MouseDragThreshold" + "name": "Platform_DestroyWindow", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "int", - "size": 21, - "name": "KeyMap[ImGuiKey_COUNT]" + "name": "Platform_ShowWindow", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "float", - "name": "KeyRepeatDelay" + "name": "Platform_SetWindowPos", + "type": "void(*)(ImGuiViewport* vp,ImVec2 pos)" }, { - "type": "float", - "name": "KeyRepeatRate" + "name": "Platform_GetWindowPos", + "type": "ImVec2(*)(ImGuiViewport* vp)" }, { - "type": "void*", - "name": "UserData" + "name": "Platform_SetWindowSize", + "type": "void(*)(ImGuiViewport* vp,ImVec2 size)" }, { - "type": "ImFontAtlas*", - "name": "Fonts" + "name": "Platform_GetWindowSize", + "type": "ImVec2(*)(ImGuiViewport* vp)" }, { - "type": "float", - "name": "FontGlobalScale" + "name": "Platform_SetWindowFocus", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "bool", - "name": "FontAllowUserScaling" + "name": "Platform_GetWindowFocus", + "type": "bool(*)(ImGuiViewport* vp)" }, { - "type": "ImFont*", - "name": "FontDefault" + "name": "Platform_GetWindowMinimized", + "type": "bool(*)(ImGuiViewport* vp)" }, { - "type": "ImVec2", - "name": "DisplayFramebufferScale" + "name": "Platform_SetWindowTitle", + "type": "void(*)(ImGuiViewport* vp,const char* title)" }, { - "type": "ImVec2", - "name": "DisplayVisibleMin" + "name": "Platform_SetWindowAlpha", + "type": "void(*)(ImGuiViewport* vp,float alpha)" }, { - "type": "ImVec2", - "name": "DisplayVisibleMax" + "name": "Platform_UpdateWindow", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "bool", - "name": "MouseDrawCursor" + "name": "Platform_RenderWindow", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" }, { - "type": "bool", - "name": "ConfigMacOSXBehaviors" + "name": "Platform_SwapBuffers", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" }, { - "type": "bool", - "name": "ConfigInputTextCursorBlink" + "name": "Platform_GetWindowDpiScale", + "type": "float(*)(ImGuiViewport* vp)" }, { - "type": "bool", - "name": "ConfigResizeWindowsFromEdges" + "name": "Platform_OnChangedViewport", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "const char*(*)(void* user_data)", - "name": "GetClipboardTextFn" + "name": "Platform_SetImeInputPos", + "type": "void(*)(ImGuiViewport* vp,ImVec2 pos)" }, { - "type": "void(*)(void* user_data,const char* text)", - "name": "SetClipboardTextFn" + "name": "Platform_CreateVkSurface", + "type": "int(*)(ImGuiViewport* vp,ImU64 vk_inst,const void* vk_allocators,ImU64* out_vk_surface)" }, { - "type": "void*", - "name": "ClipboardUserData" + "name": "Renderer_CreateWindow", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "void(*)(int x,int y)", - "name": "ImeSetInputScreenPosFn" + "name": "Renderer_DestroyWindow", + "type": "void(*)(ImGuiViewport* vp)" }, { - "type": "void*", - "name": "ImeWindowHandle" + "name": "Renderer_SetWindowSize", + "type": "void(*)(ImGuiViewport* vp,ImVec2 size)" }, { - "type": "void*", - "name": "RenderDrawListsFnUnused" + "name": "Renderer_RenderWindow", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" }, { - "type": "ImVec2", - "name": "MousePos" + "name": "Renderer_SwapBuffers", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" }, { - "type": "bool", - "size": 5, - "name": "MouseDown[5]" + "name": "Monitors", + "template_type": "ImGuiPlatformMonitor", + "type": "ImVector_ImGuiPlatformMonitor" }, { - "type": "float", - "name": "MouseWheel" + "name": "MainViewport", + "type": "ImGuiViewport*" }, { - "type": "float", - "name": "MouseWheelH" - }, + "name": "Viewports", + "template_type": "ImGuiViewport*", + "type": "ImVector_ImGuiViewportPtr" + } + ], + "ImGuiPlatformMonitor": [ { - "type": "bool", - "name": "KeyCtrl" + "name": "MainPos", + "type": "ImVec2" }, { - "type": "bool", - "name": "KeyShift" + "name": "MainSize", + "type": "ImVec2" }, { - "type": "bool", - "name": "KeyAlt" + "name": "WorkPos", + "type": "ImVec2" }, { - "type": "bool", - "name": "KeySuper" + "name": "WorkSize", + "type": "ImVec2" }, { - "type": "bool", - "size": 512, - "name": "KeysDown[512]" - }, + "name": "DpiScale", + "type": "float" + } + ], + "ImGuiSizeCallbackData": [ { - "type": "ImWchar", - "size": 17, - "name": "InputCharacters[16+1]" + "name": "UserData", + "type": "void*" }, { - "type": "float", - "size": 21, - "name": "NavInputs[ImGuiNavInput_COUNT]" + "name": "Pos", + "type": "ImVec2" }, { - "type": "bool", - "name": "WantCaptureMouse" + "name": "CurrentSize", + "type": "ImVec2" }, { - "type": "bool", - "name": "WantCaptureKeyboard" + "name": "DesiredSize", + "type": "ImVec2" + } + ], + "ImGuiStorage": [ + { + "name": "Data", + "template_type": "ImGuiStoragePair", + "type": "ImVector_ImGuiStoragePair" + } + ], + "ImGuiStoragePair": [ + { + "name": "key", + "type": "ImGuiID" }, { - "type": "bool", - "name": "WantTextInput" + "name": "", + "type": "union { int val_i; float val_f; void* val_p;}" + } + ], + "ImGuiStyle": [ + { + "name": "Alpha", + "type": "float" }, { - "type": "bool", - "name": "WantSetMousePos" + "name": "WindowPadding", + "type": "ImVec2" }, { - "type": "bool", - "name": "WantSaveIniSettings" + "name": "WindowRounding", + "type": "float" }, { - "type": "bool", - "name": "NavActive" + "name": "WindowBorderSize", + "type": "float" }, { - "type": "bool", - "name": "NavVisible" + "name": "WindowMinSize", + "type": "ImVec2" }, { - "type": "float", - "name": "Framerate" + "name": "WindowTitleAlign", + "type": "ImVec2" }, { - "type": "int", - "name": "MetricsRenderVertices" + "name": "WindowMenuButtonPosition", + "type": "ImGuiDir" }, { - "type": "int", - "name": "MetricsRenderIndices" + "name": "ChildRounding", + "type": "float" }, { - "type": "int", - "name": "MetricsRenderWindows" + "name": "ChildBorderSize", + "type": "float" }, { - "type": "int", - "name": "MetricsActiveWindows" + "name": "PopupRounding", + "type": "float" }, { - "type": "int", - "name": "MetricsActiveAllocations" + "name": "PopupBorderSize", + "type": "float" }, { - "type": "ImVec2", - "name": "MouseDelta" + "name": "FramePadding", + "type": "ImVec2" }, { - "type": "ImVec2", - "name": "MousePosPrev" + "name": "FrameRounding", + "type": "float" }, { - "type": "ImVec2", - "size": 5, - "name": "MouseClickedPos[5]" + "name": "FrameBorderSize", + "type": "float" }, { - "type": "double", - "size": 5, - "name": "MouseClickedTime[5]" + "name": "ItemSpacing", + "type": "ImVec2" }, { - "type": "bool", - "size": 5, - "name": "MouseClicked[5]" + "name": "ItemInnerSpacing", + "type": "ImVec2" }, { - "type": "bool", - "size": 5, - "name": "MouseDoubleClicked[5]" + "name": "TouchExtraPadding", + "type": "ImVec2" }, { - "type": "bool", - "size": 5, - "name": "MouseReleased[5]" + "name": "IndentSpacing", + "type": "float" }, { - "type": "bool", - "size": 5, - "name": "MouseDownOwned[5]" + "name": "ColumnsMinSpacing", + "type": "float" }, { - "type": "float", - "size": 5, - "name": "MouseDownDuration[5]" + "name": "ScrollbarSize", + "type": "float" }, { - "type": "float", - "size": 5, - "name": "MouseDownDurationPrev[5]" + "name": "ScrollbarRounding", + "type": "float" }, { - "type": "ImVec2", - "size": 5, - "name": "MouseDragMaxDistanceAbs[5]" + "name": "GrabMinSize", + "type": "float" }, { - "type": "float", - "size": 5, - "name": "MouseDragMaxDistanceSqr[5]" + "name": "GrabRounding", + "type": "float" }, { - "type": "float", - "size": 512, - "name": "KeysDownDuration[512]" + "name": "TabRounding", + "type": "float" }, { - "type": "float", - "size": 512, - "name": "KeysDownDurationPrev[512]" + "name": "TabBorderSize", + "type": "float" }, { - "type": "float", - "size": 21, - "name": "NavInputsDownDuration[ImGuiNavInput_COUNT]" + "name": "ColorButtonPosition", + "type": "ImGuiDir" }, { - "type": "float", - "size": 21, - "name": "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]" - } - ], - "ImGuiPayload": [ + "name": "ButtonTextAlign", + "type": "ImVec2" + }, { - "type": "void*", - "name": "Data" + "name": "SelectableTextAlign", + "type": "ImVec2" }, { - "type": "int", - "name": "DataSize" + "name": "DisplayWindowPadding", + "type": "ImVec2" }, { - "type": "ImGuiID", - "name": "SourceId" + "name": "DisplaySafeAreaPadding", + "type": "ImVec2" }, { - "type": "ImGuiID", - "name": "SourceParentId" + "name": "MouseCursorScale", + "type": "float" }, { - "type": "int", - "name": "DataFrameCount" + "name": "AntiAliasedLines", + "type": "bool" }, { - "type": "char", - "size": 33, - "name": "DataType[32+1]" + "name": "AntiAliasedFill", + "type": "bool" }, { - "type": "bool", - "name": "Preview" + "name": "CurveTessellationTol", + "type": "float" }, { - "type": "bool", - "name": "Delivery" + "name": "Colors[ImGuiCol_COUNT]", + "size": 50, + "type": "ImVec4" } ], - "ImColor": [ + "ImGuiTextBuffer": [ { - "type": "ImVec4", - "name": "Value" + "name": "Buf", + "template_type": "char", + "type": "ImVector_char" } ], - "ImGuiSizeCallbackData": [ + "ImGuiTextFilter": [ { - "type": "void*", - "name": "UserData" + "name": "InputBuf[256]", + "size": 256, + "type": "char" }, { - "type": "ImVec2", - "name": "Pos" + "name": "Filters", + "template_type": "ImGuiTextRange", + "type": "ImVector_ImGuiTextRange" }, { - "type": "ImVec2", - "name": "CurrentSize" + "name": "CountGrep", + "type": "int" + } + ], + "ImGuiTextRange": [ + { + "name": "b", + "type": "const char*" }, { - "type": "ImVec2", - "name": "DesiredSize" + "name": "e", + "type": "const char*" } ], - "ImGuiTextFilter": [ + "ImGuiViewport": [ { - "type": "char", - "size": 256, - "name": "InputBuf[256]" + "name": "ID", + "type": "ImGuiID" }, { - "type": "ImVector_TextRange", - "template_type": "TextRange", - "name": "Filters" + "name": "Flags", + "type": "ImGuiViewportFlags" }, { - "type": "int", - "name": "CountGrep" - } - ], - "ImGuiInputTextCallbackData": [ + "name": "Pos", + "type": "ImVec2" + }, + { + "name": "Size", + "type": "ImVec2" + }, + { + "name": "DpiScale", + "type": "float" + }, + { + "name": "DrawData", + "type": "ImDrawData*" + }, + { + "name": "ParentViewportId", + "type": "ImGuiID" + }, { - "type": "ImGuiInputTextFlags", - "name": "EventFlag" + "name": "RendererUserData", + "type": "void*" }, { - "type": "ImGuiInputTextFlags", - "name": "Flags" + "name": "PlatformUserData", + "type": "void*" }, { - "type": "void*", - "name": "UserData" + "name": "PlatformHandle", + "type": "void*" }, { - "type": "ImWchar", - "name": "EventChar" + "name": "PlatformHandleRaw", + "type": "void*" }, { - "type": "ImGuiKey", - "name": "EventKey" + "name": "PlatformRequestClose", + "type": "bool" }, { - "type": "char*", - "name": "Buf" + "name": "PlatformRequestMove", + "type": "bool" }, { - "type": "int", - "name": "BufTextLen" + "name": "PlatformRequestResize", + "type": "bool" + } + ], + "ImGuiWindowClass": [ + { + "name": "ClassId", + "type": "ImGuiID" }, { - "type": "int", - "name": "BufSize" + "name": "ParentViewportId", + "type": "ImGuiID" }, { - "type": "bool", - "name": "BufDirty" + "name": "ViewportFlagsOverrideSet", + "type": "ImGuiViewportFlags" }, { - "type": "int", - "name": "CursorPos" + "name": "ViewportFlagsOverrideClear", + "type": "ImGuiViewportFlags" }, { - "type": "int", - "name": "SelectionStart" + "name": "DockingAlwaysTabBar", + "type": "bool" }, { - "type": "int", - "name": "SelectionEnd" + "name": "DockingAllowUnclassed", + "type": "bool" } ], "ImVec2": [ { - "type": "float", - "name": "x" + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "ImVec4": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" }, { - "type": "float", - "name": "y" + "name": "w", + "type": "float" } ] } diff --git a/src/CodeGenerator/variants.json b/src/CodeGenerator/variants.json new file mode 100644 index 00000000..8b949008 --- /dev/null +++ b/src/CodeGenerator/variants.json @@ -0,0 +1,16 @@ +{ + "ImFontAtlas_GetTexDataAsAlpha8": [ + { + "name": "out_pixels", + "type": "unsigned char**", + "variants": [ "IntPtr*" ] + } + ], + "ImFontAtlas_GetTexDataAsRGBA32": [ + { + "name": "out_pixels", + "type": "unsigned char**", + "variants": [ "IntPtr*" ] + } + ] +} \ No newline at end of file diff --git a/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj b/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj index 03b2d452..d2202c0a 100644 --- a/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj +++ b/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj @@ -5,7 +5,7 @@ false ImGuiNET.SampleProgram.XNA ImGuiNET.SampleProgram.XNA - net462 + net472 Exe @@ -15,8 +15,8 @@ - - + + diff --git a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs index 199b7539..5d745c29 100644 --- a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs +++ b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs @@ -179,7 +179,7 @@ protected virtual void SetupInput() //{ // if (c == '\t') return; - // ImGui.AddInputCharacter(c); + // ImGui.GetIO().AddInputCharacter(c); //}; /////////////////////////////////////////// @@ -385,4 +385,4 @@ private unsafe void RenderCommandLists(ImDrawDataPtr drawData) #endregion Internals } -} \ No newline at end of file +} diff --git a/src/ImGui.NET.SampleProgram.XNA/SampleGame.cs b/src/ImGui.NET.SampleProgram.XNA/SampleGame.cs index 4a6a3650..0164d084 100644 --- a/src/ImGui.NET.SampleProgram.XNA/SampleGame.cs +++ b/src/ImGui.NET.SampleProgram.XNA/SampleGame.cs @@ -39,11 +39,15 @@ protected override void LoadContent() { // Texture loading example - // First, load the texture as a Texture2D (can also be done using the XNA/FNA content pipeline) - _xnaTexture = Texture2D.FromStream(GraphicsDevice, GenerateImage(300, 150)); + // First, load the texture as a Texture2D (can also be done using the XNA/FNA content pipeline) + _xnaTexture = CreateTexture(GraphicsDevice, 300, 150, pixel => + { + var red = (pixel % 300) / 2; + return new Color(red, 1, 1); + }); - // Then, bind it to an ImGui-friendly pointer, that we can use during regular ImGui.** calls (see below) - _imGuiTexture = _imGuiRenderer.BindTexture(_xnaTexture); + // Then, bind it to an ImGui-friendly pointer, that we can use during regular ImGui.** calls (see below) + _imGuiTexture = _imGuiRenderer.BindTexture(_xnaTexture); base.LoadContent(); } @@ -107,28 +111,23 @@ protected virtual void ImGuiLayout() } } - private static Stream GenerateImage(int width, int height) - { - var stream = new MemoryStream(); - var random = new Random(42); - - var bmp = new System.Drawing.Bitmap(width, height); - var graphics = System.Drawing.Graphics.FromImage(bmp); - graphics.Clear(System.Drawing.Color.Black); - - for (int i = 0; i < 100; i++) - { - var size = random.Next(10, 50); - var pen = new System.Drawing.Pen(System.Drawing.Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255)), random.Next(1, 4)); - - graphics.DrawEllipse(pen, random.Next(0, width), random.Next(0, height), size, size); - } - - bmp.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp); - - stream.Position = 0; - - return stream; - } - } + public static Texture2D CreateTexture(GraphicsDevice device, int width, int height, Func paint) + { + //initialize a texture + var texture = new Texture2D(device, width, height); + + //the array holds the color for each pixel in the texture + Color[] data = new Color[width * height]; + for(var pixel = 0; pixel < data.Length; pixel++) + { + //the function applies the color according to the specified pixel + data[pixel] = paint( pixel ); + } + + //set the color + texture.SetData( data ); + + return texture; + } + } } \ No newline at end of file diff --git a/src/ImGui.NET.SampleProgram/FixedAsciiString.cs b/src/ImGui.NET.SampleProgram/FixedAsciiString.cs new file mode 100644 index 00000000..cfa112d9 --- /dev/null +++ b/src/ImGui.NET.SampleProgram/FixedAsciiString.cs @@ -0,0 +1,27 @@ +using System; +using System.Runtime.InteropServices; +using System.Text; + +namespace ImGui.NET.SampleProgram +{ + public class FixedAsciiString : IDisposable + { + public IntPtr DataPtr { get; } + + public unsafe FixedAsciiString(string s) + { + int byteCount = Encoding.ASCII.GetByteCount(s); + DataPtr = Marshal.AllocHGlobal(byteCount + 1); + fixed (char* sPtr = s) + { + int end = Encoding.ASCII.GetBytes(sPtr, s.Length, (byte*)DataPtr, byteCount); + ((byte*)DataPtr)[end] = 0; + } + } + + public void Dispose() + { + Marshal.FreeHGlobal(DataPtr); + } + } +} \ No newline at end of file diff --git a/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj b/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj index bb07cc00..adfc84d5 100644 --- a/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj +++ b/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/ImGui.NET.SampleProgram/ImGuiController.cs b/src/ImGui.NET.SampleProgram/ImGuiController.cs index 363ee329..50ba3491 100644 --- a/src/ImGui.NET.SampleProgram/ImGuiController.cs +++ b/src/ImGui.NET.SampleProgram/ImGuiController.cs @@ -5,561 +5,805 @@ using System.IO; using Veldrid; using System.Runtime.CompilerServices; +using ImGui.NET.SampleProgram; +using Veldrid.Sdl2; +using System.Runtime.InteropServices; +using static ImGui.NET.SampleProgram.VeldridImGuiWindow; namespace ImGuiNET { - /// - /// A modified version of Veldrid.ImGui's ImGuiRenderer. - /// Manages input for ImGui and handles rendering ImGui's DrawLists with Veldrid. - /// - public class ImGuiController : IDisposable - { - private GraphicsDevice _gd; - private bool _frameBegun; - - // Veldrid objects - private DeviceBuffer _vertexBuffer; - private DeviceBuffer _indexBuffer; - private DeviceBuffer _projMatrixBuffer; - private Texture _fontTexture; - private TextureView _fontTextureView; - private Shader _vertexShader; - private Shader _fragmentShader; - private ResourceLayout _layout; - private ResourceLayout _textureLayout; - private Pipeline _pipeline; - private ResourceSet _mainResourceSet; - private ResourceSet _fontTextureResourceSet; - - private IntPtr _fontAtlasID = (IntPtr)1; - private bool _controlDown; - private bool _shiftDown; - private bool _altDown; - private bool _winKeyDown; - - private int _windowWidth; - private int _windowHeight; - private Vector2 _scaleFactor = Vector2.One; - - // Image trackers - private readonly Dictionary _setsByView - = new Dictionary(); - private readonly Dictionary _autoViewsByTexture - = new Dictionary(); - private readonly Dictionary _viewsById = new Dictionary(); - private readonly List _ownedResources = new List(); - private int _lastAssignedID = 100; - - /// - /// Constructs a new ImGuiController. - /// - public ImGuiController(GraphicsDevice gd, OutputDescription outputDescription, int width, int height) - { - _gd = gd; - _windowWidth = width; - _windowHeight = height; - - IntPtr context = ImGui.CreateContext(); - ImGui.SetCurrentContext(context); - - ImGui.GetIO().Fonts.AddFontDefault(); - - CreateDeviceResources(gd, outputDescription); - SetKeyMappings(); - - SetPerFrameImGuiData(1f / 60f); - - ImGui.NewFrame(); - _frameBegun = true; - } - - public void WindowResized(int width, int height) - { - _windowWidth = width; - _windowHeight = height; - } - - public void DestroyDeviceObjects() - { - Dispose(); - } - - public void CreateDeviceResources(GraphicsDevice gd, OutputDescription outputDescription) - { - _gd = gd; - ResourceFactory factory = gd.ResourceFactory; - _vertexBuffer = factory.CreateBuffer(new BufferDescription(10000, BufferUsage.VertexBuffer | BufferUsage.Dynamic)); - _vertexBuffer.Name = "ImGui.NET Vertex Buffer"; - _indexBuffer = factory.CreateBuffer(new BufferDescription(2000, BufferUsage.IndexBuffer | BufferUsage.Dynamic)); - _indexBuffer.Name = "ImGui.NET Index Buffer"; - RecreateFontDeviceTexture(gd); - - _projMatrixBuffer = factory.CreateBuffer(new BufferDescription(64, BufferUsage.UniformBuffer | BufferUsage.Dynamic)); - _projMatrixBuffer.Name = "ImGui.NET Projection Buffer"; - - byte[] vertexShaderBytes = LoadEmbeddedShaderCode(gd.ResourceFactory, "imgui-vertex", ShaderStages.Vertex); - byte[] fragmentShaderBytes = LoadEmbeddedShaderCode(gd.ResourceFactory, "imgui-frag", ShaderStages.Fragment); - _vertexShader = factory.CreateShader(new ShaderDescription(ShaderStages.Vertex, vertexShaderBytes, "VS")); - _fragmentShader = factory.CreateShader(new ShaderDescription(ShaderStages.Fragment, fragmentShaderBytes, "FS")); - - VertexLayoutDescription[] vertexLayouts = new VertexLayoutDescription[] - { - new VertexLayoutDescription( - new VertexElementDescription("in_position", VertexElementSemantic.Position, VertexElementFormat.Float2), - new VertexElementDescription("in_texCoord", VertexElementSemantic.TextureCoordinate, VertexElementFormat.Float2), - new VertexElementDescription("in_color", VertexElementSemantic.Color, VertexElementFormat.Byte4_Norm)) - }; - - _layout = factory.CreateResourceLayout(new ResourceLayoutDescription( - new ResourceLayoutElementDescription("ProjectionMatrixBuffer", ResourceKind.UniformBuffer, ShaderStages.Vertex), - new ResourceLayoutElementDescription("MainSampler", ResourceKind.Sampler, ShaderStages.Fragment))); - _textureLayout = factory.CreateResourceLayout(new ResourceLayoutDescription( - new ResourceLayoutElementDescription("MainTexture", ResourceKind.TextureReadOnly, ShaderStages.Fragment))); - - GraphicsPipelineDescription pd = new GraphicsPipelineDescription( - BlendStateDescription.SingleAlphaBlend, - new DepthStencilStateDescription(false, false, ComparisonKind.Always), - new RasterizerStateDescription(FaceCullMode.None, PolygonFillMode.Solid, FrontFace.Clockwise, false, true), - PrimitiveTopology.TriangleList, - new ShaderSetDescription(vertexLayouts, new[] { _vertexShader, _fragmentShader }), - new ResourceLayout[] { _layout, _textureLayout }, - outputDescription); - _pipeline = factory.CreateGraphicsPipeline(ref pd); - - _mainResourceSet = factory.CreateResourceSet(new ResourceSetDescription(_layout, - _projMatrixBuffer, - gd.PointSampler)); - - _fontTextureResourceSet = factory.CreateResourceSet(new ResourceSetDescription(_textureLayout, _fontTextureView)); - } - - /// - /// Gets or creates a handle for a texture to be drawn with ImGui. - /// Pass the returned handle to Image() or ImageButton(). - /// - public IntPtr GetOrCreateImGuiBinding(ResourceFactory factory, TextureView textureView) - { - if (!_setsByView.TryGetValue(textureView, out ResourceSetInfo rsi)) - { - ResourceSet resourceSet = factory.CreateResourceSet(new ResourceSetDescription(_textureLayout, textureView)); - rsi = new ResourceSetInfo(GetNextImGuiBindingID(), resourceSet); - - _setsByView.Add(textureView, rsi); - _viewsById.Add(rsi.ImGuiBinding, rsi); - _ownedResources.Add(resourceSet); - } - - return rsi.ImGuiBinding; - } - - private IntPtr GetNextImGuiBindingID() - { - int newID = _lastAssignedID++; - return (IntPtr)newID; - } - - /// - /// Gets or creates a handle for a texture to be drawn with ImGui. - /// Pass the returned handle to Image() or ImageButton(). - /// - public IntPtr GetOrCreateImGuiBinding(ResourceFactory factory, Texture texture) - { - if (!_autoViewsByTexture.TryGetValue(texture, out TextureView textureView)) - { - textureView = factory.CreateTextureView(texture); - _autoViewsByTexture.Add(texture, textureView); - _ownedResources.Add(textureView); - } - - return GetOrCreateImGuiBinding(factory, textureView); - } - - /// - /// Retrieves the shader texture binding for the given helper handle. - /// - public ResourceSet GetImageResourceSet(IntPtr imGuiBinding) - { - if (!_viewsById.TryGetValue(imGuiBinding, out ResourceSetInfo tvi)) - { - throw new InvalidOperationException("No registered ImGui binding with id " + imGuiBinding.ToString()); - } - - return tvi.ResourceSet; - } - - public void ClearCachedImageResources() - { - foreach (IDisposable resource in _ownedResources) - { - resource.Dispose(); - } - - _ownedResources.Clear(); - _setsByView.Clear(); - _viewsById.Clear(); - _autoViewsByTexture.Clear(); - _lastAssignedID = 100; - } - - private byte[] LoadEmbeddedShaderCode(ResourceFactory factory, string name, ShaderStages stage) - { - switch (factory.BackendType) - { - case GraphicsBackend.Direct3D11: - { - string resourceName = name + ".hlsl.bytes"; - return GetEmbeddedResourceBytes(resourceName); - } - case GraphicsBackend.OpenGL: - { - string resourceName = name + ".glsl"; - return GetEmbeddedResourceBytes(resourceName); - } - case GraphicsBackend.Vulkan: - { - string resourceName = name + ".spv"; - return GetEmbeddedResourceBytes(resourceName); - } - case GraphicsBackend.Metal: - { - string resourceName = name + ".metallib"; - return GetEmbeddedResourceBytes(resourceName); - } - default: - throw new NotImplementedException(); - } - } - - private byte[] GetEmbeddedResourceBytes(string resourceName) - { - Assembly assembly = typeof(ImGuiController).Assembly; - using (Stream s = assembly.GetManifestResourceStream(resourceName)) - { - byte[] ret = new byte[s.Length]; - s.Read(ret, 0, (int)s.Length); - return ret; - } - } - - /// - /// Recreates the device texture used to render text. - /// - public unsafe void RecreateFontDeviceTexture(GraphicsDevice gd) - { - ImGuiIOPtr io = ImGui.GetIO(); - // Build - byte* pixels; - int width, height, bytesPerPixel; - io.Fonts.GetTexDataAsRGBA32(out pixels, out width, out height, out bytesPerPixel); - // Store our identifier - io.Fonts.SetTexID(_fontAtlasID); - - _fontTexture = gd.ResourceFactory.CreateTexture(TextureDescription.Texture2D( - (uint)width, - (uint)height, - 1, - 1, - PixelFormat.R8_G8_B8_A8_UNorm, - TextureUsage.Sampled)); - _fontTexture.Name = "ImGui.NET Font Texture"; - gd.UpdateTexture( - _fontTexture, - (IntPtr)pixels, - (uint)(bytesPerPixel * width * height), - 0, - 0, - 0, - (uint)width, - (uint)height, - 1, - 0, - 0); - _fontTextureView = gd.ResourceFactory.CreateTextureView(_fontTexture); - - io.Fonts.ClearTexData(); - } - - /// - /// Renders the ImGui draw list data. - /// This method requires a because it may create new DeviceBuffers if the size of vertex - /// or index data has increased beyond the capacity of the existing buffers. - /// A is needed to submit drawing and resource update commands. - /// - public void Render(GraphicsDevice gd, CommandList cl) - { - if (_frameBegun) - { - _frameBegun = false; - ImGui.Render(); - RenderImDrawData(ImGui.GetDrawData(), gd, cl); - } - } - - /// - /// Updates ImGui input and IO configuration state. - /// - public void Update(float deltaSeconds, InputSnapshot snapshot) - { - if (_frameBegun) - { - ImGui.Render(); - } - - SetPerFrameImGuiData(deltaSeconds); - UpdateImGuiInput(snapshot); - - _frameBegun = true; - ImGui.NewFrame(); - } - - /// - /// Sets per-frame data based on the associated window. - /// This is called by Update(float). - /// - private void SetPerFrameImGuiData(float deltaSeconds) - { - ImGuiIOPtr io = ImGui.GetIO(); - io.DisplaySize = new Vector2( - _windowWidth / _scaleFactor.X, - _windowHeight / _scaleFactor.Y); - io.DisplayFramebufferScale = _scaleFactor; - io.DeltaTime = deltaSeconds; // DeltaTime is in seconds. - } - - private void UpdateImGuiInput(InputSnapshot snapshot) - { - ImGuiIOPtr io = ImGui.GetIO(); - - Vector2 mousePosition = snapshot.MousePosition; - - // Determine if any of the mouse buttons were pressed during this snapshot period, even if they are no longer held. - bool leftPressed = false; - bool middlePressed = false; - bool rightPressed = false; - foreach (MouseEvent me in snapshot.MouseEvents) - { - if (me.Down) - { - switch (me.MouseButton) - { - case MouseButton.Left: - leftPressed = true; - break; - case MouseButton.Middle: - middlePressed = true; - break; - case MouseButton.Right: - rightPressed = true; - break; - } - } - } - - io.MouseDown[0] = leftPressed || snapshot.IsMouseDown(MouseButton.Left); - io.MouseDown[1] = middlePressed || snapshot.IsMouseDown(MouseButton.Right); - io.MouseDown[2] = rightPressed || snapshot.IsMouseDown(MouseButton.Middle); - io.MousePos = mousePosition; - io.MouseWheel = snapshot.WheelDelta; - - IReadOnlyList keyCharPresses = snapshot.KeyCharPresses; - for (int i = 0; i < keyCharPresses.Count; i++) - { - char c = keyCharPresses[i]; - io.AddInputCharacter(c); - } - - IReadOnlyList keyEvents = snapshot.KeyEvents; - for (int i = 0; i < keyEvents.Count; i++) - { - KeyEvent keyEvent = keyEvents[i]; - io.KeysDown[(int)keyEvent.Key] = keyEvent.Down; - if (keyEvent.Key == Key.ControlLeft) - { - _controlDown = keyEvent.Down; - } - if (keyEvent.Key == Key.ShiftLeft) - { - _shiftDown = keyEvent.Down; - } - if (keyEvent.Key == Key.AltLeft) - { - _altDown = keyEvent.Down; - } - if (keyEvent.Key == Key.WinLeft) - { - _winKeyDown = keyEvent.Down; - } - } - - io.KeyCtrl = _controlDown; - io.KeyAlt = _altDown; - io.KeyShift = _shiftDown; - io.KeySuper = _winKeyDown; - } - - private static void SetKeyMappings() - { - ImGuiIOPtr io = ImGui.GetIO(); - io.KeyMap[(int)ImGuiKey.Tab] = (int)Key.Tab; - io.KeyMap[(int)ImGuiKey.LeftArrow] = (int)Key.Left; - io.KeyMap[(int)ImGuiKey.RightArrow] = (int)Key.Right; - io.KeyMap[(int)ImGuiKey.UpArrow] = (int)Key.Up; - io.KeyMap[(int)ImGuiKey.DownArrow] = (int)Key.Down; - io.KeyMap[(int)ImGuiKey.PageUp] = (int)Key.PageUp; - io.KeyMap[(int)ImGuiKey.PageDown] = (int)Key.PageDown; - io.KeyMap[(int)ImGuiKey.Home] = (int)Key.Home; - io.KeyMap[(int)ImGuiKey.End] = (int)Key.End; - io.KeyMap[(int)ImGuiKey.Delete] = (int)Key.Delete; - io.KeyMap[(int)ImGuiKey.Backspace] = (int)Key.BackSpace; - io.KeyMap[(int)ImGuiKey.Enter] = (int)Key.Enter; - io.KeyMap[(int)ImGuiKey.Escape] = (int)Key.Escape; - io.KeyMap[(int)ImGuiKey.A] = (int)Key.A; - io.KeyMap[(int)ImGuiKey.C] = (int)Key.C; - io.KeyMap[(int)ImGuiKey.V] = (int)Key.V; - io.KeyMap[(int)ImGuiKey.X] = (int)Key.X; - io.KeyMap[(int)ImGuiKey.Y] = (int)Key.Y; - io.KeyMap[(int)ImGuiKey.Z] = (int)Key.Z; - } - - private void RenderImDrawData(ImDrawDataPtr draw_data, GraphicsDevice gd, CommandList cl) - { - uint vertexOffsetInVertices = 0; - uint indexOffsetInElements = 0; - - if (draw_data.CmdListsCount == 0) - { - return; - } - - uint totalVBSize = (uint)(draw_data.TotalVtxCount * Unsafe.SizeOf()); - if (totalVBSize > _vertexBuffer.SizeInBytes) - { - gd.DisposeWhenIdle(_vertexBuffer); - _vertexBuffer = gd.ResourceFactory.CreateBuffer(new BufferDescription((uint)(totalVBSize * 1.5f), BufferUsage.VertexBuffer | BufferUsage.Dynamic)); - } - - uint totalIBSize = (uint)(draw_data.TotalIdxCount * sizeof(ushort)); - if (totalIBSize > _indexBuffer.SizeInBytes) - { - gd.DisposeWhenIdle(_indexBuffer); - _indexBuffer = gd.ResourceFactory.CreateBuffer(new BufferDescription((uint)(totalIBSize * 1.5f), BufferUsage.IndexBuffer | BufferUsage.Dynamic)); - } - - for (int i = 0; i < draw_data.CmdListsCount; i++) - { - ImDrawListPtr cmd_list = draw_data.CmdListsRange[i]; - - cl.UpdateBuffer( - _vertexBuffer, - vertexOffsetInVertices * (uint)Unsafe.SizeOf(), - cmd_list.VtxBuffer.Data, - (uint)(cmd_list.VtxBuffer.Size * Unsafe.SizeOf())); - - cl.UpdateBuffer( - _indexBuffer, - indexOffsetInElements * sizeof(ushort), - cmd_list.IdxBuffer.Data, - (uint)(cmd_list.IdxBuffer.Size * sizeof(ushort))); - - vertexOffsetInVertices += (uint)cmd_list.VtxBuffer.Size; - indexOffsetInElements += (uint)cmd_list.IdxBuffer.Size; - } - - // Setup orthographic projection matrix into our constant buffer - ImGuiIOPtr io = ImGui.GetIO(); - Matrix4x4 mvp = Matrix4x4.CreateOrthographicOffCenter( - 0f, - io.DisplaySize.X, - io.DisplaySize.Y, - 0.0f, - -1.0f, - 1.0f); - - _gd.UpdateBuffer(_projMatrixBuffer, 0, ref mvp); - - cl.SetVertexBuffer(0, _vertexBuffer); - cl.SetIndexBuffer(_indexBuffer, IndexFormat.UInt16); - cl.SetPipeline(_pipeline); - cl.SetGraphicsResourceSet(0, _mainResourceSet); - - draw_data.ScaleClipRects(io.DisplayFramebufferScale); - - // Render command lists - int vtx_offset = 0; - int idx_offset = 0; - for (int n = 0; n < draw_data.CmdListsCount; n++) - { - ImDrawListPtr cmd_list = draw_data.CmdListsRange[n]; - for (int cmd_i = 0; cmd_i < cmd_list.CmdBuffer.Size; cmd_i++) - { - ImDrawCmdPtr pcmd = cmd_list.CmdBuffer[cmd_i]; - if (pcmd.UserCallback != IntPtr.Zero) - { - throw new NotImplementedException(); - } - else - { - if (pcmd.TextureId != IntPtr.Zero) - { - if (pcmd.TextureId == _fontAtlasID) - { - cl.SetGraphicsResourceSet(1, _fontTextureResourceSet); - } - else - { - cl.SetGraphicsResourceSet(1, GetImageResourceSet(pcmd.TextureId)); - } - } - - cl.SetScissorRect( - 0, - (uint)pcmd.ClipRect.X, - (uint)pcmd.ClipRect.Y, - (uint)(pcmd.ClipRect.Z - pcmd.ClipRect.X), - (uint)(pcmd.ClipRect.W - pcmd.ClipRect.Y)); - - cl.DrawIndexed(pcmd.ElemCount, 1, (uint)idx_offset, vtx_offset, 0); - } - - idx_offset += (int)pcmd.ElemCount; - } - vtx_offset += cmd_list.VtxBuffer.Size; - } - } - - /// - /// Frees all graphics resources used by the renderer. - /// - public void Dispose() - { - _vertexBuffer.Dispose(); - _indexBuffer.Dispose(); - _projMatrixBuffer.Dispose(); - _fontTexture.Dispose(); - _fontTextureView.Dispose(); - _vertexShader.Dispose(); - _fragmentShader.Dispose(); - _layout.Dispose(); - _textureLayout.Dispose(); - _pipeline.Dispose(); - _mainResourceSet.Dispose(); - - foreach (IDisposable resource in _ownedResources) - { - resource.Dispose(); - } - } - - private struct ResourceSetInfo - { - public readonly IntPtr ImGuiBinding; - public readonly ResourceSet ResourceSet; - - public ResourceSetInfo(IntPtr imGuiBinding, ResourceSet resourceSet) - { - ImGuiBinding = imGuiBinding; - ResourceSet = resourceSet; - } - } - } + /// + /// A modified version of Veldrid.ImGui's ImGuiRenderer. + /// Manages input for ImGui and handles rendering ImGui's DrawLists with Veldrid. + /// + public class ImGuiController : IDisposable + { + private GraphicsDevice _gd; + private readonly Sdl2Window _window; + private bool _frameBegun; + + // Veldrid objects + private DeviceBuffer _vertexBuffer; + private DeviceBuffer _indexBuffer; + private DeviceBuffer _projMatrixBuffer; + private Texture _fontTexture; + private TextureView _fontTextureView; + private Shader _vertexShader; + private Shader _fragmentShader; + private ResourceLayout _layout; + private ResourceLayout _textureLayout; + private Pipeline _pipeline; + private ResourceSet _mainResourceSet; + private ResourceSet _fontTextureResourceSet; + + private IntPtr _fontAtlasID = (IntPtr)1; + private bool _controlDown; + private bool _shiftDown; + private bool _altDown; + private bool _winKeyDown; + + private int _windowWidth; + private int _windowHeight; + private Vector2 _scaleFactor = Vector2.One; + + // Image trackers + private readonly Dictionary _setsByView + = new Dictionary(); + private readonly Dictionary _autoViewsByTexture + = new Dictionary(); + private readonly Dictionary _viewsById = new Dictionary(); + private readonly List _ownedResources = new List(); + private readonly VeldridImGuiWindow _mainViewportWindow; + private readonly Platform_CreateWindow _createWindow; + private readonly Platform_DestroyWindow _destroyWindow; + private readonly Platform_GetWindowPos _getWindowPos; + private readonly Platform_ShowWindow _showWindow; + private readonly Platform_SetWindowPos _setWindowPos; + private readonly Platform_SetWindowSize _setWindowSize; + private readonly Platform_GetWindowSize _getWindowSize; + private readonly Platform_SetWindowFocus _setWindowFocus; + private readonly Platform_GetWindowFocus _getWindowFocus; + private readonly Platform_GetWindowMinimized _getWindowMinimized; + private readonly Platform_SetWindowTitle _setWindowTitle; + private int _lastAssignedID = 100; + + /// + /// Constructs a new ImGuiController. + /// + public ImGuiController(GraphicsDevice gd, Sdl2Window window, OutputDescription outputDescription, int width, int height) + { + _gd = gd; + _window = window; + _windowWidth = width; + _windowHeight = height; + + IntPtr context = ImGui.CreateContext(); + ImGui.SetCurrentContext(context); + ImGuiIOPtr io = ImGui.GetIO(); + + + io.ConfigFlags |= ImGuiConfigFlags.DockingEnable; + io.ConfigFlags |= ImGuiConfigFlags.ViewportsEnable; + + ImGuiPlatformIOPtr platformIO = ImGui.GetPlatformIO(); + ImGuiViewportPtr mainViewport = platformIO.MainViewport; + _mainViewportWindow = new VeldridImGuiWindow(gd, mainViewport, _window); + mainViewport.PlatformHandle = window.Handle; + + _createWindow = CreateWindow; + _destroyWindow = DestroyWindow; + _getWindowPos = GetWindowPos; + _showWindow = ShowWindow; + _setWindowPos = SetWindowPos; + _setWindowSize = SetWindowSize; + _getWindowSize = GetWindowSize; + _setWindowFocus = SetWindowFocus; + _getWindowFocus = GetWindowFocus; + _getWindowMinimized = GetWindowMinimized; + _setWindowTitle = SetWindowTitle; + + platformIO.Platform_CreateWindow = Marshal.GetFunctionPointerForDelegate(_createWindow); + platformIO.Platform_DestroyWindow = Marshal.GetFunctionPointerForDelegate(_destroyWindow); + platformIO.Platform_ShowWindow = Marshal.GetFunctionPointerForDelegate(_showWindow); + platformIO.Platform_SetWindowPos = Marshal.GetFunctionPointerForDelegate(_setWindowPos); + platformIO.Platform_SetWindowSize = Marshal.GetFunctionPointerForDelegate(_setWindowSize); + platformIO.Platform_SetWindowFocus = Marshal.GetFunctionPointerForDelegate(_setWindowFocus); + platformIO.Platform_GetWindowFocus = Marshal.GetFunctionPointerForDelegate(_getWindowFocus); + platformIO.Platform_GetWindowMinimized = Marshal.GetFunctionPointerForDelegate(_getWindowMinimized); + platformIO.Platform_SetWindowTitle = Marshal.GetFunctionPointerForDelegate(_setWindowTitle); + platformIO.Platform_GetWindowPos = Marshal.GetFunctionPointerForDelegate(_getWindowPos); + platformIO.Platform_GetWindowSize = Marshal.GetFunctionPointerForDelegate(_getWindowSize); + + unsafe + { + io.NativePtr->BackendPlatformName = (byte*)new FixedAsciiString("Veldrid.SDL2 Backend").DataPtr; + } + io.BackendFlags |= ImGuiBackendFlags.HasMouseCursors; + io.BackendFlags |= ImGuiBackendFlags.HasSetMousePos; + io.BackendFlags |= ImGuiBackendFlags.PlatformHasViewports; + io.BackendFlags |= ImGuiBackendFlags.RendererHasViewports; + + io.Fonts.AddFontDefault(); + + CreateDeviceResources(gd, outputDescription); + SetKeyMappings(); + + SetPerFrameImGuiData(1f / 60f); + + UpdateMonitors(); + + ImGui.NewFrame(); + _frameBegun = true; + } + + private void CreateWindow(ImGuiViewportPtr vp) + { + _ = new VeldridImGuiWindow(_gd, vp); + } + + private void DestroyWindow(ImGuiViewportPtr vp) + { + if (vp.PlatformUserData != IntPtr.Zero) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + window.Dispose(); + + vp.PlatformUserData = IntPtr.Zero; + } + } + + private void ShowWindow(ImGuiViewportPtr vp) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + Sdl2Native.SDL_ShowWindow(window.Window.SdlWindowHandle); + } + + private unsafe void GetWindowPos(Vector2 pos, ImGuiViewportPtr viewport) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(viewport.PlatformUserData).Target; + Rectangle bounds = window.Window.Bounds; + pos.X = bounds.X; + pos.Y = bounds.Y; + } + + private void SetWindowPos(ImGuiViewportPtr vp, Vector2 pos) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + window.Window.X = (int)pos.X; + window.Window.Y = (int)pos.Y; + } + + private void SetWindowSize(ImGuiViewportPtr vp, Vector2 size) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + Sdl2Native.SDL_SetWindowSize(window.Window.SdlWindowHandle, (int)size.X, (int)size.Y); + } + + private unsafe void GetWindowSize(Vector2 size, ImGuiViewportPtr vp) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + Rectangle bounds = window.Window.Bounds; + size.X = bounds.Width; + size.Y = bounds.Height; + } + + private delegate void SDL_RaiseWindow_t(IntPtr sdl2Window); + private static SDL_RaiseWindow_t p_sdl_RaiseWindow; + + private unsafe delegate uint SDL_GetGlobalMouseState_t(int* x, int* y); + private static SDL_GetGlobalMouseState_t p_sdl_GetGlobalMouseState; + + private unsafe delegate int SDL_GetDisplayUsableBounds_t(int displayIndex, Rectangle* rect); + private static SDL_GetDisplayUsableBounds_t p_sdl_GetDisplayUsableBounds_t; + + private delegate int SDL_GetNumVideoDisplays_t(); + private static SDL_GetNumVideoDisplays_t p_sdl_GetNumVideoDisplays; + + private void SetWindowFocus(ImGuiViewportPtr vp) + { + if (p_sdl_RaiseWindow == null) + { + p_sdl_RaiseWindow = Sdl2Native.LoadFunction("SDL_RaiseWindow"); + } + + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + p_sdl_RaiseWindow(window.Window.SdlWindowHandle); + } + + private byte GetWindowFocus(ImGuiViewportPtr vp) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + SDL_WindowFlags flags = Sdl2Native.SDL_GetWindowFlags(window.Window.SdlWindowHandle); + return (flags & SDL_WindowFlags.InputFocus) != 0 ? (byte)1 : (byte)0; + } + + private byte GetWindowMinimized(ImGuiViewportPtr vp) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + SDL_WindowFlags flags = Sdl2Native.SDL_GetWindowFlags(window.Window.SdlWindowHandle); + return (flags & SDL_WindowFlags.Minimized) != 0 ? (byte)1 : (byte)0; + } + + private void SetWindowTitle(ImGuiViewportPtr vp, string title) + { + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + window.Window.Title = title; + } + + public void WindowResized(int width, int height) + { + _windowWidth = width; + _windowHeight = height; + } + + public void DestroyDeviceObjects() + { + Dispose(); + } + + public void CreateDeviceResources(GraphicsDevice gd, OutputDescription outputDescription) + { + _gd = gd; + ResourceFactory factory = gd.ResourceFactory; + _vertexBuffer = factory.CreateBuffer(new BufferDescription(10000, BufferUsage.VertexBuffer | BufferUsage.Dynamic)); + _vertexBuffer.Name = "ImGui.NET Vertex Buffer"; + _indexBuffer = factory.CreateBuffer(new BufferDescription(2000, BufferUsage.IndexBuffer | BufferUsage.Dynamic)); + _indexBuffer.Name = "ImGui.NET Index Buffer"; + RecreateFontDeviceTexture(gd); + + _projMatrixBuffer = factory.CreateBuffer(new BufferDescription(64, BufferUsage.UniformBuffer | BufferUsage.Dynamic)); + _projMatrixBuffer.Name = "ImGui.NET Projection Buffer"; + + byte[] vertexShaderBytes = LoadEmbeddedShaderCode(gd.ResourceFactory, "imgui-vertex"); + byte[] fragmentShaderBytes = LoadEmbeddedShaderCode(gd.ResourceFactory, "imgui-frag"); + _vertexShader = factory.CreateShader(new ShaderDescription(ShaderStages.Vertex, vertexShaderBytes, "VS")); + _fragmentShader = factory.CreateShader(new ShaderDescription(ShaderStages.Fragment, fragmentShaderBytes, "FS")); + + VertexLayoutDescription[] vertexLayouts = new VertexLayoutDescription[] + { + new VertexLayoutDescription( + new VertexElementDescription("in_position", VertexElementSemantic.Position, VertexElementFormat.Float2), + new VertexElementDescription("in_texCoord", VertexElementSemantic.TextureCoordinate, VertexElementFormat.Float2), + new VertexElementDescription("in_color", VertexElementSemantic.Color, VertexElementFormat.Byte4_Norm)) + }; + + _layout = factory.CreateResourceLayout(new ResourceLayoutDescription( + new ResourceLayoutElementDescription("ProjectionMatrixBuffer", ResourceKind.UniformBuffer, ShaderStages.Vertex), + new ResourceLayoutElementDescription("MainSampler", ResourceKind.Sampler, ShaderStages.Fragment))); + _textureLayout = factory.CreateResourceLayout(new ResourceLayoutDescription( + new ResourceLayoutElementDescription("MainTexture", ResourceKind.TextureReadOnly, ShaderStages.Fragment))); + + GraphicsPipelineDescription pd = new GraphicsPipelineDescription( + BlendStateDescription.SingleAlphaBlend, + new DepthStencilStateDescription(false, false, ComparisonKind.Always), + new RasterizerStateDescription(FaceCullMode.None, PolygonFillMode.Solid, FrontFace.Clockwise, false, true), + PrimitiveTopology.TriangleList, + new ShaderSetDescription(vertexLayouts, new[] { _vertexShader, _fragmentShader }), + new ResourceLayout[] { _layout, _textureLayout }, + outputDescription); + _pipeline = factory.CreateGraphicsPipeline(ref pd); + + _mainResourceSet = factory.CreateResourceSet(new ResourceSetDescription(_layout, + _projMatrixBuffer, + gd.PointSampler)); + + _fontTextureResourceSet = factory.CreateResourceSet(new ResourceSetDescription(_textureLayout, _fontTextureView)); + } + + /// + /// Gets or creates a handle for a texture to be drawn with ImGui. + /// Pass the returned handle to Image() or ImageButton(). + /// + public IntPtr GetOrCreateImGuiBinding(ResourceFactory factory, TextureView textureView) + { + if (!_setsByView.TryGetValue(textureView, out ResourceSetInfo rsi)) + { + ResourceSet resourceSet = factory.CreateResourceSet(new ResourceSetDescription(_textureLayout, textureView)); + rsi = new ResourceSetInfo(GetNextImGuiBindingID(), resourceSet); + + _setsByView.Add(textureView, rsi); + _viewsById.Add(rsi.ImGuiBinding, rsi); + _ownedResources.Add(resourceSet); + } + + return rsi.ImGuiBinding; + } + + private IntPtr GetNextImGuiBindingID() + { + int newID = _lastAssignedID++; + return (IntPtr)newID; + } + + /// + /// Gets or creates a handle for a texture to be drawn with ImGui. + /// Pass the returned handle to Image() or ImageButton(). + /// + public IntPtr GetOrCreateImGuiBinding(ResourceFactory factory, Texture texture) + { + if (!_autoViewsByTexture.TryGetValue(texture, out TextureView textureView)) + { + textureView = factory.CreateTextureView(texture); + _autoViewsByTexture.Add(texture, textureView); + _ownedResources.Add(textureView); + } + + return GetOrCreateImGuiBinding(factory, textureView); + } + + /// + /// Retrieves the shader texture binding for the given helper handle. + /// + public ResourceSet GetImageResourceSet(IntPtr imGuiBinding) + { + if (!_viewsById.TryGetValue(imGuiBinding, out ResourceSetInfo tvi)) + { + throw new InvalidOperationException("No registered ImGui binding with id " + imGuiBinding.ToString()); + } + + return tvi.ResourceSet; + } + + public void ClearCachedImageResources() + { + foreach (IDisposable resource in _ownedResources) + { + resource.Dispose(); + } + + _ownedResources.Clear(); + _setsByView.Clear(); + _viewsById.Clear(); + _autoViewsByTexture.Clear(); + _lastAssignedID = 100; + } + + private byte[] LoadEmbeddedShaderCode(ResourceFactory factory, string name) + { + switch (factory.BackendType) + { + case GraphicsBackend.Direct3D11: + { + string resourceName = name + ".hlsl.bytes"; + return GetEmbeddedResourceBytes(resourceName); + } + case GraphicsBackend.OpenGL: + { + string resourceName = name + ".glsl"; + return GetEmbeddedResourceBytes(resourceName); + } + case GraphicsBackend.Vulkan: + { + string resourceName = name + ".spv"; + return GetEmbeddedResourceBytes(resourceName); + } + case GraphicsBackend.Metal: + { + string resourceName = name + ".metallib"; + return GetEmbeddedResourceBytes(resourceName); + } + default: + throw new NotImplementedException(); + } + } + + private byte[] GetEmbeddedResourceBytes(string resourceName) + { + Assembly assembly = typeof(ImGuiController).Assembly; + using (Stream s = assembly.GetManifestResourceStream(resourceName)) + { + byte[] ret = new byte[s.Length]; + s.Read(ret, 0, (int)s.Length); + return ret; + } + } + + /// + /// Recreates the device texture used to render text. + /// + public unsafe void RecreateFontDeviceTexture(GraphicsDevice gd) + { + ImGuiIOPtr io = ImGui.GetIO(); + // Build + byte* pixels; + int width, height, bytesPerPixel; + io.Fonts.GetTexDataAsRGBA32(out pixels, out width, out height, out bytesPerPixel); + // Store our identifier + io.Fonts.SetTexID(_fontAtlasID); + + _fontTexture = gd.ResourceFactory.CreateTexture(TextureDescription.Texture2D( + (uint)width, + (uint)height, + 1, + 1, + PixelFormat.R8_G8_B8_A8_UNorm, + TextureUsage.Sampled)); + _fontTexture.Name = "ImGui.NET Font Texture"; + gd.UpdateTexture( + _fontTexture, + (IntPtr)pixels, + (uint)(bytesPerPixel * width * height), + 0, + 0, + 0, + (uint)width, + (uint)height, + 1, + 0, + 0); + _fontTextureView = gd.ResourceFactory.CreateTextureView(_fontTexture); + + io.Fonts.ClearTexData(); + } + + /// + /// Renders the ImGui draw list data. + /// This method requires a because it may create new DeviceBuffers if the size of vertex + /// or index data has increased beyond the capacity of the existing buffers. + /// A is needed to submit drawing and resource update commands. + /// + public void Render(GraphicsDevice gd, CommandList cl) + { + if (_frameBegun) + { + _frameBegun = false; + ImGui.Render(); + RenderImDrawData(ImGui.GetDrawData(), gd, cl); + + // Update and Render additional Platform Windows + if ((ImGui.GetIO().ConfigFlags & ImGuiConfigFlags.ViewportsEnable) != 0) + { + ImGui.UpdatePlatformWindows(); + ImGuiPlatformIOPtr platformIO = ImGui.GetPlatformIO(); + for (int i = 1; i < platformIO.Viewports.Size; i++) + { + ImGuiViewportPtr vp = platformIO.Viewports[i]; + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + cl.SetFramebuffer(window.Swapchain.Framebuffer); + RenderImDrawData(vp.DrawData, gd, cl); + } + } + } + } + + public void SwapExtraWindows(GraphicsDevice gd) + { + ImGuiPlatformIOPtr platformIO = ImGui.GetPlatformIO(); + for (int i = 1; i < platformIO.Viewports.Size; i++) + { + ImGuiViewportPtr vp = platformIO.Viewports[i]; + VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target; + gd.SwapBuffers(window.Swapchain); + } + } + + /// + /// Updates ImGui input and IO configuration state. + /// + public void Update(float deltaSeconds, InputSnapshot snapshot) + { + if (_frameBegun) + { + ImGui.Render(); + ImGui.UpdatePlatformWindows(); + } + + SetPerFrameImGuiData(deltaSeconds); + UpdateImGuiInput(snapshot); + UpdateMonitors(); + + _frameBegun = true; + ImGui.NewFrame(); + + ImGui.Text($"Main viewport Position: {ImGui.GetPlatformIO().MainViewport.Pos}"); + ImGui.Text($"Main viewport Size: {ImGui.GetPlatformIO().MainViewport.Size}"); + ImGui.Text($"MoouseHoveredViewport: {ImGui.GetIO().MouseHoveredViewport}"); + } + + private unsafe void UpdateMonitors() + { + if (p_sdl_GetNumVideoDisplays == null) + { + p_sdl_GetNumVideoDisplays = Sdl2Native.LoadFunction("SDL_GetNumVideoDisplays"); + } + if (p_sdl_GetDisplayUsableBounds_t == null) + { + p_sdl_GetDisplayUsableBounds_t = Sdl2Native.LoadFunction("SDL_GetDisplayUsableBounds"); + } + + ImGuiPlatformIOPtr plIo = ImGui.GetPlatformIO(); + Marshal.FreeHGlobal(plIo.NativePtr->Monitors.Data); + int numMonitors = p_sdl_GetNumVideoDisplays(); + IntPtr data = Marshal.AllocHGlobal(Unsafe.SizeOf() * numMonitors); + plIo.NativePtr->Monitors = new ImVector(numMonitors, numMonitors, data); + for (int i = 0; i < numMonitors; i++) + { + Rectangle r; + p_sdl_GetDisplayUsableBounds_t(i, &r); + ImGuiPlatformMonitorPtr monitor = plIo.Monitors[i]; + monitor.DpiScale = 1f; + monitor.MainPos = new Vector2(r.X, r.Y); + monitor.MainSize = new Vector2(r.Width, r.Height); + monitor.WorkPos = new Vector2(r.X, r.Y); + monitor.WorkSize = new Vector2(r.Width, r.Height); + } + } + + /// + /// Sets per-frame data based on the associated window. + /// This is called by Update(float). + /// + private void SetPerFrameImGuiData(float deltaSeconds) + { + ImGuiIOPtr io = ImGui.GetIO(); + io.DisplaySize = new Vector2( + _windowWidth / _scaleFactor.X, + _windowHeight / _scaleFactor.Y); + io.DisplayFramebufferScale = _scaleFactor; + io.DeltaTime = deltaSeconds; // DeltaTime is in seconds. + + ImGuiPlatformIOPtr platformIo = ImGui.GetPlatformIO(); + platformIo.MainViewport.Pos = new Vector2(_window.X, _window.Y); + platformIo.MainViewport.Size = new Vector2(_window.Width, _window.Height); + } + + private void UpdateImGuiInput(InputSnapshot snapshot) + { + ImGuiIOPtr io = ImGui.GetIO(); + + // Determine if any of the mouse buttons were pressed during this snapshot period, even if they are no longer held. + bool leftPressed = false; + bool middlePressed = false; + bool rightPressed = false; + foreach (MouseEvent me in snapshot.MouseEvents) + { + if (me.Down) + { + switch (me.MouseButton) + { + case MouseButton.Left: + leftPressed = true; + break; + case MouseButton.Middle: + middlePressed = true; + break; + case MouseButton.Right: + rightPressed = true; + break; + } + } + } + + io.MouseDown[0] = leftPressed || snapshot.IsMouseDown(MouseButton.Left); + io.MouseDown[1] = middlePressed || snapshot.IsMouseDown(MouseButton.Right); + io.MouseDown[2] = rightPressed || snapshot.IsMouseDown(MouseButton.Middle); + + if (p_sdl_GetGlobalMouseState == null) + { + p_sdl_GetGlobalMouseState = Sdl2Native.LoadFunction("SDL_GetGlobalMouseState"); + } + + if ((io.ConfigFlags & ImGuiConfigFlags.ViewportsEnable) != 0) + { + int x, y; + unsafe + { + uint buttons = p_sdl_GetGlobalMouseState(&x, &y); + io.MouseDown[0] = (buttons & 0b00001) != 0; + io.MouseDown[1] = (buttons & 0b00010) != 0; + io.MouseDown[2] = (buttons & 0b00100) != 0; + io.MouseDown[3] = (buttons & 0b01000) != 0; + io.MouseDown[4] = (buttons & 0b10000) != 0; + } + io.MousePos = new Vector2(x, y); + } + else + { + io.MousePos = snapshot.MousePosition; + } + + io.MouseWheel = snapshot.WheelDelta; + + IReadOnlyList keyCharPresses = snapshot.KeyCharPresses; + for (int i = 0; i < keyCharPresses.Count; i++) + { + char c = keyCharPresses[i]; + io.AddInputCharacter(c); + } + + IReadOnlyList keyEvents = snapshot.KeyEvents; + for (int i = 0; i < keyEvents.Count; i++) + { + io.KeysDown[(int)keyEvents[i].Key] = keyEvents[i].Down; + } + + io.KeyCtrl = io.KeysDown[(int)Key.ControlLeft] || io.KeysDown[(int)Key.ControlRight]; + io.KeyAlt = io.KeysDown[(int)Key.AltLeft] || io.KeysDown[(int)Key.AltRight]; + io.KeyShift = io.KeysDown[(int)Key.ShiftLeft] || io.KeysDown[(int)Key.ShiftRight]; + io.KeySuper = io.KeysDown[(int)Key.WinLeft] || io.KeysDown[(int)Key.WinRight]; + + ImVector viewports = ImGui.GetPlatformIO().Viewports; + for (int i = 1; i < viewports.Size; i++) + { + ImGuiViewportPtr v = viewports[i]; + VeldridImGuiWindow window = ((VeldridImGuiWindow)GCHandle.FromIntPtr(v.PlatformUserData).Target); + window.Update(); + } + } + + private static void SetKeyMappings() + { + ImGuiIOPtr io = ImGui.GetIO(); + io.KeyMap[(int)ImGuiKey.Tab] = (int)Key.Tab; + io.KeyMap[(int)ImGuiKey.LeftArrow] = (int)Key.Left; + io.KeyMap[(int)ImGuiKey.RightArrow] = (int)Key.Right; + io.KeyMap[(int)ImGuiKey.UpArrow] = (int)Key.Up; + io.KeyMap[(int)ImGuiKey.DownArrow] = (int)Key.Down; + io.KeyMap[(int)ImGuiKey.PageUp] = (int)Key.PageUp; + io.KeyMap[(int)ImGuiKey.PageDown] = (int)Key.PageDown; + io.KeyMap[(int)ImGuiKey.Home] = (int)Key.Home; + io.KeyMap[(int)ImGuiKey.End] = (int)Key.End; + io.KeyMap[(int)ImGuiKey.Delete] = (int)Key.Delete; + io.KeyMap[(int)ImGuiKey.Backspace] = (int)Key.BackSpace; + io.KeyMap[(int)ImGuiKey.Enter] = (int)Key.Enter; + io.KeyMap[(int)ImGuiKey.Escape] = (int)Key.Escape; + io.KeyMap[(int)ImGuiKey.A] = (int)Key.A; + io.KeyMap[(int)ImGuiKey.C] = (int)Key.C; + io.KeyMap[(int)ImGuiKey.V] = (int)Key.V; + io.KeyMap[(int)ImGuiKey.X] = (int)Key.X; + io.KeyMap[(int)ImGuiKey.Y] = (int)Key.Y; + io.KeyMap[(int)ImGuiKey.Z] = (int)Key.Z; + io.KeyMap[(int)ImGuiKey.Space] = (int)Key.Space; + } + + private void RenderImDrawData(ImDrawDataPtr draw_data, GraphicsDevice gd, CommandList cl) + { + uint vertexOffsetInVertices = 0; + uint indexOffsetInElements = 0; + + if (draw_data.CmdListsCount == 0) + { + return; + } + + uint totalVBSize = (uint)(draw_data.TotalVtxCount * Unsafe.SizeOf()); + if (totalVBSize > _vertexBuffer.SizeInBytes) + { + gd.DisposeWhenIdle(_vertexBuffer); + _vertexBuffer = gd.ResourceFactory.CreateBuffer(new BufferDescription((uint)(totalVBSize * 1.5f), BufferUsage.VertexBuffer | BufferUsage.Dynamic)); + } + + uint totalIBSize = (uint)(draw_data.TotalIdxCount * sizeof(ushort)); + if (totalIBSize > _indexBuffer.SizeInBytes) + { + gd.DisposeWhenIdle(_indexBuffer); + _indexBuffer = gd.ResourceFactory.CreateBuffer(new BufferDescription((uint)(totalIBSize * 1.5f), BufferUsage.IndexBuffer | BufferUsage.Dynamic)); + } + + for (int i = 0; i < draw_data.CmdListsCount; i++) + { + ImDrawListPtr cmd_list = draw_data.CmdListsRange[i]; + + cl.UpdateBuffer( + _vertexBuffer, + vertexOffsetInVertices * (uint)Unsafe.SizeOf(), + cmd_list.VtxBuffer.Data, + (uint)(cmd_list.VtxBuffer.Size * Unsafe.SizeOf())); + + cl.UpdateBuffer( + _indexBuffer, + indexOffsetInElements * sizeof(ushort), + cmd_list.IdxBuffer.Data, + (uint)(cmd_list.IdxBuffer.Size * sizeof(ushort))); + + vertexOffsetInVertices += (uint)cmd_list.VtxBuffer.Size; + indexOffsetInElements += (uint)cmd_list.IdxBuffer.Size; + } + + // Setup orthographic projection matrix into our constant buffer + ImGuiIOPtr io = ImGui.GetIO(); + Matrix4x4 mvp = Matrix4x4.CreateOrthographicOffCenter( + draw_data.DisplayPos.X, + draw_data.DisplayPos.X + draw_data.DisplaySize.X, + draw_data.DisplayPos.Y + draw_data.DisplaySize.Y, + draw_data.DisplayPos.Y, + 0.0f, + 1.0f); + + cl.SetPipeline(_pipeline); + cl.SetViewport(0, new Viewport(draw_data.DisplayPos.X, draw_data.DisplayPos.Y, draw_data.DisplaySize.X, draw_data.DisplaySize.Y, 0, 1)); + cl.SetFullViewports(); + cl.SetVertexBuffer(0, _vertexBuffer); + cl.SetIndexBuffer(_indexBuffer, IndexFormat.UInt16); + + DeviceBuffer projMatrix = gd.ResourceFactory.CreateBuffer(new BufferDescription(64, BufferUsage.UniformBuffer | BufferUsage.Dynamic)); + ResourceSet resourceSet = gd.ResourceFactory.CreateResourceSet(new ResourceSetDescription(_layout, projMatrix, gd.PointSampler)); + gd.UpdateBuffer(projMatrix, 0, mvp); + cl.SetGraphicsResourceSet(0, resourceSet); + resourceSet.Dispose(); + projMatrix.Dispose(); + + draw_data.ScaleClipRects(io.DisplayFramebufferScale); + + // Render command lists + int vtx_offset = 0; + int idx_offset = 0; + for (int n = 0; n < draw_data.CmdListsCount; n++) + { + ImDrawListPtr cmd_list = draw_data.CmdListsRange[n]; + for (int cmd_i = 0; cmd_i < cmd_list.CmdBuffer.Size; cmd_i++) + { + ImDrawCmdPtr pcmd = cmd_list.CmdBuffer[cmd_i]; + if (pcmd.UserCallback != IntPtr.Zero) + { + throw new NotImplementedException(); + } + else + { + if (pcmd.TextureId != IntPtr.Zero) + { + if (pcmd.TextureId == _fontAtlasID) + { + cl.SetGraphicsResourceSet(1, _fontTextureResourceSet); + } + else + { + cl.SetGraphicsResourceSet(1, GetImageResourceSet(pcmd.TextureId)); + } + } + + Vector2 clipOff = draw_data.DisplayPos; + Vector2 clipScale = draw_data.FramebufferScale; + + cl.SetScissorRect( + 0, + (uint)((pcmd.ClipRect.X - clipOff.X) * clipScale.X), + (uint)((pcmd.ClipRect.Y - clipOff.Y) * clipScale.Y), + (uint)((pcmd.ClipRect.Z - clipOff.X) * clipScale.X), + (uint)((pcmd.ClipRect.W - clipOff.Y) * clipScale.Y)); + + cl.DrawIndexed(pcmd.ElemCount, 1, (uint)idx_offset, vtx_offset, 0); + } + + idx_offset += (int)pcmd.ElemCount; + } + vtx_offset += cmd_list.VtxBuffer.Size; + } + } + + /// + /// Frees all graphics resources used by the renderer. + /// + public void Dispose() + { + _vertexBuffer.Dispose(); + _indexBuffer.Dispose(); + _projMatrixBuffer.Dispose(); + _fontTexture.Dispose(); + _fontTextureView.Dispose(); + _vertexShader.Dispose(); + _fragmentShader.Dispose(); + _layout.Dispose(); + _textureLayout.Dispose(); + _pipeline.Dispose(); + _mainResourceSet.Dispose(); + + foreach (IDisposable resource in _ownedResources) + { + resource.Dispose(); + } + } + + private struct ResourceSetInfo + { + public readonly IntPtr ImGuiBinding; + public readonly ResourceSet ResourceSet; + + public ResourceSetInfo(IntPtr imGuiBinding, ResourceSet resourceSet) + { + ImGuiBinding = imGuiBinding; + ResourceSet = resourceSet; + } + } + } } diff --git a/src/ImGui.NET.SampleProgram/Program.cs b/src/ImGui.NET.SampleProgram/Program.cs index 33204af2..81da7531 100644 --- a/src/ImGui.NET.SampleProgram/Program.cs +++ b/src/ImGui.NET.SampleProgram/Program.cs @@ -9,124 +9,134 @@ namespace ImGuiNET { - class Program - { - private static Sdl2Window _window; - private static GraphicsDevice _gd; - private static CommandList _cl; - private static ImGuiController _controller; - private static MemoryEditor _memoryEditor; - - // UI state - private static float _f = 0.0f; - private static int _counter = 0; - private static int _dragInt = 0; - private static Vector3 _clearColor = new Vector3(0.45f, 0.55f, 0.6f); - private static bool _showDemoWindow = true; - private static bool _showAnotherWindow = false; - private static bool _showMemoryEditor = false; - private static byte[] _memoryEditorData; - - static void SetThing(out float i, float val) { i = val; } - - static void Main(string[] args) - { - // Create window, GraphicsDevice, and all resources necessary for the demo. - VeldridStartup.CreateWindowAndGraphicsDevice( - new WindowCreateInfo(50, 50, 1280, 720, WindowState.Normal, "ImGui.NET Sample Program"), - new GraphicsDeviceOptions(true, null, true), - out _window, - out _gd); - _window.Resized += () => - { - _gd.MainSwapchain.Resize((uint)_window.Width, (uint)_window.Height); - _controller.WindowResized(_window.Width, _window.Height); - }; - _cl = _gd.ResourceFactory.CreateCommandList(); - _controller = new ImGuiController(_gd, _gd.MainSwapchain.Framebuffer.OutputDescription, _window.Width, _window.Height); - _memoryEditor = new MemoryEditor(); - Random random = new Random(); - _memoryEditorData = Enumerable.Range(0, 1024).Select(i => (byte)random.Next(255)).ToArray(); - - // Main application loop - while (_window.Exists) - { - InputSnapshot snapshot = _window.PumpEvents(); - if (!_window.Exists) { break; } - _controller.Update(1f / 60f, snapshot); // Feed the input events to our ImGui controller, which passes them through to ImGui. - - SubmitUI(); - - _cl.Begin(); - _cl.SetFramebuffer(_gd.MainSwapchain.Framebuffer); - _cl.ClearColorTarget(0, new RgbaFloat(_clearColor.X, _clearColor.Y, _clearColor.Z, 1f)); - _controller.Render(_gd, _cl); - _cl.End(); - _gd.SubmitCommands(_cl); - _gd.SwapBuffers(_gd.MainSwapchain); - } - - // Clean up Veldrid resources - _gd.WaitForIdle(); - _controller.Dispose(); - _cl.Dispose(); - _gd.Dispose(); - } - - private static unsafe void SubmitUI() - { - // Demo code adapted from the official Dear ImGui demo program: - // https://github.com/ocornut/imgui/blob/master/examples/example_win32_directx11/main.cpp#L172 - - // 1. Show a simple window. - // Tip: if we don't call ImGui.BeginWindow()/ImGui.EndWindow() the widgets automatically appears in a window called "Debug". - { - ImGui.Text("Hello, world!"); // Display some text (you can use a format string too) - ImGui.SliderFloat("float", ref _f, 0, 1, _f.ToString("0.000"), 1); // Edit 1 float using a slider from 0.0f to 1.0f - //ImGui.ColorEdit3("clear color", ref _clearColor); // Edit 3 floats representing a color - - ImGui.Text($"Mouse position: {ImGui.GetMousePos()}"); - - ImGui.Checkbox("Demo Window", ref _showDemoWindow); // Edit bools storing our windows open/close state - ImGui.Checkbox("Another Window", ref _showAnotherWindow); - ImGui.Checkbox("Memory Editor", ref _showMemoryEditor); - if (ImGui.Button("Button")) // Buttons return true when clicked (NB: most widgets return true when edited/activated) - _counter++; - ImGui.SameLine(0, -1); - ImGui.Text($"counter = {_counter}"); - - ImGui.DragInt("Draggable Int", ref _dragInt); - - float framerate = ImGui.GetIO().Framerate; - ImGui.Text($"Application average {1000.0f / framerate:0.##} ms/frame ({framerate:0.#} FPS)"); - } - - // 2. Show another simple window. In most cases you will use an explicit Begin/End pair to name your windows. - if (_showAnotherWindow) - { - ImGui.Begin("Another Window", ref _showAnotherWindow); - ImGui.Text("Hello from another window!"); - if (ImGui.Button("Close Me")) - _showAnotherWindow = false; - ImGui.End(); - } - - // 3. Show the ImGui demo window. Most of the sample code is in ImGui.ShowDemoWindow(). Read its code to learn more about Dear ImGui! - if (_showDemoWindow) - { - // Normally user code doesn't need/want to call this because positions are saved in .ini file anyway. - // Here we just want to make the demo initial state a bit more friendly! - ImGui.SetNextWindowPos(new Vector2(650, 20), ImGuiCond.FirstUseEver); - ImGui.ShowDemoWindow(ref _showDemoWindow); - } - - ImGuiIOPtr io = ImGui.GetIO(); - SetThing(out io.DeltaTime, 2f); - - if (_showMemoryEditor) - { - _memoryEditor.Draw("Memory Editor", _memoryEditorData, _memoryEditorData.Length); - } - } - } + class Program + { + private static Sdl2Window _window; + private static GraphicsDevice _gd; + private static CommandList _cl; + private static ImGuiController _controller; + private static MemoryEditor _memoryEditor; + + // UI state + private static float _f = 0.0f; + private static int _counter = 0; + private static int _dragInt = 0; + private static Vector3 _clearColor = new Vector3(0.45f, 0.55f, 0.6f); + private static bool _showDemoWindow = true; + private static bool _showAnotherWindow = false; + private static bool _showMemoryEditor = false; + private static byte[] _memoryEditorData; + + private static string _testInput = "TestInputDefaultValue"; + + static void SetThing(out float i, float val) { i = val; } + + static void Main(string[] args) + { + // Create window, GraphicsDevice, and all resources necessary for the demo. + VeldridStartup.CreateWindowAndGraphicsDevice( + new WindowCreateInfo(50, 50, 1280, 720, WindowState.Normal, "ImGui.NET Sample Program"), + new GraphicsDeviceOptions(true, null, true), + GraphicsBackend.Direct3D11, + out _window, + out _gd); + _window.Resized += () => + { + _gd.MainSwapchain.Resize((uint)_window.Width, (uint)_window.Height); + _controller.WindowResized(_window.Width, _window.Height); + }; + _cl = _gd.ResourceFactory.CreateCommandList(); + _controller = new ImGuiController(_gd, _window, _gd.MainSwapchain.Framebuffer.OutputDescription, _window.Width, _window.Height); + _memoryEditor = new MemoryEditor(); + Random random = new Random(); + _memoryEditorData = Enumerable.Range(0, 1024).Select(i => (byte)random.Next(255)).ToArray(); + + // Main application loop + while (_window.Exists) + { + InputSnapshot snapshot = _window.PumpEvents(); + if (!_window.Exists) { break; } + _controller.Update(1f / 60f, snapshot); // Feed the input events to our ImGui controller, which passes them through to ImGui. + + SubmitUI(); + + _cl.Begin(); + _cl.SetFramebuffer(_gd.MainSwapchain.Framebuffer); + _cl.ClearColorTarget(0, new RgbaFloat(_clearColor.X, _clearColor.Y, _clearColor.Z, 1f)); + _controller.Render(_gd, _cl); + _cl.End(); + _gd.SubmitCommands(_cl); + _gd.SwapBuffers(_gd.MainSwapchain); + _controller.SwapExtraWindows(_gd); + } + + // Clean up Veldrid resources + _gd.WaitForIdle(); + _controller.Dispose(); + _cl.Dispose(); + _gd.Dispose(); + } + + private static unsafe void SubmitUI() + { + // Demo code adapted from the official Dear ImGui demo program: + // https://github.com/ocornut/imgui/blob/master/examples/example_win32_directx11/main.cpp#L172 + + // 1. Show a simple window. + // Tip: if we don't call ImGui.BeginWindow()/ImGui.EndWindow() the widgets automatically appears in a window called "Debug". + { + ImGui.Text("Hello, world!"); // Display some text (you can use a format string too) + ImGui.SliderFloat("float", ref _f, 0, 1, _f.ToString("0.000"), 1); // Edit 1 float using a slider from 0.0f to 1.0f + //ImGui.ColorEdit3("clear color", ref _clearColor); // Edit 3 floats representing a color + + if (ImGui.InputTextMultiline("TestLabel", ref _testInput, ushort.MaxValue, new Vector2(200, 200))) + { + + } + + ImGui.Text($"Mouse position: {ImGui.GetMousePos()}"); + ImGui.Text($"Mouse down: {ImGui.GetIO().MouseDown[0]}"); + + ImGui.Checkbox("Demo Window", ref _showDemoWindow); // Edit bools storing our windows open/close state + ImGui.Checkbox("Another Window", ref _showAnotherWindow); + ImGui.Checkbox("Memory Editor", ref _showMemoryEditor); + if (ImGui.Button("Button")) // Buttons return true when clicked (NB: most widgets return true when edited/activated) + _counter++; + ImGui.SameLine(0, -1); + ImGui.Text($"counter = {_counter}"); + + ImGui.DragInt("Draggable Int", ref _dragInt); + + float framerate = ImGui.GetIO().Framerate; + ImGui.Text($"Application average {1000.0f / framerate:0.##} ms/frame ({framerate:0.#} FPS)"); + } + + // 2. Show another simple window. In most cases you will use an explicit Begin/End pair to name your windows. + if (_showAnotherWindow) + { + ImGui.Begin("Another Window", ref _showAnotherWindow); + ImGui.Text("Hello from another window!"); + if (ImGui.Button("Close Me")) + _showAnotherWindow = false; + ImGui.End(); + } + + // 3. Show the ImGui demo window. Most of the sample code is in ImGui.ShowDemoWindow(). Read its code to learn more about Dear ImGui! + if (_showDemoWindow) + { + // Normally user code doesn't need/want to call this because positions are saved in .ini file anyway. + // Here we just want to make the demo initial state a bit more friendly! + ImGui.SetNextWindowPos(new Vector2(650, 20), ImGuiCond.FirstUseEver); + ImGui.ShowDemoWindow(ref _showDemoWindow); + } + + ImGuiIOPtr io = ImGui.GetIO(); + SetThing(out io.DeltaTime, 2f); + + if (_showMemoryEditor) + { + _memoryEditor.Draw("Memory Editor", _memoryEditorData, _memoryEditorData.Length); + } + } + } } diff --git a/src/ImGui.NET.SampleProgram/VeldridImGuiWindow.cs b/src/ImGui.NET.SampleProgram/VeldridImGuiWindow.cs new file mode 100644 index 00000000..aba30aff --- /dev/null +++ b/src/ImGui.NET.SampleProgram/VeldridImGuiWindow.cs @@ -0,0 +1,86 @@ +using ImGuiNET; +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Veldrid; +using Veldrid.Sdl2; +using Veldrid.StartupUtilities; + +namespace ImGui.NET.SampleProgram +{ + public class VeldridImGuiWindow : IDisposable + { + private readonly GCHandle _gcHandle; + private readonly GraphicsDevice _gd; + private readonly ImGuiViewportPtr _vp; + private readonly Sdl2Window _window; + private readonly Swapchain _sc; + + public Sdl2Window Window => _window; + public Swapchain Swapchain => _sc; + + public VeldridImGuiWindow(GraphicsDevice gd, ImGuiViewportPtr vp) + { + _gcHandle = GCHandle.Alloc(this); + _gd = gd; + _vp = vp; + + SDL_WindowFlags flags = SDL_WindowFlags.Hidden; + if ((vp.Flags & ImGuiViewportFlags.NoTaskBarIcon) != 0) + { + flags |= SDL_WindowFlags.SkipTaskbar; + } + if ((vp.Flags & ImGuiViewportFlags.NoDecoration) != 0) + { + flags |= SDL_WindowFlags.Borderless; + } + else + { + flags |= SDL_WindowFlags.Resizable; + } + + if ((vp.Flags & ImGuiViewportFlags.TopMost) != 0) + { + flags |= SDL_WindowFlags.AlwaysOnTop; + } + + _window = new Sdl2Window( + "No Title Yet", + (int)vp.Pos.X, (int)vp.Pos.Y, + (int)vp.Size.X, (int)vp.Size.Y, + flags, + false); + _window.Resized += () => _vp.PlatformRequestResize = true; + _window.Moved += p => _vp.PlatformRequestMove = true; + _window.Closed += () => _vp.PlatformRequestClose = true; + + SwapchainSource scSource = VeldridStartup.GetSwapchainSource(_window); + SwapchainDescription scDesc = new SwapchainDescription(scSource, (uint)_window.Width, (uint)_window.Height, null, true, false); + _sc = _gd.ResourceFactory.CreateSwapchain(scDesc); + _window.Resized += () => _sc.Resize((uint)_window.Width, (uint)_window.Height); + + vp.PlatformUserData = (IntPtr)_gcHandle; + } + + public VeldridImGuiWindow(GraphicsDevice gd, ImGuiViewportPtr vp, Sdl2Window window) + { + _gcHandle = GCHandle.Alloc(this); + _gd = gd; + _vp = vp; + _window = window; + vp.PlatformUserData = (IntPtr)_gcHandle; + } + + public void Update() + { + _window.PumpEvents(); + } + + public void Dispose() + { + _sc.Dispose(); + _window.Close(); + _gcHandle.Free(); + } + } +} diff --git a/src/ImGui.NET/Delegates.cs b/src/ImGui.NET/Delegates.cs new file mode 100644 index 00000000..2ac9da73 --- /dev/null +++ b/src/ImGui.NET/Delegates.cs @@ -0,0 +1,17 @@ +using System; +using System.Numerics; + +namespace ImGuiNET +{ + public delegate void Platform_CreateWindow(ImGuiViewportPtr vp); // Create a new platform window for the given viewport + public delegate void Platform_DestroyWindow(ImGuiViewportPtr vp); + public delegate void Platform_ShowWindow(ImGuiViewportPtr vp); // Newly created windows are initially hidden so SetWindowPos/Size/Title can be called on them first + public delegate void Platform_SetWindowPos(ImGuiViewportPtr vp, Vector2 pos); + public unsafe delegate void Platform_GetWindowPos(Vector2 pos, ImGuiViewportPtr viewport); + public delegate void Platform_SetWindowSize(ImGuiViewportPtr vp, Vector2 size); + public unsafe delegate void Platform_GetWindowSize(Vector2 size, ImGuiViewportPtr viewport); + public delegate void Platform_SetWindowFocus(ImGuiViewportPtr vp); // Move window to front and set input focus + public delegate byte Platform_GetWindowFocus(ImGuiViewportPtr vp); + public delegate byte Platform_GetWindowMinimized(ImGuiViewportPtr vp); + public delegate void Platform_SetWindowTitle(ImGuiViewportPtr vp, string title); +} \ No newline at end of file diff --git a/src/ImGui.NET/Generated/ImColor.gen.cs b/src/ImGui.NET/Generated/ImColor.gen.cs index 2f107959..148ebb95 100644 --- a/src/ImGui.NET/Generated/ImColor.gen.cs +++ b/src/ImGui.NET/Generated/ImColor.gen.cs @@ -18,6 +18,10 @@ public unsafe partial struct ImColorPtr public static implicit operator ImColor* (ImColorPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImColorPtr(IntPtr nativePtr) => new ImColorPtr(nativePtr); public ref Vector4 Value => ref Unsafe.AsRef(&NativePtr->Value); + public void Destroy() + { + ImGuiNative.ImColor_destroy(NativePtr); + } public ImColor HSV(float h, float s, float v) { float a = 1.0f; diff --git a/src/ImGui.NET/Generated/ImDrawChannel.gen.cs b/src/ImGui.NET/Generated/ImDrawChannel.gen.cs index 7b08e1a4..850df76d 100644 --- a/src/ImGui.NET/Generated/ImDrawChannel.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawChannel.gen.cs @@ -7,8 +7,8 @@ namespace ImGuiNET { public unsafe partial struct ImDrawChannel { - public ImVector CmdBuffer; - public ImVector IdxBuffer; + public ImVector _CmdBuffer; + public ImVector _IdxBuffer; } public unsafe partial struct ImDrawChannelPtr { @@ -18,7 +18,7 @@ public unsafe partial struct ImDrawChannelPtr public static implicit operator ImDrawChannelPtr(ImDrawChannel* nativePtr) => new ImDrawChannelPtr(nativePtr); public static implicit operator ImDrawChannel* (ImDrawChannelPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImDrawChannelPtr(IntPtr nativePtr) => new ImDrawChannelPtr(nativePtr); - public ImPtrVector CmdBuffer => new ImPtrVector(NativePtr->CmdBuffer, Unsafe.SizeOf()); - public ImVector IdxBuffer => new ImVector(NativePtr->IdxBuffer); + public ImPtrVector _CmdBuffer => new ImPtrVector(NativePtr->_CmdBuffer, Unsafe.SizeOf()); + public ImVector _IdxBuffer => new ImVector(NativePtr->_IdxBuffer); } } diff --git a/src/ImGui.NET/Generated/ImDrawCmd.gen.cs b/src/ImGui.NET/Generated/ImDrawCmd.gen.cs index 9f0dd14c..fd48c4c6 100644 --- a/src/ImGui.NET/Generated/ImDrawCmd.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawCmd.gen.cs @@ -10,6 +10,8 @@ public unsafe partial struct ImDrawCmd public uint ElemCount; public Vector4 ClipRect; public IntPtr TextureId; + public uint VtxOffset; + public uint IdxOffset; public IntPtr UserCallback; public void* UserCallbackData; } @@ -24,7 +26,13 @@ public unsafe partial struct ImDrawCmdPtr public ref uint ElemCount => ref Unsafe.AsRef(&NativePtr->ElemCount); public ref Vector4 ClipRect => ref Unsafe.AsRef(&NativePtr->ClipRect); public ref IntPtr TextureId => ref Unsafe.AsRef(&NativePtr->TextureId); + public ref uint VtxOffset => ref Unsafe.AsRef(&NativePtr->VtxOffset); + public ref uint IdxOffset => ref Unsafe.AsRef(&NativePtr->IdxOffset); public ref IntPtr UserCallback => ref Unsafe.AsRef(&NativePtr->UserCallback); public IntPtr UserCallbackData { get => (IntPtr)NativePtr->UserCallbackData; set => NativePtr->UserCallbackData = (void*)value; } + public void Destroy() + { + ImGuiNative.ImDrawCmd_destroy(NativePtr); + } } } diff --git a/src/ImGui.NET/Generated/ImDrawCornerFlags.gen.cs b/src/ImGui.NET/Generated/ImDrawCornerFlags.gen.cs index 68953f84..0529271f 100644 --- a/src/ImGui.NET/Generated/ImDrawCornerFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawCornerFlags.gen.cs @@ -3,6 +3,7 @@ namespace ImGuiNET [System.Flags] public enum ImDrawCornerFlags { + None = 0, TopLeft = 1 << 0, TopRight = 1 << 1, BotLeft = 1 << 2, diff --git a/src/ImGui.NET/Generated/ImDrawData.gen.cs b/src/ImGui.NET/Generated/ImDrawData.gen.cs index 2275daf4..5ceeb495 100644 --- a/src/ImGui.NET/Generated/ImDrawData.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawData.gen.cs @@ -14,6 +14,8 @@ public unsafe partial struct ImDrawData public int TotalVtxCount; public Vector2 DisplayPos; public Vector2 DisplaySize; + public Vector2 FramebufferScale; + public ImGuiViewport* OwnerViewport; } public unsafe partial struct ImDrawDataPtr { @@ -30,6 +32,8 @@ public unsafe partial struct ImDrawDataPtr public ref int TotalVtxCount => ref Unsafe.AsRef(&NativePtr->TotalVtxCount); public ref Vector2 DisplayPos => ref Unsafe.AsRef(&NativePtr->DisplayPos); public ref Vector2 DisplaySize => ref Unsafe.AsRef(&NativePtr->DisplaySize); + public ref Vector2 FramebufferScale => ref Unsafe.AsRef(&NativePtr->FramebufferScale); + public ImGuiViewportPtr OwnerViewport => new ImGuiViewportPtr(NativePtr->OwnerViewport); public void Clear() { ImGuiNative.ImDrawData_Clear(NativePtr); @@ -38,9 +42,13 @@ public void DeIndexAllBuffers() { ImGuiNative.ImDrawData_DeIndexAllBuffers(NativePtr); } - public void ScaleClipRects(Vector2 sc) + public void Destroy() { - ImGuiNative.ImDrawData_ScaleClipRects(NativePtr, sc); + ImGuiNative.ImDrawData_destroy(NativePtr); + } + public void ScaleClipRects(Vector2 fb_scale) + { + ImGuiNative.ImDrawData_ScaleClipRects(NativePtr, fb_scale); } } } diff --git a/src/ImGui.NET/Generated/ImDrawList.gen.cs b/src/ImGui.NET/Generated/ImDrawList.gen.cs index 7909fc80..fe5a6756 100644 --- a/src/ImGui.NET/Generated/ImDrawList.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawList.gen.cs @@ -13,15 +13,14 @@ public unsafe partial struct ImDrawList public ImDrawListFlags Flags; public IntPtr _Data; public byte* _OwnerName; + public uint _VtxCurrentOffset; public uint _VtxCurrentIdx; public ImDrawVert* _VtxWritePtr; public ushort* _IdxWritePtr; public ImVector _ClipRectStack; public ImVector _TextureIdStack; public ImVector _Path; - public int _ChannelsCurrent; - public int _ChannelsCount; - public ImVector _Channels; + public ImDrawListSplitter _Splitter; } public unsafe partial struct ImDrawListPtr { @@ -37,15 +36,14 @@ public unsafe partial struct ImDrawListPtr public ref ImDrawListFlags Flags => ref Unsafe.AsRef(&NativePtr->Flags); public ref IntPtr _Data => ref Unsafe.AsRef(&NativePtr->_Data); public NullTerminatedString _OwnerName => new NullTerminatedString(NativePtr->_OwnerName); + public ref uint _VtxCurrentOffset => ref Unsafe.AsRef(&NativePtr->_VtxCurrentOffset); public ref uint _VtxCurrentIdx => ref Unsafe.AsRef(&NativePtr->_VtxCurrentIdx); public ImDrawVertPtr _VtxWritePtr => new ImDrawVertPtr(NativePtr->_VtxWritePtr); public IntPtr _IdxWritePtr { get => (IntPtr)NativePtr->_IdxWritePtr; set => NativePtr->_IdxWritePtr = (ushort*)value; } public ImVector _ClipRectStack => new ImVector(NativePtr->_ClipRectStack); public ImVector _TextureIdStack => new ImVector(NativePtr->_TextureIdStack); public ImVector _Path => new ImVector(NativePtr->_Path); - public ref int _ChannelsCurrent => ref Unsafe.AsRef(&NativePtr->_ChannelsCurrent); - public ref int _ChannelsCount => ref Unsafe.AsRef(&NativePtr->_ChannelsCount); - public ImPtrVector _Channels => new ImPtrVector(NativePtr->_Channels, Unsafe.SizeOf()); + public ref ImDrawListSplitter _Splitter => ref Unsafe.AsRef(&NativePtr->_Splitter); public void AddBezierCurve(Vector2 pos0, Vector2 cp0, Vector2 cp1, Vector2 pos1, uint col, float thickness) { int num_segments = 0; @@ -60,29 +58,29 @@ public void AddCallback(IntPtr callback, IntPtr callback_data) void* native_callback_data = (void*)callback_data.ToPointer(); ImGuiNative.ImDrawList_AddCallback(NativePtr, callback, native_callback_data); } - public void AddCircle(Vector2 centre, float radius, uint col) + public void AddCircle(Vector2 center, float radius, uint col) { int num_segments = 12; float thickness = 1.0f; - ImGuiNative.ImDrawList_AddCircle(NativePtr, centre, radius, col, num_segments, thickness); + ImGuiNative.ImDrawList_AddCircle(NativePtr, center, radius, col, num_segments, thickness); } - public void AddCircle(Vector2 centre, float radius, uint col, int num_segments) + public void AddCircle(Vector2 center, float radius, uint col, int num_segments) { float thickness = 1.0f; - ImGuiNative.ImDrawList_AddCircle(NativePtr, centre, radius, col, num_segments, thickness); + ImGuiNative.ImDrawList_AddCircle(NativePtr, center, radius, col, num_segments, thickness); } - public void AddCircle(Vector2 centre, float radius, uint col, int num_segments, float thickness) + public void AddCircle(Vector2 center, float radius, uint col, int num_segments, float thickness) { - ImGuiNative.ImDrawList_AddCircle(NativePtr, centre, radius, col, num_segments, thickness); + ImGuiNative.ImDrawList_AddCircle(NativePtr, center, radius, col, num_segments, thickness); } - public void AddCircleFilled(Vector2 centre, float radius, uint col) + public void AddCircleFilled(Vector2 center, float radius, uint col) { int num_segments = 12; - ImGuiNative.ImDrawList_AddCircleFilled(NativePtr, centre, radius, col, num_segments); + ImGuiNative.ImDrawList_AddCircleFilled(NativePtr, center, radius, col, num_segments); } - public void AddCircleFilled(Vector2 centre, float radius, uint col, int num_segments) + public void AddCircleFilled(Vector2 center, float radius, uint col, int num_segments) { - ImGuiNative.ImDrawList_AddCircleFilled(NativePtr, centre, radius, col, num_segments); + ImGuiNative.ImDrawList_AddCircleFilled(NativePtr, center, radius, col, num_segments); } public void AddConvexPolyFilled(ref Vector2 points, int num_points, uint col) { @@ -95,84 +93,84 @@ public void AddDrawCmd() { ImGuiNative.ImDrawList_AddDrawCmd(NativePtr); } - public void AddImage(IntPtr user_texture_id, Vector2 a, Vector2 b) + public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max) { - Vector2 uv_a = new Vector2(); - Vector2 uv_b = new Vector2(1, 1); + Vector2 uv_min = new Vector2(); + Vector2 uv_max = new Vector2(1, 1); uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, a, b, uv_a, uv_b, col); + ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, p_min, p_max, uv_min, uv_max, col); } - public void AddImage(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a) + public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min) { - Vector2 uv_b = new Vector2(1, 1); + Vector2 uv_max = new Vector2(1, 1); uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, a, b, uv_a, uv_b, col); + ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, p_min, p_max, uv_min, uv_max, col); } - public void AddImage(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b) + public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max) { uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, a, b, uv_a, uv_b, col); + ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, p_min, p_max, uv_min, uv_max, col); } - public void AddImage(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col) + public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col) { - ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, a, b, uv_a, uv_b, col); + ImGuiNative.ImDrawList_AddImage(NativePtr, user_texture_id, p_min, p_max, uv_min, uv_max, col); } - public void AddImageQuad(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d) + public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) { - Vector2 uv_a = new Vector2(); - Vector2 uv_b = new Vector2(1, 0); - Vector2 uv_c = new Vector2(1, 1); - Vector2 uv_d = new Vector2(0, 1); + Vector2 uv1 = new Vector2(); + Vector2 uv2 = new Vector2(1, 0); + Vector2 uv3 = new Vector2(1, 1); + Vector2 uv4 = new Vector2(0, 1); uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); + ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); } - public void AddImageQuad(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a) + public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) { - Vector2 uv_b = new Vector2(1, 0); - Vector2 uv_c = new Vector2(1, 1); - Vector2 uv_d = new Vector2(0, 1); + Vector2 uv2 = new Vector2(1, 0); + Vector2 uv3 = new Vector2(1, 1); + Vector2 uv4 = new Vector2(0, 1); uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); + ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); } - public void AddImageQuad(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a, Vector2 uv_b) + public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) { - Vector2 uv_c = new Vector2(1, 1); - Vector2 uv_d = new Vector2(0, 1); + Vector2 uv3 = new Vector2(1, 1); + Vector2 uv4 = new Vector2(0, 1); uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); + ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); } - public void AddImageQuad(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a, Vector2 uv_b, Vector2 uv_c) + public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) { - Vector2 uv_d = new Vector2(0, 1); + Vector2 uv4 = new Vector2(0, 1); uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); + ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); } - public void AddImageQuad(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a, Vector2 uv_b, Vector2 uv_c, Vector2 uv_d) + public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) { uint col = 0xFFFFFFFF; - ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); + ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); } - public void AddImageQuad(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a, Vector2 uv_b, Vector2 uv_c, Vector2 uv_d, uint col) + public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) { - ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); + ImGuiNative.ImDrawList_AddImageQuad(NativePtr, user_texture_id, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); } - public void AddImageRounded(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col, float rounding) + public void AddImageRounded(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col, float rounding) { - int rounding_corners = (int)ImDrawCornerFlags.All; - ImGuiNative.ImDrawList_AddImageRounded(NativePtr, user_texture_id, a, b, uv_a, uv_b, col, rounding, rounding_corners); + ImDrawCornerFlags rounding_corners = ImDrawCornerFlags.All; + ImGuiNative.ImDrawList_AddImageRounded(NativePtr, user_texture_id, p_min, p_max, uv_min, uv_max, col, rounding, rounding_corners); } - public void AddImageRounded(IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col, float rounding, int rounding_corners) + public void AddImageRounded(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col, float rounding, ImDrawCornerFlags rounding_corners) { - ImGuiNative.ImDrawList_AddImageRounded(NativePtr, user_texture_id, a, b, uv_a, uv_b, col, rounding, rounding_corners); + ImGuiNative.ImDrawList_AddImageRounded(NativePtr, user_texture_id, p_min, p_max, uv_min, uv_max, col, rounding, rounding_corners); } - public void AddLine(Vector2 a, Vector2 b, uint col) + public void AddLine(Vector2 p1, Vector2 p2, uint col) { float thickness = 1.0f; - ImGuiNative.ImDrawList_AddLine(NativePtr, a, b, col, thickness); + ImGuiNative.ImDrawList_AddLine(NativePtr, p1, p2, col, thickness); } - public void AddLine(Vector2 a, Vector2 b, uint col, float thickness) + public void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness) { - ImGuiNative.ImDrawList_AddLine(NativePtr, a, b, col, thickness); + ImGuiNative.ImDrawList_AddLine(NativePtr, p1, p2, col, thickness); } public void AddPolyline(ref Vector2 points, int num_points, uint col, bool closed, float thickness) { @@ -182,84 +180,84 @@ public void AddPolyline(ref Vector2 points, int num_points, uint col, bool close ImGuiNative.ImDrawList_AddPolyline(NativePtr, native_points, num_points, col, native_closed, thickness); } } - public void AddQuad(Vector2 a, Vector2 b, Vector2 c, Vector2 d, uint col) + public void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) { float thickness = 1.0f; - ImGuiNative.ImDrawList_AddQuad(NativePtr, a, b, c, d, col, thickness); + ImGuiNative.ImDrawList_AddQuad(NativePtr, p1, p2, p3, p4, col, thickness); } - public void AddQuad(Vector2 a, Vector2 b, Vector2 c, Vector2 d, uint col, float thickness) + public void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) { - ImGuiNative.ImDrawList_AddQuad(NativePtr, a, b, c, d, col, thickness); + ImGuiNative.ImDrawList_AddQuad(NativePtr, p1, p2, p3, p4, col, thickness); } - public void AddQuadFilled(Vector2 a, Vector2 b, Vector2 c, Vector2 d, uint col) + public void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) { - ImGuiNative.ImDrawList_AddQuadFilled(NativePtr, a, b, c, d, col); + ImGuiNative.ImDrawList_AddQuadFilled(NativePtr, p1, p2, p3, p4, col); } - public void AddRect(Vector2 a, Vector2 b, uint col) + public void AddRect(Vector2 p_min, Vector2 p_max, uint col) { float rounding = 0.0f; - int rounding_corners_flags = (int)ImDrawCornerFlags.All; + ImDrawCornerFlags rounding_corners = ImDrawCornerFlags.All; float thickness = 1.0f; - ImGuiNative.ImDrawList_AddRect(NativePtr, a, b, col, rounding, rounding_corners_flags, thickness); + ImGuiNative.ImDrawList_AddRect(NativePtr, p_min, p_max, col, rounding, rounding_corners, thickness); } - public void AddRect(Vector2 a, Vector2 b, uint col, float rounding) + public void AddRect(Vector2 p_min, Vector2 p_max, uint col, float rounding) { - int rounding_corners_flags = (int)ImDrawCornerFlags.All; + ImDrawCornerFlags rounding_corners = ImDrawCornerFlags.All; float thickness = 1.0f; - ImGuiNative.ImDrawList_AddRect(NativePtr, a, b, col, rounding, rounding_corners_flags, thickness); + ImGuiNative.ImDrawList_AddRect(NativePtr, p_min, p_max, col, rounding, rounding_corners, thickness); } - public void AddRect(Vector2 a, Vector2 b, uint col, float rounding, int rounding_corners_flags) + public void AddRect(Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawCornerFlags rounding_corners) { float thickness = 1.0f; - ImGuiNative.ImDrawList_AddRect(NativePtr, a, b, col, rounding, rounding_corners_flags, thickness); + ImGuiNative.ImDrawList_AddRect(NativePtr, p_min, p_max, col, rounding, rounding_corners, thickness); } - public void AddRect(Vector2 a, Vector2 b, uint col, float rounding, int rounding_corners_flags, float thickness) + public void AddRect(Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawCornerFlags rounding_corners, float thickness) { - ImGuiNative.ImDrawList_AddRect(NativePtr, a, b, col, rounding, rounding_corners_flags, thickness); + ImGuiNative.ImDrawList_AddRect(NativePtr, p_min, p_max, col, rounding, rounding_corners, thickness); } - public void AddRectFilled(Vector2 a, Vector2 b, uint col) + public void AddRectFilled(Vector2 p_min, Vector2 p_max, uint col) { float rounding = 0.0f; - int rounding_corners_flags = (int)ImDrawCornerFlags.All; - ImGuiNative.ImDrawList_AddRectFilled(NativePtr, a, b, col, rounding, rounding_corners_flags); + ImDrawCornerFlags rounding_corners = ImDrawCornerFlags.All; + ImGuiNative.ImDrawList_AddRectFilled(NativePtr, p_min, p_max, col, rounding, rounding_corners); } - public void AddRectFilled(Vector2 a, Vector2 b, uint col, float rounding) + public void AddRectFilled(Vector2 p_min, Vector2 p_max, uint col, float rounding) { - int rounding_corners_flags = (int)ImDrawCornerFlags.All; - ImGuiNative.ImDrawList_AddRectFilled(NativePtr, a, b, col, rounding, rounding_corners_flags); + ImDrawCornerFlags rounding_corners = ImDrawCornerFlags.All; + ImGuiNative.ImDrawList_AddRectFilled(NativePtr, p_min, p_max, col, rounding, rounding_corners); } - public void AddRectFilled(Vector2 a, Vector2 b, uint col, float rounding, int rounding_corners_flags) + public void AddRectFilled(Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawCornerFlags rounding_corners) { - ImGuiNative.ImDrawList_AddRectFilled(NativePtr, a, b, col, rounding, rounding_corners_flags); + ImGuiNative.ImDrawList_AddRectFilled(NativePtr, p_min, p_max, col, rounding, rounding_corners); } - public void AddRectFilledMultiColor(Vector2 a, Vector2 b, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left) + public void AddRectFilledMultiColor(Vector2 p_min, Vector2 p_max, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left) { - ImGuiNative.ImDrawList_AddRectFilledMultiColor(NativePtr, a, b, col_upr_left, col_upr_right, col_bot_right, col_bot_left); + ImGuiNative.ImDrawList_AddRectFilledMultiColor(NativePtr, p_min, p_max, col_upr_left, col_upr_right, col_bot_right, col_bot_left); } - public void AddTriangle(Vector2 a, Vector2 b, Vector2 c, uint col) + public void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) { float thickness = 1.0f; - ImGuiNative.ImDrawList_AddTriangle(NativePtr, a, b, c, col, thickness); + ImGuiNative.ImDrawList_AddTriangle(NativePtr, p1, p2, p3, col, thickness); } - public void AddTriangle(Vector2 a, Vector2 b, Vector2 c, uint col, float thickness) + public void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) { - ImGuiNative.ImDrawList_AddTriangle(NativePtr, a, b, c, col, thickness); + ImGuiNative.ImDrawList_AddTriangle(NativePtr, p1, p2, p3, col, thickness); } - public void AddTriangleFilled(Vector2 a, Vector2 b, Vector2 c, uint col) + public void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col) { - ImGuiNative.ImDrawList_AddTriangleFilled(NativePtr, a, b, c, col); + ImGuiNative.ImDrawList_AddTriangleFilled(NativePtr, p1, p2, p3, col); } public void ChannelsMerge() { ImGuiNative.ImDrawList_ChannelsMerge(NativePtr); } - public void ChannelsSetCurrent(int channel_index) + public void ChannelsSetCurrent(int n) { - ImGuiNative.ImDrawList_ChannelsSetCurrent(NativePtr, channel_index); + ImGuiNative.ImDrawList_ChannelsSetCurrent(NativePtr, n); } - public void ChannelsSplit(int channels_count) + public void ChannelsSplit(int count) { - ImGuiNative.ImDrawList_ChannelsSplit(NativePtr, channels_count); + ImGuiNative.ImDrawList_ChannelsSplit(NativePtr, count); } public void Clear() { @@ -274,6 +272,10 @@ public ImDrawListPtr CloneOutput() ImDrawList* ret = ImGuiNative.ImDrawList_CloneOutput(NativePtr); return new ImDrawListPtr(ret); } + public void Destroy() + { + ImGuiNative.ImDrawList_destroy(NativePtr); + } public Vector2 GetClipRectMax() { Vector2 ret = ImGuiNative.ImDrawList_GetClipRectMax(NativePtr); @@ -284,18 +286,18 @@ public Vector2 GetClipRectMin() Vector2 ret = ImGuiNative.ImDrawList_GetClipRectMin(NativePtr); return ret; } - public void PathArcTo(Vector2 centre, float radius, float a_min, float a_max) + public void PathArcTo(Vector2 center, float radius, float a_min, float a_max) { int num_segments = 10; - ImGuiNative.ImDrawList_PathArcTo(NativePtr, centre, radius, a_min, a_max, num_segments); + ImGuiNative.ImDrawList_PathArcTo(NativePtr, center, radius, a_min, a_max, num_segments); } - public void PathArcTo(Vector2 centre, float radius, float a_min, float a_max, int num_segments) + public void PathArcTo(Vector2 center, float radius, float a_min, float a_max, int num_segments) { - ImGuiNative.ImDrawList_PathArcTo(NativePtr, centre, radius, a_min, a_max, num_segments); + ImGuiNative.ImDrawList_PathArcTo(NativePtr, center, radius, a_min, a_max, num_segments); } - public void PathArcToFast(Vector2 centre, float radius, int a_min_of_12, int a_max_of_12) + public void PathArcToFast(Vector2 center, float radius, int a_min_of_12, int a_max_of_12) { - ImGuiNative.ImDrawList_PathArcToFast(NativePtr, centre, radius, a_min_of_12, a_max_of_12); + ImGuiNative.ImDrawList_PathArcToFast(NativePtr, center, radius, a_min_of_12, a_max_of_12); } public void PathBezierCurveTo(Vector2 p1, Vector2 p2, Vector2 p3) { @@ -325,17 +327,17 @@ public void PathLineToMergeDuplicate(Vector2 pos) public void PathRect(Vector2 rect_min, Vector2 rect_max) { float rounding = 0.0f; - int rounding_corners_flags = (int)ImDrawCornerFlags.All; - ImGuiNative.ImDrawList_PathRect(NativePtr, rect_min, rect_max, rounding, rounding_corners_flags); + ImDrawCornerFlags rounding_corners = ImDrawCornerFlags.All; + ImGuiNative.ImDrawList_PathRect(NativePtr, rect_min, rect_max, rounding, rounding_corners); } public void PathRect(Vector2 rect_min, Vector2 rect_max, float rounding) { - int rounding_corners_flags = (int)ImDrawCornerFlags.All; - ImGuiNative.ImDrawList_PathRect(NativePtr, rect_min, rect_max, rounding, rounding_corners_flags); + ImDrawCornerFlags rounding_corners = ImDrawCornerFlags.All; + ImGuiNative.ImDrawList_PathRect(NativePtr, rect_min, rect_max, rounding, rounding_corners); } - public void PathRect(Vector2 rect_min, Vector2 rect_max, float rounding, int rounding_corners_flags) + public void PathRect(Vector2 rect_min, Vector2 rect_max, float rounding, ImDrawCornerFlags rounding_corners) { - ImGuiNative.ImDrawList_PathRect(NativePtr, rect_min, rect_max, rounding, rounding_corners_flags); + ImGuiNative.ImDrawList_PathRect(NativePtr, rect_min, rect_max, rounding, rounding_corners); } public void PathStroke(uint col, bool closed) { diff --git a/src/ImGui.NET/Generated/ImDrawListFlags.gen.cs b/src/ImGui.NET/Generated/ImDrawListFlags.gen.cs index c5b08848..722263c9 100644 --- a/src/ImGui.NET/Generated/ImDrawListFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawListFlags.gen.cs @@ -3,7 +3,9 @@ namespace ImGuiNET [System.Flags] public enum ImDrawListFlags { + None = 0, AntiAliasedLines = 1 << 0, AntiAliasedFill = 1 << 1, + AllowVtxOffset = 1 << 2, } } diff --git a/src/ImGui.NET/Generated/ImDrawListSplitter.gen.cs b/src/ImGui.NET/Generated/ImDrawListSplitter.gen.cs new file mode 100644 index 00000000..a38fe7a4 --- /dev/null +++ b/src/ImGui.NET/Generated/ImDrawListSplitter.gen.cs @@ -0,0 +1,53 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImDrawListSplitter + { + public int _Current; + public int _Count; + public ImVector _Channels; + } + public unsafe partial struct ImDrawListSplitterPtr + { + public ImDrawListSplitter* NativePtr { get; } + public ImDrawListSplitterPtr(ImDrawListSplitter* nativePtr) => NativePtr = nativePtr; + public ImDrawListSplitterPtr(IntPtr nativePtr) => NativePtr = (ImDrawListSplitter*)nativePtr; + public static implicit operator ImDrawListSplitterPtr(ImDrawListSplitter* nativePtr) => new ImDrawListSplitterPtr(nativePtr); + public static implicit operator ImDrawListSplitter* (ImDrawListSplitterPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImDrawListSplitterPtr(IntPtr nativePtr) => new ImDrawListSplitterPtr(nativePtr); + public ref int _Current => ref Unsafe.AsRef(&NativePtr->_Current); + public ref int _Count => ref Unsafe.AsRef(&NativePtr->_Count); + public ImPtrVector _Channels => new ImPtrVector(NativePtr->_Channels, Unsafe.SizeOf()); + public void Clear() + { + ImGuiNative.ImDrawListSplitter_Clear(NativePtr); + } + public void ClearFreeMemory() + { + ImGuiNative.ImDrawListSplitter_ClearFreeMemory(NativePtr); + } + public void Destroy() + { + ImGuiNative.ImDrawListSplitter_destroy(NativePtr); + } + public void Merge(ImDrawListPtr draw_list) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + ImGuiNative.ImDrawListSplitter_Merge(NativePtr, native_draw_list); + } + public void SetCurrentChannel(ImDrawListPtr draw_list, int channel_idx) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + ImGuiNative.ImDrawListSplitter_SetCurrentChannel(NativePtr, native_draw_list, channel_idx); + } + public void Split(ImDrawListPtr draw_list, int count) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + ImGuiNative.ImDrawListSplitter_Split(NativePtr, native_draw_list, count); + } + } +} diff --git a/src/ImGui.NET/Generated/ImFont.gen.cs b/src/ImGui.NET/Generated/ImFont.gen.cs index 2e6a6c2d..76ccc581 100644 --- a/src/ImGui.NET/Generated/ImFont.gen.cs +++ b/src/ImGui.NET/Generated/ImFont.gen.cs @@ -7,22 +7,23 @@ namespace ImGuiNET { public unsafe partial struct ImFont { - public float FontSize; - public float Scale; - public Vector2 DisplayOffset; - public ImVector Glyphs; public ImVector IndexAdvanceX; + public float FallbackAdvanceX; + public float FontSize; public ImVector IndexLookup; + public ImVector Glyphs; public ImFontGlyph* FallbackGlyph; - public float FallbackAdvanceX; - public ushort FallbackChar; - public short ConfigDataCount; - public ImFontConfig* ConfigData; + public Vector2 DisplayOffset; public ImFontAtlas* ContainerAtlas; + public ImFontConfig* ConfigData; + public short ConfigDataCount; + public ushort FallbackChar; + public ushort EllipsisChar; + public float Scale; public float Ascent; public float Descent; - public byte DirtyLookupTables; public int MetricsTotalSurface; + public byte DirtyLookupTables; } public unsafe partial struct ImFontPtr { @@ -32,22 +33,23 @@ public unsafe partial struct ImFontPtr public static implicit operator ImFontPtr(ImFont* nativePtr) => new ImFontPtr(nativePtr); public static implicit operator ImFont* (ImFontPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImFontPtr(IntPtr nativePtr) => new ImFontPtr(nativePtr); - public ref float FontSize => ref Unsafe.AsRef(&NativePtr->FontSize); - public ref float Scale => ref Unsafe.AsRef(&NativePtr->Scale); - public ref Vector2 DisplayOffset => ref Unsafe.AsRef(&NativePtr->DisplayOffset); - public ImPtrVector Glyphs => new ImPtrVector(NativePtr->Glyphs, Unsafe.SizeOf()); public ImVector IndexAdvanceX => new ImVector(NativePtr->IndexAdvanceX); + public ref float FallbackAdvanceX => ref Unsafe.AsRef(&NativePtr->FallbackAdvanceX); + public ref float FontSize => ref Unsafe.AsRef(&NativePtr->FontSize); public ImVector IndexLookup => new ImVector(NativePtr->IndexLookup); + public ImPtrVector Glyphs => new ImPtrVector(NativePtr->Glyphs, Unsafe.SizeOf()); public ImFontGlyphPtr FallbackGlyph => new ImFontGlyphPtr(NativePtr->FallbackGlyph); - public ref float FallbackAdvanceX => ref Unsafe.AsRef(&NativePtr->FallbackAdvanceX); - public ref ushort FallbackChar => ref Unsafe.AsRef(&NativePtr->FallbackChar); - public ref short ConfigDataCount => ref Unsafe.AsRef(&NativePtr->ConfigDataCount); - public ImFontConfigPtr ConfigData => new ImFontConfigPtr(NativePtr->ConfigData); + public ref Vector2 DisplayOffset => ref Unsafe.AsRef(&NativePtr->DisplayOffset); public ImFontAtlasPtr ContainerAtlas => new ImFontAtlasPtr(NativePtr->ContainerAtlas); + public ImFontConfigPtr ConfigData => new ImFontConfigPtr(NativePtr->ConfigData); + public ref short ConfigDataCount => ref Unsafe.AsRef(&NativePtr->ConfigDataCount); + public ref ushort FallbackChar => ref Unsafe.AsRef(&NativePtr->FallbackChar); + public ref ushort EllipsisChar => ref Unsafe.AsRef(&NativePtr->EllipsisChar); + public ref float Scale => ref Unsafe.AsRef(&NativePtr->Scale); public ref float Ascent => ref Unsafe.AsRef(&NativePtr->Ascent); public ref float Descent => ref Unsafe.AsRef(&NativePtr->Descent); - public ref bool DirtyLookupTables => ref Unsafe.AsRef(&NativePtr->DirtyLookupTables); public ref int MetricsTotalSurface => ref Unsafe.AsRef(&NativePtr->MetricsTotalSurface); + public ref bool DirtyLookupTables => ref Unsafe.AsRef(&NativePtr->DirtyLookupTables); public void AddGlyph(ushort c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x) { ImGuiNative.ImFont_AddGlyph(NativePtr, c, x0, y0, x1, y1, u0, v0, u1, v1, advance_x); @@ -70,6 +72,10 @@ public void ClearOutputData() { ImGuiNative.ImFont_ClearOutputData(NativePtr); } + public void Destroy() + { + ImGuiNative.ImFont_destroy(NativePtr); + } public ImFontGlyphPtr FindGlyph(ushort c) { ImFontGlyph* ret = ImGuiNative.ImFont_FindGlyph(NativePtr, c); diff --git a/src/ImGui.NET/Generated/ImFontAtlas.gen.cs b/src/ImGui.NET/Generated/ImFontAtlas.gen.cs index ead9719d..295b71c7 100644 --- a/src/ImGui.NET/Generated/ImFontAtlas.gen.cs +++ b/src/ImGui.NET/Generated/ImFontAtlas.gen.cs @@ -43,7 +43,7 @@ public unsafe partial struct ImFontAtlasPtr public ref Vector2 TexUvScale => ref Unsafe.AsRef(&NativePtr->TexUvScale); public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&NativePtr->TexUvWhitePixel); public ImVector Fonts => new ImVector(NativePtr->Fonts); - public ImVector CustomRects => new ImVector(NativePtr->CustomRects); + public ImPtrVector CustomRects => new ImPtrVector(NativePtr->CustomRects, Unsafe.SizeOf()); public ImPtrVector ConfigData => new ImPtrVector(NativePtr->ConfigData, Unsafe.SizeOf()); public RangeAccessor CustomRectIds => new RangeAccessor(NativePtr->CustomRectIds, 1); public int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advance_x) @@ -309,16 +309,14 @@ public bool Build() byte ret = ImGuiNative.ImFontAtlas_Build(NativePtr); return ret != 0; } - public void CalcCustomRectUV(ref CustomRect rect, out Vector2 out_uv_min, out Vector2 out_uv_max) + public void CalcCustomRectUV(ImFontAtlasCustomRectPtr rect, out Vector2 out_uv_min, out Vector2 out_uv_max) { - fixed (CustomRect* native_rect = &rect) + ImFontAtlasCustomRect* native_rect = rect.NativePtr; + fixed (Vector2* native_out_uv_min = &out_uv_min) { - fixed (Vector2* native_out_uv_min = &out_uv_min) + fixed (Vector2* native_out_uv_max = &out_uv_max) { - fixed (Vector2* native_out_uv_max = &out_uv_max) - { - ImGuiNative.ImFontAtlas_CalcCustomRectUV(NativePtr, native_rect, native_out_uv_min, native_out_uv_max); - } + ImGuiNative.ImFontAtlas_CalcCustomRectUV(NativePtr, native_rect, native_out_uv_min, native_out_uv_max); } } } @@ -338,10 +336,14 @@ public void ClearTexData() { ImGuiNative.ImFontAtlas_ClearTexData(NativePtr); } - public CustomRect* GetCustomRectByIndex(int index) + public void Destroy() { - CustomRect* ret = ImGuiNative.ImFontAtlas_GetCustomRectByIndex(NativePtr, index); - return ret; + ImGuiNative.ImFontAtlas_destroy(NativePtr); + } + public ImFontAtlasCustomRectPtr GetCustomRectByIndex(int index) + { + ImFontAtlasCustomRect* ret = ImGuiNative.ImFontAtlas_GetCustomRectByIndex(NativePtr, index); + return new ImFontAtlasCustomRectPtr(ret); } public IntPtr GetGlyphRangesChineseFull() { @@ -378,6 +380,11 @@ public IntPtr GetGlyphRangesThai() ushort* ret = ImGuiNative.ImFontAtlas_GetGlyphRangesThai(NativePtr); return (IntPtr)ret; } + public IntPtr GetGlyphRangesVietnamese() + { + ushort* ret = ImGuiNative.ImFontAtlas_GetGlyphRangesVietnamese(NativePtr); + return (IntPtr)ret; + } public bool GetMouseCursorTexData(ImGuiMouseCursor cursor, out Vector2 out_offset, out Vector2 out_size, out Vector2 out_uv_border, out Vector2 out_uv_fill) { fixed (Vector2* native_out_offset = &out_offset) @@ -425,6 +432,36 @@ public void GetTexDataAsAlpha8(out byte* out_pixels, out int out_width, out int } } } + public void GetTexDataAsAlpha8(out IntPtr out_pixels, out int out_width, out int out_height) + { + int* out_bytes_per_pixel = null; + fixed (IntPtr* native_out_pixels = &out_pixels) + { + fixed (int* native_out_width = &out_width) + { + fixed (int* native_out_height = &out_height) + { + ImGuiNative.ImFontAtlas_GetTexDataAsAlpha8(NativePtr, native_out_pixels, native_out_width, native_out_height, out_bytes_per_pixel); + } + } + } + } + public void GetTexDataAsAlpha8(out IntPtr out_pixels, out int out_width, out int out_height, out int out_bytes_per_pixel) + { + fixed (IntPtr* native_out_pixels = &out_pixels) + { + fixed (int* native_out_width = &out_width) + { + fixed (int* native_out_height = &out_height) + { + fixed (int* native_out_bytes_per_pixel = &out_bytes_per_pixel) + { + ImGuiNative.ImFontAtlas_GetTexDataAsAlpha8(NativePtr, native_out_pixels, native_out_width, native_out_height, native_out_bytes_per_pixel); + } + } + } + } + } public void GetTexDataAsRGBA32(out byte* out_pixels, out int out_width, out int out_height) { int* out_bytes_per_pixel = null; @@ -455,6 +492,36 @@ public void GetTexDataAsRGBA32(out byte* out_pixels, out int out_width, out int } } } + public void GetTexDataAsRGBA32(out IntPtr out_pixels, out int out_width, out int out_height) + { + int* out_bytes_per_pixel = null; + fixed (IntPtr* native_out_pixels = &out_pixels) + { + fixed (int* native_out_width = &out_width) + { + fixed (int* native_out_height = &out_height) + { + ImGuiNative.ImFontAtlas_GetTexDataAsRGBA32(NativePtr, native_out_pixels, native_out_width, native_out_height, out_bytes_per_pixel); + } + } + } + } + public void GetTexDataAsRGBA32(out IntPtr out_pixels, out int out_width, out int out_height, out int out_bytes_per_pixel) + { + fixed (IntPtr* native_out_pixels = &out_pixels) + { + fixed (int* native_out_width = &out_width) + { + fixed (int* native_out_height = &out_height) + { + fixed (int* native_out_bytes_per_pixel = &out_bytes_per_pixel) + { + ImGuiNative.ImFontAtlas_GetTexDataAsRGBA32(NativePtr, native_out_pixels, native_out_width, native_out_height, native_out_bytes_per_pixel); + } + } + } + } + } public bool IsBuilt() { byte ret = ImGuiNative.ImFontAtlas_IsBuilt(NativePtr); diff --git a/src/ImGui.NET/Generated/CustomRect.gen.cs b/src/ImGui.NET/Generated/ImFontAtlasCustomRect.gen.cs similarity index 52% rename from src/ImGui.NET/Generated/CustomRect.gen.cs rename to src/ImGui.NET/Generated/ImFontAtlasCustomRect.gen.cs index c12a7278..d1c59f3a 100644 --- a/src/ImGui.NET/Generated/CustomRect.gen.cs +++ b/src/ImGui.NET/Generated/ImFontAtlasCustomRect.gen.cs @@ -5,7 +5,7 @@ namespace ImGuiNET { - public unsafe partial struct CustomRect + public unsafe partial struct ImFontAtlasCustomRect { public uint ID; public ushort Width; @@ -16,14 +16,14 @@ public unsafe partial struct CustomRect public Vector2 GlyphOffset; public ImFont* Font; } - public unsafe partial struct CustomRectPtr + public unsafe partial struct ImFontAtlasCustomRectPtr { - public CustomRect* NativePtr { get; } - public CustomRectPtr(CustomRect* nativePtr) => NativePtr = nativePtr; - public CustomRectPtr(IntPtr nativePtr) => NativePtr = (CustomRect*)nativePtr; - public static implicit operator CustomRectPtr(CustomRect* nativePtr) => new CustomRectPtr(nativePtr); - public static implicit operator CustomRect* (CustomRectPtr wrappedPtr) => wrappedPtr.NativePtr; - public static implicit operator CustomRectPtr(IntPtr nativePtr) => new CustomRectPtr(nativePtr); + public ImFontAtlasCustomRect* NativePtr { get; } + public ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* nativePtr) => NativePtr = nativePtr; + public ImFontAtlasCustomRectPtr(IntPtr nativePtr) => NativePtr = (ImFontAtlasCustomRect*)nativePtr; + public static implicit operator ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* nativePtr) => new ImFontAtlasCustomRectPtr(nativePtr); + public static implicit operator ImFontAtlasCustomRect* (ImFontAtlasCustomRectPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImFontAtlasCustomRectPtr(IntPtr nativePtr) => new ImFontAtlasCustomRectPtr(nativePtr); public ref uint ID => ref Unsafe.AsRef(&NativePtr->ID); public ref ushort Width => ref Unsafe.AsRef(&NativePtr->Width); public ref ushort Height => ref Unsafe.AsRef(&NativePtr->Height); @@ -32,9 +32,13 @@ public unsafe partial struct CustomRectPtr public ref float GlyphAdvanceX => ref Unsafe.AsRef(&NativePtr->GlyphAdvanceX); public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&NativePtr->GlyphOffset); public ImFontPtr Font => new ImFontPtr(NativePtr->Font); + public void Destroy() + { + ImGuiNative.ImFontAtlasCustomRect_destroy(NativePtr); + } public bool IsPacked() { - byte ret = ImGuiNative.CustomRect_IsPacked(NativePtr); + byte ret = ImGuiNative.ImFontAtlasCustomRect_IsPacked(NativePtr); return ret != 0; } } diff --git a/src/ImGui.NET/Generated/ImFontConfig.gen.cs b/src/ImGui.NET/Generated/ImFontConfig.gen.cs index 9a55b828..35676ea3 100644 --- a/src/ImGui.NET/Generated/ImFontConfig.gen.cs +++ b/src/ImGui.NET/Generated/ImFontConfig.gen.cs @@ -23,6 +23,7 @@ public unsafe partial struct ImFontConfig public byte MergeMode; public uint RasterizerFlags; public float RasterizerMultiply; + public ushort EllipsisChar; public fixed byte Name[40]; public ImFont* DstFont; } @@ -50,7 +51,12 @@ public unsafe partial struct ImFontConfigPtr public ref bool MergeMode => ref Unsafe.AsRef(&NativePtr->MergeMode); public ref uint RasterizerFlags => ref Unsafe.AsRef(&NativePtr->RasterizerFlags); public ref float RasterizerMultiply => ref Unsafe.AsRef(&NativePtr->RasterizerMultiply); + public ref ushort EllipsisChar => ref Unsafe.AsRef(&NativePtr->EllipsisChar); public RangeAccessor Name => new RangeAccessor(NativePtr->Name, 40); public ImFontPtr DstFont => new ImFontPtr(NativePtr->DstFont); + public void Destroy() + { + ImGuiNative.ImFontConfig_destroy(NativePtr); + } } } diff --git a/src/ImGui.NET/Generated/GlyphRangesBuilder.gen.cs b/src/ImGui.NET/Generated/ImFontGlyphRangesBuilder.gen.cs similarity index 50% rename from src/ImGui.NET/Generated/GlyphRangesBuilder.gen.cs rename to src/ImGui.NET/Generated/ImFontGlyphRangesBuilder.gen.cs index fdf9024f..a66b9ec6 100644 --- a/src/ImGui.NET/Generated/GlyphRangesBuilder.gen.cs +++ b/src/ImGui.NET/Generated/ImFontGlyphRangesBuilder.gen.cs @@ -5,27 +5,27 @@ namespace ImGuiNET { - public unsafe partial struct GlyphRangesBuilder + public unsafe partial struct ImFontGlyphRangesBuilder { public ImVector UsedChars; } - public unsafe partial struct GlyphRangesBuilderPtr + public unsafe partial struct ImFontGlyphRangesBuilderPtr { - public GlyphRangesBuilder* NativePtr { get; } - public GlyphRangesBuilderPtr(GlyphRangesBuilder* nativePtr) => NativePtr = nativePtr; - public GlyphRangesBuilderPtr(IntPtr nativePtr) => NativePtr = (GlyphRangesBuilder*)nativePtr; - public static implicit operator GlyphRangesBuilderPtr(GlyphRangesBuilder* nativePtr) => new GlyphRangesBuilderPtr(nativePtr); - public static implicit operator GlyphRangesBuilder* (GlyphRangesBuilderPtr wrappedPtr) => wrappedPtr.NativePtr; - public static implicit operator GlyphRangesBuilderPtr(IntPtr nativePtr) => new GlyphRangesBuilderPtr(nativePtr); - public ImVector UsedChars => new ImVector(NativePtr->UsedChars); + public ImFontGlyphRangesBuilder* NativePtr { get; } + public ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* nativePtr) => NativePtr = nativePtr; + public ImFontGlyphRangesBuilderPtr(IntPtr nativePtr) => NativePtr = (ImFontGlyphRangesBuilder*)nativePtr; + public static implicit operator ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* nativePtr) => new ImFontGlyphRangesBuilderPtr(nativePtr); + public static implicit operator ImFontGlyphRangesBuilder* (ImFontGlyphRangesBuilderPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImFontGlyphRangesBuilderPtr(IntPtr nativePtr) => new ImFontGlyphRangesBuilderPtr(nativePtr); + public ImVector UsedChars => new ImVector(NativePtr->UsedChars); public void AddChar(ushort c) { - ImGuiNative.GlyphRangesBuilder_AddChar(NativePtr, c); + ImGuiNative.ImFontGlyphRangesBuilder_AddChar(NativePtr, c); } public void AddRanges(IntPtr ranges) { ushort* native_ranges = (ushort*)ranges.ToPointer(); - ImGuiNative.GlyphRangesBuilder_AddRanges(NativePtr, native_ranges); + ImGuiNative.ImFontGlyphRangesBuilder_AddRanges(NativePtr, native_ranges); } public void AddText(string text) { @@ -48,7 +48,7 @@ public void AddText(string text) } else { native_text = null; } byte* native_text_end = null; - ImGuiNative.GlyphRangesBuilder_AddText(NativePtr, native_text, native_text_end); + ImGuiNative.ImFontGlyphRangesBuilder_AddText(NativePtr, native_text, native_text_end); if (text_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_text); @@ -58,17 +58,25 @@ public void BuildRanges(out ImVector out_ranges) { fixed (ImVector* native_out_ranges = &out_ranges) { - ImGuiNative.GlyphRangesBuilder_BuildRanges(NativePtr, native_out_ranges); + ImGuiNative.ImFontGlyphRangesBuilder_BuildRanges(NativePtr, native_out_ranges); } } + public void Clear() + { + ImGuiNative.ImFontGlyphRangesBuilder_Clear(NativePtr); + } + public void Destroy() + { + ImGuiNative.ImFontGlyphRangesBuilder_destroy(NativePtr); + } public bool GetBit(int n) { - byte ret = ImGuiNative.GlyphRangesBuilder_GetBit(NativePtr, n); + byte ret = ImGuiNative.ImFontGlyphRangesBuilder_GetBit(NativePtr, n); return ret != 0; } public void SetBit(int n) { - ImGuiNative.GlyphRangesBuilder_SetBit(NativePtr, n); + ImGuiNative.ImFontGlyphRangesBuilder_SetBit(NativePtr, n); } } } diff --git a/src/ImGui.NET/Generated/ImGui.gen.cs b/src/ImGui.NET/Generated/ImGui.gen.cs index 683e95c2..b4b8536a 100644 --- a/src/ImGui.NET/Generated/ImGui.gen.cs +++ b/src/ImGui.NET/Generated/ImGui.gen.cs @@ -885,6 +885,151 @@ public static bool BeginPopupModal(string name, ref bool p_open, ImGuiWindowFlag p_open = native_p_open_val != 0; return ret != 0; } + public static bool BeginTabBar(string str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiTabBarFlags flags = 0; + byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } + public static bool BeginTabBar(string str_id, ImGuiTabBarFlags flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } + public static bool BeginTabItem(string label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* p_open = null; + ImGuiTabItemFlags flags = 0; + byte ret = ImGuiNative.igBeginTabItem(native_label, p_open, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + public static bool BeginTabItem(string label, ref bool p_open) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiTabItemFlags flags = 0; + byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + p_open = native_p_open_val != 0; + return ret != 0; + } + public static bool BeginTabItem(string label, ref bool p_open, ImGuiTabItemFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + p_open = native_p_open_val != 0; + return ret != 0; + } public static void BeginTooltip() { ImGuiNative.igBeginTooltip(); @@ -1011,23 +1156,23 @@ public static Vector2 CalcTextSize(string text) } public static void CaptureKeyboardFromApp() { - byte capture = 1; - ImGuiNative.igCaptureKeyboardFromApp(capture); + byte want_capture_keyboard_value = 1; + ImGuiNative.igCaptureKeyboardFromApp(want_capture_keyboard_value); } - public static void CaptureKeyboardFromApp(bool capture) + public static void CaptureKeyboardFromApp(bool want_capture_keyboard_value) { - byte native_capture = capture ? (byte)1 : (byte)0; - ImGuiNative.igCaptureKeyboardFromApp(native_capture); + byte native_want_capture_keyboard_value = want_capture_keyboard_value ? (byte)1 : (byte)0; + ImGuiNative.igCaptureKeyboardFromApp(native_want_capture_keyboard_value); } public static void CaptureMouseFromApp() { - byte capture = 1; - ImGuiNative.igCaptureMouseFromApp(capture); + byte want_capture_mouse_value = 1; + ImGuiNative.igCaptureMouseFromApp(want_capture_mouse_value); } - public static void CaptureMouseFromApp(bool capture) + public static void CaptureMouseFromApp(bool want_capture_mouse_value) { - byte native_capture = capture ? (byte)1 : (byte)0; - ImGuiNative.igCaptureMouseFromApp(native_capture); + byte native_want_capture_mouse_value = want_capture_mouse_value ? (byte)1 : (byte)0; + ImGuiNative.igCaptureMouseFromApp(native_want_capture_mouse_value); } public static bool Checkbox(string label, ref bool v) { @@ -1907,7 +2052,7 @@ public static IntPtr CreateContext(ImFontAtlasPtr shared_font_atlas) IntPtr ret = ImGuiNative.igCreateContext(native_shared_font_atlas); return ret; } - public static bool DebugCheckVersionAndDataLayout(string version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert) + public static bool DebugCheckVersionAndDataLayout(string version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert, uint sz_drawidx) { byte* native_version_str; int version_str_byteCount = 0; @@ -1927,7 +2072,7 @@ public static bool DebugCheckVersionAndDataLayout(string version_str, uint sz_io native_version_str[native_version_str_offset] = 0; } else { native_version_str = null; } - byte ret = ImGuiNative.igDebugCheckVersionAndDataLayout(native_version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert); + byte ret = ImGuiNative.igDebugCheckVersionAndDataLayout(native_version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx); if (version_str_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_version_str); @@ -1943,6 +2088,63 @@ public static void DestroyContext(IntPtr ctx) { ImGuiNative.igDestroyContext(ctx); } + public static void DestroyPlatformWindows() + { + ImGuiNative.igDestroyPlatformWindows(); + } + public static void DockSpace(uint id) + { + Vector2 size = new Vector2(); + ImGuiDockNodeFlags flags = 0; + ImGuiWindowClass* window_class = null; + ImGuiNative.igDockSpace(id, size, flags, window_class); + } + public static void DockSpace(uint id, Vector2 size) + { + ImGuiDockNodeFlags flags = 0; + ImGuiWindowClass* window_class = null; + ImGuiNative.igDockSpace(id, size, flags, window_class); + } + public static void DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags) + { + ImGuiWindowClass* window_class = null; + ImGuiNative.igDockSpace(id, size, flags, window_class); + } + public static void DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr window_class) + { + ImGuiWindowClass* native_window_class = window_class.NativePtr; + ImGuiNative.igDockSpace(id, size, flags, native_window_class); + } + public static uint DockSpaceOverViewport() + { + ImGuiViewport* viewport = null; + ImGuiDockNodeFlags flags = 0; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpaceOverViewport(viewport, flags, window_class); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImGuiDockNodeFlags flags = 0; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpaceOverViewport(native_viewport, flags, window_class); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpaceOverViewport(native_viewport, flags, window_class); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr window_class) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImGuiWindowClass* native_window_class = window_class.NativePtr; + uint ret = ImGuiNative.igDockSpaceOverViewport(native_viewport, flags, native_window_class); + return ret; + } public static bool DragFloat(string label, ref float v) { byte* native_label; @@ -5402,10 +5604,40 @@ public static void EndPopup() { ImGuiNative.igEndPopup(); } + public static void EndTabBar() + { + ImGuiNative.igEndTabBar(); + } + public static void EndTabItem() + { + ImGuiNative.igEndTabItem(); + } public static void EndTooltip() { ImGuiNative.igEndTooltip(); } + public static ImGuiViewportPtr FindViewportByID(uint id) + { + ImGuiViewport* ret = ImGuiNative.igFindViewportByID(id); + return new ImGuiViewportPtr(ret); + } + public static ImGuiViewportPtr FindViewportByPlatformHandle(IntPtr platform_handle) + { + void* native_platform_handle = (void*)platform_handle.ToPointer(); + ImGuiViewport* ret = ImGuiNative.igFindViewportByPlatformHandle(native_platform_handle); + return new ImGuiViewportPtr(ret); + } + public static ImDrawListPtr GetBackgroundDrawList() + { + ImDrawList* ret = ImGuiNative.igGetBackgroundDrawList(); + return new ImDrawListPtr(ret); + } + public static ImDrawListPtr GetBackgroundDrawList(ImGuiViewportPtr viewport) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImDrawList* ret = ImGuiNative.igGetBackgroundDrawListViewportPtr(native_viewport); + return new ImDrawListPtr(ret); + } public static string GetClipboardText() { byte* ret = ImGuiNative.igGetClipboardText(); @@ -5469,11 +5701,6 @@ public static Vector2 GetContentRegionAvail() Vector2 ret = ImGuiNative.igGetContentRegionAvail(); return ret; } - public static float GetContentRegionAvailWidth() - { - float ret = ImGuiNative.igGetContentRegionAvailWidth(); - return ret; - } public static Vector2 GetContentRegionMax() { Vector2 ret = ImGuiNative.igGetContentRegionMax(); @@ -5539,6 +5766,17 @@ public static Vector2 GetFontTexUvWhitePixel() Vector2 ret = ImGuiNative.igGetFontTexUvWhitePixel(); return ret; } + public static ImDrawListPtr GetForegroundDrawList() + { + ImDrawList* ret = ImGuiNative.igGetForegroundDrawList(); + return new ImDrawListPtr(ret); + } + public static ImDrawListPtr GetForegroundDrawList(ImGuiViewportPtr viewport) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImDrawList* ret = ImGuiNative.igGetForegroundDrawListViewportPtr(native_viewport); + return new ImDrawListPtr(ret); + } public static int GetFrameCount() { int ret = ImGuiNative.igGetFrameCount(); @@ -5617,6 +5855,11 @@ public static int GetKeyPressedAmount(int key_index, float repeat_delay, float r int ret = ImGuiNative.igGetKeyPressedAmount(key_index, repeat_delay, rate); return ret; } + public static ImGuiViewportPtr GetMainViewport() + { + ImGuiViewport* ret = ImGuiNative.igGetMainViewport(); + return new ImGuiViewportPtr(ret); + } public static ImGuiMouseCursor GetMouseCursor() { ImGuiMouseCursor ret = ImGuiNative.igGetMouseCursor(); @@ -5650,10 +5893,10 @@ public static Vector2 GetMousePosOnOpeningCurrentPopup() Vector2 ret = ImGuiNative.igGetMousePosOnOpeningCurrentPopup(); return ret; } - public static ImDrawListPtr GetOverlayDrawList() + public static ImGuiPlatformIOPtr GetPlatformIO() { - ImDrawList* ret = ImGuiNative.igGetOverlayDrawList(); - return new ImDrawListPtr(ret); + ImGuiPlatformIO* ret = ImGuiNative.igGetPlatformIO(); + return new ImGuiPlatformIOPtr(ret); } public static float GetScrollMaxX() { @@ -5735,6 +5978,16 @@ public static float GetWindowContentRegionWidth() float ret = ImGuiNative.igGetWindowContentRegionWidth(); return ret; } + public static uint GetWindowDockID() + { + uint ret = ImGuiNative.igGetWindowDockID(); + return ret; + } + public static float GetWindowDpiScale() + { + float ret = ImGuiNative.igGetWindowDpiScale(); + return ret; + } public static ImDrawListPtr GetWindowDrawList() { ImDrawList* ret = ImGuiNative.igGetWindowDrawList(); @@ -5755,6 +6008,11 @@ public static Vector2 GetWindowSize() Vector2 ret = ImGuiNative.igGetWindowSize(); return ret; } + public static ImGuiViewportPtr GetWindowViewport() + { + ImGuiViewport* ret = ImGuiNative.igGetWindowViewport(); + return new ImGuiViewportPtr(ret); + } public static float GetWindowWidth() { float ret = ImGuiNative.igGetWindowWidth(); @@ -5864,8 +6122,8 @@ public static bool InputDouble(string label, ref double v) native_label[native_label_offset] = 0; } else { native_label = null; } - double step = 0.0f; - double step_fast = 0.0f; + double step = 0.0; + double step_fast = 0.0; byte* native_format; int format_byteCount = 0; format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); @@ -5880,10 +6138,10 @@ public static bool InputDouble(string label, ref double v) } int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (double* native_v = &v) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -5915,7 +6173,7 @@ public static bool InputDouble(string label, ref double v, double step) native_label[native_label_offset] = 0; } else { native_label = null; } - double step_fast = 0.0f; + double step_fast = 0.0; byte* native_format; int format_byteCount = 0; format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); @@ -5930,10 +6188,10 @@ public static bool InputDouble(string label, ref double v, double step) } int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (double* native_v = &v) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -5979,10 +6237,10 @@ public static bool InputDouble(string label, ref double v, double step, double s } int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (double* native_v = &v) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6032,10 +6290,10 @@ public static bool InputDouble(string label, ref double v, double step, double s native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (double* native_v = &v) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6047,7 +6305,7 @@ public static bool InputDouble(string label, ref double v, double step, double s return ret != 0; } } - public static bool InputDouble(string label, ref double v, double step, double step_fast, string format, ImGuiInputTextFlags extra_flags) + public static bool InputDouble(string label, ref double v, double step, double step_fast, string format, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -6087,7 +6345,7 @@ public static bool InputDouble(string label, ref double v, double step, double s else { native_format = null; } fixed (double* native_v = &v) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6135,10 +6393,10 @@ public static bool InputFloat(string label, ref float v) } int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (float* native_v = &v) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6185,10 +6443,10 @@ public static bool InputFloat(string label, ref float v, float step) } int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (float* native_v = &v) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6234,10 +6492,10 @@ public static bool InputFloat(string label, ref float v, float step, float step_ } int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (float* native_v = &v) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6287,10 +6545,10 @@ public static bool InputFloat(string label, ref float v, float step, float step_ native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (float* native_v = &v) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6302,7 +6560,7 @@ public static bool InputFloat(string label, ref float v, float step, float step_ return ret != 0; } } - public static bool InputFloat(string label, ref float v, float step, float step_fast, string format, ImGuiInputTextFlags extra_flags) + public static bool InputFloat(string label, ref float v, float step, float step_fast, string format, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -6342,7 +6600,7 @@ public static bool InputFloat(string label, ref float v, float step, float step_ else { native_format = null; } fixed (float* native_v = &v) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6388,10 +6646,10 @@ public static bool InputFloat2(string label, ref Vector2 v) } int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6441,10 +6699,10 @@ public static bool InputFloat2(string label, ref Vector2 v, string format) native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6456,7 +6714,7 @@ public static bool InputFloat2(string label, ref Vector2 v, string format) return ret != 0; } } - public static bool InputFloat2(string label, ref Vector2 v, string format, ImGuiInputTextFlags extra_flags) + public static bool InputFloat2(string label, ref Vector2 v, string format, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -6496,7 +6754,7 @@ public static bool InputFloat2(string label, ref Vector2 v, string format, ImGui else { native_format = null; } fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6542,10 +6800,10 @@ public static bool InputFloat3(string label, ref Vector3 v) } int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (Vector3* native_v = &v) { - byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6595,10 +6853,10 @@ public static bool InputFloat3(string label, ref Vector3 v, string format) native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (Vector3* native_v = &v) { - byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6610,7 +6868,7 @@ public static bool InputFloat3(string label, ref Vector3 v, string format) return ret != 0; } } - public static bool InputFloat3(string label, ref Vector3 v, string format, ImGuiInputTextFlags extra_flags) + public static bool InputFloat3(string label, ref Vector3 v, string format, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -6650,7 +6908,7 @@ public static bool InputFloat3(string label, ref Vector3 v, string format, ImGui else { native_format = null; } fixed (Vector3* native_v = &v) { - byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6696,10 +6954,10 @@ public static bool InputFloat4(string label, ref Vector4 v) } int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (Vector4* native_v = &v) { - byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6749,10 +7007,10 @@ public static bool InputFloat4(string label, ref Vector4 v, string format) native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (Vector4* native_v = &v) { - byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6764,7 +7022,7 @@ public static bool InputFloat4(string label, ref Vector4 v, string format) return ret != 0; } } - public static bool InputFloat4(string label, ref Vector4 v, string format, ImGuiInputTextFlags extra_flags) + public static bool InputFloat4(string label, ref Vector4 v, string format, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -6804,7 +7062,7 @@ public static bool InputFloat4(string label, ref Vector4 v, string format, ImGui else { native_format = null; } fixed (Vector4* native_v = &v) { - byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, extra_flags); + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6838,10 +7096,10 @@ public static bool InputInt(string label, ref int v) else { native_label = null; } int step = 1; int step_fast = 100; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, extra_flags); + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6870,10 +7128,10 @@ public static bool InputInt(string label, ref int v, int step) } else { native_label = null; } int step_fast = 100; - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, extra_flags); + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6901,10 +7159,10 @@ public static bool InputInt(string label, ref int v, int step, int step_fast) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, extra_flags); + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6912,7 +7170,7 @@ public static bool InputInt(string label, ref int v, int step, int step_fast) return ret != 0; } } - public static bool InputInt(string label, ref int v, int step, int step_fast, ImGuiInputTextFlags extra_flags) + public static bool InputInt(string label, ref int v, int step, int step_fast, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -6934,7 +7192,7 @@ public static bool InputInt(string label, ref int v, int step, int step_fast, Im else { native_label = null; } fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, extra_flags); + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6962,10 +7220,10 @@ public static bool InputInt2(string label, ref int v) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt2(native_label, native_v, extra_flags); + byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -6973,7 +7231,7 @@ public static bool InputInt2(string label, ref int v) return ret != 0; } } - public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags extra_flags) + public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -6995,7 +7253,7 @@ public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags extra_ else { native_label = null; } fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt2(native_label, native_v, extra_flags); + byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7023,10 +7281,10 @@ public static bool InputInt3(string label, ref int v) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt3(native_label, native_v, extra_flags); + byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7034,7 +7292,7 @@ public static bool InputInt3(string label, ref int v) return ret != 0; } } - public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags extra_flags) + public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7056,7 +7314,7 @@ public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags extra_ else { native_label = null; } fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt3(native_label, native_v, extra_flags); + byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7084,10 +7342,10 @@ public static bool InputInt4(string label, ref int v) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiInputTextFlags extra_flags = 0; + ImGuiInputTextFlags flags = 0; fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt4(native_label, native_v, extra_flags); + byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7095,7 +7353,7 @@ public static bool InputInt4(string label, ref int v) return ret != 0; } } - public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags extra_flags) + public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7117,7 +7375,7 @@ public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags extra_ else { native_label = null; } fixed (int* native_v = &v) { - byte ret = ImGuiNative.igInputInt4(native_label, native_v, extra_flags); + byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7149,8 +7407,8 @@ public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v) void* step = null; void* step_fast = null; byte* native_format = null; - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, step, step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7181,8 +7439,8 @@ public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v, void* native_step = (void*)step.ToPointer(); void* step_fast = null; byte* native_format = null; - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7213,8 +7471,8 @@ public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v, void* native_step = (void*)step.ToPointer(); void* native_step_fast = (void*)step_fast.ToPointer(); byte* native_format = null; - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, native_step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, native_step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7262,8 +7520,8 @@ public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v, native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, native_step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, native_step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7274,7 +7532,7 @@ public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v, } return ret != 0; } - public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v, IntPtr step, IntPtr step_fast, string format, ImGuiInputTextFlags extra_flags) + public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v, IntPtr step, IntPtr step_fast, string format, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7315,7 +7573,7 @@ public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr v, native_format[native_format_offset] = 0; } else { native_format = null; } - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, native_step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_v, native_step, native_step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7350,8 +7608,8 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, void* step = null; void* step_fast = null; byte* native_format = null; - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, step, step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7382,8 +7640,8 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, void* native_step = (void*)step.ToPointer(); void* step_fast = null; byte* native_format = null; - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7414,8 +7672,8 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, void* native_step = (void*)step.ToPointer(); void* native_step_fast = (void*)step_fast.ToPointer(); byte* native_format = null; - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, native_step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, native_step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7463,8 +7721,8 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiInputTextFlags extra_flags = 0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, native_step_fast, native_format, extra_flags); + ImGuiInputTextFlags flags = 0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, native_step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7475,7 +7733,7 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, } return ret != 0; } - public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, int components, IntPtr step, IntPtr step_fast, string format, ImGuiInputTextFlags extra_flags) + public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, int components, IntPtr step, IntPtr step_fast, string format, ImGuiInputTextFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7516,7 +7774,7 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, native_format[native_format_offset] = 0; } else { native_format = null; } - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, native_step_fast, native_format, extra_flags); + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_v, components, native_step, native_step_fast, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -7527,6 +7785,297 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr v, } return ret != 0; } + public static bool InputTextWithHint(string label, string hint, string buf, uint buf_size) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_hint; + int hint_byteCount = 0; + if (hint != null) + { + hint_byteCount = Encoding.UTF8.GetByteCount(hint); + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + native_hint = Util.Allocate(hint_byteCount + 1); + } + else + { + byte* native_hint_stackBytes = stackalloc byte[hint_byteCount + 1]; + native_hint = native_hint_stackBytes; + } + int native_hint_offset = Util.GetUtf8(hint, native_hint, hint_byteCount); + native_hint[native_hint_offset] = 0; + } + else { native_hint = null; } + byte* native_buf; + int buf_byteCount = 0; + if (buf != null) + { + buf_byteCount = Encoding.UTF8.GetByteCount(buf); + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + native_buf = Util.Allocate(buf_byteCount + 1); + } + else + { + byte* native_buf_stackBytes = stackalloc byte[buf_byteCount + 1]; + native_buf = native_buf_stackBytes; + } + int native_buf_offset = Util.GetUtf8(buf, native_buf, buf_byteCount); + native_buf[native_buf_offset] = 0; + } + else { native_buf = null; } + ImGuiInputTextFlags flags = 0; + ImGuiInputTextCallback callback = null; + void* user_data = null; + byte ret = ImGuiNative.igInputTextWithHint(native_label, native_hint, native_buf, buf_size, flags, callback, user_data); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_hint); + } + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_buf); + } + return ret != 0; + } + public static bool InputTextWithHint(string label, string hint, string buf, uint buf_size, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_hint; + int hint_byteCount = 0; + if (hint != null) + { + hint_byteCount = Encoding.UTF8.GetByteCount(hint); + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + native_hint = Util.Allocate(hint_byteCount + 1); + } + else + { + byte* native_hint_stackBytes = stackalloc byte[hint_byteCount + 1]; + native_hint = native_hint_stackBytes; + } + int native_hint_offset = Util.GetUtf8(hint, native_hint, hint_byteCount); + native_hint[native_hint_offset] = 0; + } + else { native_hint = null; } + byte* native_buf; + int buf_byteCount = 0; + if (buf != null) + { + buf_byteCount = Encoding.UTF8.GetByteCount(buf); + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + native_buf = Util.Allocate(buf_byteCount + 1); + } + else + { + byte* native_buf_stackBytes = stackalloc byte[buf_byteCount + 1]; + native_buf = native_buf_stackBytes; + } + int native_buf_offset = Util.GetUtf8(buf, native_buf, buf_byteCount); + native_buf[native_buf_offset] = 0; + } + else { native_buf = null; } + ImGuiInputTextCallback callback = null; + void* user_data = null; + byte ret = ImGuiNative.igInputTextWithHint(native_label, native_hint, native_buf, buf_size, flags, callback, user_data); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_hint); + } + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_buf); + } + return ret != 0; + } + public static bool InputTextWithHint(string label, string hint, string buf, uint buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_hint; + int hint_byteCount = 0; + if (hint != null) + { + hint_byteCount = Encoding.UTF8.GetByteCount(hint); + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + native_hint = Util.Allocate(hint_byteCount + 1); + } + else + { + byte* native_hint_stackBytes = stackalloc byte[hint_byteCount + 1]; + native_hint = native_hint_stackBytes; + } + int native_hint_offset = Util.GetUtf8(hint, native_hint, hint_byteCount); + native_hint[native_hint_offset] = 0; + } + else { native_hint = null; } + byte* native_buf; + int buf_byteCount = 0; + if (buf != null) + { + buf_byteCount = Encoding.UTF8.GetByteCount(buf); + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + native_buf = Util.Allocate(buf_byteCount + 1); + } + else + { + byte* native_buf_stackBytes = stackalloc byte[buf_byteCount + 1]; + native_buf = native_buf_stackBytes; + } + int native_buf_offset = Util.GetUtf8(buf, native_buf, buf_byteCount); + native_buf[native_buf_offset] = 0; + } + else { native_buf = null; } + void* user_data = null; + byte ret = ImGuiNative.igInputTextWithHint(native_label, native_hint, native_buf, buf_size, flags, callback, user_data); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_hint); + } + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_buf); + } + return ret != 0; + } + public static bool InputTextWithHint(string label, string hint, string buf, uint buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, IntPtr user_data) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_hint; + int hint_byteCount = 0; + if (hint != null) + { + hint_byteCount = Encoding.UTF8.GetByteCount(hint); + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + native_hint = Util.Allocate(hint_byteCount + 1); + } + else + { + byte* native_hint_stackBytes = stackalloc byte[hint_byteCount + 1]; + native_hint = native_hint_stackBytes; + } + int native_hint_offset = Util.GetUtf8(hint, native_hint, hint_byteCount); + native_hint[native_hint_offset] = 0; + } + else { native_hint = null; } + byte* native_buf; + int buf_byteCount = 0; + if (buf != null) + { + buf_byteCount = Encoding.UTF8.GetByteCount(buf); + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + native_buf = Util.Allocate(buf_byteCount + 1); + } + else + { + byte* native_buf_stackBytes = stackalloc byte[buf_byteCount + 1]; + native_buf = native_buf_stackBytes; + } + int native_buf_offset = Util.GetUtf8(buf, native_buf, buf_byteCount); + native_buf[native_buf_offset] = 0; + } + else { native_buf = null; } + void* native_user_data = (void*)user_data.ToPointer(); + byte ret = ImGuiNative.igInputTextWithHint(native_label, native_hint, native_buf, buf_size, flags, callback, native_user_data); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (hint_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_hint); + } + if (buf_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_buf); + } + return ret != 0; + } public static bool InvisibleButton(string str_id, Vector2 size) { byte* native_str_id; @@ -7574,6 +8123,11 @@ public static bool IsAnyMouseDown() byte ret = ImGuiNative.igIsAnyMouseDown(); return ret != 0; } + public static bool IsItemActivated() + { + byte ret = ImGuiNative.igIsItemActivated(); + return ret != 0; + } public static bool IsItemActive() { byte ret = ImGuiNative.igIsItemActive(); @@ -7766,6 +8320,11 @@ public static bool IsWindowCollapsed() byte ret = ImGuiNative.igIsWindowCollapsed(); return ret != 0; } + public static bool IsWindowDocked() + { + byte ret = ImGuiNative.igIsWindowDocked(); + return ret != 0; + } public static bool IsWindowFocused() { ImGuiFocusedFlags flags = 0; @@ -8180,25 +8739,25 @@ public static void LogText(string fmt) } public static void LogToClipboard() { - int max_depth = -1; - ImGuiNative.igLogToClipboard(max_depth); + int auto_open_depth = -1; + ImGuiNative.igLogToClipboard(auto_open_depth); } - public static void LogToClipboard(int max_depth) + public static void LogToClipboard(int auto_open_depth) { - ImGuiNative.igLogToClipboard(max_depth); + ImGuiNative.igLogToClipboard(auto_open_depth); } public static void LogToFile() { - int max_depth = -1; + int auto_open_depth = -1; byte* native_filename = null; - ImGuiNative.igLogToFile(max_depth, native_filename); + ImGuiNative.igLogToFile(auto_open_depth, native_filename); } - public static void LogToFile(int max_depth) + public static void LogToFile(int auto_open_depth) { byte* native_filename = null; - ImGuiNative.igLogToFile(max_depth, native_filename); + ImGuiNative.igLogToFile(auto_open_depth, native_filename); } - public static void LogToFile(int max_depth, string filename) + public static void LogToFile(int auto_open_depth, string filename) { byte* native_filename; int filename_byteCount = 0; @@ -8218,7 +8777,7 @@ public static void LogToFile(int max_depth, string filename) native_filename[native_filename_offset] = 0; } else { native_filename = null; } - ImGuiNative.igLogToFile(max_depth, native_filename); + ImGuiNative.igLogToFile(auto_open_depth, native_filename); if (filename_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_filename); @@ -8226,12 +8785,12 @@ public static void LogToFile(int max_depth, string filename) } public static void LogToTTY() { - int max_depth = -1; - ImGuiNative.igLogToTTY(max_depth); + int auto_open_depth = -1; + ImGuiNative.igLogToTTY(auto_open_depth); } - public static void LogToTTY(int max_depth) + public static void LogToTTY(int auto_open_depth) { - ImGuiNative.igLogToTTY(max_depth); + ImGuiNative.igLogToTTY(auto_open_depth); } public static IntPtr MemAlloc(uint size) { @@ -9460,12 +10019,12 @@ public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val) } public static void PushTextWrapPos() { - float wrap_pos_x = 0.0f; - ImGuiNative.igPushTextWrapPos(wrap_pos_x); + float wrap_local_pos_x = 0.0f; + ImGuiNative.igPushTextWrapPos(wrap_local_pos_x); } - public static void PushTextWrapPos(float wrap_pos_x) + public static void PushTextWrapPos(float wrap_local_pos_x) { - ImGuiNative.igPushTextWrapPos(wrap_pos_x); + ImGuiNative.igPushTextWrapPos(wrap_local_pos_x); } public static bool RadioButton(string label, bool active) { @@ -9529,6 +10088,24 @@ public static void Render() { ImGuiNative.igRender(); } + public static void RenderPlatformWindowsDefault() + { + void* platform_arg = null; + void* renderer_arg = null; + ImGuiNative.igRenderPlatformWindowsDefault(platform_arg, renderer_arg); + } + public static void RenderPlatformWindowsDefault(IntPtr platform_arg) + { + void* native_platform_arg = (void*)platform_arg.ToPointer(); + void* renderer_arg = null; + ImGuiNative.igRenderPlatformWindowsDefault(native_platform_arg, renderer_arg); + } + public static void RenderPlatformWindowsDefault(IntPtr platform_arg, IntPtr renderer_arg) + { + void* native_platform_arg = (void*)platform_arg.ToPointer(); + void* native_renderer_arg = (void*)renderer_arg.ToPointer(); + ImGuiNative.igRenderPlatformWindowsDefault(native_platform_arg, native_renderer_arg); + } public static void ResetMouseDragDelta() { int button = 0; @@ -9540,18 +10117,18 @@ public static void ResetMouseDragDelta(int button) } public static void SameLine() { - float pos_x = 0.0f; - float spacing_w = -1.0f; - ImGuiNative.igSameLine(pos_x, spacing_w); + float offset_from_start_x = 0.0f; + float spacing = -1.0f; + ImGuiNative.igSameLine(offset_from_start_x, spacing); } - public static void SameLine(float pos_x) + public static void SameLine(float offset_from_start_x) { - float spacing_w = -1.0f; - ImGuiNative.igSameLine(pos_x, spacing_w); + float spacing = -1.0f; + ImGuiNative.igSameLine(offset_from_start_x, spacing); } - public static void SameLine(float pos_x, float spacing_w) + public static void SameLine(float offset_from_start_x, float spacing) { - ImGuiNative.igSameLine(pos_x, spacing_w); + ImGuiNative.igSameLine(offset_from_start_x, spacing); } public static void SaveIniSettingsToDisk(string ini_filename) { @@ -9853,19 +10430,19 @@ public static void SetCursorPos(Vector2 local_pos) { ImGuiNative.igSetCursorPos(local_pos); } - public static void SetCursorPosX(float x) + public static void SetCursorPosX(float local_x) { - ImGuiNative.igSetCursorPosX(x); + ImGuiNative.igSetCursorPosX(local_x); } - public static void SetCursorPosY(float y) + public static void SetCursorPosY(float local_y) { - ImGuiNative.igSetCursorPosY(y); + ImGuiNative.igSetCursorPosY(local_y); } - public static void SetCursorScreenPos(Vector2 screen_pos) + public static void SetCursorScreenPos(Vector2 pos) { - ImGuiNative.igSetCursorScreenPos(screen_pos); + ImGuiNative.igSetCursorScreenPos(pos); } - public static bool SetDragDropPayload(string type, IntPtr data, uint size) + public static bool SetDragDropPayload(string type, IntPtr data, uint sz) { byte* native_type; int type_byteCount = 0; @@ -9887,14 +10464,14 @@ public static bool SetDragDropPayload(string type, IntPtr data, uint size) else { native_type = null; } void* native_data = (void*)data.ToPointer(); ImGuiCond cond = 0; - byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, size, cond); + byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); if (type_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_type); } return ret != 0; } - public static bool SetDragDropPayload(string type, IntPtr data, uint size, ImGuiCond cond) + public static bool SetDragDropPayload(string type, IntPtr data, uint sz, ImGuiCond cond) { byte* native_type; int type_byteCount = 0; @@ -9915,7 +10492,7 @@ public static bool SetDragDropPayload(string type, IntPtr data, uint size, ImGui } else { native_type = null; } void* native_data = (void*)data.ToPointer(); - byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, size, cond); + byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); if (type_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_type); @@ -9943,21 +10520,30 @@ public static void SetMouseCursor(ImGuiMouseCursor type) { ImGuiNative.igSetMouseCursor(type); } - public static void SetNextTreeNodeOpen(bool is_open) + public static void SetNextItemOpen(bool is_open) { byte native_is_open = is_open ? (byte)1 : (byte)0; ImGuiCond cond = 0; - ImGuiNative.igSetNextTreeNodeOpen(native_is_open, cond); + ImGuiNative.igSetNextItemOpen(native_is_open, cond); } - public static void SetNextTreeNodeOpen(bool is_open, ImGuiCond cond) + public static void SetNextItemOpen(bool is_open, ImGuiCond cond) { byte native_is_open = is_open ? (byte)1 : (byte)0; - ImGuiNative.igSetNextTreeNodeOpen(native_is_open, cond); + ImGuiNative.igSetNextItemOpen(native_is_open, cond); + } + public static void SetNextItemWidth(float item_width) + { + ImGuiNative.igSetNextItemWidth(item_width); } public static void SetNextWindowBgAlpha(float alpha) { ImGuiNative.igSetNextWindowBgAlpha(alpha); } + public static void SetNextWindowClass(ImGuiWindowClassPtr window_class) + { + ImGuiWindowClass* native_window_class = window_class.NativePtr; + ImGuiNative.igSetNextWindowClass(native_window_class); + } public static void SetNextWindowCollapsed(bool collapsed) { byte native_collapsed = collapsed ? (byte)1 : (byte)0; @@ -9973,6 +10559,15 @@ public static void SetNextWindowContentSize(Vector2 size) { ImGuiNative.igSetNextWindowContentSize(size); } + public static void SetNextWindowDockID(uint dock_id) + { + ImGuiCond cond = 0; + ImGuiNative.igSetNextWindowDockID(dock_id, cond); + } + public static void SetNextWindowDockID(uint dock_id, ImGuiCond cond) + { + ImGuiNative.igSetNextWindowDockID(dock_id, cond); + } public static void SetNextWindowFocus() { ImGuiNative.igSetNextWindowFocus(); @@ -10017,14 +10612,36 @@ public static void SetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_m void* native_custom_callback_data = (void*)custom_callback_data.ToPointer(); ImGuiNative.igSetNextWindowSizeConstraints(size_min, size_max, custom_callback, native_custom_callback_data); } - public static void SetScrollFromPosY(float pos_y) + public static void SetNextWindowViewport(uint viewport_id) + { + ImGuiNative.igSetNextWindowViewport(viewport_id); + } + public static void SetScrollFromPosX(float local_x) + { + float center_x_ratio = 0.5f; + ImGuiNative.igSetScrollFromPosX(local_x, center_x_ratio); + } + public static void SetScrollFromPosX(float local_x, float center_x_ratio) + { + ImGuiNative.igSetScrollFromPosX(local_x, center_x_ratio); + } + public static void SetScrollFromPosY(float local_y) { float center_y_ratio = 0.5f; - ImGuiNative.igSetScrollFromPosY(pos_y, center_y_ratio); + ImGuiNative.igSetScrollFromPosY(local_y, center_y_ratio); + } + public static void SetScrollFromPosY(float local_y, float center_y_ratio) + { + ImGuiNative.igSetScrollFromPosY(local_y, center_y_ratio); } - public static void SetScrollFromPosY(float pos_y, float center_y_ratio) + public static void SetScrollHereX() { - ImGuiNative.igSetScrollFromPosY(pos_y, center_y_ratio); + float center_x_ratio = 0.5f; + ImGuiNative.igSetScrollHereX(center_x_ratio); + } + public static void SetScrollHereX(float center_x_ratio) + { + ImGuiNative.igSetScrollHereX(center_x_ratio); } public static void SetScrollHereY() { @@ -10048,6 +10665,32 @@ public static void SetStateStorage(ImGuiStoragePtr storage) ImGuiStorage* native_storage = storage.NativePtr; ImGuiNative.igSetStateStorage(native_storage); } + public static void SetTabItemClosed(string tab_or_docked_window_label) + { + byte* native_tab_or_docked_window_label; + int tab_or_docked_window_label_byteCount = 0; + if (tab_or_docked_window_label != null) + { + tab_or_docked_window_label_byteCount = Encoding.UTF8.GetByteCount(tab_or_docked_window_label); + if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) + { + native_tab_or_docked_window_label = Util.Allocate(tab_or_docked_window_label_byteCount + 1); + } + else + { + byte* native_tab_or_docked_window_label_stackBytes = stackalloc byte[tab_or_docked_window_label_byteCount + 1]; + native_tab_or_docked_window_label = native_tab_or_docked_window_label_stackBytes; + } + int native_tab_or_docked_window_label_offset = Util.GetUtf8(tab_or_docked_window_label, native_tab_or_docked_window_label, tab_or_docked_window_label_byteCount); + native_tab_or_docked_window_label[native_tab_or_docked_window_label_offset] = 0; + } + else { native_tab_or_docked_window_label = null; } + ImGuiNative.igSetTabItemClosed(native_tab_or_docked_window_label); + if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_tab_or_docked_window_label); + } + } public static void SetTooltip(string fmt) { byte* native_fmt; @@ -10298,6 +10941,18 @@ public static void SetWindowSize(string name, Vector2 size, ImGuiCond cond) Util.Free(native_name); } } + public static void ShowAboutWindow() + { + byte* p_open = null; + ImGuiNative.igShowAboutWindow(p_open); + } + public static void ShowAboutWindow(ref bool p_open) + { + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiNative.igShowAboutWindow(native_p_open); + p_open = native_p_open_val != 0; + } public static void ShowDemoWindow() { byte* p_open = null; @@ -12070,10 +12725,6 @@ public static void TextWrapped(string fmt) Util.Free(native_fmt); } } - public static void TreeAdvanceToLabelPos() - { - ImGuiNative.igTreeAdvanceToLabelPos(); - } public static bool TreeNode(string label) { byte* native_label; @@ -12359,6 +13010,10 @@ public static void Unindent(float indent_w) { ImGuiNative.igUnindent(indent_w); } + public static void UpdatePlatformWindows() + { + ImGuiNative.igUpdatePlatformWindows(); + } public static void Value(string prefix, bool b) { byte* native_prefix; diff --git a/src/ImGui.NET/Generated/ImGuiBackendFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiBackendFlags.gen.cs index 7373178f..bfbf50c7 100644 --- a/src/ImGui.NET/Generated/ImGuiBackendFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiBackendFlags.gen.cs @@ -3,8 +3,13 @@ namespace ImGuiNET [System.Flags] public enum ImGuiBackendFlags { + None = 0, HasGamepad = 1 << 0, HasMouseCursors = 1 << 1, HasSetMousePos = 1 << 2, + RendererHasVtxOffset = 1 << 3, + PlatformHasViewports = 1 << 10, + HasMouseHoveredViewport = 1 << 11, + RendererHasViewports = 1 << 12, } } diff --git a/src/ImGui.NET/Generated/ImGuiCol.gen.cs b/src/ImGui.NET/Generated/ImGuiCol.gen.cs index 4039d537..19740aec 100644 --- a/src/ImGui.NET/Generated/ImGuiCol.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiCol.gen.cs @@ -35,16 +35,23 @@ public enum ImGuiCol ResizeGrip = 30, ResizeGripHovered = 31, ResizeGripActive = 32, - PlotLines = 33, - PlotLinesHovered = 34, - PlotHistogram = 35, - PlotHistogramHovered = 36, - TextSelectedBg = 37, - DragDropTarget = 38, - NavHighlight = 39, - NavWindowingHighlight = 40, - NavWindowingDimBg = 41, - ModalWindowDimBg = 42, - COUNT = 43, + Tab = 33, + TabHovered = 34, + TabActive = 35, + TabUnfocused = 36, + TabUnfocusedActive = 37, + DockingPreview = 38, + DockingEmptyBg = 39, + PlotLines = 40, + PlotLinesHovered = 41, + PlotHistogram = 42, + PlotHistogramHovered = 43, + TextSelectedBg = 44, + DragDropTarget = 45, + NavHighlight = 46, + NavWindowingHighlight = 47, + NavWindowingDimBg = 48, + ModalWindowDimBg = 49, + COUNT = 50, } } diff --git a/src/ImGui.NET/Generated/ImGuiColorEditFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiColorEditFlags.gen.cs index f87d6eaf..a12d9555 100644 --- a/src/ImGui.NET/Generated/ImGuiColorEditFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiColorEditFlags.gen.cs @@ -17,16 +17,19 @@ public enum ImGuiColorEditFlags AlphaPreview = 1 << 17, AlphaPreviewHalf = 1 << 18, HDR = 1 << 19, - RGB = 1 << 20, - HSV = 1 << 21, - HEX = 1 << 22, + DisplayRGB = 1 << 20, + DisplayHSV = 1 << 21, + DisplayHex = 1 << 22, Uint8 = 1 << 23, Float = 1 << 24, PickerHueBar = 1 << 25, PickerHueWheel = 1 << 26, - _InputsMask = RGB|HSV|HEX, + InputRGB = 1 << 27, + InputHSV = 1 << 28, + _OptionsDefault = Uint8|DisplayRGB|InputRGB|PickerHueBar, + _DisplayMask = DisplayRGB|DisplayHSV|DisplayHex, _DataTypeMask = Uint8|Float, _PickerMask = PickerHueWheel|PickerHueBar, - _OptionsDefault = Uint8|RGB|PickerHueBar, + _InputMask = InputRGB|InputHSV, } } diff --git a/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs index 81e0a6e5..9c6b6eea 100644 --- a/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs @@ -3,12 +3,17 @@ namespace ImGuiNET [System.Flags] public enum ImGuiConfigFlags { + None = 0, NavEnableKeyboard = 1 << 0, NavEnableGamepad = 1 << 1, NavEnableSetMousePos = 1 << 2, NavNoCaptureKeyboard = 1 << 3, NoMouse = 1 << 4, NoMouseCursorChange = 1 << 5, + DockingEnable = 1 << 6, + ViewportsEnable = 1 << 10, + DpiEnableScaleViewports = 1 << 14, + DpiEnableScaleFonts = 1 << 15, IsSRGB = 1 << 20, IsTouchScreen = 1 << 21, } diff --git a/src/ImGui.NET/Generated/ImGuiDataType.gen.cs b/src/ImGui.NET/Generated/ImGuiDataType.gen.cs index 57eb3782..3e1f232c 100644 --- a/src/ImGui.NET/Generated/ImGuiDataType.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiDataType.gen.cs @@ -2,12 +2,16 @@ namespace ImGuiNET { public enum ImGuiDataType { - S32 = 0, - U32 = 1, - S64 = 2, - U64 = 3, - Float = 4, - Double = 5, - COUNT = 6, + S8 = 0, + U8 = 1, + S16 = 2, + U16 = 3, + S32 = 4, + U32 = 5, + S64 = 6, + U64 = 7, + Float = 8, + Double = 9, + COUNT = 10, } } diff --git a/src/ImGui.NET/Generated/ImGuiDockNodeFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiDockNodeFlags.gen.cs new file mode 100644 index 00000000..f05ed7d8 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiDockNodeFlags.gen.cs @@ -0,0 +1,14 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiDockNodeFlags + { + None = 0, + KeepAliveOnly = 1 << 0, + NoDockingInCentralNode = 1 << 2, + PassthruCentralNode = 1 << 3, + NoSplit = 1 << 4, + NoResize = 1 << 5, + AutoHideTabBar = 1 << 6, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiIO.gen.cs b/src/ImGui.NET/Generated/ImGuiIO.gen.cs index 0ce04ba7..af98c3a8 100644 --- a/src/ImGui.NET/Generated/ImGuiIO.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiIO.gen.cs @@ -17,7 +17,7 @@ public unsafe partial struct ImGuiIO public float MouseDoubleClickTime; public float MouseDoubleClickMaxDist; public float MouseDragThreshold; - public fixed int KeyMap[21]; + public fixed int KeyMap[22]; public float KeyRepeatDelay; public float KeyRepeatRate; public void* UserData; @@ -26,29 +26,40 @@ public unsafe partial struct ImGuiIO public byte FontAllowUserScaling; public ImFont* FontDefault; public Vector2 DisplayFramebufferScale; - public Vector2 DisplayVisibleMin; - public Vector2 DisplayVisibleMax; + public byte ConfigDockingNoSplit; + public byte ConfigDockingWithShift; + public byte ConfigDockingAlwaysTabBar; + public byte ConfigDockingTransparentPayload; + public byte ConfigViewportsNoAutoMerge; + public byte ConfigViewportsNoTaskBarIcon; + public byte ConfigViewportsNoDecoration; + public byte ConfigViewportsNoDefaultParent; public byte MouseDrawCursor; public byte ConfigMacOSXBehaviors; public byte ConfigInputTextCursorBlink; - public byte ConfigResizeWindowsFromEdges; + public byte ConfigWindowsResizeFromEdges; + public byte ConfigWindowsMoveFromTitleBarOnly; + public float ConfigWindowsMemoryCompactTimer; + public byte* BackendPlatformName; + public byte* BackendRendererName; + public void* BackendPlatformUserData; + public void* BackendRendererUserData; + public void* BackendLanguageUserData; public IntPtr GetClipboardTextFn; public IntPtr SetClipboardTextFn; public void* ClipboardUserData; - public IntPtr ImeSetInputScreenPosFn; - public void* ImeWindowHandle; public void* RenderDrawListsFnUnused; public Vector2 MousePos; public fixed byte MouseDown[5]; public float MouseWheel; public float MouseWheelH; + public uint MouseHoveredViewport; public byte KeyCtrl; public byte KeyShift; public byte KeyAlt; public byte KeySuper; public fixed byte KeysDown[512]; - public fixed ushort InputCharacters[17]; - public fixed float NavInputs[21]; + public fixed float NavInputs[22]; public byte WantCaptureMouse; public byte WantCaptureKeyboard; public byte WantTextInput; @@ -74,6 +85,7 @@ public unsafe partial struct ImGuiIO public fixed byte MouseDoubleClicked[5]; public fixed byte MouseReleased[5]; public fixed byte MouseDownOwned[5]; + public fixed byte MouseDownWasDoubleClick[5]; public fixed float MouseDownDuration[5]; public fixed float MouseDownDurationPrev[5]; public Vector2 MouseDragMaxDistanceAbs_0; @@ -84,8 +96,9 @@ public unsafe partial struct ImGuiIO public fixed float MouseDragMaxDistanceSqr[5]; public fixed float KeysDownDuration[512]; public fixed float KeysDownDurationPrev[512]; - public fixed float NavInputsDownDuration[21]; - public fixed float NavInputsDownDurationPrev[21]; + public fixed float NavInputsDownDuration[22]; + public fixed float NavInputsDownDurationPrev[22]; + public ImVector InputQueueCharacters; } public unsafe partial struct ImGuiIOPtr { @@ -105,7 +118,7 @@ public unsafe partial struct ImGuiIOPtr public ref float MouseDoubleClickTime => ref Unsafe.AsRef(&NativePtr->MouseDoubleClickTime); public ref float MouseDoubleClickMaxDist => ref Unsafe.AsRef(&NativePtr->MouseDoubleClickMaxDist); public ref float MouseDragThreshold => ref Unsafe.AsRef(&NativePtr->MouseDragThreshold); - public RangeAccessor KeyMap => new RangeAccessor(NativePtr->KeyMap, 21); + public RangeAccessor KeyMap => new RangeAccessor(NativePtr->KeyMap, 22); public ref float KeyRepeatDelay => ref Unsafe.AsRef(&NativePtr->KeyRepeatDelay); public ref float KeyRepeatRate => ref Unsafe.AsRef(&NativePtr->KeyRepeatRate); public IntPtr UserData { get => (IntPtr)NativePtr->UserData; set => NativePtr->UserData = (void*)value; } @@ -114,29 +127,40 @@ public unsafe partial struct ImGuiIOPtr public ref bool FontAllowUserScaling => ref Unsafe.AsRef(&NativePtr->FontAllowUserScaling); public ImFontPtr FontDefault => new ImFontPtr(NativePtr->FontDefault); public ref Vector2 DisplayFramebufferScale => ref Unsafe.AsRef(&NativePtr->DisplayFramebufferScale); - public ref Vector2 DisplayVisibleMin => ref Unsafe.AsRef(&NativePtr->DisplayVisibleMin); - public ref Vector2 DisplayVisibleMax => ref Unsafe.AsRef(&NativePtr->DisplayVisibleMax); + public ref bool ConfigDockingNoSplit => ref Unsafe.AsRef(&NativePtr->ConfigDockingNoSplit); + public ref bool ConfigDockingWithShift => ref Unsafe.AsRef(&NativePtr->ConfigDockingWithShift); + public ref bool ConfigDockingAlwaysTabBar => ref Unsafe.AsRef(&NativePtr->ConfigDockingAlwaysTabBar); + public ref bool ConfigDockingTransparentPayload => ref Unsafe.AsRef(&NativePtr->ConfigDockingTransparentPayload); + public ref bool ConfigViewportsNoAutoMerge => ref Unsafe.AsRef(&NativePtr->ConfigViewportsNoAutoMerge); + public ref bool ConfigViewportsNoTaskBarIcon => ref Unsafe.AsRef(&NativePtr->ConfigViewportsNoTaskBarIcon); + public ref bool ConfigViewportsNoDecoration => ref Unsafe.AsRef(&NativePtr->ConfigViewportsNoDecoration); + public ref bool ConfigViewportsNoDefaultParent => ref Unsafe.AsRef(&NativePtr->ConfigViewportsNoDefaultParent); public ref bool MouseDrawCursor => ref Unsafe.AsRef(&NativePtr->MouseDrawCursor); public ref bool ConfigMacOSXBehaviors => ref Unsafe.AsRef(&NativePtr->ConfigMacOSXBehaviors); public ref bool ConfigInputTextCursorBlink => ref Unsafe.AsRef(&NativePtr->ConfigInputTextCursorBlink); - public ref bool ConfigResizeWindowsFromEdges => ref Unsafe.AsRef(&NativePtr->ConfigResizeWindowsFromEdges); + public ref bool ConfigWindowsResizeFromEdges => ref Unsafe.AsRef(&NativePtr->ConfigWindowsResizeFromEdges); + public ref bool ConfigWindowsMoveFromTitleBarOnly => ref Unsafe.AsRef(&NativePtr->ConfigWindowsMoveFromTitleBarOnly); + public ref float ConfigWindowsMemoryCompactTimer => ref Unsafe.AsRef(&NativePtr->ConfigWindowsMemoryCompactTimer); + public NullTerminatedString BackendPlatformName => new NullTerminatedString(NativePtr->BackendPlatformName); + public NullTerminatedString BackendRendererName => new NullTerminatedString(NativePtr->BackendRendererName); + public IntPtr BackendPlatformUserData { get => (IntPtr)NativePtr->BackendPlatformUserData; set => NativePtr->BackendPlatformUserData = (void*)value; } + public IntPtr BackendRendererUserData { get => (IntPtr)NativePtr->BackendRendererUserData; set => NativePtr->BackendRendererUserData = (void*)value; } + public IntPtr BackendLanguageUserData { get => (IntPtr)NativePtr->BackendLanguageUserData; set => NativePtr->BackendLanguageUserData = (void*)value; } public ref IntPtr GetClipboardTextFn => ref Unsafe.AsRef(&NativePtr->GetClipboardTextFn); public ref IntPtr SetClipboardTextFn => ref Unsafe.AsRef(&NativePtr->SetClipboardTextFn); public IntPtr ClipboardUserData { get => (IntPtr)NativePtr->ClipboardUserData; set => NativePtr->ClipboardUserData = (void*)value; } - public ref IntPtr ImeSetInputScreenPosFn => ref Unsafe.AsRef(&NativePtr->ImeSetInputScreenPosFn); - public IntPtr ImeWindowHandle { get => (IntPtr)NativePtr->ImeWindowHandle; set => NativePtr->ImeWindowHandle = (void*)value; } public IntPtr RenderDrawListsFnUnused { get => (IntPtr)NativePtr->RenderDrawListsFnUnused; set => NativePtr->RenderDrawListsFnUnused = (void*)value; } public ref Vector2 MousePos => ref Unsafe.AsRef(&NativePtr->MousePos); public RangeAccessor MouseDown => new RangeAccessor(NativePtr->MouseDown, 5); public ref float MouseWheel => ref Unsafe.AsRef(&NativePtr->MouseWheel); public ref float MouseWheelH => ref Unsafe.AsRef(&NativePtr->MouseWheelH); + public ref uint MouseHoveredViewport => ref Unsafe.AsRef(&NativePtr->MouseHoveredViewport); public ref bool KeyCtrl => ref Unsafe.AsRef(&NativePtr->KeyCtrl); public ref bool KeyShift => ref Unsafe.AsRef(&NativePtr->KeyShift); public ref bool KeyAlt => ref Unsafe.AsRef(&NativePtr->KeyAlt); public ref bool KeySuper => ref Unsafe.AsRef(&NativePtr->KeySuper); public RangeAccessor KeysDown => new RangeAccessor(NativePtr->KeysDown, 512); - public RangeAccessor InputCharacters => new RangeAccessor(NativePtr->InputCharacters, 17); - public RangeAccessor NavInputs => new RangeAccessor(NativePtr->NavInputs, 21); + public RangeAccessor NavInputs => new RangeAccessor(NativePtr->NavInputs, 22); public ref bool WantCaptureMouse => ref Unsafe.AsRef(&NativePtr->WantCaptureMouse); public ref bool WantCaptureKeyboard => ref Unsafe.AsRef(&NativePtr->WantCaptureKeyboard); public ref bool WantTextInput => ref Unsafe.AsRef(&NativePtr->WantTextInput); @@ -158,47 +182,53 @@ public unsafe partial struct ImGuiIOPtr public RangeAccessor MouseDoubleClicked => new RangeAccessor(NativePtr->MouseDoubleClicked, 5); public RangeAccessor MouseReleased => new RangeAccessor(NativePtr->MouseReleased, 5); public RangeAccessor MouseDownOwned => new RangeAccessor(NativePtr->MouseDownOwned, 5); + public RangeAccessor MouseDownWasDoubleClick => new RangeAccessor(NativePtr->MouseDownWasDoubleClick, 5); public RangeAccessor MouseDownDuration => new RangeAccessor(NativePtr->MouseDownDuration, 5); public RangeAccessor MouseDownDurationPrev => new RangeAccessor(NativePtr->MouseDownDurationPrev, 5); public RangeAccessor MouseDragMaxDistanceAbs => new RangeAccessor(&NativePtr->MouseDragMaxDistanceAbs_0, 5); public RangeAccessor MouseDragMaxDistanceSqr => new RangeAccessor(NativePtr->MouseDragMaxDistanceSqr, 5); public RangeAccessor KeysDownDuration => new RangeAccessor(NativePtr->KeysDownDuration, 512); public RangeAccessor KeysDownDurationPrev => new RangeAccessor(NativePtr->KeysDownDurationPrev, 512); - public RangeAccessor NavInputsDownDuration => new RangeAccessor(NativePtr->NavInputsDownDuration, 21); - public RangeAccessor NavInputsDownDurationPrev => new RangeAccessor(NativePtr->NavInputsDownDurationPrev, 21); - public void AddInputCharacter(ushort c) + public RangeAccessor NavInputsDownDuration => new RangeAccessor(NativePtr->NavInputsDownDuration, 22); + public RangeAccessor NavInputsDownDurationPrev => new RangeAccessor(NativePtr->NavInputsDownDurationPrev, 22); + public ImVector InputQueueCharacters => new ImVector(NativePtr->InputQueueCharacters); + public void AddInputCharacter(uint c) { ImGuiNative.ImGuiIO_AddInputCharacter(NativePtr, c); } - public void AddInputCharactersUTF8(string utf8_chars) + public void AddInputCharactersUTF8(string str) { - byte* native_utf8_chars; - int utf8_chars_byteCount = 0; - if (utf8_chars != null) + byte* native_str; + int str_byteCount = 0; + if (str != null) { - utf8_chars_byteCount = Encoding.UTF8.GetByteCount(utf8_chars); - if (utf8_chars_byteCount > Util.StackAllocationSizeLimit) + str_byteCount = Encoding.UTF8.GetByteCount(str); + if (str_byteCount > Util.StackAllocationSizeLimit) { - native_utf8_chars = Util.Allocate(utf8_chars_byteCount + 1); + native_str = Util.Allocate(str_byteCount + 1); } else { - byte* native_utf8_chars_stackBytes = stackalloc byte[utf8_chars_byteCount + 1]; - native_utf8_chars = native_utf8_chars_stackBytes; + byte* native_str_stackBytes = stackalloc byte[str_byteCount + 1]; + native_str = native_str_stackBytes; } - int native_utf8_chars_offset = Util.GetUtf8(utf8_chars, native_utf8_chars, utf8_chars_byteCount); - native_utf8_chars[native_utf8_chars_offset] = 0; + int native_str_offset = Util.GetUtf8(str, native_str, str_byteCount); + native_str[native_str_offset] = 0; } - else { native_utf8_chars = null; } - ImGuiNative.ImGuiIO_AddInputCharactersUTF8(NativePtr, native_utf8_chars); - if (utf8_chars_byteCount > Util.StackAllocationSizeLimit) + else { native_str = null; } + ImGuiNative.ImGuiIO_AddInputCharactersUTF8(NativePtr, native_str); + if (str_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_utf8_chars); + Util.Free(native_str); } } public void ClearInputCharacters() { ImGuiNative.ImGuiIO_ClearInputCharacters(NativePtr); } + public void Destroy() + { + ImGuiNative.ImGuiIO_destroy(NativePtr); + } } } diff --git a/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs b/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs index 5775c6a9..45b78055 100644 --- a/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs @@ -44,6 +44,10 @@ public void DeleteChars(int pos, int bytes_count) { ImGuiNative.ImGuiInputTextCallbackData_DeleteChars(NativePtr, pos, bytes_count); } + public void Destroy() + { + ImGuiNative.ImGuiInputTextCallbackData_destroy(NativePtr); + } public bool HasSelection() { byte ret = ImGuiNative.ImGuiInputTextCallbackData_HasSelection(NativePtr); diff --git a/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs index e7efe527..3abb2dd6 100644 --- a/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs @@ -24,5 +24,6 @@ public enum ImGuiInputTextFlags CharsScientific = 1 << 17, CallbackResize = 1 << 18, Multiline = 1 << 20, + NoMarkEdited = 1 << 21, } } diff --git a/src/ImGui.NET/Generated/ImGuiKey.gen.cs b/src/ImGui.NET/Generated/ImGuiKey.gen.cs index a351bd43..91664c47 100644 --- a/src/ImGui.NET/Generated/ImGuiKey.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiKey.gen.cs @@ -17,12 +17,13 @@ public enum ImGuiKey Space = 12, Enter = 13, Escape = 14, - A = 15, - C = 16, - V = 17, - X = 18, - Y = 19, - Z = 20, - COUNT = 21, + KeyPadEnter = 15, + A = 16, + C = 17, + V = 18, + X = 19, + Y = 20, + Z = 21, + COUNT = 22, } } diff --git a/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs b/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs index c9bf3538..2d4bdbab 100644 --- a/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs @@ -37,6 +37,10 @@ public void Begin(int items_count, float items_height) { ImGuiNative.ImGuiListClipper_Begin(NativePtr, items_count, items_height); } + public void Destroy() + { + ImGuiNative.ImGuiListClipper_destroy(NativePtr); + } public void End() { ImGuiNative.ImGuiListClipper_End(NativePtr); diff --git a/src/ImGui.NET/Generated/ImGuiNative.gen.cs b/src/ImGui.NET/Generated/ImGuiNative.gen.cs index b9cdb894..d81a2067 100644 --- a/src/ImGui.NET/Generated/ImGuiNative.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiNative.gen.cs @@ -6,24 +6,6 @@ namespace ImGuiNET { public static unsafe partial class ImGuiNative { - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void CustomRect_CustomRect(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte CustomRect_IsPacked(CustomRect* self); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self, ushort c); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self, ushort* ranges); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self, byte* text, byte* text_end); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self, ImVector* out_ranges); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self, int n); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void GlyphRangesBuilder_GlyphRangesBuilder(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self, int n); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiPayload* igAcceptDragDropPayload(byte* type, ImGuiDragDropFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -63,6 +45,10 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginPopupModal(byte* name, byte* p_open, ImGuiWindowFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igBeginTabBar(byte* str_id, ImGuiTabBarFlags flags); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igBeginTabItem(byte* label, byte* p_open, ImGuiTabItemFlags flags); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igBeginTooltip(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igBullet(); @@ -77,9 +63,9 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igCalcTextSize_nonUDT2")] public static extern Vector2 igCalcTextSize(byte* text, byte* text_end, byte hide_text_after_double_hash, float wrap_width); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igCaptureKeyboardFromApp(byte capture); + public static extern void igCaptureKeyboardFromApp(byte want_capture_keyboard_value); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igCaptureMouseFromApp(byte capture); + public static extern void igCaptureMouseFromApp(byte want_capture_mouse_value); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igCheckbox(byte* label, byte* v); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -117,10 +103,16 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr igCreateContext(ImFontAtlas* shared_font_atlas); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igDebugCheckVersionAndDataLayout(byte* version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert); + public static extern byte igDebugCheckVersionAndDataLayout(byte* version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert, uint sz_drawidx); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igDestroyContext(IntPtr ctx); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igDestroyPlatformWindows(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igDockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClass* window_class); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern uint igDockSpaceOverViewport(ImGuiViewport* viewport, ImGuiDockNodeFlags flags, ImGuiWindowClass* window_class); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igDragFloat(byte* label, float* v, float v_speed, float v_min, float v_max, byte* format, float power); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igDragFloat2(byte* label, Vector2* v, float v_speed, float v_min, float v_max, byte* format, float power); @@ -171,8 +163,20 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndPopup(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igEndTabBar(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igEndTabItem(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndTooltip(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiViewport* igFindViewportByID(uint id); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImDrawList* igGetBackgroundDrawList(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImDrawList* igGetBackgroundDrawListViewportPtr(ImGuiViewport* viewport); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* igGetClipboardText(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern uint igGetColorU32(ImGuiCol idx, float alpha_mul); @@ -190,8 +194,6 @@ public static unsafe partial class ImGuiNative public static extern float igGetColumnWidth(int column_index); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetContentRegionAvail_nonUDT2")] public static extern Vector2 igGetContentRegionAvail(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern float igGetContentRegionAvailWidth(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetContentRegionMax_nonUDT2")] public static extern Vector2 igGetContentRegionMax(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -219,6 +221,10 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetFontTexUvWhitePixel_nonUDT2")] public static extern Vector2 igGetFontTexUvWhitePixel(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImDrawList* igGetForegroundDrawList(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImDrawList* igGetForegroundDrawListViewportPtr(ImGuiViewport* viewport); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern int igGetFrameCount(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern float igGetFrameHeight(); @@ -243,6 +249,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern int igGetKeyPressedAmount(int key_index, float repeat_delay, float rate); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiViewport* igGetMainViewport(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiMouseCursor igGetMouseCursor(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMouseDragDelta_nonUDT2")] public static extern Vector2 igGetMouseDragDelta(int button, float lock_threshold); @@ -251,7 +259,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetMousePosOnOpeningCurrentPopup_nonUDT2")] public static extern Vector2 igGetMousePosOnOpeningCurrentPopup(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImDrawList* igGetOverlayDrawList(); + public static extern ImGuiPlatformIO* igGetPlatformIO(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern float igGetScrollMaxX(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -285,6 +293,10 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern float igGetWindowContentRegionWidth(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern uint igGetWindowDockID(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern float igGetWindowDpiScale(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImDrawList* igGetWindowDrawList(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern float igGetWindowHeight(); @@ -293,6 +305,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "igGetWindowSize_nonUDT2")] public static extern Vector2 igGetWindowSize(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiViewport* igGetWindowViewport(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern float igGetWindowWidth(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igImage(IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tint_col, Vector4 border_col); @@ -301,32 +315,34 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igIndent(float indent_w); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputDouble(byte* label, double* v, double step, double step_fast, byte* format, ImGuiInputTextFlags extra_flags); + public static extern byte igInputDouble(byte* label, double* v, double step, double step_fast, byte* format, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputFloat(byte* label, float* v, float step, float step_fast, byte* format, ImGuiInputTextFlags extra_flags); + public static extern byte igInputFloat(byte* label, float* v, float step, float step_fast, byte* format, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputFloat2(byte* label, Vector2* v, byte* format, ImGuiInputTextFlags extra_flags); + public static extern byte igInputFloat2(byte* label, Vector2* v, byte* format, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputFloat3(byte* label, Vector3* v, byte* format, ImGuiInputTextFlags extra_flags); + public static extern byte igInputFloat3(byte* label, Vector3* v, byte* format, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputFloat4(byte* label, Vector4* v, byte* format, ImGuiInputTextFlags extra_flags); + public static extern byte igInputFloat4(byte* label, Vector4* v, byte* format, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputInt(byte* label, int* v, int step, int step_fast, ImGuiInputTextFlags extra_flags); + public static extern byte igInputInt(byte* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputInt2(byte* label, int* v, ImGuiInputTextFlags extra_flags); + public static extern byte igInputInt2(byte* label, int* v, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputInt3(byte* label, int* v, ImGuiInputTextFlags extra_flags); + public static extern byte igInputInt3(byte* label, int* v, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputInt4(byte* label, int* v, ImGuiInputTextFlags extra_flags); + public static extern byte igInputInt4(byte* label, int* v, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputScalar(byte* label, ImGuiDataType data_type, void* v, void* step, void* step_fast, byte* format, ImGuiInputTextFlags extra_flags); + public static extern byte igInputScalar(byte* label, ImGuiDataType data_type, void* v, void* step, void* step_fast, byte* format, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igInputScalarN(byte* label, ImGuiDataType data_type, void* v, int components, void* step, void* step_fast, byte* format, ImGuiInputTextFlags extra_flags); + public static extern byte igInputScalarN(byte* label, ImGuiDataType data_type, void* v, int components, void* step, void* step_fast, byte* format, ImGuiInputTextFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igInputText(byte* label, byte* buf, uint buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igInputTextMultiline(byte* label, byte* buf, uint buf_size, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igInputTextWithHint(byte* label, byte* hint, byte* buf, uint buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igInvisibleButton(byte* str_id, Vector2 size); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsAnyItemActive(); @@ -337,6 +353,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsAnyMouseDown(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igIsItemActivated(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsItemActive(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsItemClicked(int mouse_button); @@ -383,6 +401,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsWindowCollapsed(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igIsWindowDocked(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsWindowFocused(ImGuiFocusedFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsWindowHovered(ImGuiHoveredFlags flags); @@ -407,11 +427,11 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igLogText(byte* fmt); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igLogToClipboard(int max_depth); + public static extern void igLogToClipboard(int auto_open_depth); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igLogToFile(int max_depth, byte* filename); + public static extern void igLogToFile(int auto_open_depth, byte* filename); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igLogToTTY(int max_depth); + public static extern void igLogToTTY(int auto_open_depth); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void* igMemAlloc(uint size); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -481,7 +501,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushStyleVarVec2(ImGuiStyleVar idx, Vector2 val); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igPushTextWrapPos(float wrap_pos_x); + public static extern void igPushTextWrapPos(float wrap_local_pos_x); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igRadioButtonBool(byte* label, byte active); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -489,9 +509,11 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igRender(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igRenderPlatformWindowsDefault(void* platform_arg, void* renderer_arg); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igResetMouseDragDelta(int button); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igSameLine(float pos_x, float spacing_w); + public static extern void igSameLine(float offset_from_start_x, float spacing); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSaveIniSettingsToDisk(byte* ini_filename); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -515,13 +537,13 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetCursorPos(Vector2 local_pos); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igSetCursorPosX(float x); + public static extern void igSetCursorPosX(float local_x); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igSetCursorPosY(float y); + public static extern void igSetCursorPosY(float local_y); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igSetCursorScreenPos(Vector2 screen_pos); + public static extern void igSetCursorScreenPos(Vector2 pos); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igSetDragDropPayload(byte* type, void* data, uint size, ImGuiCond cond); + public static extern byte igSetDragDropPayload(byte* type, void* data, uint sz, ImGuiCond cond); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetItemAllowOverlap(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -531,14 +553,20 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetMouseCursor(ImGuiMouseCursor type); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igSetNextTreeNodeOpen(byte is_open, ImGuiCond cond); + public static extern void igSetNextItemOpen(byte is_open, ImGuiCond cond); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNextItemWidth(float item_width); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextWindowBgAlpha(float alpha); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNextWindowClass(ImGuiWindowClass* window_class); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextWindowCollapsed(byte collapsed, ImGuiCond cond); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextWindowContentSize(Vector2 size); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNextWindowDockID(uint dock_id, ImGuiCond cond); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextWindowFocus(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot); @@ -547,7 +575,13 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_max, ImGuiSizeCallback custom_callback, void* custom_callback_data); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igSetScrollFromPosY(float pos_y, float center_y_ratio); + public static extern void igSetNextWindowViewport(uint viewport_id); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetScrollFromPosX(float local_x, float center_x_ratio); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetScrollFromPosY(float local_y, float center_y_ratio); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetScrollHereX(float center_x_ratio); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetScrollHereY(float center_y_ratio); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -557,6 +591,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetStateStorage(ImGuiStorage* storage); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetTabItemClosed(byte* tab_or_docked_window_label); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetTooltip(byte* fmt); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetWindowCollapsedBool(byte collapsed, ImGuiCond cond); @@ -577,6 +613,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetWindowSizeStr(byte* name, Vector2 size, ImGuiCond cond); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igShowAboutWindow(byte* p_open); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igShowDemoWindow(byte* p_open); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igShowFontSelector(byte* label); @@ -631,8 +669,6 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igTextWrapped(byte* fmt); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igTreeAdvanceToLabelPos(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igTreeNodeStr(byte* label); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igTreeNodeStrStr(byte* str_id, byte* fmt); @@ -653,6 +689,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igUnindent(float indent_w); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igUpdatePlatformWindows(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igValueBool(byte* prefix, byte b); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igValueInt(byte* prefix, int v); @@ -666,92 +704,100 @@ public static unsafe partial class ImGuiNative public static extern byte igVSliderInt(byte* label, Vector2 size, int* v, int v_min, int v_max, byte* format); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igVSliderScalar(byte* label, Vector2 size, ImGuiDataType data_type, void* v, void* v_min, void* v_max, byte* format, float power); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImColor_destroy(ImColor* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "ImColor_HSV_nonUDT2")] public static extern ImColor ImColor_HSV(ImColor* self, float h, float s, float v, float a); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImColor_ImColor(); + public static extern ImColor* ImColor_ImColor(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImColor_ImColorInt(int r, int g, int b, int a); + public static extern ImColor* ImColor_ImColorInt(int r, int g, int b, int a); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImColor_ImColorU32(uint rgba); + public static extern ImColor* ImColor_ImColorU32(uint rgba); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImColor_ImColorFloat(float r, float g, float b, float a); + public static extern ImColor* ImColor_ImColorFloat(float r, float g, float b, float a); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImColor_ImColorVec4(Vector4 col); + public static extern ImColor* ImColor_ImColorVec4(Vector4 col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImColor_SetHSV(ImColor* self, float h, float s, float v, float a); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawCmd_ImDrawCmd(); + public static extern void ImDrawCmd_destroy(ImDrawCmd* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImDrawCmd* ImDrawCmd_ImDrawCmd(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawData_Clear(ImDrawData* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawData_DeIndexAllBuffers(ImDrawData* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawData_ImDrawData(); + public static extern void ImDrawData_destroy(ImDrawData* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawData_ScaleClipRects(ImDrawData* self, Vector2 sc); + public static extern ImDrawData* ImDrawData_ImDrawData(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawData_ScaleClipRects(ImDrawData* self, Vector2 fb_scale); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddBezierCurve(ImDrawList* self, Vector2 pos0, Vector2 cp0, Vector2 cp1, Vector2 pos1, uint col, float thickness, int num_segments); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddCallback(ImDrawList* self, IntPtr callback, void* callback_data); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddCircle(ImDrawList* self, Vector2 centre, float radius, uint col, int num_segments, float thickness); + public static extern void ImDrawList_AddCircle(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddCircleFilled(ImDrawList* self, Vector2 centre, float radius, uint col, int num_segments); + public static extern void ImDrawList_AddCircleFilled(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddConvexPolyFilled(ImDrawList* self, Vector2* points, int num_points, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddDrawCmd(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddImage(ImDrawList* self, IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col); + public static extern void ImDrawList_AddImage(ImDrawList* self, IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddImageQuad(ImDrawList* self, IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a, Vector2 uv_b, Vector2 uv_c, Vector2 uv_d, uint col); + public static extern void ImDrawList_AddImageQuad(ImDrawList* self, IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddImageRounded(ImDrawList* self, IntPtr user_texture_id, Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col, float rounding, int rounding_corners); + public static extern void ImDrawList_AddImageRounded(ImDrawList* self, IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col, float rounding, ImDrawCornerFlags rounding_corners); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddLine(ImDrawList* self, Vector2 a, Vector2 b, uint col, float thickness); + public static extern void ImDrawList_AddLine(ImDrawList* self, Vector2 p1, Vector2 p2, uint col, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddPolyline(ImDrawList* self, Vector2* points, int num_points, uint col, byte closed, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddQuad(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, uint col, float thickness); + public static extern void ImDrawList_AddQuad(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddQuadFilled(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, uint col); + public static extern void ImDrawList_AddQuadFilled(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddRect(ImDrawList* self, Vector2 a, Vector2 b, uint col, float rounding, int rounding_corners_flags, float thickness); + public static extern void ImDrawList_AddRect(ImDrawList* self, Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawCornerFlags rounding_corners, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddRectFilled(ImDrawList* self, Vector2 a, Vector2 b, uint col, float rounding, int rounding_corners_flags); + public static extern void ImDrawList_AddRectFilled(ImDrawList* self, Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawCornerFlags rounding_corners); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddRectFilledMultiColor(ImDrawList* self, Vector2 a, Vector2 b, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left); + public static extern void ImDrawList_AddRectFilledMultiColor(ImDrawList* self, Vector2 p_min, Vector2 p_max, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddText(ImDrawList* self, Vector2 pos, uint col, byte* text_begin, byte* text_end); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddTextFontPtr(ImDrawList* self, ImFont* font, float font_size, Vector2 pos, uint col, byte* text_begin, byte* text_end, float wrap_width, Vector4* cpu_fine_clip_rect); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddTriangle(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, uint col, float thickness); + public static extern void ImDrawList_AddTriangle(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddTriangleFilled(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, uint col); + public static extern void ImDrawList_AddTriangleFilled(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_ChannelsMerge(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_ChannelsSetCurrent(ImDrawList* self, int channel_index); + public static extern void ImDrawList_ChannelsSetCurrent(ImDrawList* self, int n); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_ChannelsSplit(ImDrawList* self, int channels_count); + public static extern void ImDrawList_ChannelsSplit(ImDrawList* self, int count); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_Clear(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_ClearFreeMemory(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawList_destroy(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "ImDrawList_GetClipRectMax_nonUDT2")] public static extern Vector2 ImDrawList_GetClipRectMax(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, EntryPoint = "ImDrawList_GetClipRectMin_nonUDT2")] public static extern Vector2 ImDrawList_GetClipRectMin(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_ImDrawList(IntPtr shared_data); + public static extern ImDrawList* ImDrawList_ImDrawList(IntPtr shared_data); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_PathArcTo(ImDrawList* self, Vector2 centre, float radius, float a_min, float a_max, int num_segments); + public static extern void ImDrawList_PathArcTo(ImDrawList* self, Vector2 center, float radius, float a_min, float a_max, int num_segments); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_PathArcToFast(ImDrawList* self, Vector2 centre, float radius, int a_min_of_12, int a_max_of_12); + public static extern void ImDrawList_PathArcToFast(ImDrawList* self, Vector2 center, float radius, int a_min_of_12, int a_max_of_12); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_PathBezierCurveTo(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, int num_segments); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -763,7 +809,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self, Vector2 pos); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_PathRect(ImDrawList* self, Vector2 rect_min, Vector2 rect_max, float rounding, int rounding_corners_flags); + public static extern void ImDrawList_PathRect(ImDrawList* self, Vector2 rect_min, Vector2 rect_max, float rounding, ImDrawCornerFlags rounding_corners); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_PathStroke(ImDrawList* self, uint col, byte closed, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -795,6 +841,20 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_UpdateTextureID(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawListSplitter_Clear(ImDrawListSplitter* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawListSplitter_ClearFreeMemory(ImDrawListSplitter* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawListSplitter_destroy(ImDrawListSplitter* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImDrawListSplitter* ImDrawListSplitter_ImDrawListSplitter(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawListSplitter_Merge(ImDrawListSplitter* self, ImDrawList* draw_list); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self, ImDrawList* draw_list, int channel_idx); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawListSplitter_Split(ImDrawListSplitter* self, ImDrawList* draw_list, int count); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFont_AddGlyph(ImFont* self, ushort c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFont_AddRemapChar(ImFont* self, ushort dst, ushort src, byte overwrite_dst); @@ -807,6 +867,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFont_ClearOutputData(ImFont* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFont_destroy(ImFont* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImFontGlyph* ImFont_FindGlyph(ImFont* self, ushort c); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self, ushort c); @@ -817,7 +879,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFont_GrowIndex(ImFont* self, int new_size); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImFont_ImFont(); + public static extern ImFont* ImFont_ImFont(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImFont_IsLoaded(ImFont* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -845,7 +907,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImFontAtlas_Build(ImFontAtlas* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self, CustomRect* rect, Vector2* out_uv_min, Vector2* out_uv_max); + public static extern void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self, ImFontAtlasCustomRect* rect, Vector2* out_uv_min, Vector2* out_uv_max); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFontAtlas_Clear(ImFontAtlas* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -855,7 +917,9 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFontAtlas_ClearTexData(ImFontAtlas* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self, int index); + public static extern void ImFontAtlas_destroy(ImFontAtlas* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self, int index); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ushort* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -871,49 +935,91 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ushort* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ushort* ImFontAtlas_GetGlyphRangesVietnamese(ImFontAtlas* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self, ImGuiMouseCursor cursor, Vector2* out_offset, Vector2* out_size, Vector2* out_uv_border, Vector2* out_uv_fill); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self, byte** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self, IntPtr* out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self, byte** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImFontAtlas_ImFontAtlas(); + public static extern void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self, IntPtr* out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImFontAtlas* ImFontAtlas_ImFontAtlas(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImFontAtlas_IsBuilt(ImFontAtlas* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFontAtlas_SetTexID(ImFontAtlas* self, IntPtr id); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImFontConfig_ImFontConfig(); + public static extern void ImFontAtlasCustomRect_destroy(ImFontAtlasCustomRect* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImFontAtlasCustomRect* ImFontAtlasCustomRect_ImFontAtlasCustomRect(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte ImFontAtlasCustomRect_IsPacked(ImFontAtlasCustomRect* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontConfig_destroy(ImFontConfig* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImFontConfig* ImFontConfig_ImFontConfig(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontGlyphRangesBuilder_AddChar(ImFontGlyphRangesBuilder* self, ushort c); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontGlyphRangesBuilder_AddRanges(ImFontGlyphRangesBuilder* self, ushort* ranges); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontGlyphRangesBuilder_AddText(ImFontGlyphRangesBuilder* self, byte* text, byte* text_end); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontGlyphRangesBuilder_BuildRanges(ImFontGlyphRangesBuilder* self, ImVector* out_ranges); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontGlyphRangesBuilder_Clear(ImFontGlyphRangesBuilder* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontGlyphRangesBuilder_destroy(ImFontGlyphRangesBuilder* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte ImFontGlyphRangesBuilder_GetBit(ImFontGlyphRangesBuilder* self, int n); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImFontGlyphRangesBuilder_SetBit(ImFontGlyphRangesBuilder* self, int n); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self, int pos, int bytes_count); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiInputTextCallbackData_destroy(ImGuiInputTextCallbackData* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiInputTextCallbackData_ImGuiInputTextCallbackData(); + public static extern ImGuiInputTextCallbackData* ImGuiInputTextCallbackData_ImGuiInputTextCallbackData(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self, int pos, byte* text, byte* text_end); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiIO_AddInputCharacter(ImGuiIO* self, ushort c); + public static extern void ImGuiIO_AddInputCharacter(ImGuiIO* self, uint c); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self, byte* utf8_chars); + public static extern void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self, byte* str); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiIO_ClearInputCharacters(ImGuiIO* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiIO_ImGuiIO(); + public static extern void ImGuiIO_destroy(ImGuiIO* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiIO* ImGuiIO_ImGuiIO(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiListClipper_Begin(ImGuiListClipper* self, int items_count, float items_height); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiListClipper_destroy(ImGuiListClipper* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiListClipper_End(ImGuiListClipper* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiListClipper_ImGuiListClipper(int items_count, float items_height); + public static extern ImGuiListClipper* ImGuiListClipper_ImGuiListClipper(int items_count, float items_height); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiListClipper_Step(ImGuiListClipper* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiOnceUponAFrame_ImGuiOnceUponAFrame(); + public static extern void ImGuiOnceUponAFrame_destroy(ImGuiOnceUponAFrame* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiOnceUponAFrame* ImGuiOnceUponAFrame_ImGuiOnceUponAFrame(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiPayload_Clear(ImGuiPayload* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiPayload_ImGuiPayload(); + public static extern void ImGuiPayload_destroy(ImGuiPayload* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiPayload* ImGuiPayload_ImGuiPayload(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiPayload_IsDataType(ImGuiPayload* self, byte* type); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -921,6 +1027,14 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiPayload_IsPreview(ImGuiPayload* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStorage_Clear(ImGuiStorage* self); @@ -951,10 +1065,22 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStorage_SetVoidPtr(ImGuiStorage* self, uint key, void* val); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiStyle_ImGuiStyle(); + public static extern void ImGuiStoragePair_destroy(ImGuiStoragePair* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairInt(uint _key, int _val_i); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairFloat(uint _key, float _val_f); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairPtr(uint _key, void* _val_p); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiStyle_destroy(ImGuiStyle* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiStyle* ImGuiStyle_ImGuiStyle(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self, float scale_factor); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiTextBuffer_append(ImGuiTextBuffer* self, byte* str, byte* str_end); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self, byte* fmt); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); @@ -963,11 +1089,13 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiTextBuffer_destroy(ImGuiTextBuffer* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiTextBuffer_empty(ImGuiTextBuffer* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* ImGuiTextBuffer_end(ImGuiTextBuffer* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiTextBuffer_ImGuiTextBuffer(); + public static extern ImGuiTextBuffer* ImGuiTextBuffer_ImGuiTextBuffer(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self, int capacity); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -977,38 +1105,44 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiTextFilter_Clear(ImGuiTextFilter* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiTextFilter_destroy(ImGuiTextFilter* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiTextFilter_Draw(ImGuiTextFilter* self, byte* label, float width); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiTextFilter_ImGuiTextFilter(byte* default_filter); + public static extern ImGuiTextFilter* ImGuiTextFilter_ImGuiTextFilter(byte* default_filter); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiTextFilter_IsActive(ImGuiTextFilter* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiTextFilter_PassFilter(ImGuiTextFilter* self, byte* text, byte* text_end); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImVec2_ImVec2(); + public static extern void ImGuiTextRange_destroy(ImGuiTextRange* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte ImGuiTextRange_empty(ImGuiTextRange* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiTextRange* ImGuiTextRange_ImGuiTextRange(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImVec2_ImVec2Float(float _x, float _y); + public static extern ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeStr(byte* _b, byte* _e); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImVec4_ImVec4(); + public static extern void ImGuiTextRange_split(ImGuiTextRange* self, byte separator, ImVector* @out); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImVec4_ImVec4Float(float _x, float _y, float _z, float _w); + public static extern void ImGuiViewport_destroy(ImGuiViewport* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void Pair_PairInt(uint _key, int _val_i); + public static extern ImGuiViewport* ImGuiViewport_ImGuiViewport(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void Pair_PairFloat(uint _key, float _val_f); + public static extern void ImGuiWindowClass_destroy(ImGuiWindowClass* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void Pair_PairPtr(uint _key, void* _val_p); + public static extern ImGuiWindowClass* ImGuiWindowClass_ImGuiWindowClass(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte* TextRange_begin(TextRange* self); + public static extern void ImVec2_destroy(Vector2* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte TextRange_empty(TextRange* self); + public static extern Vector2* ImVec2_ImVec2(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte* TextRange_end(TextRange* self); + public static extern Vector2* ImVec2_ImVec2Float(float _x, float _y); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void TextRange_split(TextRange* self, byte separator, ImVector* @out); + public static extern void ImVec4_destroy(Vector4* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void TextRange_TextRange(); + public static extern Vector4* ImVec4_ImVec4(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void TextRange_TextRangeStr(byte* _b, byte* _e); + public static extern Vector4* ImVec4_ImVec4Float(float _x, float _y, float _z, float _w); } } diff --git a/src/ImGui.NET/Generated/ImGuiNavInput.gen.cs b/src/ImGui.NET/Generated/ImGuiNavInput.gen.cs index 0400d811..4cde996b 100644 --- a/src/ImGui.NET/Generated/ImGuiNavInput.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiNavInput.gen.cs @@ -19,11 +19,12 @@ public enum ImGuiNavInput TweakSlow = 14, TweakFast = 15, KeyMenu = 16, - KeyLeft = 17, - KeyRight = 18, - KeyUp = 19, - KeyDown = 20, - COUNT = 21, + KeyTab = 17, + KeyLeft = 18, + KeyRight = 19, + KeyUp = 20, + KeyDown = 21, + COUNT = 22, InternalStart = KeyMenu, } } diff --git a/src/ImGui.NET/Generated/ImGuiOnceUponAFrame.gen.cs b/src/ImGui.NET/Generated/ImGuiOnceUponAFrame.gen.cs index e3c648cc..aa076d9a 100644 --- a/src/ImGui.NET/Generated/ImGuiOnceUponAFrame.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiOnceUponAFrame.gen.cs @@ -18,5 +18,9 @@ public unsafe partial struct ImGuiOnceUponAFramePtr public static implicit operator ImGuiOnceUponAFrame* (ImGuiOnceUponAFramePtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiOnceUponAFramePtr(IntPtr nativePtr) => new ImGuiOnceUponAFramePtr(nativePtr); public ref int RefFrame => ref Unsafe.AsRef(&NativePtr->RefFrame); + public void Destroy() + { + ImGuiNative.ImGuiOnceUponAFrame_destroy(NativePtr); + } } } diff --git a/src/ImGui.NET/Generated/ImGuiPayload.gen.cs b/src/ImGui.NET/Generated/ImGuiPayload.gen.cs index f0a9e318..29937b23 100644 --- a/src/ImGui.NET/Generated/ImGuiPayload.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiPayload.gen.cs @@ -36,6 +36,10 @@ public void Clear() { ImGuiNative.ImGuiPayload_Clear(NativePtr); } + public void Destroy() + { + ImGuiNative.ImGuiPayload_destroy(NativePtr); + } public bool IsDataType(string type) { byte* native_type; diff --git a/src/ImGui.NET/Generated/ImGuiPlatformIO.gen.cs b/src/ImGui.NET/Generated/ImGuiPlatformIO.gen.cs new file mode 100644 index 00000000..0d5bc588 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiPlatformIO.gen.cs @@ -0,0 +1,78 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiPlatformIO + { + public IntPtr Platform_CreateWindow; + public IntPtr Platform_DestroyWindow; + public IntPtr Platform_ShowWindow; + public IntPtr Platform_SetWindowPos; + public IntPtr Platform_GetWindowPos; + public IntPtr Platform_SetWindowSize; + public IntPtr Platform_GetWindowSize; + public IntPtr Platform_SetWindowFocus; + public IntPtr Platform_GetWindowFocus; + public IntPtr Platform_GetWindowMinimized; + public IntPtr Platform_SetWindowTitle; + public IntPtr Platform_SetWindowAlpha; + public IntPtr Platform_UpdateWindow; + public IntPtr Platform_RenderWindow; + public IntPtr Platform_SwapBuffers; + public IntPtr Platform_GetWindowDpiScale; + public IntPtr Platform_OnChangedViewport; + public IntPtr Platform_SetImeInputPos; + public IntPtr Platform_CreateVkSurface; + public IntPtr Renderer_CreateWindow; + public IntPtr Renderer_DestroyWindow; + public IntPtr Renderer_SetWindowSize; + public IntPtr Renderer_RenderWindow; + public IntPtr Renderer_SwapBuffers; + public ImVector Monitors; + public ImGuiViewport* MainViewport; + public ImVector Viewports; + } + public unsafe partial struct ImGuiPlatformIOPtr + { + public ImGuiPlatformIO* NativePtr { get; } + public ImGuiPlatformIOPtr(ImGuiPlatformIO* nativePtr) => NativePtr = nativePtr; + public ImGuiPlatformIOPtr(IntPtr nativePtr) => NativePtr = (ImGuiPlatformIO*)nativePtr; + public static implicit operator ImGuiPlatformIOPtr(ImGuiPlatformIO* nativePtr) => new ImGuiPlatformIOPtr(nativePtr); + public static implicit operator ImGuiPlatformIO* (ImGuiPlatformIOPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiPlatformIOPtr(IntPtr nativePtr) => new ImGuiPlatformIOPtr(nativePtr); + public ref IntPtr Platform_CreateWindow => ref Unsafe.AsRef(&NativePtr->Platform_CreateWindow); + public ref IntPtr Platform_DestroyWindow => ref Unsafe.AsRef(&NativePtr->Platform_DestroyWindow); + public ref IntPtr Platform_ShowWindow => ref Unsafe.AsRef(&NativePtr->Platform_ShowWindow); + public ref IntPtr Platform_SetWindowPos => ref Unsafe.AsRef(&NativePtr->Platform_SetWindowPos); + public ref IntPtr Platform_GetWindowPos => ref Unsafe.AsRef(&NativePtr->Platform_GetWindowPos); + public ref IntPtr Platform_SetWindowSize => ref Unsafe.AsRef(&NativePtr->Platform_SetWindowSize); + public ref IntPtr Platform_GetWindowSize => ref Unsafe.AsRef(&NativePtr->Platform_GetWindowSize); + public ref IntPtr Platform_SetWindowFocus => ref Unsafe.AsRef(&NativePtr->Platform_SetWindowFocus); + public ref IntPtr Platform_GetWindowFocus => ref Unsafe.AsRef(&NativePtr->Platform_GetWindowFocus); + public ref IntPtr Platform_GetWindowMinimized => ref Unsafe.AsRef(&NativePtr->Platform_GetWindowMinimized); + public ref IntPtr Platform_SetWindowTitle => ref Unsafe.AsRef(&NativePtr->Platform_SetWindowTitle); + public ref IntPtr Platform_SetWindowAlpha => ref Unsafe.AsRef(&NativePtr->Platform_SetWindowAlpha); + public ref IntPtr Platform_UpdateWindow => ref Unsafe.AsRef(&NativePtr->Platform_UpdateWindow); + public ref IntPtr Platform_RenderWindow => ref Unsafe.AsRef(&NativePtr->Platform_RenderWindow); + public ref IntPtr Platform_SwapBuffers => ref Unsafe.AsRef(&NativePtr->Platform_SwapBuffers); + public ref IntPtr Platform_GetWindowDpiScale => ref Unsafe.AsRef(&NativePtr->Platform_GetWindowDpiScale); + public ref IntPtr Platform_OnChangedViewport => ref Unsafe.AsRef(&NativePtr->Platform_OnChangedViewport); + public ref IntPtr Platform_SetImeInputPos => ref Unsafe.AsRef(&NativePtr->Platform_SetImeInputPos); + public ref IntPtr Platform_CreateVkSurface => ref Unsafe.AsRef(&NativePtr->Platform_CreateVkSurface); + public ref IntPtr Renderer_CreateWindow => ref Unsafe.AsRef(&NativePtr->Renderer_CreateWindow); + public ref IntPtr Renderer_DestroyWindow => ref Unsafe.AsRef(&NativePtr->Renderer_DestroyWindow); + public ref IntPtr Renderer_SetWindowSize => ref Unsafe.AsRef(&NativePtr->Renderer_SetWindowSize); + public ref IntPtr Renderer_RenderWindow => ref Unsafe.AsRef(&NativePtr->Renderer_RenderWindow); + public ref IntPtr Renderer_SwapBuffers => ref Unsafe.AsRef(&NativePtr->Renderer_SwapBuffers); + public ImPtrVector Monitors => new ImPtrVector(NativePtr->Monitors, Unsafe.SizeOf()); + public ImGuiViewportPtr MainViewport => new ImGuiViewportPtr(NativePtr->MainViewport); + public ImVector Viewports => new ImVector(NativePtr->Viewports); + public void Destroy() + { + ImGuiNative.ImGuiPlatformIO_destroy(NativePtr); + } + } +} diff --git a/src/ImGui.NET/Generated/ImGuiPlatformMonitor.gen.cs b/src/ImGui.NET/Generated/ImGuiPlatformMonitor.gen.cs new file mode 100644 index 00000000..03823743 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiPlatformMonitor.gen.cs @@ -0,0 +1,34 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiPlatformMonitor + { + public Vector2 MainPos; + public Vector2 MainSize; + public Vector2 WorkPos; + public Vector2 WorkSize; + public float DpiScale; + } + public unsafe partial struct ImGuiPlatformMonitorPtr + { + public ImGuiPlatformMonitor* NativePtr { get; } + public ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* nativePtr) => NativePtr = nativePtr; + public ImGuiPlatformMonitorPtr(IntPtr nativePtr) => NativePtr = (ImGuiPlatformMonitor*)nativePtr; + public static implicit operator ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* nativePtr) => new ImGuiPlatformMonitorPtr(nativePtr); + public static implicit operator ImGuiPlatformMonitor* (ImGuiPlatformMonitorPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiPlatformMonitorPtr(IntPtr nativePtr) => new ImGuiPlatformMonitorPtr(nativePtr); + public ref Vector2 MainPos => ref Unsafe.AsRef(&NativePtr->MainPos); + public ref Vector2 MainSize => ref Unsafe.AsRef(&NativePtr->MainSize); + public ref Vector2 WorkPos => ref Unsafe.AsRef(&NativePtr->WorkPos); + public ref Vector2 WorkSize => ref Unsafe.AsRef(&NativePtr->WorkSize); + public ref float DpiScale => ref Unsafe.AsRef(&NativePtr->DpiScale); + public void Destroy() + { + ImGuiNative.ImGuiPlatformMonitor_destroy(NativePtr); + } + } +} diff --git a/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs index dff74722..a99b470c 100644 --- a/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs @@ -8,5 +8,6 @@ public enum ImGuiSelectableFlags SpanAllColumns = 1 << 1, AllowDoubleClick = 1 << 2, Disabled = 1 << 3, + AllowItemOverlap = 1 << 4, } } diff --git a/src/ImGui.NET/Generated/ImGuiStorage.gen.cs b/src/ImGui.NET/Generated/ImGuiStorage.gen.cs index a65b7afa..a7e020cc 100644 --- a/src/ImGui.NET/Generated/ImGuiStorage.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiStorage.gen.cs @@ -17,7 +17,7 @@ public unsafe partial struct ImGuiStoragePtr public static implicit operator ImGuiStoragePtr(ImGuiStorage* nativePtr) => new ImGuiStoragePtr(nativePtr); public static implicit operator ImGuiStorage* (ImGuiStoragePtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiStoragePtr(IntPtr nativePtr) => new ImGuiStoragePtr(nativePtr); - public ImVector Data => new ImVector(NativePtr->Data); + public ImPtrVector Data => new ImPtrVector(NativePtr->Data, Unsafe.SizeOf()); public void BuildSortByKey() { ImGuiNative.ImGuiStorage_BuildSortByKey(NativePtr); diff --git a/src/ImGui.NET/Generated/ImGuiStyle.gen.cs b/src/ImGui.NET/Generated/ImGuiStyle.gen.cs index 1881c7f0..d508612c 100644 --- a/src/ImGui.NET/Generated/ImGuiStyle.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiStyle.gen.cs @@ -13,6 +13,7 @@ public unsafe partial struct ImGuiStyle public float WindowBorderSize; public Vector2 WindowMinSize; public Vector2 WindowTitleAlign; + public ImGuiDir WindowMenuButtonPosition; public float ChildRounding; public float ChildBorderSize; public float PopupRounding; @@ -29,7 +30,11 @@ public unsafe partial struct ImGuiStyle public float ScrollbarRounding; public float GrabMinSize; public float GrabRounding; + public float TabRounding; + public float TabBorderSize; + public ImGuiDir ColorButtonPosition; public Vector2 ButtonTextAlign; + public Vector2 SelectableTextAlign; public Vector2 DisplayWindowPadding; public Vector2 DisplaySafeAreaPadding; public float MouseCursorScale; @@ -79,6 +84,13 @@ public unsafe partial struct ImGuiStyle public Vector4 Colors_40; public Vector4 Colors_41; public Vector4 Colors_42; + public Vector4 Colors_43; + public Vector4 Colors_44; + public Vector4 Colors_45; + public Vector4 Colors_46; + public Vector4 Colors_47; + public Vector4 Colors_48; + public Vector4 Colors_49; } public unsafe partial struct ImGuiStylePtr { @@ -94,6 +106,7 @@ public unsafe partial struct ImGuiStylePtr public ref float WindowBorderSize => ref Unsafe.AsRef(&NativePtr->WindowBorderSize); public ref Vector2 WindowMinSize => ref Unsafe.AsRef(&NativePtr->WindowMinSize); public ref Vector2 WindowTitleAlign => ref Unsafe.AsRef(&NativePtr->WindowTitleAlign); + public ref ImGuiDir WindowMenuButtonPosition => ref Unsafe.AsRef(&NativePtr->WindowMenuButtonPosition); public ref float ChildRounding => ref Unsafe.AsRef(&NativePtr->ChildRounding); public ref float ChildBorderSize => ref Unsafe.AsRef(&NativePtr->ChildBorderSize); public ref float PopupRounding => ref Unsafe.AsRef(&NativePtr->PopupRounding); @@ -110,14 +123,22 @@ public unsafe partial struct ImGuiStylePtr public ref float ScrollbarRounding => ref Unsafe.AsRef(&NativePtr->ScrollbarRounding); public ref float GrabMinSize => ref Unsafe.AsRef(&NativePtr->GrabMinSize); public ref float GrabRounding => ref Unsafe.AsRef(&NativePtr->GrabRounding); + public ref float TabRounding => ref Unsafe.AsRef(&NativePtr->TabRounding); + public ref float TabBorderSize => ref Unsafe.AsRef(&NativePtr->TabBorderSize); + public ref ImGuiDir ColorButtonPosition => ref Unsafe.AsRef(&NativePtr->ColorButtonPosition); public ref Vector2 ButtonTextAlign => ref Unsafe.AsRef(&NativePtr->ButtonTextAlign); + public ref Vector2 SelectableTextAlign => ref Unsafe.AsRef(&NativePtr->SelectableTextAlign); public ref Vector2 DisplayWindowPadding => ref Unsafe.AsRef(&NativePtr->DisplayWindowPadding); public ref Vector2 DisplaySafeAreaPadding => ref Unsafe.AsRef(&NativePtr->DisplaySafeAreaPadding); public ref float MouseCursorScale => ref Unsafe.AsRef(&NativePtr->MouseCursorScale); public ref bool AntiAliasedLines => ref Unsafe.AsRef(&NativePtr->AntiAliasedLines); public ref bool AntiAliasedFill => ref Unsafe.AsRef(&NativePtr->AntiAliasedFill); public ref float CurveTessellationTol => ref Unsafe.AsRef(&NativePtr->CurveTessellationTol); - public RangeAccessor Colors => new RangeAccessor(&NativePtr->Colors_0, 43); + public RangeAccessor Colors => new RangeAccessor(&NativePtr->Colors_0, 50); + public void Destroy() + { + ImGuiNative.ImGuiStyle_destroy(NativePtr); + } public void ScaleAllSizes(float scale_factor) { ImGuiNative.ImGuiStyle_ScaleAllSizes(NativePtr, scale_factor); diff --git a/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs b/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs index 667ae535..660a2b89 100644 --- a/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs @@ -22,7 +22,9 @@ public enum ImGuiStyleVar ScrollbarRounding = 17, GrabMinSize = 18, GrabRounding = 19, - ButtonTextAlign = 20, - COUNT = 21, + TabRounding = 20, + ButtonTextAlign = 21, + SelectableTextAlign = 22, + COUNT = 23, } } diff --git a/src/ImGui.NET/Generated/ImGuiTabBarFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTabBarFlags.gen.cs new file mode 100644 index 00000000..fcdf6a63 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiTabBarFlags.gen.cs @@ -0,0 +1,18 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiTabBarFlags + { + None = 0, + Reorderable = 1 << 0, + AutoSelectNewTabs = 1 << 1, + TabListPopupButton = 1 << 2, + NoCloseWithMiddleMouseButton = 1 << 3, + NoTabListScrollingButtons = 1 << 4, + NoTooltip = 1 << 5, + FittingPolicyResizeDown = 1 << 6, + FittingPolicyScroll = 1 << 7, + FittingPolicyMask = FittingPolicyResizeDown | FittingPolicyScroll, + FittingPolicyDefault = FittingPolicyResizeDown, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiTabItemFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTabItemFlags.gen.cs new file mode 100644 index 00000000..963b4cd2 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiTabItemFlags.gen.cs @@ -0,0 +1,12 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiTabItemFlags + { + None = 0, + UnsavedDocument = 1 << 0, + SetSelected = 1 << 1, + NoCloseWithMiddleMouseButton = 1 << 2, + NoPushId = 1 << 3, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs b/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs index 9215d982..2c6c09f8 100644 --- a/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs @@ -18,6 +18,33 @@ public unsafe partial struct ImGuiTextBufferPtr public static implicit operator ImGuiTextBuffer* (ImGuiTextBufferPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiTextBufferPtr(IntPtr nativePtr) => new ImGuiTextBufferPtr(nativePtr); public ImVector Buf => new ImVector(NativePtr->Buf); + public void append(string str) + { + byte* native_str; + int str_byteCount = 0; + if (str != null) + { + str_byteCount = Encoding.UTF8.GetByteCount(str); + if (str_byteCount > Util.StackAllocationSizeLimit) + { + native_str = Util.Allocate(str_byteCount + 1); + } + else + { + byte* native_str_stackBytes = stackalloc byte[str_byteCount + 1]; + native_str = native_str_stackBytes; + } + int native_str_offset = Util.GetUtf8(str, native_str, str_byteCount); + native_str[native_str_offset] = 0; + } + else { native_str = null; } + byte* native_str_end = null; + ImGuiNative.ImGuiTextBuffer_append(NativePtr, native_str, native_str_end); + if (str_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str); + } + } public void appendf(string fmt) { byte* native_fmt; @@ -58,6 +85,10 @@ public void clear() { ImGuiNative.ImGuiTextBuffer_clear(NativePtr); } + public void Destroy() + { + ImGuiNative.ImGuiTextBuffer_destroy(NativePtr); + } public bool empty() { byte ret = ImGuiNative.ImGuiTextBuffer_empty(NativePtr); diff --git a/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs b/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs index 8b00332e..df73cdd7 100644 --- a/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs @@ -20,7 +20,7 @@ public unsafe partial struct ImGuiTextFilterPtr public static implicit operator ImGuiTextFilter* (ImGuiTextFilterPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiTextFilterPtr(IntPtr nativePtr) => new ImGuiTextFilterPtr(nativePtr); public RangeAccessor InputBuf => new RangeAccessor(NativePtr->InputBuf, 256); - public ImVector Filters => new ImVector(NativePtr->Filters); + public ImPtrVector Filters => new ImPtrVector(NativePtr->Filters, Unsafe.SizeOf()); public ref int CountGrep => ref Unsafe.AsRef(&NativePtr->CountGrep); public void Build() { @@ -30,6 +30,10 @@ public void Clear() { ImGuiNative.ImGuiTextFilter_Clear(NativePtr); } + public void Destroy() + { + ImGuiNative.ImGuiTextFilter_destroy(NativePtr); + } public bool Draw() { byte* native_label; diff --git a/src/ImGui.NET/Generated/ImGuiTextRange.gen.cs b/src/ImGui.NET/Generated/ImGuiTextRange.gen.cs new file mode 100644 index 00000000..46d5a60b --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiTextRange.gen.cs @@ -0,0 +1,40 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiTextRange + { + public byte* b; + public byte* e; + } + public unsafe partial struct ImGuiTextRangePtr + { + public ImGuiTextRange* NativePtr { get; } + public ImGuiTextRangePtr(ImGuiTextRange* nativePtr) => NativePtr = nativePtr; + public ImGuiTextRangePtr(IntPtr nativePtr) => NativePtr = (ImGuiTextRange*)nativePtr; + public static implicit operator ImGuiTextRangePtr(ImGuiTextRange* nativePtr) => new ImGuiTextRangePtr(nativePtr); + public static implicit operator ImGuiTextRange* (ImGuiTextRangePtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiTextRangePtr(IntPtr nativePtr) => new ImGuiTextRangePtr(nativePtr); + public IntPtr b { get => (IntPtr)NativePtr->b; set => NativePtr->b = (byte*)value; } + public IntPtr e { get => (IntPtr)NativePtr->e; set => NativePtr->e = (byte*)value; } + public void Destroy() + { + ImGuiNative.ImGuiTextRange_destroy(NativePtr); + } + public bool empty() + { + byte ret = ImGuiNative.ImGuiTextRange_empty(NativePtr); + return ret != 0; + } + public void split(byte separator, out ImVector @out) + { + fixed (ImVector* native_out = &@out) + { + ImGuiNative.ImGuiTextRange_split(NativePtr, separator, native_out); + } + } + } +} diff --git a/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs index cd9d4926..715a125a 100644 --- a/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs @@ -15,6 +15,8 @@ public enum ImGuiTreeNodeFlags Leaf = 1 << 8, Bullet = 1 << 9, FramePadding = 1 << 10, + SpanAvailWidth = 1 << 11, + SpanFullWidth = 1 << 12, NavLeftJumpsBackHere = 1 << 13, CollapsingHeader = Framed | NoTreePushOnOpen | NoAutoOpenOnLog, } diff --git a/src/ImGui.NET/Generated/ImGuiViewport.gen.cs b/src/ImGui.NET/Generated/ImGuiViewport.gen.cs new file mode 100644 index 00000000..2ab98628 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiViewport.gen.cs @@ -0,0 +1,52 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiViewport + { + public uint ID; + public ImGuiViewportFlags Flags; + public Vector2 Pos; + public Vector2 Size; + public float DpiScale; + public ImDrawData* DrawData; + public uint ParentViewportId; + public void* RendererUserData; + public void* PlatformUserData; + public void* PlatformHandle; + public void* PlatformHandleRaw; + public byte PlatformRequestClose; + public byte PlatformRequestMove; + public byte PlatformRequestResize; + } + public unsafe partial struct ImGuiViewportPtr + { + public ImGuiViewport* NativePtr { get; } + public ImGuiViewportPtr(ImGuiViewport* nativePtr) => NativePtr = nativePtr; + public ImGuiViewportPtr(IntPtr nativePtr) => NativePtr = (ImGuiViewport*)nativePtr; + public static implicit operator ImGuiViewportPtr(ImGuiViewport* nativePtr) => new ImGuiViewportPtr(nativePtr); + public static implicit operator ImGuiViewport* (ImGuiViewportPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiViewportPtr(IntPtr nativePtr) => new ImGuiViewportPtr(nativePtr); + public ref uint ID => ref Unsafe.AsRef(&NativePtr->ID); + public ref ImGuiViewportFlags Flags => ref Unsafe.AsRef(&NativePtr->Flags); + public ref Vector2 Pos => ref Unsafe.AsRef(&NativePtr->Pos); + public ref Vector2 Size => ref Unsafe.AsRef(&NativePtr->Size); + public ref float DpiScale => ref Unsafe.AsRef(&NativePtr->DpiScale); + public ImDrawDataPtr DrawData => new ImDrawDataPtr(NativePtr->DrawData); + public ref uint ParentViewportId => ref Unsafe.AsRef(&NativePtr->ParentViewportId); + public IntPtr RendererUserData { get => (IntPtr)NativePtr->RendererUserData; set => NativePtr->RendererUserData = (void*)value; } + public IntPtr PlatformUserData { get => (IntPtr)NativePtr->PlatformUserData; set => NativePtr->PlatformUserData = (void*)value; } + public IntPtr PlatformHandle { get => (IntPtr)NativePtr->PlatformHandle; set => NativePtr->PlatformHandle = (void*)value; } + public IntPtr PlatformHandleRaw { get => (IntPtr)NativePtr->PlatformHandleRaw; set => NativePtr->PlatformHandleRaw = (void*)value; } + public ref bool PlatformRequestClose => ref Unsafe.AsRef(&NativePtr->PlatformRequestClose); + public ref bool PlatformRequestMove => ref Unsafe.AsRef(&NativePtr->PlatformRequestMove); + public ref bool PlatformRequestResize => ref Unsafe.AsRef(&NativePtr->PlatformRequestResize); + public void Destroy() + { + ImGuiNative.ImGuiViewport_destroy(NativePtr); + } + } +} diff --git a/src/ImGui.NET/Generated/ImGuiViewportFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiViewportFlags.gen.cs new file mode 100644 index 00000000..dddcbc59 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiViewportFlags.gen.cs @@ -0,0 +1,18 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiViewportFlags + { + None = 0, + NoDecoration = 1 << 0, + NoTaskBarIcon = 1 << 1, + NoFocusOnAppearing = 1 << 2, + NoFocusOnClick = 1 << 3, + NoInputs = 1 << 4, + NoRendererClear = 1 << 5, + TopMost = 1 << 6, + Minimized = 1 << 7, + NoAutoMerge = 1 << 8, + CanHostOtherWindows = 1 << 9, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiWindowClass.gen.cs b/src/ImGui.NET/Generated/ImGuiWindowClass.gen.cs new file mode 100644 index 00000000..c61a2795 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiWindowClass.gen.cs @@ -0,0 +1,36 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiWindowClass + { + public uint ClassId; + public uint ParentViewportId; + public ImGuiViewportFlags ViewportFlagsOverrideSet; + public ImGuiViewportFlags ViewportFlagsOverrideClear; + public byte DockingAlwaysTabBar; + public byte DockingAllowUnclassed; + } + public unsafe partial struct ImGuiWindowClassPtr + { + public ImGuiWindowClass* NativePtr { get; } + public ImGuiWindowClassPtr(ImGuiWindowClass* nativePtr) => NativePtr = nativePtr; + public ImGuiWindowClassPtr(IntPtr nativePtr) => NativePtr = (ImGuiWindowClass*)nativePtr; + public static implicit operator ImGuiWindowClassPtr(ImGuiWindowClass* nativePtr) => new ImGuiWindowClassPtr(nativePtr); + public static implicit operator ImGuiWindowClass* (ImGuiWindowClassPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiWindowClassPtr(IntPtr nativePtr) => new ImGuiWindowClassPtr(nativePtr); + public ref uint ClassId => ref Unsafe.AsRef(&NativePtr->ClassId); + public ref uint ParentViewportId => ref Unsafe.AsRef(&NativePtr->ParentViewportId); + public ref ImGuiViewportFlags ViewportFlagsOverrideSet => ref Unsafe.AsRef(&NativePtr->ViewportFlagsOverrideSet); + public ref ImGuiViewportFlags ViewportFlagsOverrideClear => ref Unsafe.AsRef(&NativePtr->ViewportFlagsOverrideClear); + public ref bool DockingAlwaysTabBar => ref Unsafe.AsRef(&NativePtr->DockingAlwaysTabBar); + public ref bool DockingAllowUnclassed => ref Unsafe.AsRef(&NativePtr->DockingAllowUnclassed); + public void Destroy() + { + ImGuiNative.ImGuiWindowClass_destroy(NativePtr); + } + } +} diff --git a/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs index 8c86eb7b..fe05f9d3 100644 --- a/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs @@ -23,6 +23,8 @@ public enum ImGuiWindowFlags AlwaysUseWindowPadding = 1 << 16, NoNavInputs = 1 << 18, NoNavFocus = 1 << 19, + UnsavedDocument = 1 << 20, + NoDocking = 1 << 21, NoNav = NoNavInputs | NoNavFocus, NoDecoration = NoTitleBar | NoResize | NoScrollbar | NoCollapse, NoInputs = NoMouseInputs | NoNavInputs | NoNavFocus, @@ -32,5 +34,6 @@ public enum ImGuiWindowFlags Popup = 1 << 26, Modal = 1 << 27, ChildMenu = 1 << 28, + DockNodeHost = 1 << 29, } } diff --git a/src/ImGui.NET/Generated/TextRange.gen.cs b/src/ImGui.NET/Generated/TextRange.gen.cs deleted file mode 100644 index 75322339..00000000 --- a/src/ImGui.NET/Generated/TextRange.gen.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Numerics; -using System.Runtime.CompilerServices; -using System.Text; - -namespace ImGuiNET -{ - public unsafe partial struct TextRange - { - public byte* b; - public byte* e; - } - public unsafe partial struct TextRangePtr - { - public TextRange* NativePtr { get; } - public TextRangePtr(TextRange* nativePtr) => NativePtr = nativePtr; - public TextRangePtr(IntPtr nativePtr) => NativePtr = (TextRange*)nativePtr; - public static implicit operator TextRangePtr(TextRange* nativePtr) => new TextRangePtr(nativePtr); - public static implicit operator TextRange* (TextRangePtr wrappedPtr) => wrappedPtr.NativePtr; - public static implicit operator TextRangePtr(IntPtr nativePtr) => new TextRangePtr(nativePtr); - public IntPtr b { get => (IntPtr)NativePtr->b; set => NativePtr->b = (byte*)value; } - public IntPtr e { get => (IntPtr)NativePtr->e; set => NativePtr->e = (byte*)value; } - public string begin() - { - byte* ret = ImGuiNative.TextRange_begin(NativePtr); - return Util.StringFromPtr(ret); - } - public bool empty() - { - byte ret = ImGuiNative.TextRange_empty(NativePtr); - return ret != 0; - } - public string end() - { - byte* ret = ImGuiNative.TextRange_end(NativePtr); - return Util.StringFromPtr(ret); - } - public void split(byte separator, out ImVector @out) - { - fixed (ImVector* native_out = &@out) - { - ImGuiNative.TextRange_split(NativePtr, separator, native_out); - } - } - } -} diff --git a/src/ImGui.NET/ImGui.Manual.cs b/src/ImGui.NET/ImGui.Manual.cs index bdd337d3..522c6f7c 100644 --- a/src/ImGui.NET/ImGui.Manual.cs +++ b/src/ImGui.NET/ImGui.Manual.cs @@ -128,7 +128,7 @@ public static bool InputText( } Util.GetUtf8(input, utf8InputBytes, inputBufSize); uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); - Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount + 1, 0, clearBytesCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); byte result = ImGuiNative.igInputText( @@ -218,7 +218,7 @@ public static bool InputTextMultiline( } Util.GetUtf8(input, utf8InputBytes, inputBufSize); uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); - Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount + 1, 0, clearBytesCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); byte result = ImGuiNative.igInputTextMultiline( diff --git a/src/ImGui.NET/ImGui.NET.csproj b/src/ImGui.NET/ImGui.NET.csproj index f395107f..f92630cd 100644 --- a/src/ImGui.NET/ImGui.NET.csproj +++ b/src/ImGui.NET/ImGui.NET.csproj @@ -1,7 +1,7 @@  A .NET wrapper for the Dear ImGui library. - 1.66.0 + 1.72.0 Eric Mellino netstandard2.0 true @@ -15,6 +15,12 @@ $(OutputPath)\ImGui.NET.xml ImGuiNET + + x64 + + + x64 + @@ -30,12 +36,19 @@ true - runtimes/linux-x64/native + runtimes/linux-x64/native/libcimgui.so true - runtimes/osx-x64/native + runtimes/osx-x64/native/libcimgui.dylib + true + + + build/net40/ImGui.NET.targets true + + + diff --git a/src/ImGui.NET/ImVector.cs b/src/ImGui.NET/ImVector.cs index 76411b86..21b1c2e3 100644 --- a/src/ImGui.NET/ImVector.cs +++ b/src/ImGui.NET/ImVector.cs @@ -3,73 +3,80 @@ namespace ImGuiNET { - public unsafe struct ImVector - { - public readonly int Size; - public readonly int Capacity; - public readonly IntPtr Data; + public unsafe struct ImVector + { + public readonly int Size; + public readonly int Capacity; + public readonly IntPtr Data; - public ref T Ref(int index) - { - return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); - } + public ImVector(int size, int capacity, IntPtr data) + { + Size = size; + Capacity = capacity; + Data = data; + } - public IntPtr Address(int index) - { - return (IntPtr)((byte*)Data + index * Unsafe.SizeOf()); - } - } + public ref T Ref(int index) + { + return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); + } - public unsafe struct ImVector - { - public readonly int Size; - public readonly int Capacity; - public readonly IntPtr Data; + public IntPtr Address(int index) + { + return (IntPtr)((byte*)Data + index * Unsafe.SizeOf()); + } + } - public ImVector(ImVector vector) - { - Size = vector.Size; - Capacity = vector.Capacity; - Data = vector.Data; - } + public unsafe struct ImVector + { + public readonly int Size; + public readonly int Capacity; + public readonly IntPtr Data; - public ImVector(int size, int capacity, IntPtr data) - { - Size = size; - Capacity = capacity; - Data = data; - } + public ImVector(ImVector vector) + { + Size = vector.Size; + Capacity = vector.Capacity; + Data = vector.Data; + } - public ref T this[int index] => ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); - } + public ImVector(int size, int capacity, IntPtr data) + { + Size = size; + Capacity = capacity; + Data = data; + } - public unsafe struct ImPtrVector - { - public readonly int Size; - public readonly int Capacity; - public readonly IntPtr Data; - private readonly int _stride; + public ref T this[int index] => ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); + } - public ImPtrVector(ImVector vector, int stride) - : this(vector.Size, vector.Capacity, vector.Data, stride) - { } + public unsafe struct ImPtrVector + { + public readonly int Size; + public readonly int Capacity; + public readonly IntPtr Data; + private readonly int _stride; - public ImPtrVector(int size, int capacity, IntPtr data, int stride) - { - Size = size; - Capacity = capacity; - Data = data; - _stride = stride; - } + public ImPtrVector(ImVector vector, int stride) + : this(vector.Size, vector.Capacity, vector.Data, stride) + { } - public T this[int index] - { - get - { - byte* address = (byte*)Data + index * _stride; - T ret = Unsafe.Read(&address); - return ret; - } - } - } + public ImPtrVector(int size, int capacity, IntPtr data, int stride) + { + Size = size; + Capacity = capacity; + Data = data; + _stride = stride; + } + + public T this[int index] + { + get + { + byte* address = (byte*)Data + index * _stride; + T ret = Unsafe.Read(&address); + return ret; + } + } + } } diff --git a/src/ImGui.NET/NullTerminatedString.cs b/src/ImGui.NET/NullTerminatedString.cs index d54bae28..6bc9cc51 100644 --- a/src/ImGui.NET/NullTerminatedString.cs +++ b/src/ImGui.NET/NullTerminatedString.cs @@ -1,29 +1,33 @@ -using System.Text; +using System; +using System.Text; namespace ImGuiNET { - public unsafe struct NullTerminatedString - { - public readonly byte* Data; + public unsafe struct NullTerminatedString + { + public readonly byte* Data; - public NullTerminatedString(byte* data) - { - Data = data; - } + public NullTerminatedString(IntPtr data) : this((byte*)data) { } + public NullTerminatedString(byte* data) + { + Data = data; + } - public override string ToString() - { - int length = 0; - byte* ptr = Data; - while (*ptr != 0) - { - length += 1; - ptr += 1; - } + public override string ToString() + { + if (Data == null) { return null; } - return Encoding.ASCII.GetString(Data, length); - } + int length = 0; + byte* ptr = Data; + while (*ptr != 0) + { + length += 1; + ptr += 1; + } - public static implicit operator string(NullTerminatedString nts) => nts.ToString(); - } -} + return Encoding.ASCII.GetString(Data, length); + } + + public static implicit operator string(NullTerminatedString nts) => nts.ToString(); + } +} \ No newline at end of file diff --git a/src/ImGui.NET/Pair.cs b/src/ImGui.NET/Pair.cs index 23e0332e..904cde39 100644 --- a/src/ImGui.NET/Pair.cs +++ b/src/ImGui.NET/Pair.cs @@ -3,12 +3,22 @@ namespace ImGuiNET { - public struct Pair + public struct ImGuiStoragePair { public uint Key; public UnionValue Value; } + public unsafe struct ImGuiStoragePairPtr + { + public ImGuiStoragePair* NativePtr { get; } + public ImGuiStoragePairPtr(ImGuiStoragePair* nativePtr) => NativePtr = nativePtr; + public ImGuiStoragePairPtr(IntPtr nativePtr) => NativePtr = (ImGuiStoragePair*)nativePtr; + public static implicit operator ImGuiStoragePairPtr(ImGuiStoragePair* nativePtr) => new ImGuiStoragePairPtr(nativePtr); + public static implicit operator ImGuiStoragePair*(ImGuiStoragePairPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiStoragePairPtr(IntPtr nativePtr) => new ImGuiStoragePairPtr(nativePtr); + } + [StructLayout(LayoutKind.Explicit)] public struct UnionValue { diff --git a/src/ImGui.NET/build/net40/ImGui.NET.targets b/src/ImGui.NET/build/net40/ImGui.NET.targets new file mode 100644 index 00000000..36482b63 --- /dev/null +++ b/src/ImGui.NET/build/net40/ImGui.NET.targets @@ -0,0 +1,24 @@ + + + + <_IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true + <_IsMacOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true + <_IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true + + <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsMacOS)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">osx-x64 + <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsLinux)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">linux-x64 + <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'true' Or '$(PlatformTarget)' == 'x86')">win-x86 + <_NativeRuntime Condition=" '$(_NativeRuntime)' == '' And '$(_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')">win-x64 + + <_NativeLibName Condition="'$(_NativeRuntime)' == 'win-x86' Or '$(_NativeRuntime)' == 'win-x64'">cimgui.dll + <_NativeLibName Condition="'$(_NativeRuntime)' == 'osx-x64'">libcimgui.dylib + <_NativeLibName Condition="'$(_NativeRuntime)' == 'linux-x64'">libcimgui.so + + + + %(Filename)%(Extension) + Always + False + + +