diff --git a/README.md b/README.md index 51a3c292..8c24ac3b 100644 --- a/README.md +++ b/README.md @@ -316,13 +316,13 @@ If using Java 9 modules, ImGui Java has Automatic Module Names: All extensions are already included in the binding and can be used as it is. See examples in the `example` module for more information about how to use them. -- [ImNodes](https://github.com/Nelarius/imnodes/tree/857cc860af05ac0f6a4039c2af33d982377b6cf4) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImNodes.java)
+- [ImNodes](https://github.com/Nelarius/imnodes/tree/b2ec254ce576ac3d42dfb7aef61deadbff8e7211) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImNodes.java)
A small, dependency-free node editor for Dear ImGui. (A good choice for simple start.) -- [imgui-node-editor](https://github.com/thedmd/imgui-node-editor/tree/687a72f940c76cf5064e13fe55fa0408c18fcbe4) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImGuiNodeEditor.java)
+- [imgui-node-editor](https://github.com/thedmd/imgui-node-editor/tree/021aa0ea4da13fed864bafb2a92d4c5205076866) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImGuiNodeEditor.java)
Node Editor using ImGui. (A bit more complex than ImNodes, but has more features.) - [ImGuizmo](https://github.com/CedricGuillemet/ImGuizmo/tree/f7bbbe39971d9d45816417a70e9b53a0f698c56e) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImGuizmo.java)
Immediate mode 3D gizmo for scene editing and other controls based on Dear ImGui. -- [implot](https://github.com/epezent/implot/tree/555ff688a8134bc0c602123149abe9c17d577475) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImPlot.java)
+- [implot](https://github.com/epezent/implot/tree/v0.17) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImPlot.java)
Advanced 2D Plotting for Dear ImGui. - [ImGuiColorTextEdit](https://github.com/BalazsJako/ImGuiColorTextEdit/tree/0a88824f7de8d0bd11d8419066caa7d3469395c4) | [Example](https://github.com/SpaiR/imgui-java/blob/main/example/src/main/java/ExampleImGuiColorTextEdit.java)
Syntax highlighting text editor for ImGui. diff --git a/build.gradle b/build.gradle index dad794a5..a9bb53f3 100644 --- a/build.gradle +++ b/build.gradle @@ -80,3 +80,12 @@ tasks.register('generateAst', GenerateAst) { file('include/ImGuiColorTextEdit/TextEditor.h'), ] } + +// imgui-node-editor has an unreleased fix pending for imgui 1.92's new +// 'operator*(float, ImVec2)'. Apply a small patch file to the vendored +// submodule before native compile. The script is idempotent. +tasks.register('applyVendorPatches', Exec) { + group = 'build' + description = 'Apply patches to vendored submodules (e.g. imgui-node-editor imgui 1.92 compat).' + commandLine 'bash', 'buildSrc/scripts/apply_vendor_patches.sh' +} diff --git a/buildSrc/scripts/apply_vendor_patches.sh b/buildSrc/scripts/apply_vendor_patches.sh new file mode 100755 index 00000000..7489a8fd --- /dev/null +++ b/buildSrc/scripts/apply_vendor_patches.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# Apply patches to vendored submodules. +# Idempotent: each patch is applied only if not already applied. + +set -e + +BASEDIR=$(dirname "$0") +cd "$BASEDIR"/../.. || exit 1 + +apply_patch_idempotent() { + local patch_file="$1" + local target_dir="$2" + + # --check returns 0 if the patch can apply cleanly (i.e. not yet applied), + # non-zero if it can't (already applied, or conflicts). + if git -C "$target_dir" apply --check "$patch_file" 2>/dev/null; then + echo "Applying $patch_file to $target_dir" + git -C "$target_dir" apply "$patch_file" + else + # Try reverse-check: if the patch is already applied, reversing would succeed. + if git -C "$target_dir" apply --reverse --check "$patch_file" 2>/dev/null; then + echo "Patch $patch_file already applied to $target_dir, skipping" + else + echo "ERROR: Patch $patch_file neither applies cleanly nor is already applied to $target_dir" >&2 + exit 1 + fi + fi +} + +apply_patch_idempotent \ + "$(pwd)/patches/imgui-node-editor-imgui-1.92-operator-star.patch" \ + include/imgui-node-editor diff --git a/buildSrc/src/main/groovy/tool/generator/GenerateLibs.groovy b/buildSrc/src/main/groovy/tool/generator/GenerateLibs.groovy index 3a0c000c..47e79684 100644 --- a/buildSrc/src/main/groovy/tool/generator/GenerateLibs.groovy +++ b/buildSrc/src/main/groovy/tool/generator/GenerateLibs.groovy @@ -93,7 +93,7 @@ class GenerateLibs extends DefaultTask { // By defining IMGUI_ENABLE_FREETYPE, Dear ImGui will default to using the FreeType font renderer. // However, we modify the source code to ensure that, even with this, the STB_TrueType renderer is used instead. // To use the FreeType font renderer, it must be explicitly forced on the atlas manually. - replaceSourceFileContent("imgui_draw.cpp", "ImGuiFreeType::GetBuilderForFreeType()", "ImFontAtlasGetBuilderForStbTruetype()") + replaceSourceFileContent("imgui_draw.cpp", "ImGuiFreeType::GetFontLoader()", "ImFontAtlasGetFontLoaderForStbTruetype()") } // Copy dirent for ImGuiFileDialog diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json b/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json index 2338ecc8..9df9fe2b 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json @@ -1,9 +1,9 @@ { "info" : { "source" : "include/imgui/imgui.h", - "hash" : "45f8995c598ff890c6f0023cc00285b5", + "hash" : "ab94ede4d87177fcb91dfc1100935445", "url" : "https://github.com/ocornut/imgui", - "revision" : "3369cbd2776d7567ac198b1a3017a4fa2d547cc3" + "revision" : "b1bcb12a624af7509894c8e77dd47416997777fa" }, "decls" : [ { "@type" : "AstRecordDecl", @@ -14,7 +14,20 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Forward declarations" + "text" : " Forward declarations: ImDrawList, ImFontAtlas layer" + } ] + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiContext", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Forward declarations: ImGui layer" } ] } ] } ] @@ -36,13 +49,13 @@ "text" : " - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists!" }, { "@type" : "AstTextComment", - "text" : " - In Visual Studio: CTRL+comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas CTRL+F12 (\"Edit.GoToImplementation\") cannot." + "text" : " - In Visual Studio: Ctrl+Comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas Ctrl+F12 (\"Edit.GoToImplementation\") cannot." }, { "@type" : "AstTextComment", - "text" : " - In Visual Studio w/ Visual Assist installed: ALT+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments." + "text" : " - In Visual Studio w/ Visual Assist installed: Alt+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments." }, { "@type" : "AstTextComment", - "text" : " - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments." + "text" : " - In VS Code, CLion, etc.: Ctrl+Click can follow symbols inside comments." } ] } ] } ] @@ -58,10 +71,10 @@ "text" : " ImVec2: 2D vector used to store positions, sizes etc. [Compile-time configurable type]" }, { "@type" : "AstTextComment", - "text" : " This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type." + "text" : " - This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type." }, { "@type" : "AstTextComment", - "text" : " Add '#define IMGUI_DEFINE_MATH_OPERATORS' in your imconfig.h file to benefit from courtesy maths operators for those types." + "text" : " - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4." } ] } ] }, { @@ -108,6 +121,68 @@ "qualType" : "float", "desugaredQualType" : "float" } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImTextureRef", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImTextureRef = higher-level identifier for a texture. Store a ImTextureID _or_ a ImTextureData*." + }, { + "@type" : "AstTextComment", + "text" : " The identifier is valid even before the texture has been uploaded to the GPU/graphics system." + }, { + "@type" : "AstTextComment", + "text" : " This is what gets passed to functions such as `ImGui::Image()`, `ImDrawList::AddImage()`." + }, { + "@type" : "AstTextComment", + "text" : " This is what gets stored in draw commands (`ImDrawCmd`) to identify a texture during rendering." + }, { + "@type" : "AstTextComment", + "text" : " - When a texture is created by user code (e.g. custom images), we directly store the low-level ImTextureID." + }, { + "@type" : "AstTextComment", + "text" : " Because of this, when displaying your own texture you are likely to ever only manage ImTextureID values on your side." + }, { + "@type" : "AstTextComment", + "text" : " - When a texture is created by the backend, we stores a ImTextureData* which becomes an indirection" + }, { + "@type" : "AstTextComment", + "text" : " to extract the ImTextureID value during rendering, after texture upload has happened." + }, { + "@type" : "AstTextComment", + "text" : " - To create a ImTextureRef from a ImTextureData you can use ImTextureData::GetTexRef()." + }, { + "@type" : "AstTextComment", + "text" : " We intentionally do not provide an ImTextureRef constructor for this: we don't expect this" + }, { + "@type" : "AstTextComment", + "text" : " to be frequently useful to the end-user, and it would be erroneously called by many legacy code." + }, { + "@type" : "AstTextComment", + "text" : " - If you want to bind the current atlas when using custom rectangle, you can use io.Fonts->TexRef." + }, { + "@type" : "AstTextComment", + "text" : " - Binding generators for languages such as C (which don't have constructors), should provide a helper, e.g." + }, { + "@type" : "AstTextComment", + "text" : " inline ImTextureRef ImTextureRefFromID(ImTextureID tex_id) { ImTextureRef tex_ref = { ._TexData = NULL, .TexID = tex_id }; return tex_ref; }" + }, { + "@type" : "AstTextComment", + "text" : " In 1.92 we changed most drawing functions using ImTextureID to use ImTextureRef." + }, { + "@type" : "AstTextComment", + "text" : " We intentionally do not provide an implicit ImTextureRef -> ImTextureID cast operator because it is technically lossy to convert ImTextureRef to ImTextureID before rendering." + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTexID", + "resultType" : "ImTextureID" + } ] }, { "@type" : "AstNamespaceDecl", "name" : "ImGui", @@ -197,6 +272,10 @@ } ] } ] } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetPlatformIO", + "resultType" : "ImGuiPlatformIO &" }, { "@type" : "AstFunctionDecl", "name" : "GetStyle", @@ -472,7 +551,7 @@ "text" : " - Before 1.90 (November 2023), the \"ImGuiChildFlags child_flags = 0\" parameter was \"bool border = false\"." }, { "@type" : "AstTextComment", - "text" : " This API is backward compatible with old code, as we guarantee that ImGuiChildFlags_Border == true." + "text" : " This API is backward compatible with old code, as we guarantee that ImGuiChildFlags_Borders == true." }, { "@type" : "AstTextComment", "text" : " Consider updating your old code:" @@ -481,7 +560,7 @@ "text" : " BeginChild(\"Name\", size, false) -> Begin(\"Name\", size, 0); or Begin(\"Name\", size, ImGuiChildFlags_None);" }, { "@type" : "AstTextComment", - "text" : " BeginChild(\"Name\", size, true) -> Begin(\"Name\", size, ImGuiChildFlags_Border);" + "text" : " BeginChild(\"Name\", size, true) -> Begin(\"Name\", size, ImGuiChildFlags_Borders);" }, { "@type" : "AstTextComment", "text" : " - Manual sizing (each axis can use a different setting e.g. ImVec2(0.0f, 400.0f)):" @@ -816,16 +895,6 @@ "@type" : "AstFunctionDecl", "name" : "SetWindowFocus", "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "SetWindowFontScale", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "scale", - "qualType" : "float", - "desugaredQualType" : "float" - } ] }, { "@type" : "AstFunctionDecl", "name" : "SetWindowPos", @@ -899,38 +968,6 @@ "qualType" : "const char *", "desugaredQualType" : "const char *" } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "GetContentRegionAvail", - "resultType" : "ImVec2", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Content region" - }, { - "@type" : "AstTextComment", - "text" : " - Retrieve available space from a given point. GetContentRegionAvail() is frequently useful." - }, { - "@type" : "AstTextComment", - "text" : " - Those functions are bound to be redesigned (they are confusing, incomplete and the Min/Max return values are in local window coordinates which increases confusion)" - } ] - } ] - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "GetContentRegionMax", - "resultType" : "ImVec2" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowContentRegionMin", - "resultType" : "ImVec2" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowContentRegionMax", - "resultType" : "ImVec2" }, { "@type" : "AstFunctionDecl", "name" : "GetScrollX", @@ -1046,13 +1083,63 @@ "name" : "font", "qualType" : "ImFont *", "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstParmVarDecl", + "name" : "font_size_base_unscaled", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Parameters stacks (shared)" + "text" : " Parameters stacks (font)" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, 0.0f) // Change font and keep current size" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(NULL, 20.0f) // Keep font and change current size" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, 20.0f) // Change font and set size to 20.0f" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, style.FontSizeBase * 2.0f) // Change font and set size to be twice bigger than current size." + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, font->LegacySize) // Change font and set size to size passed to AddFontXXX() function. Same as pre-1.92 behavior." + }, { + "@type" : "AstTextComment", + "text" : " *IMPORTANT* before 1.92, fonts had a single size. They can now be dynamically be adjusted." + }, { + "@type" : "AstTextComment", + "text" : " - In 1.92 we have REMOVED the single parameter version of PushFont() because it seems like the easiest way to provide an error-proof transition." + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font) before 1.92 = PushFont(font, font->LegacySize) after 1.92 // Use default font size as passed to AddFontXXX() function." + }, { + "@type" : "AstTextComment", + "text" : " *IMPORTANT* global scale factors are applied over the provided size." + }, { + "@type" : "AstTextComment", + "text" : " - Global scale factors are: 'style.FontScaleMain', 'style.FontScaleDpi' and maybe more." + }, { + "@type" : "AstTextComment", + "text" : " - If you want to apply a factor to the _current_ font size:" + }, { + "@type" : "AstTextComment", + "text" : " - CORRECT: PushFont(NULL, style.FontSizeBase) // use current unscaled size == does nothing" + }, { + "@type" : "AstTextComment", + "text" : " - CORRECT: PushFont(NULL, style.FontSizeBase * 2.0f) // use current unscaled size x2 == make text twice bigger" + }, { + "@type" : "AstTextComment", + "text" : " - INCORRECT: PushFont(NULL, GetFontSize()) // INCORRECT! using size after global factors already applied == GLOBAL SCALING FACTORS WILL APPLY TWICE!" + }, { + "@type" : "AstTextComment", + "text" : " - INCORRECT: PushFont(NULL, GetFontSize() * 2.0f) // INCORRECT! using size after global factors already applied == GLOBAL SCALING FACTORS WILL APPLY TWICE!" } ] } ] } ] @@ -1060,6 +1147,18 @@ "@type" : "AstFunctionDecl", "name" : "PopFont", "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFont", + "resultType" : "ImFont *" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFontSize", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFontBaked", + "resultType" : "ImFontBaked *" }, { "@type" : "AstFunctionDecl", "name" : "PushStyleColor", @@ -1074,6 +1173,15 @@ "name" : "col", "qualType" : "ImU32", "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Parameters stacks (shared)" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -1133,42 +1241,63 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopStyleVar", + "name" : "PushStyleVarX", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "count", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "1" + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val_x", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PushTabStop", + "name" : "PushStyleVarY", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "tab_stop", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val_y", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopTabStop", - "resultType" : "void" + "name" : "PopStyleVar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "1" + } ] }, { "@type" : "AstFunctionDecl", - "name" : "PushButtonRepeat", + "name" : "PushItemFlag", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "repeat", + "name" : "option", + "qualType" : "ImGuiItemFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "enabled", "qualType" : "bool", "desugaredQualType" : "bool" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopButtonRepeat", + "name" : "PopItemFlag", "resultType" : "void" }, { "@type" : "AstFunctionDecl", @@ -1224,8 +1353,8 @@ "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "GetFont", - "resultType" : "ImFont *", + "name" : "GetFontTexUvWhitePixel", + "resultType" : "ImVec2", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { @@ -1239,14 +1368,6 @@ } ] } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "GetFontSize", - "resultType" : "float" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetFontTexUvWhitePixel", - "resultType" : "ImVec2" }, { "@type" : "AstFunctionDecl", "name" : "GetColorU32", @@ -1319,6 +1440,9 @@ }, { "@type" : "AstTextComment", "text" : " - You can call SameLine() between widgets to undo the last carriage return and output at the right of the preceding widget." + }, { + "@type" : "AstTextComment", + "text" : " - YOU CAN DO 99% OF WHAT YOU NEED WITH ONLY GetCursorScreenPos() and GetContentRegionAvail()." }, { "@type" : "AstTextComment", "text" : " - Attention! We currently have inconsistencies between window-local and absolute positions we will aim to fix with future API:" @@ -1327,10 +1451,13 @@ "text" : " - Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions. -> this is the preferred way forward." }, { "@type" : "AstTextComment", - "text" : " - Window-local coordinates: SameLine(), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), GetContentRegionMax(), GetWindowContentRegion*(), PushTextWrapPos()" + "text" : " - Window-local coordinates: SameLine(offset), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), PushTextWrapPos()" + }, { + "@type" : "AstTextComment", + "text" : " - Window-local coordinates: GetContentRegionMax(), GetWindowContentRegionMin(), GetWindowContentRegionMax() --> all obsoleted. YOU DON'T NEED THEM." }, { "@type" : "AstTextComment", - "text" : " - GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates." + "text" : " - GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates. Try not to use it." } ] } ] } ] @@ -1344,6 +1471,10 @@ "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetContentRegionAvail", + "resultType" : "ImVec2" }, { "@type" : "AstFunctionDecl", "name" : "GetCursorPos", @@ -1612,6 +1743,16 @@ "qualType" : "const void *", "desugaredQualType" : "const void *" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetID", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "int_id", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "TextUnformatted", @@ -2070,15 +2211,41 @@ "@type" : "AstFunctionDecl", "name" : "Bullet", "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "TextLink", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TextLinkOpenURL", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "url", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "NULL" + } ] }, { "@type" : "AstFunctionDecl", "name" : "Image", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", "name" : "image_size", @@ -2096,18 +2263,6 @@ "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", "defaultValue" : "ImVec2(1, 1)" - }, { - "@type" : "AstParmVarDecl", - "name" : "tint_col", - "qualType" : "const ImVec4 &", - "desugaredQualType" : "const ImVec4 &", - "defaultValue" : "ImVec4(1, 1, 1, 1)" - }, { - "@type" : "AstParmVarDecl", - "name" : "border_col", - "qualType" : "const ImVec4 &", - "desugaredQualType" : "const ImVec4 &", - "defaultValue" : "ImVec4(0, 0, 0, 0)" }, { "@type" : "AstFullComment", "decls" : [ { @@ -2117,16 +2272,61 @@ "text" : " Widgets: Images" }, { "@type" : "AstTextComment", - "text" : " - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples" + "text" : " - Read about ImTextureID/ImTextureRef here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples" }, { "@type" : "AstTextComment", "text" : " - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above." }, { "@type" : "AstTextComment", - "text" : " - Note that Image() may add +2.0f to provided size if a border is visible, ImageButton() adds style.FramePadding*2.0f to provided size." + "text" : " - Image() pads adds style.ImageBorderSize on each side, ImageButton() adds style.FramePadding on each side." + }, { + "@type" : "AstTextComment", + "text" : " - ImageButton() draws a background based on regular Button() color + optionally an inner background if specified." + }, { + "@type" : "AstTextComment", + "text" : " - An obsolete version of Image(), before 1.91.9 (March 2025), had a 'tint_col' parameter which is now supported by the ImageWithBg() function." } ] } ] } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImageWithBg", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" + }, { + "@type" : "AstParmVarDecl", + "name" : "image_size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "uv0", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0, 0)" + }, { + "@type" : "AstParmVarDecl", + "name" : "uv1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(1, 1)" + }, { + "@type" : "AstParmVarDecl", + "name" : "bg_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : "ImVec4(0, 0, 0, 0)" + }, { + "@type" : "AstParmVarDecl", + "name" : "tint_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : "ImVec4(1, 1, 1, 1)" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImageButton", @@ -2138,9 +2338,9 @@ "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", "name" : "image_size", @@ -2357,7 +2557,7 @@ "text" : " Widgets: Drag Sliders" }, { "@type" : "AstTextComment", - "text" : " - CTRL+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." + "text" : " - Ctrl+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." }, { "@type" : "AstTextComment", "text" : " - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every function, note that a 'float v[X]' function argument is the same as 'float* v'," @@ -2378,7 +2578,7 @@ "text" : " - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\")." }, { "@type" : "AstTextComment", - "text" : " - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision)." + "text" : " - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For keyboard/gamepad navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision)." }, { "@type" : "AstTextComment", "text" : " - Use v_min " @@ -2387,7 +2587,7 @@ "text" : "<" }, { "@type" : "AstTextComment", - "text" : " v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used." + "text" : " v_max to clamp edits to given limits. Note that Ctrl+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used." }, { "@type" : "AstTextComment", "text" : " - Use v_max = FLT_MAX / INT_MAX etc to avoid clamping to a maximum, same with v_min = -FLT_MAX / INT_MIN to avoid clamping to a minimum." @@ -2980,7 +3180,7 @@ "text" : " Widgets: Regular Sliders" }, { "@type" : "AstTextComment", - "text" : " - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." + "text" : " - Ctrl+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." }, { "@type" : "AstTextComment", "text" : " - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. \"%.3f\" -> 1.234; \"%5.2f secs\" -> 01.23 secs; \"Biscuit: %.0f\" -> Biscuit: 1; etc." @@ -3560,7 +3760,7 @@ "text" : " Widgets: Input with Keyboard" }, { "@type" : "AstTextComment", - "text" : " - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp." + "text" : " - If you want to use InputText() with std::string or any custom dynamic string type, use the wrapper in misc/cpp/imgui_stdlib.h/.cpp!" }, { "@type" : "AstTextComment", "text" : " - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc." @@ -4469,6 +4669,26 @@ "desugaredQualType" : "int", "defaultValue" : "0" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextItemStorageID", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "storage_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeGetOpen", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "storage_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "Selectable", @@ -4539,6 +4759,79 @@ "desugaredQualType" : "const ImVec2 &", "defaultValue" : "ImVec2(0, 0)" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginMultiSelect", + "resultType" : "ImGuiMultiSelectIO *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiMultiSelectFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "selection_size", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "-1" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "-1" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Multi-selection system for Selectable(), Checkbox(), TreeNode() functions [BETA]" + }, { + "@type" : "AstTextComment", + "text" : " - This enables standard multi-selection/range-selection idioms (Ctrl+Mouse/Keyboard, Shift+Mouse/Keyboard, etc.) in a way that also allow a clipper to be used." + }, { + "@type" : "AstTextComment", + "text" : " - ImGuiSelectionUserData is often used to store your item index within the current view (but may store something else)." + }, { + "@type" : "AstTextComment", + "text" : " - Read comments near ImGuiMultiSelectIO for instructions/details and see 'Demo->Widgets->Selection State " + }, { + "@type" : "AstTextComment", + "text" : "&" + }, { + "@type" : "AstTextComment", + "text" : " Multi-Select' for demo." + }, { + "@type" : "AstTextComment", + "text" : " - TreeNode() is technically supported but... using this correctly is more complicated. You need some sort of linear/random access to your tree," + }, { + "@type" : "AstTextComment", + "text" : " which is suited to advanced trees setups already implementing filters and clipper. We will work simplifying the current demo." + }, { + "@type" : "AstTextComment", + "text" : " - 'selection_size' and 'items_count' parameters are optional and used by a few features. If they are costly for you to compute, you may avoid them." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndMultiSelect", + "resultType" : "ImGuiMultiSelectIO *" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextItemSelectionUserData", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "selection_user_data", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemToggledSelection", + "resultType" : "bool" }, { "@type" : "AstFunctionDecl", "name" : "BeginListBox", @@ -4564,12 +4857,15 @@ }, { "@type" : "AstTextComment", "text" : " - This is essentially a thin wrapper to using BeginChild/EndChild with the ImGuiChildFlags_FrameStyle flag for stylistic changes + displaying a label." + }, { + "@type" : "AstTextComment", + "text" : " - If you don't need a label you can probably simply use BeginChild() with the ImGuiChildFlags_FrameStyle flag for the same result." }, { "@type" : "AstTextComment", "text" : " - You can submit contents and manage your selection state however you want it, by creating e.g. Selectable() or any other items." }, { "@type" : "AstTextComment", - "text" : " - The simplified/old ListBox() api are helpers over BeginListBox()/EndListBox() which are kept available for convenience purpose. This is analoguous to how Combos are created." + "text" : " - The simplified/old ListBox() api are helpers over BeginListBox()/EndListBox() which are kept available for convenience purpose. This is analogous to how Combos are created." }, { "@type" : "AstTextComment", "text" : " - Choose frame width: size.x > 0.0f: custom / size.x " @@ -5333,9 +5629,6 @@ }, { "@type" : "AstTextComment", "text" : " - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened." - }, { - "@type" : "AstTextComment", - "text" : " - IMPORTANT: Notice that for OpenPopupOnItemClick() we exceptionally default flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter" } ] } ] } ] @@ -5370,7 +5663,7 @@ "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "1" + "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -5391,26 +5684,38 @@ "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "1" + "defaultValue" : "0" }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Popups: open+begin combined functions helpers" + "text" : " Popups: Open+Begin popup combined functions helpers to create context menus." }, { "@type" : "AstTextComment", "text" : " - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking." }, { "@type" : "AstTextComment", - "text" : " - They are convenient to easily create context menus, hence the name." + "text" : " - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future." }, { "@type" : "AstTextComment", - "text" : " - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future." + "text" : " - IMPORTANT: If you ever used the left mouse button with BeginPopupContextXXX() helpers before 1.92.6:" + }, { + "@type" : "AstTextComment", + "text" : " - Before this version, OpenPopupOnItemClick(), BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid() had 'a ImGuiPopupFlags popup_flags = 1' default value in their function signature." + }, { + "@type" : "AstTextComment", + "text" : " - Before: Explicitly passing a literal 0 meant ImGuiPopupFlags_MouseButtonLeft. The default = 1 meant ImGuiPopupFlags_MouseButtonRight." + }, { + "@type" : "AstTextComment", + "text" : " - After: The default = 0 means ImGuiPopupFlags_MouseButtonRight. Explicitly passing a literal 1 also means ImGuiPopupFlags_MouseButtonRight (if legacy behavior are enabled) or will assert (if legacy behavior are disabled)." + }, { + "@type" : "AstTextComment", + "text" : " - TL;DR: if you don't want to use right mouse button for popups, always specify it explicitly using a named ImGuiPopupFlags_MouseButtonXXXX value." }, { "@type" : "AstTextComment", - "text" : " - IMPORTANT: Notice that we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight." + "text" : " - Read \"API BREAKING CHANGES\" 2026/01/07 (1.92.6) entry in imgui.cpp or GitHub topic #9157 for all details." } ] } ] } ] @@ -5429,7 +5734,7 @@ "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "1" + "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -5446,7 +5751,7 @@ "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "1" + "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -5679,7 +5984,7 @@ "text" : " some advanced use cases (e.g. adding custom widgets in header row)." }, { "@type" : "AstTextComment", - "text" : " - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled." + "text" : " - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled. When freezing columns you would usually also use ImGuiTableColumnFlags_NoHide on them." } ] } ] } ] @@ -5843,7 +6148,7 @@ "defaultValue" : "NULL" }, { "@type" : "AstParmVarDecl", - "name" : "border", + "name" : "borders", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" @@ -6044,40 +6349,64 @@ "text" : " Docking" }, { "@type" : "AstTextComment", - "text" : " [BETA API] Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable." + "text" : " - Read https://github.com/ocornut/imgui/wiki/Docking for details." + }, { + "@type" : "AstTextComment", + "text" : " - Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable." + }, { + "@type" : "AstTextComment", + "text" : " - You can use many Docking facilities without calling any API." + }, { + "@type" : "AstTextComment", + "text" : " - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking." + }, { + "@type" : "AstTextComment", + "text" : " - Drag from window menu button (upper-left button) to undock an entire node (all windows)." + }, { + "@type" : "AstTextComment", + "text" : " - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to enable docking." + }, { + "@type" : "AstTextComment", + "text" : " - DockSpaceOverViewport:" + }, { + "@type" : "AstTextComment", + "text" : " - This is a helper to create an invisible window covering a viewport, then submit a DockSpace() into it." + }, { + "@type" : "AstTextComment", + "text" : " - Most applications can simply call DockSpaceOverViewport() once to allow docking windows into e.g. the edge of your screen." }, { "@type" : "AstTextComment", - "text" : " Note: You can use most Docking facilities without calling any API. You DO NOT need to call DockSpace() to use Docking!" + "text" : " e.g. ImGui::NewFrame(); ImGui::DockSpaceOverViewport(); // Create a dockspace in main viewport." }, { "@type" : "AstTextComment", - "text" : " - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking." + "text" : " or: ImGui::NewFrame(); ImGui::DockSpaceOverViewport(0, nullptr, ImGuiDockNodeFlags_PassthruCentralNode); // Create a dockspace in main viewport, central node is transparent." }, { "@type" : "AstTextComment", - "text" : " - Drag from window menu button (upper-left button) to undock an entire node (all windows)." + "text" : " - Dockspaces:" }, { "@type" : "AstTextComment", - "text" : " - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to enable docking." + "text" : " - A dockspace is an explicit dock node within an existing window." }, { "@type" : "AstTextComment", - "text" : " About dockspaces:" + "text" : " - IMPORTANT: Dockspaces need to be submitted _before_ any window they can host. Submit them early in your frame!" }, { "@type" : "AstTextComment", - "text" : " - Use DockSpaceOverViewport() to create a window covering the screen or a specific viewport + a dockspace inside it." + "text" : " - IMPORTANT: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked." }, { "@type" : "AstTextComment", - "text" : " This is often used with ImGuiDockNodeFlags_PassthruCentralNode to make it transparent." + "text" : " If you have e.g. multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly." }, { "@type" : "AstTextComment", - "text" : " - Use DockSpace() to create an explicit dock node _within_ an existing window. See Docking demo for details." + "text" : " - See 'Demo->Examples->Dockspace' or 'Demo->Examples->Documents' for more detailed demos." }, { "@type" : "AstTextComment", - "text" : " - Important: Dockspaces need to be submitted _before_ any window they can host. Submit it early in your frame!" + "text" : " - Programmatic docking:" }, { "@type" : "AstTextComment", - "text" : " - Important: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked." + "text" : " - There is no public API yet other than the very limited SetNextWindowDockID() function. Sorry for that!" }, { "@type" : "AstTextComment", - "text" : " e.g. if you have multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly." + "text" : " - Read https://github.com/ocornut/imgui/wiki/Docking for examples of how to use current internal API." } ] } ] } ] @@ -6353,10 +6682,10 @@ "text" : " - Those can be nested but it cannot be used to enable an already disabled section (a single BeginDisabled(true) in the stack is enough to keep everything disabled)" }, { "@type" : "AstTextComment", - "text" : " - Tooltips windows by exception are opted out of disabling." + "text" : " - Tooltips windows are automatically opted out of disabling. Note that IsItemHovered() by default returns false on disabled items, unless using ImGuiHoveredFlags_AllowWhenDisabled." }, { "@type" : "AstTextComment", - "text" : " - BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions. If you can avoid calling BeginDisabled(False)/EndDisabled() best to avoid it." + "text" : " - BeginDisabled(false)/EndDisabled() essentially does nothing but is provided to facilitate use of boolean expressions (as a micro-optimization: if you have tens of thousands of BeginDisabled(false)/EndDisabled() pairs, you might want to reformulate your code to avoid making those calls)" } ] } ] } ] @@ -6411,9 +6740,6 @@ "decls" : [ { "@type" : "AstTextComment", "text" : " Focus, Activation" - }, { - "@type" : "AstTextComment", - "text" : " - Prefer using \"SetItemDefaultFocus()\" over \"if (IsWindowAppearing()) SetScrollHereY()\" when applicable to signify \"this is the default item\"" } ] } ] } ] @@ -6428,6 +6754,25 @@ "desugaredQualType" : "int", "defaultValue" : "0" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNavCursorVisible", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "visible", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Keyboard/Gamepad Navigation" + } ] + } ] + } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextItemAllowOverlap", @@ -6539,6 +6884,10 @@ "@type" : "AstFunctionDecl", "name" : "GetItemRectSize", "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetItemFlags", + "resultType" : "ImGuiItemFlags" }, { "@type" : "AstFunctionDecl", "name" : "GetMainViewport", @@ -6814,31 +7163,22 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Inputs Utilities: Keyboard/Mouse/Gamepad" - }, { - "@type" : "AstTextComment", - "text" : " - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...)." - }, { - "@type" : "AstTextComment", - "text" : " - before v1.87, we used ImGuiKey to carry native/user indices as defined by each backends. About use of those legacy ImGuiKey values:" - }, { - "@type" : "AstTextComment", - "text" : " - without IMGUI_DISABLE_OBSOLETE_KEYIO (legacy support): you can still use your legacy native/user indices (" + "text" : " Inputs Utilities: Raw Keyboard/Mouse/Gamepad Access" }, { "@type" : "AstTextComment", - "text" : "<" + "text" : " - Consider using the Shortcut() function instead of IsKeyPressed()/IsKeyChordPressed()! Shortcut() is easier to use and better featured (can do focus routing check)." }, { "@type" : "AstTextComment", - "text" : " 512) according to how your backend/engine stored them in io.KeysDown[], but need to cast them to ImGuiKey." + "text" : " - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...)." }, { "@type" : "AstTextComment", - "text" : " - with IMGUI_DISABLE_OBSOLETE_KEYIO (this is the way forward): any use of ImGuiKey will assert with key " + "text" : " - (legacy: before v1.87 (2022-02), we used ImGuiKey " }, { "@type" : "AstTextComment", "text" : "<" }, { "@type" : "AstTextComment", - "text" : " 512. GetKeyIndex() is pass-through and therefore deprecated (gone if IMGUI_DISABLE_OBSOLETE_KEYIO is defined)." + "text" : " 512 values to carry native/user indices as defined by each backends. This was obsoleted in 1.87 (2022-02) and completely removed in 1.91.5 (2024-11). See https://github.com/ocornut/imgui/issues/4921)" } ] } ] } ] @@ -6945,16 +7285,25 @@ "text" : "&" }, { "@type" : "AstTextComment", - "text" : " Routing [BETA]" + "text" : " Routing" + }, { + "@type" : "AstTextComment", + "text" : " - Typical use is e.g.: 'if (ImGui::Shortcut(ImGuiMod_Ctrl | ImGuiKey_S)) { ... }'." + }, { + "@type" : "AstTextComment", + "text" : " - Flags: Default route use ImGuiInputFlags_RouteFocused, but see ImGuiInputFlags_RouteGlobal and other options in ImGuiInputFlags_!" + }, { + "@type" : "AstTextComment", + "text" : " - Flags: Use ImGuiInputFlags_Repeat to support repeat." }, { "@type" : "AstTextComment", "text" : " - ImGuiKeyChord = a ImGuiKey + optional ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super." }, { "@type" : "AstTextComment", - "text" : " ImGuiKey_C // Accepted by functions taking ImGuiKey or ImGuiKeyChord arguments)" + "text" : " ImGuiKey_C // Accepted by functions taking ImGuiKey or ImGuiKeyChord arguments" }, { "@type" : "AstTextComment", - "text" : " ImGuiMod_Ctrl | ImGuiKey_C // Accepted by functions taking ImGuiKeyChord arguments)" + "text" : " ImGuiMod_Ctrl | ImGuiKey_C // Accepted by functions taking ImGuiKeyChord arguments" }, { "@type" : "AstTextComment", "text" : " only ImGuiMod_XXX values are legal to combine with an ImGuiKey. You CANNOT combine two ImGuiKey values." @@ -6981,10 +7330,16 @@ "text" : " - To understand the difference:" }, { "@type" : "AstTextComment", - "text" : " - IsKeyChordPressed() compares mods and call IsKeyPressed() -> function has no side-effect." + "text" : " - IsKeyChordPressed() compares mods and call IsKeyPressed()" + }, { + "@type" : "AstTextComment", + "text" : " -> the function has no side-effect." + }, { + "@type" : "AstTextComment", + "text" : " - Shortcut() submits a route, routes are resolved, if it currently can be routed it calls IsKeyChordPressed()" }, { "@type" : "AstTextComment", - "text" : " - Shortcut() submits a route, routes are resolved, if it currently can be routed it calls IsKeyChordPressed() -> function has (desirable) side-effects as it can prevents another call from getting the route." + "text" : " -> the function has (desirable) side-effects as it can prevents another call from getting the route." }, { "@type" : "AstTextComment", "text" : " - Visualize registered routes in 'Metrics/Debugger->Inputs'." @@ -7007,6 +7362,40 @@ "desugaredQualType" : "int", "defaultValue" : "0" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetItemKeyOwner", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "key", + "qualType" : "ImGuiKey", + "desugaredQualType" : "ImGuiKey" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Inputs Utilities: Key/Input Ownership [BETA]" + }, { + "@type" : "AstTextComment", + "text" : " - One common use case would be to allow your items to disable standard inputs behaviors such" + }, { + "@type" : "AstTextComment", + "text" : " as Tab or Alt key handling, Mouse Wheel scrolling, etc." + }, { + "@type" : "AstTextComment", + "text" : " e.g. Button(...); SetItemKeyOwner(ImGuiKey_MouseWheelY); to make hovering/activating a button disable wheel for scrolling." + }, { + "@type" : "AstTextComment", + "text" : " - Reminder ImGuiKey enum include access to mouse buttons and gamepad, so key ownership can apply to them." + }, { + "@type" : "AstTextComment", + "text" : " - Many related features are still in imgui_internal.h. For instance, most IsKeyXXX()/IsMouseXXX() functions have an owner-id-aware version." + } ] + } ] + } ] }, { "@type" : "AstFunctionDecl", "name" : "IsMouseDown", @@ -7022,7 +7411,7 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Inputs Utilities: Mouse specific" + "text" : " Inputs Utilities: Mouse" }, { "@type" : "AstTextComment", "text" : " - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right." @@ -7071,6 +7460,21 @@ "qualType" : "ImGuiMouseButton", "desugaredQualType" : "int" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseReleasedWithDelay", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "delay", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { "@type" : "AstFunctionDecl", "name" : "GetMouseClickedCount", @@ -7303,7 +7707,13 @@ "text" : " Debug Utilities" }, { "@type" : "AstTextComment", - "text" : " - Your main debugging friend is the ShowMetricsWindow() function, which is also accessible from Demo->Tools->Metrics Debugger" + "text" : " - Your main debugging friend is the ShowMetricsWindow() function." + }, { + "@type" : "AstTextComment", + "text" : " - Interactive tools are all accessible from the 'Dear ImGui Demo->Tools' menu." + }, { + "@type" : "AstTextComment", + "text" : " - Read https://github.com/ocornut/imgui/wiki/Debug-Tools for a description of all available debug tools." } ] } ] } ] @@ -7363,22 +7773,57 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetAllocatorFunctions", + "name" : "DebugLog", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "alloc_func", - "qualType" : "ImGuiMemAllocFunc", - "desugaredQualType" : "void *(*)(size_t, void *)" + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "free_func", - "qualType" : "ImGuiMemFreeFunc", - "desugaredQualType" : "void (*)(void *, void *)" - }, { + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DebugLogV", + "resultType" : "void", + "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "user_data", - "qualType" : "void *", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "va_list", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetAllocatorFunctions", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "alloc_func", + "qualType" : "ImGuiMemAllocFunc", + "desugaredQualType" : "void *(*)(size_t, void *)" + }, { + "@type" : "AstParmVarDecl", + "name" : "free_func", + "qualType" : "ImGuiMemFreeFunc", + "desugaredQualType" : "void (*)(void *, void *)" + }, { + "@type" : "AstParmVarDecl", + "name" : "user_data", + "qualType" : "void *", "desugaredQualType" : "void *", "defaultValue" : "NULL" }, { @@ -7442,8 +7887,8 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetPlatformIO", - "resultType" : "ImGuiPlatformIO &", + "name" : "UpdatePlatformWindows", + "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { @@ -7460,10 +7905,6 @@ } ] } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "UpdatePlatformWindows", - "resultType" : "void" }, { "@type" : "AstFunctionDecl", "name" : "RenderPlatformWindowsDefault", @@ -7491,7 +7932,7 @@ "resultType" : "ImGuiViewport *", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "id", + "name" : "viewport_id", "qualType" : "ImGuiID", "desugaredQualType" : "unsigned int" } ] @@ -7659,7 +8100,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiWindowFlags_NoNavInputs", - "docComment" : "No gamepad/keyboard navigation within the window", + "docComment" : "No keyboard/gamepad navigation within the window", "qualType" : "ImGuiWindowFlags_", "order" : 17, "value" : "1 << 16", @@ -7667,7 +8108,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiWindowFlags_NoNavFocus", - "docComment" : "No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB)", + "docComment" : "No focusing toward this window with keyboard/gamepad navigation (e.g. skipped by Ctrl+Tab)", "qualType" : "ImGuiWindowFlags_", "order" : 18, "value" : "1 << 17", @@ -7709,12 +8150,20 @@ "order" : 23, "value" : "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus", "evaluatedValue" : 197120 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowFlags_DockNodeHost", + "docComment" : "Don't use! For internal use by Begin()/NewFrame()", + "qualType" : "ImGuiWindowFlags_", + "order" : 24, + "value" : "1 << 23", + "evaluatedValue" : 8388608 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiWindowFlags_ChildWindow", "docComment" : "Don't use! For internal use by BeginChild()", "qualType" : "ImGuiWindowFlags_", - "order" : 24, + "order" : 25, "value" : "1 << 24", "evaluatedValue" : 16777216 }, { @@ -7722,7 +8171,7 @@ "name" : "ImGuiWindowFlags_Tooltip", "docComment" : "Don't use! For internal use by BeginTooltip()", "qualType" : "ImGuiWindowFlags_", - "order" : 25, + "order" : 26, "value" : "1 << 25", "evaluatedValue" : 33554432 }, { @@ -7730,7 +8179,7 @@ "name" : "ImGuiWindowFlags_Popup", "docComment" : "Don't use! For internal use by BeginPopup()", "qualType" : "ImGuiWindowFlags_", - "order" : 26, + "order" : 27, "value" : "1 << 26", "evaluatedValue" : 67108864 }, { @@ -7738,7 +8187,7 @@ "name" : "ImGuiWindowFlags_Modal", "docComment" : "Don't use! For internal use by BeginPopupModal()", "qualType" : "ImGuiWindowFlags_", - "order" : 27, + "order" : 28, "value" : "1 << 27", "evaluatedValue" : 134217728 }, { @@ -7746,33 +8195,9 @@ "name" : "ImGuiWindowFlags_ChildMenu", "docComment" : "Don't use! For internal use by BeginMenu()", "qualType" : "ImGuiWindowFlags_", - "order" : 28, + "order" : 29, "value" : "1 << 28", "evaluatedValue" : 268435456 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiWindowFlags_DockNodeHost", - "docComment" : "Don't use! For internal use by Begin()/NewFrame()", - "qualType" : "ImGuiWindowFlags_", - "order" : 29, - "value" : "1 << 29", - "evaluatedValue" : 536870912 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiWindowFlags_AlwaysUseWindowPadding", - "docComment" : "Obsoleted in 1.90: Use ImGuiChildFlags_AlwaysUseWindowPadding in BeginChild() call.", - "qualType" : "ImGuiWindowFlags_", - "order" : 30, - "value" : "1 << 30", - "evaluatedValue" : 1073741824 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiWindowFlags_NavFlattened", - "docComment" : "Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call.", - "qualType" : "ImGuiWindowFlags_", - "order" : 31, - "value" : "1 << 31", - "evaluatedValue" : -2147483648 } ] }, { "@type" : "AstEnumDecl", @@ -7786,7 +8211,7 @@ "text" : " Flags for ImGui::BeginChild()" }, { "@type" : "AstTextComment", - "text" : " (Legacy: bit 0 must always correspond to ImGuiChildFlags_Border to be backward compatible with old API using 'bool border = false'." + "text" : " (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.)" }, { "@type" : "AstTextComment", "text" : " About using AutoResizeX/AutoResizeY flags:" @@ -7819,7 +8244,7 @@ "evaluatedValue" : 0 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiChildFlags_Border", + "name" : "ImGuiChildFlags_Borders", "docComment" : "Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy reason)", "qualType" : "ImGuiChildFlags_", "order" : 1, @@ -7884,12 +8309,92 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiChildFlags_NavFlattened", - "docComment" : "Share focus scope, allow gamepad/keyboard navigation to cross over parent border to this child or between sibling child windows.", + "docComment" : "[BETA] Share focus scope, allow keyboard/gamepad navigation to cross over parent border to this child or between sibling child windows.", "qualType" : "ImGuiChildFlags_", "order" : 9, "value" : "1 << 8", "evaluatedValue" : 256 } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiItemFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Flags for ImGui::PushItemFlag()" + }, { + "@type" : "AstTextComment", + "text" : " (Those are shared by all submitted items)" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_None", + "docComment" : "(Default)", + "qualType" : "ImGuiItemFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_NoTabStop", + "docComment" : "false // Disable keyboard tabbing. This is a \"lighter\" version of ImGuiItemFlags_NoNav.", + "qualType" : "ImGuiItemFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : 1 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_NoNav", + "docComment" : "false // Disable any form of focusing (keyboard/gamepad directional navigation and SetKeyboardFocusHere() calls).", + "qualType" : "ImGuiItemFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : 2 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_NoNavDefaultFocus", + "docComment" : "false // Disable item being a candidate for default focus (e.g. used by title bar items).", + "qualType" : "ImGuiItemFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : 4 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_ButtonRepeat", + "docComment" : "false // Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is being held.", + "qualType" : "ImGuiItemFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : 8 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_AutoClosePopups", + "docComment" : "true // MenuItem()/Selectable() automatically close their parent popup window.", + "qualType" : "ImGuiItemFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : 16 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_AllowDuplicateId", + "docComment" : "false // Allow submitting an item with the same identifier as an item already submitted this frame without triggering a warning tooltip if io.ConfigDebugHighlightIdConflicts is set.", + "qualType" : "ImGuiItemFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : 32 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_Disabled", + "docComment" : "false // [Internal] Disable interactions. DOES NOT affect visuals. This is used by BeginDisabled()/EndDisabled() and only provided here so you can read back via GetItemFlags().", + "qualType" : "ImGuiItemFlags_", + "order" : 7, + "value" : "1 << 6", + "evaluatedValue" : 64 + } ] }, { "@type" : "AstEnumDecl", "name" : "ImGuiInputTextFlags_", @@ -7964,7 +8469,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiInputTextFlags_EnterReturnsTrue", - "docComment" : "Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider looking at the IsItemDeactivatedAfterEdit() function.", + "docComment" : "Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using IsItemDeactivatedAfterEdit() instead!", "qualType" : "ImGuiInputTextFlags_", "order" : 7, "value" : "1 << 6", @@ -7980,7 +8485,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiInputTextFlags_CtrlEnterForNewLine", - "docComment" : "In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter).", + "docComment" : "In multi-line mode: validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter). Note that Shift+Enter always enter a new line either way.", "qualType" : "ImGuiInputTextFlags_", "order" : 9, "value" : "1 << 8", @@ -8051,52 +8556,68 @@ "evaluatedValue" : 65536 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_CallbackCompletion", - "docComment" : "Callback on pressing TAB (for completion handling)", + "name" : "ImGuiInputTextFlags_ElideLeft", + "docComment" : "When text doesn't fit, elide left side to ensure right side stays visible. Useful for path/filenames. Single-line only!", "qualType" : "ImGuiInputTextFlags_", "order" : 18, "value" : "1 << 17", "evaluatedValue" : 131072 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_CallbackHistory", - "docComment" : "Callback on pressing Up/Down arrows (for history handling)", + "name" : "ImGuiInputTextFlags_CallbackCompletion", + "docComment" : "Callback on pressing TAB (for completion handling)", "qualType" : "ImGuiInputTextFlags_", "order" : 19, "value" : "1 << 18", "evaluatedValue" : 262144 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_CallbackAlways", - "docComment" : "Callback on each iteration. User code may query cursor position, modify text buffer.", + "name" : "ImGuiInputTextFlags_CallbackHistory", + "docComment" : "Callback on pressing Up/Down arrows (for history handling)", "qualType" : "ImGuiInputTextFlags_", "order" : 20, "value" : "1 << 19", "evaluatedValue" : 524288 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_CallbackCharFilter", - "docComment" : "Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.", + "name" : "ImGuiInputTextFlags_CallbackAlways", + "docComment" : "Callback on each iteration. User code may query cursor position, modify text buffer.", "qualType" : "ImGuiInputTextFlags_", "order" : 21, "value" : "1 << 20", "evaluatedValue" : 1048576 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_CallbackResize", - "docComment" : "Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)", + "name" : "ImGuiInputTextFlags_CallbackCharFilter", + "docComment" : "Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.", "qualType" : "ImGuiInputTextFlags_", "order" : 22, "value" : "1 << 21", "evaluatedValue" : 2097152 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_CallbackEdit", - "docComment" : "Callback on any edit (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the underlying buffer while focus is active)", + "name" : "ImGuiInputTextFlags_CallbackResize", + "docComment" : "Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)", "qualType" : "ImGuiInputTextFlags_", "order" : 23, "value" : "1 << 22", "evaluatedValue" : 4194304 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputTextFlags_CallbackEdit", + "docComment" : "Callback on any edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.", + "qualType" : "ImGuiInputTextFlags_", + "order" : 24, + "value" : "1 << 23", + "evaluatedValue" : 8388608 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputTextFlags_WordWrap", + "docComment" : "InputTextMultiline(): word-wrap lines that are too long.", + "qualType" : "ImGuiInputTextFlags_", + "order" : 25, + "value" : "1 << 24", + "evaluatedValue" : 16777216 } ] }, { "@type" : "AstEnumDecl", @@ -8136,7 +8657,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTreeNodeFlags_AllowOverlap", - "docComment" : "Hit testing to allow subsequent widgets to overlap this one", + "docComment" : "Hit testing will allow subsequent widgets to overlap this one. Require previous frame HoveredId to match before being usable. Shortcut to calling SetNextItemAllowOverlap().", "qualType" : "ImGuiTreeNodeFlags_", "order" : 3, "value" : "1 << 2", @@ -8168,7 +8689,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTreeNodeFlags_OpenOnDoubleClick", - "docComment" : "Need double-click to open node", + "docComment" : "Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.", "qualType" : "ImGuiTreeNodeFlags_", "order" : 7, "value" : "1 << 6", @@ -8176,7 +8697,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTreeNodeFlags_OpenOnArrow", - "docComment" : "Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open.", + "docComment" : "Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.", "qualType" : "ImGuiTreeNodeFlags_", "order" : 8, "value" : "1 << 7", @@ -8184,7 +8705,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTreeNodeFlags_Leaf", - "docComment" : "No collapsing, no arrow (use as a convenience for leaf nodes).", + "docComment" : "No collapsing, no arrow (use as a convenience for leaf nodes). Note: will always open a tree/id scope and return true. If you never use that scope, add ImGuiTreeNodeFlags_NoTreePushOnOpen.", "qualType" : "ImGuiTreeNodeFlags_", "order" : 9, "value" : "1 << 8", @@ -8223,7 +8744,7 @@ "evaluatedValue" : 4096 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTreeNodeFlags_SpanTextWidth", + "name" : "ImGuiTreeNodeFlags_SpanLabelWidth", "docComment" : "Narrow hit box + narrow hovering highlight, will only cover the label text.", "qualType" : "ImGuiTreeNodeFlags_", "order" : 14, @@ -8232,35 +8753,74 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTreeNodeFlags_SpanAllColumns", - "docComment" : "Frame will span all columns of its container table (text will still fit in current column)", + "docComment" : "Frame will span all columns of its container table (label will still fit in current column)", "qualType" : "ImGuiTreeNodeFlags_", "order" : 15, "value" : "1 << 14", "evaluatedValue" : 16384 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTreeNodeFlags_NavLeftJumpsBackHere", - "docComment" : "(WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)", + "name" : "ImGuiTreeNodeFlags_LabelSpanAllColumns", + "docComment" : "Label will span all columns of its container table", "qualType" : "ImGuiTreeNodeFlags_", "order" : 16, "value" : "1 << 15", "evaluatedValue" : 32768 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTreeNodeFlags_CollapsingHeader", - "docComment" : "ImGuiTreeNodeFlags_NoScrollOnOpen = 1 < < 16, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible", + "name" : "ImGuiTreeNodeFlags_NavLeftJumpsToParent", + "docComment" : "Nav: left arrow moves back to parent. This is processed in TreePop() when there's an unfulfilled Left nav request remaining.", "qualType" : "ImGuiTreeNodeFlags_", "order" : 17, + "value" : "1 << 17", + "evaluatedValue" : 131072 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_CollapsingHeader", + "qualType" : "ImGuiTreeNodeFlags_", + "order" : 18, "value" : "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog", "evaluatedValue" : 26 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTreeNodeFlags_AllowItemOverlap", - "docComment" : "Renamed in 1.89.7", + "name" : "ImGuiTreeNodeFlags_DrawLinesNone", + "docComment" : "No lines drawn", "qualType" : "ImGuiTreeNodeFlags_", - "order" : 18, - "value" : "ImGuiTreeNodeFlags_AllowOverlap", - "evaluatedValue" : 4 + "order" : 19, + "value" : "1 << 18", + "evaluatedValue" : 262144 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_DrawLinesFull", + "docComment" : "Horizontal lines to child nodes. Vertical line drawn down to TreePop() position: cover full contents. Faster (for large trees).", + "qualType" : "ImGuiTreeNodeFlags_", + "order" : 20, + "value" : "1 << 19", + "evaluatedValue" : 524288 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_DrawLinesToNodes", + "docComment" : "Horizontal lines to child nodes. Vertical line drawn down to bottom-most child node. Slower (for large trees).", + "qualType" : "ImGuiTreeNodeFlags_", + "order" : 21, + "value" : "1 << 20", + "evaluatedValue" : 1048576 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_NavLeftJumpsBackHere", + "docComment" : "Renamed in 1.92.0", + "qualType" : "ImGuiTreeNodeFlags_", + "order" : 22, + "value" : "ImGuiTreeNodeFlags_NavLeftJumpsToParent", + "evaluatedValue" : 131072 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_SpanTextWidth", + "docComment" : "Renamed in 1.90.7", + "qualType" : "ImGuiTreeNodeFlags_", + "order" : 23, + "value" : "ImGuiTreeNodeFlags_SpanLabelWidth", + "evaluatedValue" : 8192 } ] }, { "@type" : "AstEnumDecl", @@ -8274,22 +8834,7 @@ "text" : " Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions." }, { "@type" : "AstTextComment", - "text" : " - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags'," - }, { - "@type" : "AstTextComment", - "text" : " we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags." - }, { - "@type" : "AstTextComment", - "text" : " It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags." - }, { - "@type" : "AstTextComment", - "text" : " - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0." - }, { - "@type" : "AstTextComment", - "text" : " IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter" - }, { - "@type" : "AstTextComment", - "text" : " and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly." + "text" : " - IMPORTANT: If you ever used the left mouse button with BeginPopupContextXXX() helpers before 1.92.6: Read \"API BREAKING CHANGES\" 2026/01/07 (1.92.6) entry in imgui.cpp or GitHub topic #9157." }, { "@type" : "AstTextComment", "text" : " - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later)." @@ -8305,47 +8850,33 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiPopupFlags_MouseButtonLeft", - "docComment" : "For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left)", + "docComment" : "For BeginPopupContext*(): open on Left Mouse release. Only one button allowed!", "qualType" : "ImGuiPopupFlags_", "order" : 1, - "value" : "0", - "evaluatedValue" : 0 + "value" : "1 << 2", + "evaluatedValue" : 4 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiPopupFlags_MouseButtonRight", - "docComment" : "For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right)", + "docComment" : "For BeginPopupContext*(): open on Right Mouse release. Only one button allowed! (default)", "qualType" : "ImGuiPopupFlags_", "order" : 2, - "value" : "1", - "evaluatedValue" : 1 + "value" : "2 << 2", + "evaluatedValue" : 8 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiPopupFlags_MouseButtonMiddle", - "docComment" : "For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle)", + "docComment" : "For BeginPopupContext*(): open on Middle Mouse release. Only one button allowed!", "qualType" : "ImGuiPopupFlags_", "order" : 3, - "value" : "2", - "evaluatedValue" : 2 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiPopupFlags_MouseButtonMask_", - "qualType" : "ImGuiPopupFlags_", - "order" : 4, - "value" : "0x1F", - "evaluatedValue" : 31 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiPopupFlags_MouseButtonDefault_", - "qualType" : "ImGuiPopupFlags_", - "order" : 5, - "value" : "1", - "evaluatedValue" : 1 + "value" : "3 << 2", + "evaluatedValue" : 12 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiPopupFlags_NoReopen", "docComment" : "For OpenPopup*(), BeginPopupContext*(): don't reopen same popup if already open (won't reposition, won't reinitialize navigation)", "qualType" : "ImGuiPopupFlags_", - "order" : 6, + "order" : 4, "value" : "1 << 5", "evaluatedValue" : 32 }, { @@ -8353,7 +8884,7 @@ "name" : "ImGuiPopupFlags_NoOpenOverExistingPopup", "docComment" : "For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack", "qualType" : "ImGuiPopupFlags_", - "order" : 7, + "order" : 5, "value" : "1 << 7", "evaluatedValue" : 128 }, { @@ -8361,7 +8892,7 @@ "name" : "ImGuiPopupFlags_NoOpenOverItems", "docComment" : "For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space", "qualType" : "ImGuiPopupFlags_", - "order" : 8, + "order" : 6, "value" : "1 << 8", "evaluatedValue" : 256 }, { @@ -8369,7 +8900,7 @@ "name" : "ImGuiPopupFlags_AnyPopupId", "docComment" : "For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.", "qualType" : "ImGuiPopupFlags_", - "order" : 9, + "order" : 7, "value" : "1 << 10", "evaluatedValue" : 1024 }, { @@ -8377,26 +8908,50 @@ "name" : "ImGuiPopupFlags_AnyPopupLevel", "docComment" : "For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level)", "qualType" : "ImGuiPopupFlags_", - "order" : 10, + "order" : 8, "value" : "1 << 11", "evaluatedValue" : 2048 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiPopupFlags_AnyPopup", "qualType" : "ImGuiPopupFlags_", - "order" : 11, + "order" : 9, "value" : "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel", "evaluatedValue" : 3072 - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiSelectableFlags_", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPopupFlags_MouseButtonShift_", + "docComment" : "[Internal]", + "qualType" : "ImGuiPopupFlags_", + "order" : 10, + "value" : "2", + "evaluatedValue" : 2 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPopupFlags_MouseButtonMask_", + "docComment" : "[Internal]", + "qualType" : "ImGuiPopupFlags_", + "order" : 11, + "value" : "0x0C", + "evaluatedValue" : 12 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPopupFlags_InvalidMask_", + "docComment" : "[Internal] Reserve legacy bits 0-1 to detect incorrectly passing 1 or 2 to the function.", + "qualType" : "ImGuiPopupFlags_", + "order" : 12, + "value" : "0x03", + "evaluatedValue" : 3 + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiSelectableFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", "text" : " Flags for ImGui::Selectable()" } ] } ] @@ -8409,8 +8964,8 @@ "evaluatedValue" : 0 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_DontClosePopups", - "docComment" : "Clicking this doesn't close parent popup window", + "name" : "ImGuiSelectableFlags_NoAutoClosePopups", + "docComment" : "Clicking this doesn't close parent popup window (overrides ImGuiItemFlags_AutoClosePopups)", "qualType" : "ImGuiSelectableFlags_", "order" : 1, "value" : "1 << 0", @@ -8442,19 +8997,35 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiSelectableFlags_AllowOverlap", - "docComment" : "(WIP) Hit testing to allow subsequent widgets to overlap this one", + "docComment" : "Hit testing will allow subsequent widgets to overlap this one. Require previous frame HoveredId to match before being usable. Shortcut to calling SetNextItemAllowOverlap().", "qualType" : "ImGuiSelectableFlags_", "order" : 5, "value" : "1 << 4", "evaluatedValue" : 16 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_AllowItemOverlap", - "docComment" : "Renamed in 1.89.7", + "name" : "ImGuiSelectableFlags_Highlight", + "docComment" : "Make the item be displayed as if it is hovered", "qualType" : "ImGuiSelectableFlags_", "order" : 6, - "value" : "ImGuiSelectableFlags_AllowOverlap", - "evaluatedValue" : 16 + "value" : "1 << 5", + "evaluatedValue" : 32 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_SelectOnNav", + "docComment" : "Auto-select when moved into, unless Ctrl is held. Automatic when in a BeginMultiSelect() block.", + "qualType" : "ImGuiSelectableFlags_", + "order" : 7, + "value" : "1 << 6", + "evaluatedValue" : 64 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_DontClosePopups", + "docComment" : "Renamed in 1.91.0", + "qualType" : "ImGuiSelectableFlags_", + "order" : 8, + "value" : "ImGuiSelectableFlags_NoAutoClosePopups", + "evaluatedValue" : 1 } ] }, { "@type" : "AstEnumDecl", @@ -8624,34 +9195,50 @@ "evaluatedValue" : 64 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTabBarFlags_FittingPolicyResizeDown", - "docComment" : "Resize tabs when they don't fit", + "name" : "ImGuiTabBarFlags_FittingPolicyMixed", + "docComment" : "Shrink down tabs when they don't fit, until width is style.TabMinWidthShrink, then enable scrolling buttons.", "qualType" : "ImGuiTabBarFlags_", "order" : 8, "value" : "1 << 7", "evaluatedValue" : 128 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTabBarFlags_FittingPolicyScroll", - "docComment" : "Add scroll buttons when tabs don't fit", + "name" : "ImGuiTabBarFlags_FittingPolicyShrink", + "docComment" : "Shrink down tabs when they don't fit", "qualType" : "ImGuiTabBarFlags_", "order" : 9, "value" : "1 << 8", "evaluatedValue" : 256 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTabBarFlags_FittingPolicyMask_", + "name" : "ImGuiTabBarFlags_FittingPolicyScroll", + "docComment" : "Enable scrolling buttons when tabs don't fit", "qualType" : "ImGuiTabBarFlags_", "order" : 10, - "value" : "ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll", - "evaluatedValue" : 384 + "value" : "1 << 9", + "evaluatedValue" : 512 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTabBarFlags_FittingPolicyDefault_", + "name" : "ImGuiTabBarFlags_FittingPolicyMask_", "qualType" : "ImGuiTabBarFlags_", "order" : 11, - "value" : "ImGuiTabBarFlags_FittingPolicyResizeDown", + "value" : "ImGuiTabBarFlags_FittingPolicyMixed | ImGuiTabBarFlags_FittingPolicyShrink | ImGuiTabBarFlags_FittingPolicyScroll", + "evaluatedValue" : 896 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTabBarFlags_FittingPolicyDefault_", + "qualType" : "ImGuiTabBarFlags_", + "order" : 12, + "value" : "ImGuiTabBarFlags_FittingPolicyMixed", "evaluatedValue" : 128 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTabBarFlags_FittingPolicyResizeDown", + "docComment" : "Renamed in 1.92.2", + "qualType" : "ImGuiTabBarFlags_", + "order" : 13, + "value" : "ImGuiTabBarFlags_FittingPolicyShrink", + "evaluatedValue" : 256 } ] }, { "@type" : "AstEnumDecl", @@ -8921,7 +9508,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiHoveredFlags_NoNavOverride", - "docComment" : "IsItemHovered() only: Disable using gamepad/keyboard navigation state when active, always query mouse", + "docComment" : "IsItemHovered() only: Disable using keyboard/gamepad navigation state when active, always query mouse", "qualType" : "ImGuiHoveredFlags_", "order" : 11, "value" : "1 << 11", @@ -9201,12 +9788,20 @@ "order" : 11, "value" : "1 << 12", "evaluatedValue" : 4096 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDragDropFlags_AcceptDrawAsHovered", + "docComment" : "Accepting item will render as if hovered. Useful for e.g. a Button() used as a drop target.", + "qualType" : "ImGuiDragDropFlags_", + "order" : 12, + "value" : "1 << 13", + "evaluatedValue" : 8192 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDragDropFlags_AcceptPeekOnly", "docComment" : "For peeking ahead and inspecting the payload before delivery.", "qualType" : "ImGuiDragDropFlags_", - "order" : 12, + "order" : 13, "value" : "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect", "evaluatedValue" : 3072 }, { @@ -9214,7 +9809,7 @@ "name" : "ImGuiDragDropFlags_SourceAutoExpirePayload", "docComment" : "Renamed in 1.90.9", "qualType" : "ImGuiDragDropFlags_", - "order" : 13, + "order" : 14, "value" : "ImGuiDragDropFlags_PayloadAutoExpire", "evaluatedValue" : 32 } ] @@ -9302,10 +9897,24 @@ "evaluatedValue" : 9 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiDataType_COUNT", + "name" : "ImGuiDataType_Bool", + "docComment" : "bool (provided for user convenience, not supported by scalar widgets)", "qualType" : "ImGuiDataType_", "order" : 10, "evaluatedValue" : 10 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataType_String", + "docComment" : "char* (provided for user convenience, not supported by scalar widgets)", + "qualType" : "ImGuiDataType_", + "order" : 11, + "evaluatedValue" : 11 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataType_COUNT", + "qualType" : "ImGuiDataType_", + "order" : 12, + "evaluatedValue" : 12 } ] }, { "@type" : "AstEnumDecl", @@ -9409,7 +10018,7 @@ "text" : " A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value): can represent Keyboard, Mouse and Gamepad values." }, { "@type" : "AstTextComment", - "text" : " All our named keys are >= 512. Keys value 0 to 511 are left unused as legacy native/opaque key values (" + "text" : " All our named keys are >= 512. Keys value 0 to 511 are left unused and were legacy native/opaque key values (" }, { "@type" : "AstTextComment", "text" : "<" @@ -9418,13 +10027,13 @@ "text" : " 1.87)." }, { "@type" : "AstTextComment", - "text" : " Since >= 1.89 we increased typing (went from int to enum), some legacy code may need a cast to ImGuiKey." + "text" : " Support for legacy keys was completely removed in 1.91.5." }, { "@type" : "AstTextComment", - "text" : " Read details about the 1.87 and 1.89 transition : https://github.com/ocornut/imgui/issues/4921" + "text" : " Read details about the 1.87+ transition : https://github.com/ocornut/imgui/issues/4921" }, { "@type" : "AstTextComment", - "text" : " Note that \"Keys\" related to physical keys and are not the same concept as input \"Characters\", the later are submitted via io.AddInputCharacter()." + "text" : " Note that \"Keys\" related to physical keys and are not the same concept as input \"Characters\", the latter are submitted via io.AddInputCharacter()." }, { "@type" : "AstTextComment", "text" : " The keyboard key enum values are named after the keys on a standard US keyboard, and on other keyboard types the keys reported may not match the keycaps." @@ -9438,992 +10047,1019 @@ "order" : 0, "value" : "0", "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiKey_NamedKey_BEGIN", + "docComment" : "First valid key value (other than 0)", + "qualType" : "ImGuiKey", + "order" : 1, + "value" : "512", + "evaluatedValue" : 512 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Tab", "docComment" : "== ImGuiKey_NamedKey_BEGIN", "qualType" : "ImGuiKey", - "order" : 1, + "order" : 2, "value" : "512", "evaluatedValue" : 512 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_LeftArrow", "qualType" : "ImGuiKey", - "order" : 2, + "order" : 3, "evaluatedValue" : 513 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_RightArrow", "qualType" : "ImGuiKey", - "order" : 3, + "order" : 4, "evaluatedValue" : 514 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_UpArrow", "qualType" : "ImGuiKey", - "order" : 4, + "order" : 5, "evaluatedValue" : 515 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_DownArrow", "qualType" : "ImGuiKey", - "order" : 5, + "order" : 6, "evaluatedValue" : 516 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_PageUp", "qualType" : "ImGuiKey", - "order" : 6, + "order" : 7, "evaluatedValue" : 517 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_PageDown", "qualType" : "ImGuiKey", - "order" : 7, + "order" : 8, "evaluatedValue" : 518 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Home", "qualType" : "ImGuiKey", - "order" : 8, + "order" : 9, "evaluatedValue" : 519 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_End", "qualType" : "ImGuiKey", - "order" : 9, + "order" : 10, "evaluatedValue" : 520 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Insert", "qualType" : "ImGuiKey", - "order" : 10, + "order" : 11, "evaluatedValue" : 521 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Delete", "qualType" : "ImGuiKey", - "order" : 11, + "order" : 12, "evaluatedValue" : 522 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Backspace", "qualType" : "ImGuiKey", - "order" : 12, + "order" : 13, "evaluatedValue" : 523 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Space", "qualType" : "ImGuiKey", - "order" : 13, + "order" : 14, "evaluatedValue" : 524 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Enter", "qualType" : "ImGuiKey", - "order" : 14, + "order" : 15, "evaluatedValue" : 525 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Escape", "qualType" : "ImGuiKey", - "order" : 15, + "order" : 16, "evaluatedValue" : 526 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_LeftCtrl", + "docComment" : "Also see ImGuiMod_Ctrl, ImGuiMod_Shift, ImGuiMod_Alt, ImGuiMod_Super below!", "qualType" : "ImGuiKey", - "order" : 16, + "order" : 17, "evaluatedValue" : 527 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_LeftShift", + "docComment" : "Also see ImGuiMod_Ctrl, ImGuiMod_Shift, ImGuiMod_Alt, ImGuiMod_Super below!", "qualType" : "ImGuiKey", - "order" : 17, + "order" : 18, "evaluatedValue" : 528 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_LeftAlt", + "docComment" : "Also see ImGuiMod_Ctrl, ImGuiMod_Shift, ImGuiMod_Alt, ImGuiMod_Super below!", "qualType" : "ImGuiKey", - "order" : 18, + "order" : 19, "evaluatedValue" : 529 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_LeftSuper", + "docComment" : "Also see ImGuiMod_Ctrl, ImGuiMod_Shift, ImGuiMod_Alt, ImGuiMod_Super below!", "qualType" : "ImGuiKey", - "order" : 19, + "order" : 20, "evaluatedValue" : 530 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_RightCtrl", "qualType" : "ImGuiKey", - "order" : 20, + "order" : 21, "evaluatedValue" : 531 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_RightShift", "qualType" : "ImGuiKey", - "order" : 21, + "order" : 22, "evaluatedValue" : 532 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_RightAlt", "qualType" : "ImGuiKey", - "order" : 22, + "order" : 23, "evaluatedValue" : 533 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_RightSuper", "qualType" : "ImGuiKey", - "order" : 23, + "order" : 24, "evaluatedValue" : 534 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Menu", "qualType" : "ImGuiKey", - "order" : 24, + "order" : 25, "evaluatedValue" : 535 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_0", "qualType" : "ImGuiKey", - "order" : 25, + "order" : 26, "evaluatedValue" : 536 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_1", "qualType" : "ImGuiKey", - "order" : 26, + "order" : 27, "evaluatedValue" : 537 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_2", "qualType" : "ImGuiKey", - "order" : 27, + "order" : 28, "evaluatedValue" : 538 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_3", "qualType" : "ImGuiKey", - "order" : 28, + "order" : 29, "evaluatedValue" : 539 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_4", "qualType" : "ImGuiKey", - "order" : 29, + "order" : 30, "evaluatedValue" : 540 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_5", "qualType" : "ImGuiKey", - "order" : 30, + "order" : 31, "evaluatedValue" : 541 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_6", "qualType" : "ImGuiKey", - "order" : 31, + "order" : 32, "evaluatedValue" : 542 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_7", "qualType" : "ImGuiKey", - "order" : 32, + "order" : 33, "evaluatedValue" : 543 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_8", "qualType" : "ImGuiKey", - "order" : 33, + "order" : 34, "evaluatedValue" : 544 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_9", "qualType" : "ImGuiKey", - "order" : 34, + "order" : 35, "evaluatedValue" : 545 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_A", "qualType" : "ImGuiKey", - "order" : 35, + "order" : 36, "evaluatedValue" : 546 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_B", "qualType" : "ImGuiKey", - "order" : 36, + "order" : 37, "evaluatedValue" : 547 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_C", "qualType" : "ImGuiKey", - "order" : 37, + "order" : 38, "evaluatedValue" : 548 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_D", "qualType" : "ImGuiKey", - "order" : 38, + "order" : 39, "evaluatedValue" : 549 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_E", "qualType" : "ImGuiKey", - "order" : 39, + "order" : 40, "evaluatedValue" : 550 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F", "qualType" : "ImGuiKey", - "order" : 40, + "order" : 41, "evaluatedValue" : 551 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_G", "qualType" : "ImGuiKey", - "order" : 41, + "order" : 42, "evaluatedValue" : 552 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_H", "qualType" : "ImGuiKey", - "order" : 42, + "order" : 43, "evaluatedValue" : 553 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_I", "qualType" : "ImGuiKey", - "order" : 43, + "order" : 44, "evaluatedValue" : 554 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_J", "qualType" : "ImGuiKey", - "order" : 44, + "order" : 45, "evaluatedValue" : 555 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_K", "qualType" : "ImGuiKey", - "order" : 45, + "order" : 46, "evaluatedValue" : 556 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_L", "qualType" : "ImGuiKey", - "order" : 46, + "order" : 47, "evaluatedValue" : 557 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_M", "qualType" : "ImGuiKey", - "order" : 47, + "order" : 48, "evaluatedValue" : 558 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_N", "qualType" : "ImGuiKey", - "order" : 48, + "order" : 49, "evaluatedValue" : 559 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_O", "qualType" : "ImGuiKey", - "order" : 49, + "order" : 50, "evaluatedValue" : 560 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_P", "qualType" : "ImGuiKey", - "order" : 50, + "order" : 51, "evaluatedValue" : 561 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Q", "qualType" : "ImGuiKey", - "order" : 51, + "order" : 52, "evaluatedValue" : 562 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_R", "qualType" : "ImGuiKey", - "order" : 52, + "order" : 53, "evaluatedValue" : 563 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_S", "qualType" : "ImGuiKey", - "order" : 53, + "order" : 54, "evaluatedValue" : 564 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_T", "qualType" : "ImGuiKey", - "order" : 54, + "order" : 55, "evaluatedValue" : 565 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_U", "qualType" : "ImGuiKey", - "order" : 55, + "order" : 56, "evaluatedValue" : 566 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_V", "qualType" : "ImGuiKey", - "order" : 56, + "order" : 57, "evaluatedValue" : 567 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_W", "qualType" : "ImGuiKey", - "order" : 57, + "order" : 58, "evaluatedValue" : 568 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_X", "qualType" : "ImGuiKey", - "order" : 58, + "order" : 59, "evaluatedValue" : 569 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Y", "qualType" : "ImGuiKey", - "order" : 59, + "order" : 60, "evaluatedValue" : 570 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Z", "qualType" : "ImGuiKey", - "order" : 60, + "order" : 61, "evaluatedValue" : 571 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F1", "qualType" : "ImGuiKey", - "order" : 61, + "order" : 62, "evaluatedValue" : 572 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F2", "qualType" : "ImGuiKey", - "order" : 62, + "order" : 63, "evaluatedValue" : 573 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F3", "qualType" : "ImGuiKey", - "order" : 63, + "order" : 64, "evaluatedValue" : 574 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F4", "qualType" : "ImGuiKey", - "order" : 64, + "order" : 65, "evaluatedValue" : 575 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F5", "qualType" : "ImGuiKey", - "order" : 65, + "order" : 66, "evaluatedValue" : 576 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F6", "qualType" : "ImGuiKey", - "order" : 66, + "order" : 67, "evaluatedValue" : 577 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F7", "qualType" : "ImGuiKey", - "order" : 67, + "order" : 68, "evaluatedValue" : 578 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F8", "qualType" : "ImGuiKey", - "order" : 68, + "order" : 69, "evaluatedValue" : 579 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F9", "qualType" : "ImGuiKey", - "order" : 69, + "order" : 70, "evaluatedValue" : 580 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F10", "qualType" : "ImGuiKey", - "order" : 70, + "order" : 71, "evaluatedValue" : 581 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F11", "qualType" : "ImGuiKey", - "order" : 71, + "order" : 72, "evaluatedValue" : 582 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F12", "qualType" : "ImGuiKey", - "order" : 72, + "order" : 73, "evaluatedValue" : 583 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F13", "qualType" : "ImGuiKey", - "order" : 73, + "order" : 74, "evaluatedValue" : 584 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F14", "qualType" : "ImGuiKey", - "order" : 74, + "order" : 75, "evaluatedValue" : 585 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F15", "qualType" : "ImGuiKey", - "order" : 75, + "order" : 76, "evaluatedValue" : 586 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F16", "qualType" : "ImGuiKey", - "order" : 76, + "order" : 77, "evaluatedValue" : 587 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F17", "qualType" : "ImGuiKey", - "order" : 77, + "order" : 78, "evaluatedValue" : 588 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F18", "qualType" : "ImGuiKey", - "order" : 78, + "order" : 79, "evaluatedValue" : 589 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F19", "qualType" : "ImGuiKey", - "order" : 79, + "order" : 80, "evaluatedValue" : 590 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F20", "qualType" : "ImGuiKey", - "order" : 80, + "order" : 81, "evaluatedValue" : 591 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F21", "qualType" : "ImGuiKey", - "order" : 81, + "order" : 82, "evaluatedValue" : 592 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F22", "qualType" : "ImGuiKey", - "order" : 82, + "order" : 83, "evaluatedValue" : 593 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F23", "qualType" : "ImGuiKey", - "order" : 83, + "order" : 84, "evaluatedValue" : 594 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_F24", "qualType" : "ImGuiKey", - "order" : 84, + "order" : 85, "evaluatedValue" : 595 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Apostrophe", "docComment" : "'", "qualType" : "ImGuiKey", - "order" : 85, + "order" : 86, "evaluatedValue" : 596 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Comma", "docComment" : ",", "qualType" : "ImGuiKey", - "order" : 86, + "order" : 87, "evaluatedValue" : 597 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Minus", "docComment" : "-", "qualType" : "ImGuiKey", - "order" : 87, + "order" : 88, "evaluatedValue" : 598 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Period", "docComment" : ".", "qualType" : "ImGuiKey", - "order" : 88, + "order" : 89, "evaluatedValue" : 599 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Slash", "docComment" : "/", "qualType" : "ImGuiKey", - "order" : 89, + "order" : 90, "evaluatedValue" : 600 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Semicolon", "docComment" : ";", "qualType" : "ImGuiKey", - "order" : 90, + "order" : 91, "evaluatedValue" : 601 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Equal", "docComment" : "=", "qualType" : "ImGuiKey", - "order" : 91, + "order" : 92, "evaluatedValue" : 602 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_LeftBracket", "docComment" : "[", "qualType" : "ImGuiKey", - "order" : 92, + "order" : 93, "evaluatedValue" : 603 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Backslash", "docComment" : " \\ (this text inhibit multiline comment caused by backslash)", "qualType" : "ImGuiKey", - "order" : 93, + "order" : 94, "evaluatedValue" : 604 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_RightBracket", "docComment" : "]", "qualType" : "ImGuiKey", - "order" : 94, + "order" : 95, "evaluatedValue" : 605 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_GraveAccent", "docComment" : "`", "qualType" : "ImGuiKey", - "order" : 95, + "order" : 96, "evaluatedValue" : 606 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_CapsLock", "qualType" : "ImGuiKey", - "order" : 96, + "order" : 97, "evaluatedValue" : 607 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_ScrollLock", "qualType" : "ImGuiKey", - "order" : 97, + "order" : 98, "evaluatedValue" : 608 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_NumLock", "qualType" : "ImGuiKey", - "order" : 98, + "order" : 99, "evaluatedValue" : 609 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_PrintScreen", "qualType" : "ImGuiKey", - "order" : 99, + "order" : 100, "evaluatedValue" : 610 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Pause", "qualType" : "ImGuiKey", - "order" : 100, + "order" : 101, "evaluatedValue" : 611 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad0", "qualType" : "ImGuiKey", - "order" : 101, + "order" : 102, "evaluatedValue" : 612 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad1", "qualType" : "ImGuiKey", - "order" : 102, + "order" : 103, "evaluatedValue" : 613 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad2", "qualType" : "ImGuiKey", - "order" : 103, + "order" : 104, "evaluatedValue" : 614 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad3", "qualType" : "ImGuiKey", - "order" : 104, + "order" : 105, "evaluatedValue" : 615 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad4", "qualType" : "ImGuiKey", - "order" : 105, + "order" : 106, "evaluatedValue" : 616 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad5", "qualType" : "ImGuiKey", - "order" : 106, + "order" : 107, "evaluatedValue" : 617 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad6", "qualType" : "ImGuiKey", - "order" : 107, + "order" : 108, "evaluatedValue" : 618 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad7", "qualType" : "ImGuiKey", - "order" : 108, + "order" : 109, "evaluatedValue" : 619 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad8", "qualType" : "ImGuiKey", - "order" : 109, + "order" : 110, "evaluatedValue" : 620 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Keypad9", "qualType" : "ImGuiKey", - "order" : 110, + "order" : 111, "evaluatedValue" : 621 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeypadDecimal", "qualType" : "ImGuiKey", - "order" : 111, + "order" : 112, "evaluatedValue" : 622 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeypadDivide", "qualType" : "ImGuiKey", - "order" : 112, + "order" : 113, "evaluatedValue" : 623 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeypadMultiply", "qualType" : "ImGuiKey", - "order" : 113, + "order" : 114, "evaluatedValue" : 624 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeypadSubtract", "qualType" : "ImGuiKey", - "order" : 114, + "order" : 115, "evaluatedValue" : 625 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeypadAdd", "qualType" : "ImGuiKey", - "order" : 115, + "order" : 116, "evaluatedValue" : 626 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeypadEnter", "qualType" : "ImGuiKey", - "order" : 116, + "order" : 117, "evaluatedValue" : 627 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeypadEqual", "qualType" : "ImGuiKey", - "order" : 117, + "order" : 118, "evaluatedValue" : 628 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_AppBack", "docComment" : "Available on some keyboard/mouses. Often referred as \"Browser Back\"", "qualType" : "ImGuiKey", - "order" : 118, + "order" : 119, "evaluatedValue" : 629 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_AppForward", "qualType" : "ImGuiKey", - "order" : 119, + "order" : 120, "evaluatedValue" : 630 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadStart", - "docComment" : "Menu (Xbox) + (Switch) Start/Options (PS)", + "name" : "ImGuiKey_Oem102", + "docComment" : "Non-US backslash.", "qualType" : "ImGuiKey", - "order" : 120, + "order" : 121, "evaluatedValue" : 631 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadBack", - "docComment" : "View (Xbox) - (Switch) Share (PS)", + "name" : "ImGuiKey_GamepadStart", + "docComment" : "Menu | + | Options |", "qualType" : "ImGuiKey", - "order" : 121, + "order" : 122, "evaluatedValue" : 632 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadFaceLeft", - "docComment" : "X (Xbox) Y (Switch) Square (PS) // Tap: Toggle Menu. Hold: Windowing mode (Focus/Move/Resize windows)", + "name" : "ImGuiKey_GamepadBack", + "docComment" : "View | - | Share |", "qualType" : "ImGuiKey", - "order" : 122, + "order" : 123, "evaluatedValue" : 633 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadFaceRight", - "docComment" : "B (Xbox) A (Switch) Circle (PS) // Cancel / Close / Exit", + "name" : "ImGuiKey_GamepadFaceLeft", + "docComment" : "X | Y | Square | Toggle Menu. Hold for Windowing mode (Focus/Move/Resize windows)", "qualType" : "ImGuiKey", - "order" : 123, + "order" : 124, "evaluatedValue" : 634 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadFaceUp", - "docComment" : "Y (Xbox) X (Switch) Triangle (PS) // Text Input / On-screen Keyboard", + "name" : "ImGuiKey_GamepadFaceRight", + "docComment" : "B | A | Circle | Cancel / Close / Exit", "qualType" : "ImGuiKey", - "order" : 124, + "order" : 125, "evaluatedValue" : 635 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadFaceDown", - "docComment" : "A (Xbox) B (Switch) Cross (PS) // Activate / Open / Toggle / Tweak", + "name" : "ImGuiKey_GamepadFaceUp", + "docComment" : "Y | X | Triangle | Open Context Menu", "qualType" : "ImGuiKey", - "order" : 125, + "order" : 126, "evaluatedValue" : 636 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadDpadLeft", - "docComment" : "D-pad Left // Move / Tweak / Resize Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadFaceDown", + "docComment" : "A | B | Cross | Activate / Open / Toggle. Hold for 0.60f to Activate in Text Input mode (e.g. wired to an on-screen keyboard).", "qualType" : "ImGuiKey", - "order" : 126, + "order" : 127, "evaluatedValue" : 637 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadDpadRight", - "docComment" : "D-pad Right // Move / Tweak / Resize Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadDpadLeft", + "docComment" : "D-pad Left | \" | \" | Move / Tweak / Resize Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 127, + "order" : 128, "evaluatedValue" : 638 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadDpadUp", - "docComment" : "D-pad Up // Move / Tweak / Resize Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadDpadRight", + "docComment" : "D-pad Right | \" | \" | Move / Tweak / Resize Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 128, + "order" : 129, "evaluatedValue" : 639 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadDpadDown", - "docComment" : "D-pad Down // Move / Tweak / Resize Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadDpadUp", + "docComment" : "D-pad Up | \" | \" | Move / Tweak / Resize Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 129, + "order" : 130, "evaluatedValue" : 640 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadL1", - "docComment" : "L Bumper (Xbox) L (Switch) L1 (PS) // Tweak Slower / Focus Previous (in Windowing mode)", + "name" : "ImGuiKey_GamepadDpadDown", + "docComment" : "D-pad Down | \" | \" | Move / Tweak / Resize Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 130, + "order" : 131, "evaluatedValue" : 641 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadR1", - "docComment" : "R Bumper (Xbox) R (Switch) R1 (PS) // Tweak Faster / Focus Next (in Windowing mode)", + "name" : "ImGuiKey_GamepadL1", + "docComment" : "L Bumper | L | L1 | Tweak Slower / Focus Previous (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 131, + "order" : 132, "evaluatedValue" : 642 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadL2", - "docComment" : "L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog]", + "name" : "ImGuiKey_GamepadR1", + "docComment" : "R Bumper | R | R1 | Tweak Faster / Focus Next (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 132, + "order" : 133, "evaluatedValue" : 643 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadR2", - "docComment" : "R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog]", + "name" : "ImGuiKey_GamepadL2", + "docComment" : "L Trigger | ZL | L2 | [Analog]", "qualType" : "ImGuiKey", - "order" : 133, + "order" : 134, "evaluatedValue" : 644 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadL3", - "docComment" : "L Stick (Xbox) L3 (Switch) L3 (PS)", + "name" : "ImGuiKey_GamepadR2", + "docComment" : "R Trigger | ZR | R2 | [Analog]", "qualType" : "ImGuiKey", - "order" : 134, + "order" : 135, "evaluatedValue" : 645 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadR3", - "docComment" : "R Stick (Xbox) R3 (Switch) R3 (PS)", + "name" : "ImGuiKey_GamepadL3", + "docComment" : "L Stick | L3 | L3 |", "qualType" : "ImGuiKey", - "order" : 135, + "order" : 136, "evaluatedValue" : 646 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadLStickLeft", - "docComment" : "[Analog] // Move Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadR3", + "docComment" : "R Stick | R3 | R3 |", "qualType" : "ImGuiKey", - "order" : 136, + "order" : 137, "evaluatedValue" : 647 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadLStickRight", - "docComment" : "[Analog] // Move Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadLStickLeft", + "docComment" : "| | | [Analog] Move Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 137, + "order" : 138, "evaluatedValue" : 648 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadLStickUp", - "docComment" : "[Analog] // Move Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadLStickRight", + "docComment" : "| | | [Analog] Move Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 138, + "order" : 139, "evaluatedValue" : 649 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadLStickDown", - "docComment" : "[Analog] // Move Window (in Windowing mode)", + "name" : "ImGuiKey_GamepadLStickUp", + "docComment" : "| | | [Analog] Move Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 139, + "order" : 140, "evaluatedValue" : 650 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadRStickLeft", - "docComment" : "[Analog]", + "name" : "ImGuiKey_GamepadLStickDown", + "docComment" : "| | | [Analog] Move Window (in Windowing mode)", "qualType" : "ImGuiKey", - "order" : 140, + "order" : 141, "evaluatedValue" : 651 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadRStickRight", - "docComment" : "[Analog]", + "name" : "ImGuiKey_GamepadRStickLeft", + "docComment" : "| | | [Analog]", "qualType" : "ImGuiKey", - "order" : 141, + "order" : 142, "evaluatedValue" : 652 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadRStickUp", - "docComment" : "[Analog]", + "name" : "ImGuiKey_GamepadRStickRight", + "docComment" : "| | | [Analog]", "qualType" : "ImGuiKey", - "order" : 142, + "order" : 143, "evaluatedValue" : 653 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_GamepadRStickDown", - "docComment" : "[Analog]", + "name" : "ImGuiKey_GamepadRStickUp", + "docComment" : "| | | [Analog]", "qualType" : "ImGuiKey", - "order" : 143, + "order" : 144, "evaluatedValue" : 654 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_MouseLeft", - "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", + "name" : "ImGuiKey_GamepadRStickDown", + "docComment" : "| | | [Analog]", "qualType" : "ImGuiKey", - "order" : 144, + "order" : 145, "evaluatedValue" : 655 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_MouseRight", + "name" : "ImGuiKey_MouseLeft", "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", "qualType" : "ImGuiKey", - "order" : 145, + "order" : 146, "evaluatedValue" : 656 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_MouseMiddle", + "name" : "ImGuiKey_MouseRight", "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", "qualType" : "ImGuiKey", - "order" : 146, + "order" : 147, "evaluatedValue" : 657 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_MouseX1", + "name" : "ImGuiKey_MouseMiddle", "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", "qualType" : "ImGuiKey", - "order" : 147, + "order" : 148, "evaluatedValue" : 658 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_MouseX2", + "name" : "ImGuiKey_MouseX1", "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", "qualType" : "ImGuiKey", - "order" : 148, + "order" : 149, "evaluatedValue" : 659 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_MouseWheelX", + "name" : "ImGuiKey_MouseX2", "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", "qualType" : "ImGuiKey", - "order" : 149, + "order" : 150, "evaluatedValue" : 660 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_MouseWheelY", + "name" : "ImGuiKey_MouseWheelX", "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", "qualType" : "ImGuiKey", - "order" : 150, + "order" : 151, "evaluatedValue" : 661 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ReservedForModCtrl", - "docComment" : "[Internal] Reserved for mod storage", + "name" : "ImGuiKey_MouseWheelY", + "docComment" : "Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API.", "qualType" : "ImGuiKey", - "order" : 151, + "order" : 152, "evaluatedValue" : 662 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ReservedForModShift", + "name" : "ImGuiKey_ReservedForModCtrl", "docComment" : "[Internal] Reserved for mod storage", "qualType" : "ImGuiKey", - "order" : 152, + "order" : 153, "evaluatedValue" : 663 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ReservedForModAlt", + "name" : "ImGuiKey_ReservedForModShift", "docComment" : "[Internal] Reserved for mod storage", "qualType" : "ImGuiKey", - "order" : 153, + "order" : 154, "evaluatedValue" : 664 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ReservedForModSuper", + "name" : "ImGuiKey_ReservedForModAlt", "docComment" : "[Internal] Reserved for mod storage", "qualType" : "ImGuiKey", - "order" : 154, + "order" : 155, "evaluatedValue" : 665 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_COUNT", + "name" : "ImGuiKey_ReservedForModSuper", "docComment" : "[Internal] Reserved for mod storage", "qualType" : "ImGuiKey", - "order" : 155, + "order" : 156, "evaluatedValue" : 666 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiKey_NamedKey_END", + "docComment" : "[Internal] If you need to iterate all keys (for e.g. an input mapper) you may use ImGuiKey_NamedKey_BEGIN..ImGuiKey_NamedKey_END.", + "qualType" : "ImGuiKey", + "order" : 157, + "evaluatedValue" : 667 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiKey_NamedKey_COUNT", + "docComment" : "[Internal] If you need to iterate all keys (for e.g. an input mapper) you may use ImGuiKey_NamedKey_BEGIN..ImGuiKey_NamedKey_END.", + "qualType" : "ImGuiKey", + "order" : 158, + "value" : "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN", + "evaluatedValue" : 155 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMod_None", - "docComment" : "Keyboard Modifiers (explicitly submitted by backend via AddKeyEvent() calls) - This is mirroring the data also written to io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper, in a format allowing them to be accessed via standard key API, allowing calls such as IsKeyPressed(), IsKeyReleased(), querying duration etc. - Code polling every key (e.g. an interface to detect a key press for input mapping) might want to ignore those and prefer using the real keys (e.g. ImGuiKey_LeftCtrl, ImGuiKey_RightCtrl instead of ImGuiMod_Ctrl). - In theory the value of keyboard modifiers should be roughly equivalent to a logical or of the equivalent left/right keys. In practice: it's complicated; mods are often provided from different sources. Keyboard layout, IME, sticky keys and backends tend to interfere and break that equivalence. The safer decision is to relay that ambiguity down to the end-user... - On macOS, we swap Cmd(Super) and Ctrl keys at the time of the io.AddKeyEvent() call.", + "docComment" : "Keyboard Modifiers (explicitly submitted by backend via AddKeyEvent() calls) - Any functions taking a ImGuiKeyChord parameter can binary-or those with regular keys, e.g. Shortcut(ImGuiMod_Ctrl | ImGuiKey_S). - Those are written back into io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper for convenience, but may be accessed via standard key API such as IsKeyPressed(), IsKeyReleased(), querying duration etc. - Code polling every key (e.g. an interface to detect a key press for input mapping) might want to ignore those and prefer using the real keys (e.g. ImGuiKey_LeftCtrl, ImGuiKey_RightCtrl instead of ImGuiMod_Ctrl). - In theory the value of keyboard modifiers should be roughly equivalent to a logical or of the equivalent left/right keys. In practice: it's complicated; mods are often provided from different sources. Keyboard layout, IME, sticky keys and backends tend to interfere and break that equivalence. The safer decision is to relay that ambiguity down to the end-user... - On macOS, we swap Cmd(Super) and Ctrl keys at the time of the io.AddKeyEvent() call.", "qualType" : "ImGuiKey", - "order" : 156, + "order" : 159, "value" : "0", "evaluatedValue" : 0 }, { @@ -10431,7 +11067,7 @@ "name" : "ImGuiMod_Ctrl", "docComment" : "Ctrl (non-macOS), Cmd (macOS)", "qualType" : "ImGuiKey", - "order" : 157, + "order" : 160, "value" : "1 << 12", "evaluatedValue" : 4096 }, { @@ -10439,7 +11075,7 @@ "name" : "ImGuiMod_Shift", "docComment" : "Shift", "qualType" : "ImGuiKey", - "order" : 158, + "order" : 161, "value" : "1 << 13", "evaluatedValue" : 8192 }, { @@ -10447,7 +11083,7 @@ "name" : "ImGuiMod_Alt", "docComment" : "Option/Menu", "qualType" : "ImGuiKey", - "order" : 159, + "order" : 162, "value" : "1 << 14", "evaluatedValue" : 16384 }, { @@ -10455,7 +11091,7 @@ "name" : "ImGuiMod_Super", "docComment" : "Windows/Super (non-macOS), Ctrl (macOS)", "qualType" : "ImGuiKey", - "order" : 160, + "order" : 163, "value" : "1 << 15", "evaluatedValue" : 32768 }, { @@ -10463,89 +11099,25 @@ "name" : "ImGuiMod_Mask_", "docComment" : "4-bits", "qualType" : "ImGuiKey", - "order" : 161, + "order" : 164, "value" : "0xF000", "evaluatedValue" : 61440 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_NamedKey_BEGIN", - "docComment" : "[Internal] Prior to 1.87 we required user to fill io.KeysDown[512] using their own native index + the io.KeyMap[] array. We are ditching this method but keeping a legacy path for user code doing e.g. IsKeyPressed(MY_NATIVE_KEY_CODE) If you need to iterate all keys (for e.g. an input mapper) you may use ImGuiKey_NamedKey_BEGIN..ImGuiKey_NamedKey_END.", + "name" : "ImGuiKey_COUNT", + "docComment" : "Obsoleted in 1.91.5 because it was misleading (since named keys don't start at 0 anymore)", "qualType" : "ImGuiKey", - "order" : 162, - "value" : "512", - "evaluatedValue" : 512 + "order" : 165, + "value" : "ImGuiKey_NamedKey_END", + "evaluatedValue" : 667 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_NamedKey_END", - "docComment" : "[Internal] Prior to 1.87 we required user to fill io.KeysDown[512] using their own native index + the io.KeyMap[] array. We are ditching this method but keeping a legacy path for user code doing e.g. IsKeyPressed(MY_NATIVE_KEY_CODE) If you need to iterate all keys (for e.g. an input mapper) you may use ImGuiKey_NamedKey_BEGIN..ImGuiKey_NamedKey_END.", - "qualType" : "ImGuiKey", - "order" : 163, - "value" : "ImGuiKey_COUNT", - "evaluatedValue" : 666 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_NamedKey_COUNT", - "docComment" : "[Internal] Prior to 1.87 we required user to fill io.KeysDown[512] using their own native index + the io.KeyMap[] array. We are ditching this method but keeping a legacy path for user code doing e.g. IsKeyPressed(MY_NATIVE_KEY_CODE) If you need to iterate all keys (for e.g. an input mapper) you may use ImGuiKey_NamedKey_BEGIN..ImGuiKey_NamedKey_END.", - "qualType" : "ImGuiKey", - "order" : 164, - "value" : "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN", - "evaluatedValue" : 154 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_KeysData_SIZE", - "docComment" : "Size of KeysData[]: hold legacy 0..512 keycodes + named keys", - "qualType" : "ImGuiKey", - "order" : 165, - "value" : "ImGuiKey_COUNT", - "evaluatedValue" : 666 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_KeysData_OFFSET", - "docComment" : "Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET) index.", + "name" : "ImGuiMod_Shortcut", + "docComment" : "Removed in 1.90.7, you can now simply use ImGuiMod_Ctrl", "qualType" : "ImGuiKey", "order" : 166, - "value" : "0", - "evaluatedValue" : 0 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiMod_Shortcut", - "docComment" : "Removed in 1.90.7, you can now simply use ImGuiMod_Ctrl", - "qualType" : "ImGuiKey", - "order" : 167, - "value" : "ImGuiMod_Ctrl", - "evaluatedValue" : 4096 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ModCtrl", - "docComment" : "Renamed in 1.89", - "qualType" : "ImGuiKey", - "order" : 168, "value" : "ImGuiMod_Ctrl", "evaluatedValue" : 4096 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ModShift", - "docComment" : "Renamed in 1.89", - "qualType" : "ImGuiKey", - "order" : 169, - "value" : "ImGuiMod_Shift", - "evaluatedValue" : 8192 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ModAlt", - "docComment" : "Renamed in 1.89", - "qualType" : "ImGuiKey", - "order" : 170, - "value" : "ImGuiMod_Alt", - "evaluatedValue" : 16384 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiKey_ModSuper", - "docComment" : "Renamed in 1.89", - "qualType" : "ImGuiKey", - "order" : 171, - "value" : "ImGuiMod_Super", - "evaluatedValue" : 32768 } ] }, { "@type" : "AstEnumDecl", @@ -10623,7 +11195,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiInputFlags_RouteOverActive", - "docComment" : "Option: global route: higher priority than active item. Unlikely you need to use that: will interfere with every active items, e.g. CTRL+A registered by InputText will be overridden by this. May not be fully honored as user/internal code is likely to always assume they can access keys when active.", + "docComment" : "Option: global route: higher priority than active item. Unlikely you need to use that: will interfere with every active items, e.g. Ctrl+A registered by InputText will be overridden by this. May not be fully honored as user/internal code is likely to always assume they can access keys when active.", "qualType" : "ImGuiInputFlags_", "order" : 7, "value" : "1 << 15", @@ -10653,127 +11225,6 @@ "value" : "1 << 18", "evaluatedValue" : 262144 } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiNavInput", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.88 (from July 2022): ImGuiNavInput and io.NavInputs[]." - }, { - "@type" : "AstTextComment", - "text" : " Official backends between 1.60 and 1.86: will keep working and feed gamepad inputs as long as IMGUI_DISABLE_OBSOLETE_KEYIO is not set." - }, { - "@type" : "AstTextComment", - "text" : " Custom backends: feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums." - } ] - } ] - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_Activate", - "qualType" : "ImGuiNavInput", - "order" : 0, - "evaluatedValue" : 0 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_Cancel", - "qualType" : "ImGuiNavInput", - "order" : 1, - "evaluatedValue" : 1 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_Input", - "qualType" : "ImGuiNavInput", - "order" : 2, - "evaluatedValue" : 2 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_Menu", - "qualType" : "ImGuiNavInput", - "order" : 3, - "evaluatedValue" : 3 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_DpadLeft", - "qualType" : "ImGuiNavInput", - "order" : 4, - "evaluatedValue" : 4 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_DpadRight", - "qualType" : "ImGuiNavInput", - "order" : 5, - "evaluatedValue" : 5 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_DpadUp", - "qualType" : "ImGuiNavInput", - "order" : 6, - "evaluatedValue" : 6 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_DpadDown", - "qualType" : "ImGuiNavInput", - "order" : 7, - "evaluatedValue" : 7 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_LStickLeft", - "qualType" : "ImGuiNavInput", - "order" : 8, - "evaluatedValue" : 8 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_LStickRight", - "qualType" : "ImGuiNavInput", - "order" : 9, - "evaluatedValue" : 9 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_LStickUp", - "qualType" : "ImGuiNavInput", - "order" : 10, - "evaluatedValue" : 10 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_LStickDown", - "qualType" : "ImGuiNavInput", - "order" : 11, - "evaluatedValue" : 11 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_FocusPrev", - "qualType" : "ImGuiNavInput", - "order" : 12, - "evaluatedValue" : 12 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_FocusNext", - "qualType" : "ImGuiNavInput", - "order" : 13, - "evaluatedValue" : 13 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_TweakSlow", - "qualType" : "ImGuiNavInput", - "order" : 14, - "evaluatedValue" : 14 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_TweakFast", - "qualType" : "ImGuiNavInput", - "order" : 15, - "evaluatedValue" : 15 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavInput_COUNT", - "qualType" : "ImGuiNavInput", - "order" : 16, - "evaluatedValue" : 16 - } ] }, { "@type" : "AstEnumDecl", "name" : "ImGuiConfigFlags_", @@ -10784,6 +11235,9 @@ "decls" : [ { "@type" : "AstTextComment", "text" : " Configuration flags stored in io.ConfigFlags. Set by user/application." + }, { + "@type" : "AstTextComment", + "text" : " Note that nowadays most of our configuration options are in other ImGuiIO fields, e.g. io.ConfigWindowsMoveFromTitleBarOnly." } ] } ] }, { @@ -10796,7 +11250,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiConfigFlags_NavEnableKeyboard", - "docComment" : "Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + space/enter to activate.", + "docComment" : "Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + Space/Enter to activate. Note: some features such as basic Tabbing and CtrL+Tab are enabled by regardless of this flag (and may be disabled via other means, see #4828, #9218).", "qualType" : "ImGuiConfigFlags_", "order" : 1, "value" : "1 << 0", @@ -10809,28 +11263,12 @@ "order" : 2, "value" : "1 << 1", "evaluatedValue" : 2 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiConfigFlags_NavEnableSetMousePos", - "docComment" : "Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your backend, otherwise ImGui will react as if the mouse is jumping around back and forth.", - "qualType" : "ImGuiConfigFlags_", - "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : 4 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiConfigFlags_NavNoCaptureKeyboard", - "docComment" : "Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set.", - "qualType" : "ImGuiConfigFlags_", - "order" : 4, - "value" : "1 << 3", - "evaluatedValue" : 8 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiConfigFlags_NoMouse", "docComment" : "Instruct dear imgui to disable mouse inputs and interactions.", "qualType" : "ImGuiConfigFlags_", - "order" : 5, + "order" : 3, "value" : "1 << 4", "evaluatedValue" : 16 }, { @@ -10838,7 +11276,7 @@ "name" : "ImGuiConfigFlags_NoMouseCursorChange", "docComment" : "Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead.", "qualType" : "ImGuiConfigFlags_", - "order" : 6, + "order" : 4, "value" : "1 << 5", "evaluatedValue" : 32 }, { @@ -10846,7 +11284,7 @@ "name" : "ImGuiConfigFlags_NoKeyboard", "docComment" : "Instruct dear imgui to disable keyboard inputs and interactions. This is done by ignoring keyboard events and clearing existing states.", "qualType" : "ImGuiConfigFlags_", - "order" : 7, + "order" : 5, "value" : "1 << 6", "evaluatedValue" : 64 }, { @@ -10854,7 +11292,7 @@ "name" : "ImGuiConfigFlags_DockingEnable", "docComment" : "Docking enable flags.", "qualType" : "ImGuiConfigFlags_", - "order" : 8, + "order" : 6, "value" : "1 << 7", "evaluatedValue" : 128 }, { @@ -10862,41 +11300,57 @@ "name" : "ImGuiConfigFlags_ViewportsEnable", "docComment" : "Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends)", "qualType" : "ImGuiConfigFlags_", - "order" : 9, + "order" : 7, "value" : "1 << 10", "evaluatedValue" : 1024 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiConfigFlags_DpiEnableScaleViewports", - "docComment" : "[BETA: Don't use] FIXME-DPI: Reposition and resize imgui windows when the DpiScale of a viewport changed (mostly useful for the main viewport hosting other window). Note that resizing the main window itself is up to your application.", + "name" : "ImGuiConfigFlags_IsSRGB", + "docComment" : "Application is SRGB-aware.", + "qualType" : "ImGuiConfigFlags_", + "order" : 8, + "value" : "1 << 20", + "evaluatedValue" : 1048576 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiConfigFlags_IsTouchScreen", + "docComment" : "Application is using a touch screen instead of a mouse.", + "qualType" : "ImGuiConfigFlags_", + "order" : 9, + "value" : "1 << 21", + "evaluatedValue" : 2097152 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiConfigFlags_NavEnableSetMousePos", + "docComment" : "[moved/renamed in 1.91.4] -> use bool io.ConfigNavMoveSetMousePos", "qualType" : "ImGuiConfigFlags_", "order" : 10, - "value" : "1 << 14", - "evaluatedValue" : 16384 + "value" : "1 << 2", + "evaluatedValue" : 4 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiConfigFlags_DpiEnableScaleFonts", - "docComment" : "[BETA: Don't use] FIXME-DPI: Request bitmap-scaled fonts to match DpiScale. This is a very low-quality workaround. The correct way to handle DPI is _currently_ to replace the atlas and/or fonts in the Platform_OnChangedViewport callback, but this is all early work in progress.", + "name" : "ImGuiConfigFlags_NavNoCaptureKeyboard", + "docComment" : "[moved/renamed in 1.91.4] -> use bool io.ConfigNavCaptureKeyboard", "qualType" : "ImGuiConfigFlags_", "order" : 11, - "value" : "1 << 15", - "evaluatedValue" : 32768 + "value" : "1 << 3", + "evaluatedValue" : 8 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiConfigFlags_IsSRGB", - "docComment" : "Application is SRGB-aware.", + "name" : "ImGuiConfigFlags_DpiEnableScaleFonts", + "docComment" : "[moved/renamed in 1.92.0] -> use bool io.ConfigDpiScaleFonts", "qualType" : "ImGuiConfigFlags_", "order" : 12, - "value" : "1 << 20", - "evaluatedValue" : 1048576 + "value" : "1 << 14", + "evaluatedValue" : 16384 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiConfigFlags_IsTouchScreen", - "docComment" : "Application is using a touch screen instead of a mouse.", + "name" : "ImGuiConfigFlags_DpiEnableScaleViewports", + "docComment" : "[moved/renamed in 1.92.0] -> use bool io.ConfigDpiScaleViewports", "qualType" : "ImGuiConfigFlags_", "order" : 13, - "value" : "1 << 21", - "evaluatedValue" : 2097152 + "value" : "1 << 15", + "evaluatedValue" : 32768 } ] }, { "@type" : "AstEnumDecl", @@ -10936,7 +11390,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiBackendFlags_HasSetMousePos", - "docComment" : "Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set).", + "docComment" : "Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if io.ConfigNavMoveSetMousePos is set).", "qualType" : "ImGuiBackendFlags_", "order" : 3, "value" : "1 << 2", @@ -10951,28 +11405,44 @@ "evaluatedValue" : 8 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiBackendFlags_PlatformHasViewports", - "docComment" : "Backend Platform supports multiple viewports.", + "name" : "ImGuiBackendFlags_RendererHasTextures", + "docComment" : "Backend Renderer supports ImTextureData requests to create/update/destroy textures. This enables incremental texture updates and texture reloads. See https://github.com/ocornut/imgui/blob/master/docs/BACKENDS.md for instructions on how to upgrade your custom backend.", "qualType" : "ImGuiBackendFlags_", "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : 16 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiBackendFlags_RendererHasViewports", + "docComment" : "Backend Renderer supports multiple viewports.", + "qualType" : "ImGuiBackendFlags_", + "order" : 6, "value" : "1 << 10", "evaluatedValue" : 1024 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiBackendFlags_HasMouseHoveredViewport", - "docComment" : "Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under.", + "name" : "ImGuiBackendFlags_PlatformHasViewports", + "docComment" : "Backend Platform supports multiple viewports.", "qualType" : "ImGuiBackendFlags_", - "order" : 6, + "order" : 7, "value" : "1 << 11", "evaluatedValue" : 2048 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiBackendFlags_RendererHasViewports", - "docComment" : "Backend Renderer supports multiple viewports.", + "name" : "ImGuiBackendFlags_HasMouseHoveredViewport", + "docComment" : "Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under.", "qualType" : "ImGuiBackendFlags_", - "order" : 7, + "order" : 8, "value" : "1 << 12", "evaluatedValue" : 4096 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiBackendFlags_HasParentViewport", + "docComment" : "Backend Platform supports honoring viewport->ParentViewport/ParentViewportId value, by applying the corresponding parent/child relation at the Platform level.", + "qualType" : "ImGuiBackendFlags_", + "order" : 9, + "value" : "1 << 13", + "evaluatedValue" : 8192 } ] }, { "@type" : "AstEnumDecl", @@ -11196,197 +11666,241 @@ "evaluatedValue" : 32 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TabHovered", - "docComment" : "Tab background, when hovered", + "name" : "ImGuiCol_InputTextCursor", + "docComment" : "InputText cursor/caret", "qualType" : "ImGuiCol_", "order" : 33, "evaluatedValue" : 33 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_Tab", - "docComment" : "Tab background, when tab-bar is focused & tab is unselected", + "name" : "ImGuiCol_TabHovered", + "docComment" : "Tab background, when hovered", "qualType" : "ImGuiCol_", "order" : 34, "evaluatedValue" : 34 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TabSelected", - "docComment" : "Tab background, when tab-bar is focused & tab is selected", + "name" : "ImGuiCol_Tab", + "docComment" : "Tab background, when tab-bar is focused & tab is unselected", "qualType" : "ImGuiCol_", "order" : 35, "evaluatedValue" : 35 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TabSelectedOverline", - "docComment" : "Tab horizontal overline, when tab-bar is focused & tab is selected", + "name" : "ImGuiCol_TabSelected", + "docComment" : "Tab background, when tab-bar is focused & tab is selected", "qualType" : "ImGuiCol_", "order" : 36, "evaluatedValue" : 36 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TabDimmed", - "docComment" : "Tab background, when tab-bar is unfocused & tab is unselected", + "name" : "ImGuiCol_TabSelectedOverline", + "docComment" : "Tab horizontal overline, when tab-bar is focused & tab is selected", "qualType" : "ImGuiCol_", "order" : 37, "evaluatedValue" : 37 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TabDimmedSelected", - "docComment" : "Tab background, when tab-bar is unfocused & tab is selected", + "name" : "ImGuiCol_TabDimmed", + "docComment" : "Tab background, when tab-bar is unfocused & tab is unselected", "qualType" : "ImGuiCol_", "order" : 38, "evaluatedValue" : 38 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TabDimmedSelectedOverline", - "docComment" : "..horizontal overline, when tab-bar is unfocused & tab is selected", + "name" : "ImGuiCol_TabDimmedSelected", + "docComment" : "Tab background, when tab-bar is unfocused & tab is selected", "qualType" : "ImGuiCol_", "order" : 39, "evaluatedValue" : 39 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_DockingPreview", - "docComment" : "Preview overlay color when about to docking something", + "name" : "ImGuiCol_TabDimmedSelectedOverline", + "docComment" : "..horizontal overline, when tab-bar is unfocused & tab is selected", "qualType" : "ImGuiCol_", "order" : 40, "evaluatedValue" : 40 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_DockingEmptyBg", - "docComment" : "Background color for empty node (e.g. CentralNode with no window docked into it)", + "name" : "ImGuiCol_DockingPreview", + "docComment" : "Preview overlay color when about to docking something", "qualType" : "ImGuiCol_", "order" : 41, "evaluatedValue" : 41 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_PlotLines", + "name" : "ImGuiCol_DockingEmptyBg", + "docComment" : "Background color for empty node (e.g. CentralNode with no window docked into it)", "qualType" : "ImGuiCol_", "order" : 42, "evaluatedValue" : 42 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_PlotLinesHovered", + "name" : "ImGuiCol_PlotLines", "qualType" : "ImGuiCol_", "order" : 43, "evaluatedValue" : 43 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_PlotHistogram", + "name" : "ImGuiCol_PlotLinesHovered", "qualType" : "ImGuiCol_", "order" : 44, "evaluatedValue" : 44 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_PlotHistogramHovered", + "name" : "ImGuiCol_PlotHistogram", "qualType" : "ImGuiCol_", "order" : 45, "evaluatedValue" : 45 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TableHeaderBg", - "docComment" : "Table header background", + "name" : "ImGuiCol_PlotHistogramHovered", "qualType" : "ImGuiCol_", "order" : 46, "evaluatedValue" : 46 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TableBorderStrong", - "docComment" : "Table outer and header borders (prefer using Alpha=1.0 here)", + "name" : "ImGuiCol_TableHeaderBg", + "docComment" : "Table header background", "qualType" : "ImGuiCol_", "order" : 47, "evaluatedValue" : 47 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TableBorderLight", - "docComment" : "Table inner borders (prefer using Alpha=1.0 here)", + "name" : "ImGuiCol_TableBorderStrong", + "docComment" : "Table outer and header borders (prefer using Alpha=1.0 here)", "qualType" : "ImGuiCol_", "order" : 48, "evaluatedValue" : 48 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TableRowBg", - "docComment" : "Table row background (even rows)", + "name" : "ImGuiCol_TableBorderLight", + "docComment" : "Table inner borders (prefer using Alpha=1.0 here)", "qualType" : "ImGuiCol_", "order" : 49, "evaluatedValue" : 49 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TableRowBgAlt", - "docComment" : "Table row background (odd rows)", + "name" : "ImGuiCol_TableRowBg", + "docComment" : "Table row background (even rows)", "qualType" : "ImGuiCol_", "order" : 50, "evaluatedValue" : 50 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_TextSelectedBg", + "name" : "ImGuiCol_TableRowBgAlt", + "docComment" : "Table row background (odd rows)", "qualType" : "ImGuiCol_", "order" : 51, "evaluatedValue" : 51 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_DragDropTarget", - "docComment" : "Rectangle highlighting a drop target", + "name" : "ImGuiCol_TextLink", + "docComment" : "Hyperlink color", "qualType" : "ImGuiCol_", "order" : 52, "evaluatedValue" : 52 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_NavHighlight", - "docComment" : "Gamepad/keyboard: current highlighted item", + "name" : "ImGuiCol_TextSelectedBg", + "docComment" : "Selected text inside an InputText", "qualType" : "ImGuiCol_", "order" : 53, "evaluatedValue" : 53 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_NavWindowingHighlight", - "docComment" : "Highlight window when using CTRL+TAB", + "name" : "ImGuiCol_TreeLines", + "docComment" : "Tree node hierarchy outlines when using ImGuiTreeNodeFlags_DrawLines", "qualType" : "ImGuiCol_", "order" : 54, "evaluatedValue" : 54 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_NavWindowingDimBg", - "docComment" : "Darken/colorize entire screen behind the CTRL+TAB window list, when active", + "name" : "ImGuiCol_DragDropTarget", + "docComment" : "Rectangle border highlighting a drop target", "qualType" : "ImGuiCol_", "order" : 55, "evaluatedValue" : 55 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_ModalWindowDimBg", - "docComment" : "Darken/colorize entire screen behind a modal window, when one is active", + "name" : "ImGuiCol_DragDropTargetBg", + "docComment" : "Rectangle background highlighting a drop target", "qualType" : "ImGuiCol_", "order" : 56, "evaluatedValue" : 56 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiCol_COUNT", + "name" : "ImGuiCol_UnsavedMarker", + "docComment" : "Unsaved Document marker (in window title and tabs)", "qualType" : "ImGuiCol_", "order" : 57, "evaluatedValue" : 57 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiCol_NavCursor", + "docComment" : "Color of keyboard/gamepad navigation cursor/rectangle, when visible", + "qualType" : "ImGuiCol_", + "order" : 58, + "evaluatedValue" : 58 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiCol_NavWindowingHighlight", + "docComment" : "Highlight window when using Ctrl+Tab", + "qualType" : "ImGuiCol_", + "order" : 59, + "evaluatedValue" : 59 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiCol_NavWindowingDimBg", + "docComment" : "Darken/colorize entire screen behind the Ctrl+Tab window list, when active", + "qualType" : "ImGuiCol_", + "order" : 60, + "evaluatedValue" : 60 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiCol_ModalWindowDimBg", + "docComment" : "Darken/colorize entire screen behind a modal window, when one is active", + "qualType" : "ImGuiCol_", + "order" : 61, + "evaluatedValue" : 61 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiCol_COUNT", + "qualType" : "ImGuiCol_", + "order" : 62, + "evaluatedValue" : 62 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TabActive", "docComment" : "[renamed in 1.90.9]", "qualType" : "ImGuiCol_", - "order" : 58, + "order" : 63, "value" : "ImGuiCol_TabSelected", - "evaluatedValue" : 35 + "evaluatedValue" : 36 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TabUnfocused", "docComment" : "[renamed in 1.90.9]", "qualType" : "ImGuiCol_", - "order" : 59, + "order" : 64, "value" : "ImGuiCol_TabDimmed", - "evaluatedValue" : 37 + "evaluatedValue" : 38 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TabUnfocusedActive", "docComment" : "[renamed in 1.90.9]", "qualType" : "ImGuiCol_", - "order" : 60, + "order" : 65, "value" : "ImGuiCol_TabDimmedSelected", - "evaluatedValue" : 38 + "evaluatedValue" : 39 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiCol_NavHighlight", + "docComment" : "[renamed in 1.91.4]", + "qualType" : "ImGuiCol_", + "order" : 66, + "value" : "ImGuiCol_NavCursor", + "evaluatedValue" : 58 } ] }, { "@type" : "AstEnumDecl", @@ -11409,13 +11923,13 @@ "text" : " - Tip: Use your programming IDE navigation facilities on the names in the _second column_ below to find the actual members and their description." }, { "@type" : "AstTextComment", - "text" : " - In Visual Studio: CTRL+comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas CTRL+F12 (\"Edit.GoToImplementation\") cannot." + "text" : " - In Visual Studio: Ctrl+Comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas Ctrl+F12 (\"Edit.GoToImplementation\") cannot." }, { "@type" : "AstTextComment", - "text" : " - In Visual Studio w/ Visual Assist installed: ALT+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments." + "text" : " - In Visual Studio w/ Visual Assist installed: Alt+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments." }, { "@type" : "AstTextComment", - "text" : " - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments." + "text" : " - In VS Code, CLion, etc.: Ctrl+Click can follow symbols inside comments." }, { "@type" : "AstTextComment", "text" : " - When changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type." @@ -11563,101 +12077,164 @@ "evaluatedValue" : 19 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_GrabMinSize", - "docComment" : "float GrabMinSize", + "name" : "ImGuiStyleVar_ScrollbarPadding", + "docComment" : "float ScrollbarPadding", "qualType" : "ImGuiStyleVar_", "order" : 20, "evaluatedValue" : 20 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_GrabRounding", - "docComment" : "float GrabRounding", + "name" : "ImGuiStyleVar_GrabMinSize", + "docComment" : "float GrabMinSize", "qualType" : "ImGuiStyleVar_", "order" : 21, "evaluatedValue" : 21 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_TabRounding", - "docComment" : "float TabRounding", + "name" : "ImGuiStyleVar_GrabRounding", + "docComment" : "float GrabRounding", "qualType" : "ImGuiStyleVar_", "order" : 22, "evaluatedValue" : 22 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_TabBorderSize", - "docComment" : "float TabBorderSize", + "name" : "ImGuiStyleVar_ImageRounding", + "docComment" : "float ImageRounding", "qualType" : "ImGuiStyleVar_", "order" : 23, "evaluatedValue" : 23 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_TabBarBorderSize", - "docComment" : "float TabBarBorderSize", + "name" : "ImGuiStyleVar_ImageBorderSize", + "docComment" : "float ImageBorderSize", "qualType" : "ImGuiStyleVar_", "order" : 24, "evaluatedValue" : 24 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_TableAngledHeadersAngle", - "docComment" : "float TableAngledHeadersAngle", + "name" : "ImGuiStyleVar_TabRounding", + "docComment" : "float TabRounding", "qualType" : "ImGuiStyleVar_", "order" : 25, "evaluatedValue" : 25 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_TableAngledHeadersTextAlign", - "docComment" : "ImVec2 TableAngledHeadersTextAlign", + "name" : "ImGuiStyleVar_TabBorderSize", + "docComment" : "float TabBorderSize", "qualType" : "ImGuiStyleVar_", "order" : 26, "evaluatedValue" : 26 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_ButtonTextAlign", - "docComment" : "ImVec2 ButtonTextAlign", + "name" : "ImGuiStyleVar_TabMinWidthBase", + "docComment" : "float TabMinWidthBase", "qualType" : "ImGuiStyleVar_", "order" : 27, "evaluatedValue" : 27 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_SelectableTextAlign", - "docComment" : "ImVec2 SelectableTextAlign", + "name" : "ImGuiStyleVar_TabMinWidthShrink", + "docComment" : "float TabMinWidthShrink", "qualType" : "ImGuiStyleVar_", "order" : 28, "evaluatedValue" : 28 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_SeparatorTextBorderSize", - "docComment" : "float SeparatorTextBorderSize", + "name" : "ImGuiStyleVar_TabBarBorderSize", + "docComment" : "float TabBarBorderSize", "qualType" : "ImGuiStyleVar_", "order" : 29, "evaluatedValue" : 29 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_SeparatorTextAlign", - "docComment" : "ImVec2 SeparatorTextAlign", + "name" : "ImGuiStyleVar_TabBarOverlineSize", + "docComment" : "float TabBarOverlineSize", "qualType" : "ImGuiStyleVar_", "order" : 30, "evaluatedValue" : 30 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_SeparatorTextPadding", - "docComment" : "ImVec2 SeparatorTextPadding", + "name" : "ImGuiStyleVar_TableAngledHeadersAngle", + "docComment" : "float TableAngledHeadersAngle", "qualType" : "ImGuiStyleVar_", "order" : 31, "evaluatedValue" : 31 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_DockingSeparatorSize", - "docComment" : "float DockingSeparatorSize", + "name" : "ImGuiStyleVar_TableAngledHeadersTextAlign", + "docComment" : "ImVec2 TableAngledHeadersTextAlign", "qualType" : "ImGuiStyleVar_", "order" : 32, "evaluatedValue" : 32 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiStyleVar_COUNT", + "name" : "ImGuiStyleVar_TreeLinesSize", + "docComment" : "float TreeLinesSize", "qualType" : "ImGuiStyleVar_", "order" : 33, "evaluatedValue" : 33 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_TreeLinesRounding", + "docComment" : "float TreeLinesRounding", + "qualType" : "ImGuiStyleVar_", + "order" : 34, + "evaluatedValue" : 34 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_ButtonTextAlign", + "docComment" : "ImVec2 ButtonTextAlign", + "qualType" : "ImGuiStyleVar_", + "order" : 35, + "evaluatedValue" : 35 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_SelectableTextAlign", + "docComment" : "ImVec2 SelectableTextAlign", + "qualType" : "ImGuiStyleVar_", + "order" : 36, + "evaluatedValue" : 36 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_SeparatorSize", + "docComment" : "float SeparatorSize", + "qualType" : "ImGuiStyleVar_", + "order" : 37, + "evaluatedValue" : 37 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_SeparatorTextBorderSize", + "docComment" : "float SeparatorTextBorderSize", + "qualType" : "ImGuiStyleVar_", + "order" : 38, + "evaluatedValue" : 38 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_SeparatorTextAlign", + "docComment" : "ImVec2 SeparatorTextAlign", + "qualType" : "ImGuiStyleVar_", + "order" : 39, + "evaluatedValue" : 39 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_SeparatorTextPadding", + "docComment" : "ImVec2 SeparatorTextPadding", + "qualType" : "ImGuiStyleVar_", + "order" : 40, + "evaluatedValue" : 40 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_DockingSeparatorSize", + "docComment" : "float DockingSeparatorSize", + "qualType" : "ImGuiStyleVar_", + "order" : 41, + "evaluatedValue" : 41 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiStyleVar_COUNT", + "qualType" : "ImGuiStyleVar_", + "order" : 42, + "evaluatedValue" : 42 } ] }, { "@type" : "AstEnumDecl", @@ -11710,6 +12287,22 @@ "order" : 4, "value" : "ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle", "evaluatedValue" : 7 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_EnableNav", + "docComment" : "InvisibleButton(): do not disable navigation/tabbing. Otherwise disabled by default.", + "qualType" : "ImGuiButtonFlags_", + "order" : 5, + "value" : "1 << 3", + "evaluatedValue" : 8 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_AllowOverlap", + "docComment" : "Hit testing will allow subsequent widgets to overlap this one. Require previous frame HoveredId to match before being usable. Shortcut to calling SetNextItemAllowOverlap().", + "qualType" : "ImGuiButtonFlags_", + "order" : 6, + "value" : "1 << 12", + "evaluatedValue" : 4096 } ] }, { "@type" : "AstEnumDecl", @@ -11797,7 +12390,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiColorEditFlags_NoDragDrop", - "docComment" : "// ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.", + "docComment" : "// ColorEdit: disable drag and drop target/source. ColorButton: disable drag and drop source.", "qualType" : "ImGuiColorEditFlags_", "order" : 9, "value" : "1 << 9", @@ -11812,26 +12405,42 @@ "evaluatedValue" : 1024 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiColorEditFlags_AlphaBar", - "docComment" : "// ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker.", + "name" : "ImGuiColorEditFlags_NoColorMarkers", + "docComment" : "// ColorEdit: disable rendering R/G/B/A color marker. May also be disabled globally by setting style.ColorMarkerSize = 0.", "qualType" : "ImGuiColorEditFlags_", "order" : 11, - "value" : "1 << 16", - "evaluatedValue" : 65536 + "value" : "1 << 11", + "evaluatedValue" : 2048 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiColorEditFlags_AlphaPreview", - "docComment" : "// ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque.", + "name" : "ImGuiColorEditFlags_AlphaOpaque", + "docComment" : "// ColorEdit, ColorPicker, ColorButton: disable alpha in the preview,. Contrary to _NoAlpha it may still be edited when calling ColorEdit4()/ColorPicker4(). For ColorButton() this does the same as _NoAlpha.", "qualType" : "ImGuiColorEditFlags_", "order" : 12, - "value" : "1 << 17", - "evaluatedValue" : 131072 + "value" : "1 << 12", + "evaluatedValue" : 4096 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiColorEditFlags_AlphaPreviewHalf", - "docComment" : "// ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque.", + "name" : "ImGuiColorEditFlags_AlphaNoBg", + "docComment" : "// ColorEdit, ColorPicker, ColorButton: disable rendering a checkerboard background behind transparent color.", "qualType" : "ImGuiColorEditFlags_", "order" : 13, + "value" : "1 << 13", + "evaluatedValue" : 8192 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColorEditFlags_AlphaPreviewHalf", + "docComment" : "// ColorEdit, ColorPicker, ColorButton: display half opaque / half transparent preview.", + "qualType" : "ImGuiColorEditFlags_", + "order" : 14, + "value" : "1 << 14", + "evaluatedValue" : 16384 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColorEditFlags_AlphaBar", + "docComment" : "// ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker.", + "qualType" : "ImGuiColorEditFlags_", + "order" : 15, "value" : "1 << 18", "evaluatedValue" : 262144 }, { @@ -11839,7 +12448,7 @@ "name" : "ImGuiColorEditFlags_HDR", "docComment" : "// (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).", "qualType" : "ImGuiColorEditFlags_", - "order" : 14, + "order" : 16, "value" : "1 << 19", "evaluatedValue" : 524288 }, { @@ -11847,7 +12456,7 @@ "name" : "ImGuiColorEditFlags_DisplayRGB", "docComment" : "[Display] // ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex.", "qualType" : "ImGuiColorEditFlags_", - "order" : 15, + "order" : 17, "value" : "1 << 20", "evaluatedValue" : 1048576 }, { @@ -11855,7 +12464,7 @@ "name" : "ImGuiColorEditFlags_DisplayHSV", "docComment" : "[Display] // \"", "qualType" : "ImGuiColorEditFlags_", - "order" : 16, + "order" : 18, "value" : "1 << 21", "evaluatedValue" : 2097152 }, { @@ -11863,7 +12472,7 @@ "name" : "ImGuiColorEditFlags_DisplayHex", "docComment" : "[Display] // \"", "qualType" : "ImGuiColorEditFlags_", - "order" : 17, + "order" : 19, "value" : "1 << 22", "evaluatedValue" : 4194304 }, { @@ -11871,7 +12480,7 @@ "name" : "ImGuiColorEditFlags_Uint8", "docComment" : "[DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.", "qualType" : "ImGuiColorEditFlags_", - "order" : 18, + "order" : 20, "value" : "1 << 23", "evaluatedValue" : 8388608 }, { @@ -11879,7 +12488,7 @@ "name" : "ImGuiColorEditFlags_Float", "docComment" : "[DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.", "qualType" : "ImGuiColorEditFlags_", - "order" : 19, + "order" : 21, "value" : "1 << 24", "evaluatedValue" : 16777216 }, { @@ -11887,7 +12496,7 @@ "name" : "ImGuiColorEditFlags_PickerHueBar", "docComment" : "[Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value.", "qualType" : "ImGuiColorEditFlags_", - "order" : 20, + "order" : 22, "value" : "1 << 25", "evaluatedValue" : 33554432 }, { @@ -11895,7 +12504,7 @@ "name" : "ImGuiColorEditFlags_PickerHueWheel", "docComment" : "[Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value.", "qualType" : "ImGuiColorEditFlags_", - "order" : 21, + "order" : 23, "value" : "1 << 26", "evaluatedValue" : 67108864 }, { @@ -11903,7 +12512,7 @@ "name" : "ImGuiColorEditFlags_InputRGB", "docComment" : "[Input] // ColorEdit, ColorPicker: input and output data in RGB format.", "qualType" : "ImGuiColorEditFlags_", - "order" : 22, + "order" : 24, "value" : "1 << 27", "evaluatedValue" : 134217728 }, { @@ -11911,7 +12520,7 @@ "name" : "ImGuiColorEditFlags_InputHSV", "docComment" : "[Input] // ColorEdit, ColorPicker: input and output data in HSV format.", "qualType" : "ImGuiColorEditFlags_", - "order" : 23, + "order" : 25, "value" : "1 << 28", "evaluatedValue" : 268435456 }, { @@ -11919,15 +12528,23 @@ "name" : "ImGuiColorEditFlags_DefaultOptions_", "docComment" : "Defaults Options. You can set application defaults using SetColorEditOptions(). The intent is that you probably don't want to override them in most of your calls. Let the user choose via the option menu and/or call SetColorEditOptions() once during startup.", "qualType" : "ImGuiColorEditFlags_", - "order" : 24, + "order" : 26, "value" : "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar", "evaluatedValue" : 177209344 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColorEditFlags_AlphaMask_", + "docComment" : "[Internal] Masks", + "qualType" : "ImGuiColorEditFlags_", + "order" : 27, + "value" : "ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaOpaque | ImGuiColorEditFlags_AlphaNoBg | ImGuiColorEditFlags_AlphaPreviewHalf", + "evaluatedValue" : 28674 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiColorEditFlags_DisplayMask_", "docComment" : "[Internal] Masks", "qualType" : "ImGuiColorEditFlags_", - "order" : 25, + "order" : 28, "value" : "ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex", "evaluatedValue" : 7340032 }, { @@ -11935,7 +12552,7 @@ "name" : "ImGuiColorEditFlags_DataTypeMask_", "docComment" : "[Internal] Masks", "qualType" : "ImGuiColorEditFlags_", - "order" : 26, + "order" : 29, "value" : "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float", "evaluatedValue" : 25165824 }, { @@ -11943,7 +12560,7 @@ "name" : "ImGuiColorEditFlags_PickerMask_", "docComment" : "[Internal] Masks", "qualType" : "ImGuiColorEditFlags_", - "order" : 27, + "order" : 30, "value" : "ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar", "evaluatedValue" : 100663296 }, { @@ -11951,15 +12568,23 @@ "name" : "ImGuiColorEditFlags_InputMask_", "docComment" : "[Internal] Masks", "qualType" : "ImGuiColorEditFlags_", - "order" : 28, + "order" : 31, "value" : "ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV", "evaluatedValue" : 402653184 - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiSliderFlags_", - "decls" : [ { - "@type" : "AstFullComment", + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColorEditFlags_AlphaPreview", + "docComment" : "Removed in 1.91.8. This is the default now. Will display a checkerboard unless ImGuiColorEditFlags_AlphaNoBg is set.", + "qualType" : "ImGuiColorEditFlags_", + "order" : 32, + "value" : "0", + "evaluatedValue" : 0 + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiSliderFlags_", + "decls" : [ { + "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { @@ -11970,7 +12595,7 @@ "text" : " We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them." }, { "@type" : "AstTextComment", - "text" : " (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigDragClickToInputText)" + "text" : " (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)" } ] } ] }, { @@ -11980,20 +12605,12 @@ "order" : 0, "value" : "0", "evaluatedValue" : 0 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSliderFlags_AlwaysClamp", - "docComment" : "Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds.", - "qualType" : "ImGuiSliderFlags_", - "order" : 1, - "value" : "1 << 4", - "evaluatedValue" : 16 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiSliderFlags_Logarithmic", "docComment" : "Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.", "qualType" : "ImGuiSliderFlags_", - "order" : 2, + "order" : 1, "value" : "1 << 5", "evaluatedValue" : 32 }, { @@ -12001,31 +12618,70 @@ "name" : "ImGuiSliderFlags_NoRoundToFormat", "docComment" : "Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits).", "qualType" : "ImGuiSliderFlags_", - "order" : 3, + "order" : 2, "value" : "1 << 6", "evaluatedValue" : 64 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiSliderFlags_NoInput", - "docComment" : "Disable CTRL+Click or Enter key allowing to input text directly into the widget.", + "docComment" : "Disable Ctrl+Click or Enter key allowing to input text directly into the widget.", "qualType" : "ImGuiSliderFlags_", - "order" : 4, + "order" : 3, "value" : "1 << 7", "evaluatedValue" : 128 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiSliderFlags_WrapAround", - "docComment" : "Enable wrapping around from max to min and from min to max (only supported by DragXXX() functions for now.", + "docComment" : "Enable wrapping around from max to min and from min to max. Only supported by DragXXX() functions for now.", "qualType" : "ImGuiSliderFlags_", - "order" : 5, + "order" : 4, "value" : "1 << 8", "evaluatedValue" : 256 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSliderFlags_InvalidMask_", - "docComment" : "[Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed.", + "name" : "ImGuiSliderFlags_ClampOnInput", + "docComment" : "Clamp value to min/max bounds when input manually with Ctrl+Click. By default Ctrl+Click allows going out of bounds.", + "qualType" : "ImGuiSliderFlags_", + "order" : 5, + "value" : "1 << 9", + "evaluatedValue" : 512 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSliderFlags_ClampZeroRange", + "docComment" : "Clamp even if min==max==0.0f. Otherwise due to legacy reason DragXXX functions don't clamp with those values. When your clamping limits are dynamic you almost always want to use it.", "qualType" : "ImGuiSliderFlags_", "order" : 6, + "value" : "1 << 10", + "evaluatedValue" : 1024 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSliderFlags_NoSpeedTweaks", + "docComment" : "Disable keyboard modifiers altering tweak speed. Useful if you want to alter tweak speed yourself based on your own logic.", + "qualType" : "ImGuiSliderFlags_", + "order" : 7, + "value" : "1 << 11", + "evaluatedValue" : 2048 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSliderFlags_ColorMarkers", + "docComment" : "DragScalarN(), SliderScalarN(): Draw R/G/B/A color markers on each component.", + "qualType" : "ImGuiSliderFlags_", + "order" : 8, + "value" : "1 << 12", + "evaluatedValue" : 4096 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSliderFlags_AlwaysClamp", + "qualType" : "ImGuiSliderFlags_", + "order" : 9, + "value" : "ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange", + "evaluatedValue" : 1536 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSliderFlags_InvalidMask_", + "docComment" : "[Internal] We treat using those bits as being potentially a 'float power' argument from legacy API (obsoleted 2020-08) that has got miscast to this enum, and will trigger an assert if needed.", + "qualType" : "ImGuiSliderFlags_", + "order" : 10, "value" : "0x7000000F", "evaluatedValue" : 1879048207 } ] @@ -12153,17 +12809,31 @@ "evaluatedValue" : 7 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiMouseCursor_NotAllowed", - "docComment" : "When hovering something with disallowed interaction. Usually a crossed circle.", + "name" : "ImGuiMouseCursor_Wait", + "docComment" : "When waiting for something to process/load.", "qualType" : "ImGuiMouseCursor_", "order" : 9, "evaluatedValue" : 8 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiMouseCursor_COUNT", + "name" : "ImGuiMouseCursor_Progress", + "docComment" : "When waiting for something to process/load, but application is still interactive.", "qualType" : "ImGuiMouseCursor_", "order" : 10, "evaluatedValue" : 9 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMouseCursor_NotAllowed", + "docComment" : "When hovering something with disallowed interaction. Usually a crossed circle.", + "qualType" : "ImGuiMouseCursor_", + "order" : 11, + "evaluatedValue" : 10 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMouseCursor_COUNT", + "qualType" : "ImGuiMouseCursor_", + "order" : 12, + "evaluatedValue" : 11 } ] }, { "@type" : "AstEnumDecl", @@ -12368,7 +13038,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTableFlags_Reorderable", - "docComment" : "Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers)", + "docComment" : "Enable reordering columns in header row. (Need calling TableSetupColumn() + TableHeadersRow() to display headers, or using ImGuiTableFlags_ContextMenuInBody to access context-menu without headers).", "qualType" : "ImGuiTableFlags_", "order" : 2, "value" : "1 << 1", @@ -12392,7 +13062,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTableFlags_NoSavedSettings", - "docComment" : "Disable persisting columns order, width and sort settings in the .ini file.", + "docComment" : "Disable persisting columns order, width, visibility and sort settings in the .ini file.", "qualType" : "ImGuiTableFlags_", "order" : 5, "value" : "1 << 4", @@ -12400,7 +13070,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTableFlags_ContextMenuInBody", - "docComment" : "Right-click on columns body/contents will display table context menu. By default it is available in TableHeadersRow().", + "docComment" : "Right-click on columns body/contents will also display table context menu. By default it is available in TableHeadersRow().", "qualType" : "ImGuiTableFlags_", "order" : 6, "value" : "1 << 5", @@ -12765,7 +13435,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiTableColumnFlags_NoHeaderLabel", - "docComment" : "TableHeadersRow() will not submit horizontal label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers.", + "docComment" : "TableHeadersRow() will submit an empty label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers. You may append into this cell by calling TableSetColumnIndex() right after the TableHeadersRow() call.", "qualType" : "ImGuiTableColumnFlags_", "order" : 13, "value" : "1 << 12", @@ -13110,6 +13780,21 @@ "text" : "-----------------------------------------------------------------------------" } ] } ] + }, { + "@type" : "AstFieldDecl", + "name" : "FontSizeBase", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "FontScaleMain", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "FontScaleDpi", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "Alpha", @@ -13135,6 +13820,11 @@ "name" : "WindowBorderSize", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowBorderHoverPadding", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "WindowMinSize", @@ -13225,6 +13915,11 @@ "name" : "ScrollbarRounding", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ScrollbarPadding", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "GrabMinSize", @@ -13240,6 +13935,16 @@ "name" : "LogSliderDeadzone", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ImageRounding", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ImageBorderSize", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "TabRounding", @@ -13252,7 +13957,22 @@ "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "TabMinWidthForCloseButton", + "name" : "TabMinWidthBase", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "TabMinWidthShrink", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "TabCloseButtonMinWidthSelected", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "TabCloseButtonMinWidthUnselected", "qualType" : "float", "desugaredQualType" : "float" }, { @@ -13260,6 +13980,11 @@ "name" : "TabBarBorderSize", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "TabBarOverlineSize", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "TableAngledHeadersAngle", @@ -13270,6 +13995,41 @@ "name" : "TableAngledHeadersTextAlign", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "TreeLinesFlags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TreeLinesSize", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "TreeLinesRounding", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropTargetRounding", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropTargetBorderSize", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropTargetPadding", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorMarkerSize", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "ColorButtonPosition", @@ -13285,6 +14045,11 @@ "name" : "SelectableTextAlign", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "SeparatorSize", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "SeparatorTextBorderSize", @@ -13310,6 +14075,11 @@ "name" : "DisplaySafeAreaPadding", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "DockingNodeHasCloseButton", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "DockingSeparatorSize", @@ -13348,8 +14118,8 @@ }, { "@type" : "AstFieldDecl", "name" : "Colors", - "qualType" : "ImVec4[57]", - "desugaredQualType" : "ImVec4[57]" + "qualType" : "ImVec4[62]", + "desugaredQualType" : "ImVec4[62]" }, { "@type" : "AstFieldDecl", "name" : "HoverStationaryDelay", @@ -13440,6 +14210,11 @@ "name" : "DisplaySize", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "DisplayFramebufferScale", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" }, { "@type" : "AstFieldDecl", "name" : "DeltaTime", @@ -13472,9 +14247,9 @@ "desugaredQualType" : "ImFontAtlas *" }, { "@type" : "AstFieldDecl", - "name" : "FontGlobalScale", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "FontDefault", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" }, { "@type" : "AstFieldDecl", "name" : "FontAllowUserScaling", @@ -13482,19 +14257,49 @@ "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "FontDefault", - "qualType" : "ImFont *", - "desugaredQualType" : "ImFont *" + "name" : "ConfigNavSwapGamepadButtons", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "DisplayFramebufferScale", - "qualType" : "ImVec2", - "desugaredQualType" : "ImVec2" + "name" : "ConfigNavMoveSetMousePos", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigNavCaptureKeyboard", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigNavEscapeClearFocusItem", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigNavEscapeClearFocusWindow", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigNavCursorVisibleAuto", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigNavCursorVisibleAlways", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "ConfigDockingNoSplit", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigDockingNoDockingOver", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "ConfigDockingWithShift", @@ -13530,6 +14335,21 @@ "name" : "ConfigViewportsNoDefaultParent", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigViewportsPlatformFocusSetsImGuiFocus", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigDpiScaleFonts", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigDpiScaleViewports", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "MouseDrawCursor", @@ -13570,6 +14390,16 @@ "name" : "ConfigWindowsMoveFromTitleBarOnly", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigWindowsCopyContentsWithCtrlC", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigScrollbarScrollByPage", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "ConfigMemoryCompactTimer", @@ -13600,11 +14430,41 @@ "name" : "KeyRepeatRate", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigErrorRecovery", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigErrorRecoveryEnableAssert", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigErrorRecoveryEnableDebugLog", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigErrorRecoveryEnableTooltip", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "ConfigDebugIsDebuggerPresent", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigDebugHighlightIdConflicts", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigDebugHighlightIdConflictsShowItemPicker", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "ConfigDebugBeginReturnValueOnce", @@ -13650,31 +14510,6 @@ "name" : "BackendLanguageUserData", "qualType" : "void *", "desugaredQualType" : "void *" - }, { - "@type" : "AstFieldDecl", - "name" : "GetClipboardTextFn", - "qualType" : "const char *(*)(void *)", - "desugaredQualType" : "const char *(*)(void *)" - }, { - "@type" : "AstFieldDecl", - "name" : "SetClipboardTextFn", - "qualType" : "void (*)(void *, const char *)", - "desugaredQualType" : "void (*)(void *, const char *)" - }, { - "@type" : "AstFieldDecl", - "name" : "ClipboardUserData", - "qualType" : "void *", - "desugaredQualType" : "void *" - }, { - "@type" : "AstFieldDecl", - "name" : "SetPlatformImeDataFn", - "qualType" : "void (*)(ImGuiViewport *, ImGuiPlatformImeData *)", - "desugaredQualType" : "void (*)(ImGuiViewport *, ImGuiPlatformImeData *)" - }, { - "@type" : "AstFieldDecl", - "name" : "PlatformLocaleDecimalPoint", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" }, { "@type" : "AstFunctionDecl", "name" : "AddKeyEvent", @@ -13872,10 +14707,6 @@ "@type" : "AstFunctionDecl", "name" : "ClearInputMouse", "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "ClearInputCharacters", - "resultType" : "void" }, { "@type" : "AstFieldDecl", "name" : "WantCaptureMouse", @@ -14004,8 +14835,8 @@ }, { "@type" : "AstFieldDecl", "name" : "KeysData", - "qualType" : "ImGuiKeyData[666]", - "desugaredQualType" : "ImGuiKeyData[666]" + "qualType" : "ImGuiKeyData[155]", + "desugaredQualType" : "ImGuiKeyData[155]" }, { "@type" : "AstFieldDecl", "name" : "WantCaptureMouseUnlessPopupClose", @@ -14051,6 +14882,11 @@ "name" : "MouseReleased", "qualType" : "bool[5]", "desugaredQualType" : "bool[5]" + }, { + "@type" : "AstFieldDecl", + "name" : "MouseReleasedTime", + "qualType" : "double[5]", + "desugaredQualType" : "double[5]" }, { "@type" : "AstFieldDecl", "name" : "MouseDownOwned", @@ -14106,16 +14942,6 @@ "name" : "AppAcceptingEvents", "qualType" : "bool", "desugaredQualType" : "bool" - }, { - "@type" : "AstFieldDecl", - "name" : "BackendUsingLegacyKeyArrays", - "qualType" : "ImS8", - "desugaredQualType" : "signed char" - }, { - "@type" : "AstFieldDecl", - "name" : "BackendUsingLegacyNavInputArray", - "qualType" : "bool", - "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "InputQueueSurrogate", @@ -14128,19 +14954,24 @@ "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "KeyMap", - "qualType" : "int[666]", - "desugaredQualType" : "int[666]" + "name" : "FontGlobalScale", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "GetClipboardTextFn", + "qualType" : "const char *(*)(void *)", + "desugaredQualType" : "const char *(*)(void *)" }, { "@type" : "AstFieldDecl", - "name" : "KeysDown", - "qualType" : "bool[666]", - "desugaredQualType" : "bool[666]" + "name" : "SetClipboardTextFn", + "qualType" : "void (*)(void *, const char *)", + "desugaredQualType" : "void (*)(void *, const char *)" }, { "@type" : "AstFieldDecl", - "name" : "NavInputs", - "qualType" : "float[16]", - "desugaredQualType" : "float[16]" + "name" : "ClipboardUserData", + "qualType" : "void *", + "desugaredQualType" : "void *" } ] }, { "@type" : "AstRecordDecl", @@ -14160,7 +14991,7 @@ "text" : " Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details)" }, { "@type" : "AstTextComment", - "text" : " - ImGuiInputTextFlags_CallbackEdit: Callback on buffer edit (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the underlying buffer while focus is active)" + "text" : " - ImGuiInputTextFlags_CallbackEdit: Callback on buffer edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active." }, { "@type" : "AstTextComment", "text" : " - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration" @@ -14200,14 +15031,29 @@ "desugaredQualType" : "void *" }, { "@type" : "AstFieldDecl", - "name" : "EventChar", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", "name" : "EventKey", "qualType" : "ImGuiKey", "desugaredQualType" : "ImGuiKey" + }, { + "@type" : "AstFieldDecl", + "name" : "EventChar", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "EventActivated", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "BufDirty", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "Buf", @@ -14223,11 +15069,6 @@ "name" : "BufSize", "qualType" : "int", "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "BufDirty", - "qualType" : "bool", - "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "CursorPos", @@ -14283,6 +15124,21 @@ "@type" : "AstFunctionDecl", "name" : "SelectAll", "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetSelection", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "s", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "e", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ClearSelection", @@ -14655,6 +15511,16 @@ "@type" : "AstFunctionDecl", "name" : "clear", "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "resize", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "reserve", @@ -15037,6 +15903,34 @@ } ] } ] } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiListClipperFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Flags for ImGuiListClipper (currently not fully exposed in function calls: a future refactor will likely add this to ImGuiListClipper::Begin function equivalent)" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiListClipperFlags_None", + "qualType" : "ImGuiListClipperFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiListClipperFlags_NoSetTableRowCounters", + "docComment" : "[Internal] Disabled modifying table row counters. Avoid assumption that 1 clipper item == 1 table row.", + "qualType" : "ImGuiListClipperFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : 1 + } ] }, { "@type" : "AstRecordDecl", "name" : "ImGuiListClipper", @@ -15112,11 +16006,6 @@ "text" : " - The clipper also handles various subtleties related to keyboard/gamepad navigation, wrapping etc." } ] } ] - }, { - "@type" : "AstFieldDecl", - "name" : "Ctx", - "qualType" : "ImGuiContext *", - "desugaredQualType" : "ImGuiContext *" }, { "@type" : "AstFieldDecl", "name" : "DisplayStart", @@ -15127,6 +16016,11 @@ "name" : "DisplayEnd", "qualType" : "int", "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "UserIndex", + "qualType" : "int", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "ItemsCount", @@ -15137,11 +16031,26 @@ "name" : "ItemsHeight", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiListClipperFlags", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "StartPosY", - "qualType" : "float", - "desugaredQualType" : "float" + "qualType" : "double", + "desugaredQualType" : "double" + }, { + "@type" : "AstFieldDecl", + "name" : "StartSeekOffsetY", + "qualType" : "double", + "desugaredQualType" : "double" + }, { + "@type" : "AstFieldDecl", + "name" : "Ctx", + "qualType" : "ImGuiContext *", + "desugaredQualType" : "ImGuiContext *" }, { "@type" : "AstFieldDecl", "name" : "TempData", @@ -15210,33 +16119,28 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "IncludeRangeByIndices", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "item_begin", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "item_end", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ForceDisplayRangeByIndices", + "name" : "SeekCursorForItem", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "item_begin", + "name" : "item_index", "qualType" : "int", "desugaredQualType" : "int" }, { - "@type" : "AstParmVarDecl", - "name" : "item_end", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Seek cursor toward given item. This is automatically called while stepping." + }, { + "@type" : "AstTextComment", + "text" : " - The only reason to call this is: you can use ImGuiListClipper::Begin(INT_MAX) if you don't know item count ahead of time." + }, { + "@type" : "AstTextComment", + "text" : " - In this case, after all steps are done, you'll want to call SeekCursorForItem(item_count)." + } ] + } ] } ] } ] }, { @@ -15328,91 +16232,628 @@ } ] } ] }, { - "@type" : "AstRecordDecl", - "name" : "ImDrawCmd", + "@type" : "AstEnumDecl", + "name" : "ImGuiMultiSelectFlags_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Typically, 1 command = 1 GPU draw call (unless command is a callback)" - }, { - "@type" : "AstTextComment", - "text" : " - VtxOffset: When 'io.BackendFlags " - }, { - "@type" : "AstTextComment", - "text" : "&" - }, { - "@type" : "AstTextComment", - "text" : " ImGuiBackendFlags_RendererHasVtxOffset' is enabled," - }, { - "@type" : "AstTextComment", - "text" : " this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices." - }, { - "@type" : "AstTextComment", - "text" : " Backends made for " - }, { - "@type" : "AstTextComment", - "text" : "<" - }, { - "@type" : "AstTextComment", - "text" : "1.71. will typically ignore the VtxOffset fields." - }, { - "@type" : "AstTextComment", - "text" : " - The ClipRect/TextureId/VtxOffset fields must be contiguous as we memcmp() them together (this is asserted for)." + "text" : " Flags for BeginMultiSelect()" } ] } ] }, { - "@type" : "AstFieldDecl", - "name" : "ClipRect", - "qualType" : "ImVec4", - "desugaredQualType" : "ImVec4" + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_None", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : 0 }, { - "@type" : "AstFieldDecl", - "name" : "TextureId", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_SingleSelect", + "docComment" : "Disable selecting more than one item. This is available to allow single-selection code to share same code/logic if desired. It essentially disables the main purpose of BeginMultiSelect() tho!", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : 1 }, { - "@type" : "AstFieldDecl", - "name" : "VtxOffset", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_NoSelectAll", + "docComment" : "Disable Ctrl+A shortcut to select all.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : 2 }, { - "@type" : "AstFieldDecl", - "name" : "IdxOffset", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_NoRangeSelect", + "docComment" : "Disable Shift+selection mouse/keyboard support (useful for unordered 2D selection). With BoxSelect is also ensure contiguous SetRange requests are not combined into one. This allows not handling interpolation in SetRange requests.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : 4 }, { - "@type" : "AstFieldDecl", - "name" : "ElemCount", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_NoAutoSelect", + "docComment" : "Disable selecting items when navigating (useful for e.g. supporting range-select in a list of checkboxes).", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : 8 }, { - "@type" : "AstFieldDecl", - "name" : "UserCallback", - "qualType" : "ImDrawCallback", - "desugaredQualType" : "void (*)(const ImDrawList *, const ImDrawCmd *)" + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_NoAutoClear", + "docComment" : "Disable clearing selection when navigating or selecting another one (generally used with ImGuiMultiSelectFlags_NoAutoSelect. useful for e.g. supporting range-select in a list of checkboxes).", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : 16 }, { - "@type" : "AstFieldDecl", - "name" : "UserCallbackData", - "qualType" : "void *", - "desugaredQualType" : "void *" + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_NoAutoClearOnReselect", + "docComment" : "Disable clearing selection when clicking/selecting an already selected item.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : 32 }, { - "@type" : "AstFunctionDecl", - "name" : "GetTexID", - "resultType" : "ImTextureID", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Since 1.83: returns ImTextureID associated with this draw call. Warning: DO NOT assume this is always same as 'TextureId' (we will change this function for an upcoming feature)" - } ] - } ] - } ] - } ] + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_BoxSelect1d", + "docComment" : "Enable box-selection with same width and same x pos items (e.g. full row Selectable()). Box-selection works better with little bit of spacing between items hit-box in order to be able to aim at empty space.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 7, + "value" : "1 << 6", + "evaluatedValue" : 64 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_BoxSelect2d", + "docComment" : "Enable box-selection with varying width or varying x pos items support (e.g. different width labels, or 2D layout/grid). This is slower: alters clipping logic so that e.g. horizontal movements will update selection of normally clipped items.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 8, + "value" : "1 << 7", + "evaluatedValue" : 128 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_BoxSelectNoScroll", + "docComment" : "Disable scrolling when box-selecting and moving mouse near edges of scope.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 9, + "value" : "1 << 8", + "evaluatedValue" : 256 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_ClearOnEscape", + "docComment" : "Clear selection when pressing Escape while scope is focused.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 10, + "value" : "1 << 9", + "evaluatedValue" : 512 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_ClearOnClickVoid", + "docComment" : "Clear selection when clicking on empty location within scope.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 11, + "value" : "1 << 10", + "evaluatedValue" : 1024 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_ScopeWindow", + "docComment" : "Scope for _BoxSelect and _ClearOnClickVoid is whole window (Default). Use if BeginMultiSelect() covers a whole window or used a single time in same window.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 12, + "value" : "1 << 11", + "evaluatedValue" : 2048 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_ScopeRect", + "docComment" : "Scope for _BoxSelect and _ClearOnClickVoid is rectangle encompassing BeginMultiSelect()/EndMultiSelect(). Use if BeginMultiSelect() is called multiple times in same window.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 13, + "value" : "1 << 12", + "evaluatedValue" : 4096 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_SelectOnAuto", + "docComment" : "Apply selection on mouse down when clicking on unselected item, on mouse up when clicking on selected item. (Default)", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 14, + "value" : "1 << 13", + "evaluatedValue" : 8192 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_SelectOnClickAlways", + "docComment" : "Apply selection on mouse down when clicking on any items. Prevents Drag and Drop from being used on multiple-selection, but allows e.g. BoxSelect to always reselect even when clicking inside an existing selection. (Excel style behavior)", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 15, + "value" : "1 << 14", + "evaluatedValue" : 16384 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_SelectOnClickRelease", + "docComment" : "Apply selection on mouse release when clicking an unselected item. Allow dragging an unselected item without altering selection.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 16, + "value" : "1 << 15", + "evaluatedValue" : 32768 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_NavWrapX", + "docComment" : "[Temporary] Enable navigation wrapping on X axis. Provided as a convenience because we don't have a design for the general Nav API for this yet. When the more general feature be public we may obsolete this flag in favor of new one.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 17, + "value" : "1 << 16", + "evaluatedValue" : 65536 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_NoSelectOnRightClick", + "docComment" : "Disable default right-click processing, which selects item on mouse down, and is designed for context-menus.", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 18, + "value" : "1 << 17", + "evaluatedValue" : 131072 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_SelectOnMask_", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 19, + "value" : "ImGuiMultiSelectFlags_SelectOnAuto | ImGuiMultiSelectFlags_SelectOnClickAlways | ImGuiMultiSelectFlags_SelectOnClickRelease", + "evaluatedValue" : 57344 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiMultiSelectFlags_SelectOnClick", + "docComment" : "RENAMED in 1.92.6", + "qualType" : "ImGuiMultiSelectFlags_", + "order" : 20, + "value" : "ImGuiMultiSelectFlags_SelectOnAuto", + "evaluatedValue" : 8192 + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiMultiSelectIO", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Main IO structure returned by BeginMultiSelect()/EndMultiSelect()." + }, { + "@type" : "AstTextComment", + "text" : " This mainly contains a list of selection requests." + }, { + "@type" : "AstTextComment", + "text" : " - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen." + }, { + "@type" : "AstTextComment", + "text" : " - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)" + }, { + "@type" : "AstTextComment", + "text" : " - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Requests", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeSrcItem", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + }, { + "@type" : "AstFieldDecl", + "name" : "NavIdItem", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + }, { + "@type" : "AstFieldDecl", + "name" : "NavIdSelected", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeSrcReset", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ItemsCount", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiSelectionRequestType", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Selection request type" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectionRequestType_None", + "qualType" : "ImGuiSelectionRequestType", + "order" : 0, + "value" : "0", + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectionRequestType_SetAll", + "docComment" : "Request app to clear selection (if Selected==false) or select all items (if Selected==true). We cannot set RangeFirstItem/RangeLastItem as its contents is entirely up to user (not necessarily an index)", + "qualType" : "ImGuiSelectionRequestType", + "order" : 1, + "evaluatedValue" : 1 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectionRequestType_SetRange", + "docComment" : "Request app to select/unselect [RangeFirstItem..RangeLastItem] items (inclusive) based on value of Selected. Only EndMultiSelect() request this, app code can read after BeginMultiSelect() and it will always be false.", + "qualType" : "ImGuiSelectionRequestType", + "order" : 2, + "evaluatedValue" : 2 + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiSelectionRequest", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Selection request item" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Type", + "qualType" : "ImGuiSelectionRequestType", + "desugaredQualType" : "ImGuiSelectionRequestType" + }, { + "@type" : "AstFieldDecl", + "name" : "Selected", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeDirection", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeFirstItem", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeLastItem", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiSelectionBasicStorage", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Optional helper to store multi-selection state + apply multi-selection requests." + }, { + "@type" : "AstTextComment", + "text" : " - Used by our demos and provided as a convenience to easily implement basic multi-selection." + }, { + "@type" : "AstTextComment", + "text" : " - Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(" + }, { + "@type" : "AstTextComment", + "text" : "&it" + }, { + "@type" : "AstTextComment", + "text" : ", " + }, { + "@type" : "AstTextComment", + "text" : "&id" + }, { + "@type" : "AstTextComment", + "text" : ")) { ... }'" + }, { + "@type" : "AstTextComment", + "text" : " Or you can check 'if (Contains(id)) { ... }' for each possible object if their number is not too high to iterate." + }, { + "@type" : "AstTextComment", + "text" : " - USING THIS IS NOT MANDATORY. This is only a helper and not a required API." + }, { + "@type" : "AstTextComment", + "text" : " To store a multi-selection, in your application you could:" + }, { + "@type" : "AstTextComment", + "text" : " - Use this helper as a convenience. We use our simple key->value ImGuiStorage as a std::set" + }, { + "@type" : "AstTextComment", + "text" : " replacement." + }, { + "@type" : "AstTextComment", + "text" : " - Use your own external storage: e.g. std::set" + }, { + "@type" : "AstTextComment", + "text" : ", std::vector" + }, { + "@type" : "AstTextComment", + "text" : ", interval trees, intrusively stored selection etc." + }, { + "@type" : "AstTextComment", + "text" : " In ImGuiSelectionBasicStorage we:" + }, { + "@type" : "AstTextComment", + "text" : " - always use indices in the multi-selection API (passed to SetNextItemSelectionUserData(), retrieved in ImGuiMultiSelectIO)" + }, { + "@type" : "AstTextComment", + "text" : " - use the AdapterIndexToStorageId() indirection layer to abstract how persistent selection data is derived from an index." + }, { + "@type" : "AstTextComment", + "text" : " - use decently optimized logic to allow queries and insertion of very large selection sets." + }, { + "@type" : "AstTextComment", + "text" : " - do not preserve selection order." + }, { + "@type" : "AstTextComment", + "text" : " Many combinations are possible depending on how you prefer to store your items and how you prefer to store your selection." + }, { + "@type" : "AstTextComment", + "text" : " Large applications are likely to eventually want to get rid of this indirection layer and do their own thing." + }, { + "@type" : "AstTextComment", + "text" : " See https://github.com/ocornut/imgui/wiki/Multi-Select for details and pseudo-code using this helper." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Size", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "PreserveOrder", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "UserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "AdapterIndexToStorageId", + "qualType" : "ImGuiID (*)(ImGuiSelectionBasicStorage *, int)", + "desugaredQualType" : "ImGuiID (*)(ImGuiSelectionBasicStorage *, int)" + }, { + "@type" : "AstFunctionDecl", + "name" : "ApplyRequests", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ms_io", + "qualType" : "ImGuiMultiSelectIO *", + "desugaredQualType" : "ImGuiMultiSelectIO *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Contains", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Clear", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "Swap", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r", + "qualType" : "ImGuiSelectionBasicStorage &", + "desugaredQualType" : "ImGuiSelectionBasicStorage &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetItemSelected", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "selected", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetNextSelectedItem", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "opaque_it", + "qualType" : "void **", + "desugaredQualType" : "void **" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_id", + "qualType" : "ImGuiID *", + "desugaredQualType" : "ImGuiID *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetStorageIdFromIndex", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiSelectionExternalStorage", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Optional helper to apply multi-selection requests to existing randomly accessible storage." + }, { + "@type" : "AstTextComment", + "text" : " Convenient if you want to quickly wire multi-select API on e.g. an array of bool or items storing their own selection state." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "UserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "AdapterSetItemSelected", + "qualType" : "void (*)(ImGuiSelectionExternalStorage *, int, bool)", + "desugaredQualType" : "void (*)(ImGuiSelectionExternalStorage *, int, bool)" + }, { + "@type" : "AstFunctionDecl", + "name" : "ApplyRequests", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ms_io", + "qualType" : "ImGuiMultiSelectIO *", + "desugaredQualType" : "ImGuiMultiSelectIO *" + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImDrawCmd", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Typically, 1 command = 1 GPU draw call (unless command is a callback)" + }, { + "@type" : "AstTextComment", + "text" : " - VtxOffset: When 'io.BackendFlags " + }, { + "@type" : "AstTextComment", + "text" : "&" + }, { + "@type" : "AstTextComment", + "text" : " ImGuiBackendFlags_RendererHasVtxOffset' is enabled," + }, { + "@type" : "AstTextComment", + "text" : " this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices." + }, { + "@type" : "AstTextComment", + "text" : " Backends made for " + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : "1.71. will typically ignore the VtxOffset fields." + }, { + "@type" : "AstTextComment", + "text" : " - The ClipRect/TexRef/VtxOffset fields must be contiguous as we memcmp() them together (this is asserted for)." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ClipRect", + "qualType" : "ImVec4", + "desugaredQualType" : "ImVec4" + }, { + "@type" : "AstFieldDecl", + "name" : "TexRef", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" + }, { + "@type" : "AstFieldDecl", + "name" : "VtxOffset", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "IdxOffset", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ElemCount", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "UserCallback", + "qualType" : "ImDrawCallback", + "desugaredQualType" : "void (*)(const ImDrawList *, const ImDrawCmd *)" + }, { + "@type" : "AstFieldDecl", + "name" : "UserCallbackData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "UserCallbackDataSize", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "UserCallbackDataOffset", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTexID", + "resultType" : "ImTextureID", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Since 1.83: returns ImTextureID associated with this draw call. Warning: DO NOT assume this is always same as 'TextureId' (we will change this function for an upcoming feature)" + }, { + "@type" : "AstTextComment", + "text" : " Since 1.92: removed ImDrawCmd::TextureId field, the getter function must be used!" + } ] + } ] + } ] + } ] }, { "@type" : "AstRecordDecl", "name" : "ImDrawVert", @@ -15451,9 +16892,9 @@ "desugaredQualType" : "ImVec4" }, { "@type" : "AstFieldDecl", - "name" : "TextureId", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "TexRef", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstFieldDecl", "name" : "VtxOffset", @@ -15743,7 +17184,7 @@ "text" : " In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize)." }, { "@type" : "AstTextComment", - "text" : " You are totally free to apply whatever transformation matrix to want to the data (depending on the use of the transformation you may want to apply it to ClipRect as well!)" + "text" : " You are totally free to apply whatever transformation matrix you want to the data (depending on the use of the transformation you may want to apply it to ClipRect as well!)" }, { "@type" : "AstTextComment", "text" : " Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects." @@ -15800,17 +17241,17 @@ "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "PushTextureID", + "name" : "PushTexture", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopTextureID", + "name" : "PopTexture", "resultType" : "void" }, { "@type" : "AstFunctionDecl", @@ -16317,8 +17758,8 @@ "decls" : [ { "@type" : "AstParmVarDecl", "name" : "font", - "qualType" : "const ImFont *", - "desugaredQualType" : "const ImFont *" + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" }, { "@type" : "AstParmVarDecl", "name" : "font_size", @@ -16476,7 +17917,7 @@ "text" : " - Only simple polygons are supported by filling functions (no self-intersections, no holes)." }, { "@type" : "AstTextComment", - "text" : " - Concave polygon fill is more expensive than convex one: it has O(N^2) complexity. Provided as a convenience fo user but not used by main library." + "text" : " - Concave polygon fill is more expensive than convex one: it has O(N^2) complexity. Provided as a convenience for the user but not used by the main library." } ] } ] } ] @@ -16526,9 +17967,9 @@ "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", "name" : "p_min", @@ -16566,7 +18007,7 @@ "text" : " Image primitives" }, { "@type" : "AstTextComment", - "text" : " - Read FAQ to understand what ImTextureID is." + "text" : " - Read FAQ to understand what ImTextureID/ImTextureRef are." }, { "@type" : "AstTextComment", "text" : " - \"p_min\" and \"p_max\" represent the upper-left and lower-right corners of the rectangle." @@ -16582,9 +18023,9 @@ "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", "name" : "p1", @@ -16642,9 +18083,9 @@ "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", "name" : "p_min", @@ -16941,23 +18382,63 @@ "desugaredQualType" : "void (*)(const ImDrawList *, const ImDrawCmd *)" }, { "@type" : "AstParmVarDecl", - "name" : "callback_data", + "name" : "userdata", "qualType" : "void *", "desugaredQualType" : "void *" }, { + "@type" : "AstParmVarDecl", + "name" : "userdata_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long", + "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Advanced: Draw Callbacks" + }, { + "@type" : "AstTextComment", + "text" : " - May be used to alter render state (change sampler, blending, current shader). May be used to emit custom rendering commands (difficult to do correctly, but possible)." + }, { + "@type" : "AstTextComment", + "text" : " - Use special ImDrawCallback_ResetRenderState callback to instruct backend to reset its render state to the default." + }, { + "@type" : "AstTextComment", + "text" : " - Your rendering loop must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. All standard backends are honoring this." + }, { + "@type" : "AstTextComment", + "text" : " - For some backends, the callback may access selected render-states exposed by the backend in a ImGui_ImplXXXX_RenderState structure pointed to by platform_io.Renderer_RenderState." + }, { + "@type" : "AstTextComment", + "text" : " - IMPORTANT: please be mindful of the different level of indirection between using size==0 (copying argument) and using size>0 (copying pointed data into a buffer)." + }, { + "@type" : "AstTextComment", + "text" : " - If userdata_size == 0: we copy/store the 'userdata' argument as-is. It will be available unmodified in ImDrawCmd::UserCallbackData during render." + }, { + "@type" : "AstTextComment", + "text" : " - If userdata_size > 0, we copy/store 'userdata_size' bytes pointed to by 'userdata'. We store them in a buffer stored inside the drawlist. ImDrawCmd::UserCallbackData will point inside that buffer so you have to retrieve data from there. Your callback may need to use ImDrawCmd::UserCallbackDataSize if you expect dynamically-sized data." + }, { + "@type" : "AstTextComment", + "text" : " - Support for userdata_size > 0 was added in v1.91.4, October 2024. So earlier code always only allowed to copy/store a simple void*." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "AddDrawCmd", + "resultType" : "void", + "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Advanced" + "text" : " Advanced: Miscellaneous" } ] } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "AddDrawCmd", - "resultType" : "void" }, { "@type" : "AstFunctionDecl", "name" : "CloneOutput", @@ -17205,6 +18686,20 @@ "qualType" : "ImU32", "desugaredQualType" : "unsigned int" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushTextureID", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopTextureID", + "resultType" : "void" } ] }, { "@type" : "AstRecordDecl", @@ -17260,42 +18755,368 @@ "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" }, { - "@type" : "AstFieldDecl", - "name" : "FramebufferScale", - "qualType" : "ImVec2", - "desugaredQualType" : "ImVec2" + "@type" : "AstFieldDecl", + "name" : "FramebufferScale", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "OwnerViewport", + "qualType" : "ImGuiViewport *", + "desugaredQualType" : "ImGuiViewport *" + }, { + "@type" : "AstFieldDecl", + "name" : "Textures", + "qualType" : "ImVector *", + "desugaredQualType" : "ImVector *" + }, { + "@type" : "AstFunctionDecl", + "name" : "Clear", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "AddDrawList", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "draw_list", + "qualType" : "ImDrawList *", + "desugaredQualType" : "ImDrawList *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DeIndexAllBuffers", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "ScaleClipRects", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fb_scale", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImTextureFormat", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " We intentionally support a limited amount of texture formats to limit burden on CPU-side code and extension." + }, { + "@type" : "AstTextComment", + "text" : " Most standard backends only support RGBA32 but we provide a single channel option for low-resource/embedded systems." + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImTextureFormat_RGBA32", + "docComment" : "4 components per pixel, each is unsigned 8-bit. Total size = TexWidth * TexHeight * 4", + "qualType" : "ImTextureFormat", + "order" : 0, + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImTextureFormat_Alpha8", + "docComment" : "1 component per pixel, each is unsigned 8-bit. Total size = TexWidth * TexHeight", + "qualType" : "ImTextureFormat", + "order" : 1, + "evaluatedValue" : 1 + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImTextureStatus", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Status of a texture to communicate with Renderer Backend." + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImTextureStatus_OK", + "qualType" : "ImTextureStatus", + "order" : 0, + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImTextureStatus_Destroyed", + "docComment" : "Backend destroyed the texture.", + "qualType" : "ImTextureStatus", + "order" : 1, + "evaluatedValue" : 1 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImTextureStatus_WantCreate", + "docComment" : "Requesting backend to create the texture. Set status OK when done.", + "qualType" : "ImTextureStatus", + "order" : 2, + "evaluatedValue" : 2 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImTextureStatus_WantUpdates", + "docComment" : "Requesting backend to update specific blocks of pixels (write to texture portions which have never been used before). Set status OK when done.", + "qualType" : "ImTextureStatus", + "order" : 3, + "evaluatedValue" : 3 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImTextureStatus_WantDestroy", + "docComment" : "Requesting backend to destroy the texture. Set status to Destroyed when done.", + "qualType" : "ImTextureStatus", + "order" : 4, + "evaluatedValue" : 4 + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImTextureRect", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Coordinates of a rectangle within a texture." + }, { + "@type" : "AstTextComment", + "text" : " When a texture is in ImTextureStatus_WantUpdates state, we provide a list of individual rectangles to copy to the graphics system." + }, { + "@type" : "AstTextComment", + "text" : " You may use ImTextureData::Updates[] for the list, or ImTextureData::UpdateBox for a single bounding box." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "x", + "qualType" : "unsigned short", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "y", + "qualType" : "unsigned short", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "w", + "qualType" : "unsigned short", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "h", + "qualType" : "unsigned short", + "desugaredQualType" : "unsigned short" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImTextureData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Specs and pixel storage for a texture used by Dear ImGui." + }, { + "@type" : "AstTextComment", + "text" : " This is only useful for (1) core library and (2) backends. End-user/applications do not need to care about this." + }, { + "@type" : "AstTextComment", + "text" : " Renderer Backends will create a GPU-side version of this." + }, { + "@type" : "AstTextComment", + "text" : " Why does we store two identifiers: TexID and BackendUserData?" + }, { + "@type" : "AstTextComment", + "text" : " - ImTextureID TexID = lower-level identifier stored in ImDrawCmd. ImDrawCmd can refer to textures not created by the backend, and for which there's no ImTextureData." + }, { + "@type" : "AstTextComment", + "text" : " - void* BackendUserData = higher-level opaque storage for backend own book-keeping. Some backends may have enough with TexID and not need both." + }, { + "@type" : "AstTextComment", + "text" : " In columns below: who reads/writes each fields? 'r'=read, 'w'=write, 'core'=main library, 'backend'=renderer backend" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "UniqueID", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Status", + "qualType" : "ImTextureStatus", + "desugaredQualType" : "ImTextureStatus" + }, { + "@type" : "AstFieldDecl", + "name" : "BackendUserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "TexID", + "qualType" : "ImTextureID", + "desugaredQualType" : "unsigned long long" + }, { + "@type" : "AstFieldDecl", + "name" : "Format", + "qualType" : "ImTextureFormat", + "desugaredQualType" : "ImTextureFormat" + }, { + "@type" : "AstFieldDecl", + "name" : "Width", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Height", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "BytesPerPixel", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Pixels", + "qualType" : "unsigned char *", + "desugaredQualType" : "unsigned char *" + }, { + "@type" : "AstFieldDecl", + "name" : "UsedRect", + "qualType" : "ImTextureRect", + "desugaredQualType" : "ImTextureRect" + }, { + "@type" : "AstFieldDecl", + "name" : "UpdateRect", + "qualType" : "ImTextureRect", + "desugaredQualType" : "ImTextureRect" + }, { + "@type" : "AstFieldDecl", + "name" : "Updates", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "UnusedFrames", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "RefCount", + "qualType" : "unsigned short", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "UseColors", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantDestroyNextFrame", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "Create", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "ImTextureFormat", + "desugaredQualType" : "ImTextureFormat" + }, { + "@type" : "AstParmVarDecl", + "name" : "w", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "h", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DestroyPixels", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetPixels", + "resultType" : "void *" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetPixelsAt", + "resultType" : "void *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "y", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetSizeInBytes", + "resultType" : "int" }, { - "@type" : "AstFieldDecl", - "name" : "OwnerViewport", - "qualType" : "ImGuiViewport *", - "desugaredQualType" : "ImGuiViewport *" + "@type" : "AstFunctionDecl", + "name" : "GetPitch", + "resultType" : "int" }, { "@type" : "AstFunctionDecl", - "name" : "Clear", - "resultType" : "void" + "name" : "GetTexRef", + "resultType" : "ImTextureRef" }, { "@type" : "AstFunctionDecl", - "name" : "AddDrawList", + "name" : "GetTexID", + "resultType" : "ImTextureID" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetTexID", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "draw_list", - "qualType" : "ImDrawList *", - "desugaredQualType" : "ImDrawList *" + "name" : "tex_id", + "qualType" : "ImTextureID", + "desugaredQualType" : "unsigned long long" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Called by Renderer backend" + }, { + "@type" : "AstTextComment", + "text" : " - Call SetTexID() and SetStatus() after honoring texture requests. Never modify TexID and Status directly!" + }, { + "@type" : "AstTextComment", + "text" : " - A backend may decide to destroy a texture that we did not request to destroy, which is fine (e.g. freeing resources), but we immediately set the texture back in _WantCreate mode." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "DeIndexAllBuffers", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "ScaleClipRects", + "name" : "SetStatus", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "fb_scale", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" + "name" : "status", + "qualType" : "ImTextureStatus", + "desugaredQualType" : "ImTextureStatus" } ] } ] }, { @@ -17307,15 +19128,14 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" - }, { - "@type" : "AstTextComment", - "text" : " [SECTION] Font API (ImFontConfig, ImFontGlyph, ImFontAtlasFlags, ImFontAtlas, ImFontGlyphRangesBuilder, ImFont)" - }, { - "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" + "text" : " A font input/source (we may rename this to ImFontSource in the future)" } ] } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Name", + "qualType" : "char[40]", + "desugaredQualType" : "char[40]" }, { "@type" : "AstFieldDecl", "name" : "FontData", @@ -17333,44 +19153,49 @@ "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "FontNo", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "MergeMode", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "SizePixels", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "PixelSnapH", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "OversampleH", - "qualType" : "int", - "desugaredQualType" : "int" + "qualType" : "ImS8", + "desugaredQualType" : "signed char" }, { "@type" : "AstFieldDecl", "name" : "OversampleV", - "qualType" : "int", - "desugaredQualType" : "int" + "qualType" : "ImS8", + "desugaredQualType" : "signed char" }, { "@type" : "AstFieldDecl", - "name" : "PixelSnapH", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "EllipsisChar", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", - "name" : "GlyphExtraSpacing", - "qualType" : "ImVec2", - "desugaredQualType" : "ImVec2" + "name" : "SizePixels", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "GlyphOffset", - "qualType" : "ImVec2", - "desugaredQualType" : "ImVec2" + "name" : "GlyphRanges", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" }, { "@type" : "AstFieldDecl", - "name" : "GlyphRanges", + "name" : "GlyphExcludeRanges", "qualType" : "const ImWchar *", "desugaredQualType" : "const ImWchar *" + }, { + "@type" : "AstFieldDecl", + "name" : "GlyphOffset", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" }, { "@type" : "AstFieldDecl", "name" : "GlyphMinAdvanceX", @@ -17383,12 +19208,17 @@ "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "MergeMode", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "GlyphExtraAdvanceX", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "FontNo", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "FontBuilderFlags", + "name" : "FontLoaderFlags", "qualType" : "unsigned int", "desugaredQualType" : "unsigned int" }, { @@ -17403,19 +19233,34 @@ "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "EllipsisChar", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" + "name" : "ExtraSizeScale", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "Name", - "qualType" : "char[40]", - "desugaredQualType" : "char[40]" + "name" : "Flags", + "qualType" : "ImFontFlags", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "DstFont", "qualType" : "ImFont *", "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontLoader", + "qualType" : "const ImFontLoader *", + "desugaredQualType" : "const ImFontLoader *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontLoaderData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "PixelSnapV", + "qualType" : "bool", + "desugaredQualType" : "bool" } ] }, { "@type" : "AstRecordDecl", @@ -17429,7 +19274,7 @@ "text" : " Hold rendering data for one glyph." }, { "@type" : "AstTextComment", - "text" : " (Note: some language parsers may fail to convert the 31+1 bitfield members, in this case maybe drop store a single u32 or we can rework this)" + "text" : " (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)" } ] } ] }, { @@ -17442,6 +19287,11 @@ "name" : "Visible", "qualType" : "unsigned int", "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "SourceIdx", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", "name" : "Codepoint", @@ -17492,6 +19342,11 @@ "name" : "V1", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "PackId", + "qualType" : "int", + "desugaredQualType" : "int" } ] }, { "@type" : "AstRecordDecl", @@ -17586,60 +19441,52 @@ } ] }, { "@type" : "AstRecordDecl", - "name" : "ImFontAtlasCustomRect", + "name" : "ImFontAtlasRect", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " See ImFontAtlas::AddCustomRectXXX functions." + "text" : " Output of ImFontAtlas::GetCustomRect() when using custom rectangles." + }, { + "@type" : "AstTextComment", + "text" : " Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef" + }, { + "@type" : "AstTextComment", + "text" : " (this is in theory derived from ImTextureRect but we use separate structures for reasons)" } ] } ] }, { "@type" : "AstFieldDecl", - "name" : "Width", + "name" : "x", "qualType" : "unsigned short", "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", - "name" : "Height", + "name" : "y", "qualType" : "unsigned short", "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", - "name" : "X", + "name" : "w", "qualType" : "unsigned short", "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", - "name" : "Y", + "name" : "h", "qualType" : "unsigned short", "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", - "name" : "GlyphID", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstFieldDecl", - "name" : "GlyphAdvanceX", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstFieldDecl", - "name" : "GlyphOffset", + "name" : "uv0", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" }, { "@type" : "AstFieldDecl", - "name" : "Font", - "qualType" : "ImFont *", - "desugaredQualType" : "ImFont *" - }, { - "@type" : "AstFunctionDecl", - "name" : "IsPacked", - "resultType" : "bool" + "name" : "uv1", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" } ] }, { "@type" : "AstEnumDecl", @@ -17706,28 +19553,34 @@ "text" : " - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas)." }, { "@type" : "AstTextComment", - "text" : " It is the user-code responsibility to setup/build the atlas, then upload the pixel data into a texture accessible by your graphics api." + "text" : " - If you don't call any AddFont*** functions, the default font embedded in the code will be loaded for you." }, { "@type" : "AstTextComment", - "text" : " - Optionally, call any of the AddFont*** functions. If you don't call any, the default font embedded in the code will be loaded for you." + "text" : " It is the rendering backend responsibility to upload texture into your graphics API:" }, { "@type" : "AstTextComment", - "text" : " - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data." + "text" : " - ImGui_ImplXXXX_RenderDrawData() functions generally iterate platform_io->Textures[] to create/update/destroy each ImTextureData instance." }, { "@type" : "AstTextComment", - "text" : " - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples)" + "text" : " - Backend then set ImTextureData's TexID and BackendUserData." }, { "@type" : "AstTextComment", - "text" : " - Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture in a format natural to your graphics API." + "text" : " - Texture id are passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID/ImTextureRef for more details." + }, { + "@type" : "AstTextComment", + "text" : " Legacy path:" + }, { + "@type" : "AstTextComment", + "text" : " - Call Build() + GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data." }, { "@type" : "AstTextComment", - "text" : " This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details." + "text" : " - Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture in a format natural to your graphics API." }, { "@type" : "AstTextComment", "text" : " Common pitfalls:" }, { "@type" : "AstTextComment", - "text" : " - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the" + "text" : " - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persists up until the" }, { "@type" : "AstTextComment", "text" : " atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data." @@ -17766,6 +19619,28 @@ "desugaredQualType" : "const ImFontConfig *", "defaultValue" : "NULL" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "AddFontDefaultVector", + "resultType" : "ImFont *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font_cfg", + "qualType" : "const ImFontConfig *", + "desugaredQualType" : "const ImFontConfig *", + "defaultValue" : "NULL" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "AddFontDefaultBitmap", + "resultType" : "ImFont *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font_cfg", + "qualType" : "const ImFontConfig *", + "desugaredQualType" : "const ImFontConfig *", + "defaultValue" : "NULL" + } ] }, { "@type" : "AstFunctionDecl", "name" : "AddFontFromFileTTF", @@ -17779,7 +19654,8 @@ "@type" : "AstParmVarDecl", "name" : "size_pixels", "qualType" : "float", - "desugaredQualType" : "float" + "desugaredQualType" : "float", + "defaultValue" : "0.0f" }, { "@type" : "AstParmVarDecl", "name" : "font_cfg", @@ -17811,7 +19687,8 @@ "@type" : "AstParmVarDecl", "name" : "size_pixels", "qualType" : "float", - "desugaredQualType" : "float" + "desugaredQualType" : "float", + "defaultValue" : "0.0f" }, { "@type" : "AstParmVarDecl", "name" : "font_cfg", @@ -17843,7 +19720,8 @@ "@type" : "AstParmVarDecl", "name" : "size_pixels", "qualType" : "float", - "desugaredQualType" : "float" + "desugaredQualType" : "float", + "defaultValue" : "0.0f" }, { "@type" : "AstParmVarDecl", "name" : "font_cfg", @@ -17870,7 +19748,8 @@ "@type" : "AstParmVarDecl", "name" : "size_pixels", "qualType" : "float", - "desugaredQualType" : "float" + "desugaredQualType" : "float", + "defaultValue" : "0.0f" }, { "@type" : "AstParmVarDecl", "name" : "font_cfg", @@ -17886,19 +19765,53 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "ClearInputData", + "name" : "RemoveFont", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Clear", "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "ClearTexData", + "name" : "CompactCache", "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetFontLoader", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font_loader", + "qualType" : "const ImFontLoader *", + "desugaredQualType" : "const ImFontLoader *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearInputData", + "resultType" : "void", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " As we are transitioning toward a new font system, we expect to obsolete those soon:" + } ] + } ] + } ] }, { "@type" : "AstFunctionDecl", "name" : "ClearFonts", "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "Clear", + "name" : "ClearTexData", "resultType" : "void" }, { "@type" : "AstFunctionDecl", @@ -17910,19 +19823,28 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Build atlas, retrieve pixel data." + "text" : " Legacy path for build atlas + retrieving pixel data." + }, { + "@type" : "AstTextComment", + "text" : " - User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID()." + }, { + "@type" : "AstTextComment", + "text" : " - The pitch is always = Width * BytesPerPixels (1 or 4)" + }, { + "@type" : "AstTextComment", + "text" : " - Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into" }, { "@type" : "AstTextComment", - "text" : " User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID()." + "text" : " the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75% of memory/bandwidth waste)." }, { "@type" : "AstTextComment", - "text" : " The pitch is always = Width * BytesPerPixels (1 or 4)" + "text" : " - From 1.92 with backends supporting ImGuiBackendFlags_RendererHasTextures:" }, { "@type" : "AstTextComment", - "text" : " Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into" + "text" : " - Calling Build(), GetTexDataAsAlpha8(), GetTexDataAsRGBA32() is not needed." }, { "@type" : "AstTextComment", - "text" : " the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75% of memory/bandwidth waste." + "text" : " - In backend: replace calls to ImFontAtlas::SetTexID() with calls to ImTextureData::SetTexID() after honoring texture creation." } ] } ] } ] @@ -17980,21 +19902,45 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "IsBuilt", - "resultType" : "bool" + "name" : "SetTexID", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImTextureID", + "desugaredQualType" : "unsigned long long" + } ] }, { "@type" : "AstFunctionDecl", "name" : "SetTexID", "resultType" : "void", "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsBuilt", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetGlyphRangesDefault", + "resultType" : "const ImWchar *", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Since 1.92: specifying glyph ranges is only useful/necessary if your backend doesn't support ImGuiBackendFlags_RendererHasTextures!" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetGlyphRangesDefault", + "name" : "GetGlyphRangesGreek", "resultType" : "const ImWchar *", "decls" : [ { "@type" : "AstFullComment", @@ -18015,10 +19961,6 @@ } ] } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "GetGlyphRangesGreek", - "resultType" : "const ImWchar *" }, { "@type" : "AstFunctionDecl", "name" : "GetGlyphRangesKorean", @@ -18049,8 +19991,8 @@ "resultType" : "const ImWchar *" }, { "@type" : "AstFunctionDecl", - "name" : "AddCustomRectRegular", - "resultType" : "int", + "name" : "AddCustomRect", + "resultType" : "ImFontAtlasRectId", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "width", @@ -18061,78 +20003,268 @@ "name" : "height", "qualType" : "int", "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_r", + "qualType" : "ImFontAtlasRect *", + "desugaredQualType" : "ImFontAtlasRect *", + "defaultValue" : "NULL" }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " You can request arbitrary rectangles to be packed into the atlas, for your own purposes." + "text" : " Register and retrieve custom rectangles" + }, { + "@type" : "AstTextComment", + "text" : " - You can request arbitrary rectangles to be packed into the atlas, for your own purpose." + }, { + "@type" : "AstTextComment", + "text" : " - Since 1.92.0, packing is done immediately in the function call (previously packing was done during the Build call)" + }, { + "@type" : "AstTextComment", + "text" : " - You can render your pixels into the texture right after calling the AddCustomRect() functions." + }, { + "@type" : "AstTextComment", + "text" : " - VERY IMPORTANT:" }, { "@type" : "AstTextComment", - "text" : " - After calling Build(), you can query the rectangle position and render your pixels." + "text" : " - Texture may be created/resized at any time when calling ImGui or ImFontAtlas functions." }, { "@type" : "AstTextComment", - "text" : " - If you render colored output, set 'atlas->TexPixelsUseColors = true' as this may help some backends decide of preferred texture format." + "text" : " - IT WILL INVALIDATE RECTANGLE DATA SUCH AS UV COORDINATES. Always use latest values from GetCustomRect()." }, { "@type" : "AstTextComment", - "text" : " - You can also request your rectangles to be mapped as font glyph (given a font + Unicode point)," + "text" : " - UV coordinates are associated to the current texture identifier aka 'atlas->TexRef'. Both TexRef and UV coordinates are typically changed at the same time." }, { "@type" : "AstTextComment", - "text" : " so you can render e.g. custom colorful icons and use them as regular glyphs." + "text" : " - If you render colored output into your custom rectangles: set 'atlas->TexPixelsUseColors = true' as this may help some backends decide of preferred texture format." }, { "@type" : "AstTextComment", "text" : " - Read docs/FONTS.md for more details about using colorful icons." }, { "@type" : "AstTextComment", - "text" : " - Note: this API may be redesigned later in order to support multi-monitor varying DPI settings." + "text" : " - Note: this API may be reworked further in order to facilitate supporting e.g. multi-monitor, varying DPI settings." + }, { + "@type" : "AstTextComment", + "text" : " - (Pre-1.92 names) ------------> (1.92 names)" + }, { + "@type" : "AstTextComment", + "text" : " - GetCustomRectByIndex() --> Use GetCustomRect()" + }, { + "@type" : "AstTextComment", + "text" : " - CalcCustomRectUV() --> Use GetCustomRect() and read uv0, uv1 fields." + }, { + "@type" : "AstTextComment", + "text" : " - AddCustomRectRegular() --> Renamed to AddCustomRect()" + }, { + "@type" : "AstTextComment", + "text" : " - AddCustomRectFontGlyph() --> Prefer using custom ImFontLoader inside ImFontConfig" + }, { + "@type" : "AstTextComment", + "text" : " - ImFontAtlasCustomRect --> Renamed to ImFontAtlasRect" } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "AddCustomRectFontGlyph", - "resultType" : "int", + "name" : "RemoveCustomRect", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "font", - "qualType" : "ImFont *", - "desugaredQualType" : "ImFont *" - }, { + "name" : "id", + "qualType" : "ImFontAtlasRectId", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetCustomRect", + "resultType" : "bool", + "decls" : [ { "@type" : "AstParmVarDecl", "name" : "id", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" + "qualType" : "ImFontAtlasRectId", + "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", - "name" : "width", + "name" : "out_r", + "qualType" : "ImFontAtlasRect *", + "desugaredQualType" : "ImFontAtlasRect *" + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImFontAtlasFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TexDesiredFormat", + "qualType" : "ImTextureFormat", + "desugaredQualType" : "ImTextureFormat" + }, { + "@type" : "AstFieldDecl", + "name" : "TexGlyphPadding", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TexMinWidth", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TexMinHeight", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TexMaxWidth", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TexMaxHeight", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "UserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "TexData", + "qualType" : "ImTextureData *", + "desugaredQualType" : "ImTextureData *" + }, { + "@type" : "AstFieldDecl", + "name" : "TexList", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "Locked", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "RendererHasTextures", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "TexIsBuilt", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "TexPixelsUseColors", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "TexUvScale", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "TexUvWhitePixel", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "Fonts", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "Sources", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "TexUvLines", + "qualType" : "ImVec4[33]", + "desugaredQualType" : "ImVec4[33]" + }, { + "@type" : "AstFieldDecl", + "name" : "TexNextUniqueID", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "FontNextUniqueID", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawListSharedDatas", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "Builder", + "qualType" : "ImFontAtlasBuilder *", + "desugaredQualType" : "ImFontAtlasBuilder *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontLoader", + "qualType" : "const ImFontLoader *", + "desugaredQualType" : "const ImFontLoader *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontLoaderName", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontLoaderData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontLoaderFlags", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "RefCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "OwnerContext", + "qualType" : "ImGuiContext *", + "desugaredQualType" : "ImGuiContext *" + }, { + "@type" : "AstFieldDecl", + "name" : "TempRect", + "qualType" : "ImFontAtlasRect", + "desugaredQualType" : "ImFontAtlasRect" + }, { + "@type" : "AstFunctionDecl", + "name" : "AddCustomRectRegular", + "resultType" : "ImFontAtlasRectId", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "w", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", - "name" : "height", + "name" : "h", "qualType" : "int", "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "advance_x", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "offset", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(0, 0)" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetCustomRectByIndex", - "resultType" : "ImFontAtlasCustomRect *", + "resultType" : "const ImFontAtlasRect *", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "index", - "qualType" : "int", + "name" : "id", + "qualType" : "ImFontAtlasRectId", "desugaredQualType" : "int" } ] }, { @@ -18141,9 +20273,9 @@ "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "rect", - "qualType" : "const ImFontAtlasCustomRect *", - "desugaredQualType" : "const ImFontAtlasCustomRect *" + "name" : "r", + "qualType" : "const ImFontAtlasRect *", + "desugaredQualType" : "const ImFontAtlasRect *" }, { "@type" : "AstParmVarDecl", "name" : "out_uv_min", @@ -18154,296 +20286,370 @@ "name" : "out_uv_max", "qualType" : "ImVec2 *", "desugaredQualType" : "ImVec2 *" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " [Internal]" - } ] - } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetMouseCursorTexData", - "resultType" : "bool", + "name" : "AddCustomRectFontGlyph", + "resultType" : "ImFontAtlasRectId", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "cursor", - "qualType" : "ImGuiMouseCursor", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstParmVarDecl", + "name" : "w", + "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", - "name" : "out_offset", - "qualType" : "ImVec2 *", - "desugaredQualType" : "ImVec2 *" + "name" : "h", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "advance_x", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "offset", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0, 0)" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "AddCustomRectFontGlyphForSize", + "resultType" : "ImFontAtlasRectId", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstParmVarDecl", + "name" : "font_size", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstParmVarDecl", + "name" : "w", + "qualType" : "int", + "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", - "name" : "out_size", - "qualType" : "ImVec2 *", - "desugaredQualType" : "ImVec2 *" + "name" : "h", + "qualType" : "int", + "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", - "name" : "out_uv_border", - "qualType" : "ImVec2 *", - "desugaredQualType" : "ImVec2 *" + "name" : "advance_x", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstParmVarDecl", - "name" : "out_uv_fill", - "qualType" : "ImVec2 *", - "desugaredQualType" : "ImVec2 *" + "name" : "offset", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0, 0)" + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImFontBaked", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Font runtime data for a given size" + }, { + "@type" : "AstTextComment", + "text" : " Important: pointers to ImFontBaked are only valid for the current frame." + } ] } ] }, { "@type" : "AstFieldDecl", - "name" : "Flags", - "qualType" : "ImFontAtlasFlags", - "desugaredQualType" : "int" + "name" : "IndexAdvanceX", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "TexID", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "FallbackAdvanceX", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "TexDesiredWidth", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "Size", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "TexGlyphPadding", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "RasterizerDensity", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "Locked", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "IndexLookup", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "UserData", - "qualType" : "void *", - "desugaredQualType" : "void *" + "name" : "Glyphs", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "TexReady", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "FallbackGlyphIndex", + "qualType" : "int", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", - "name" : "TexPixelsUseColors", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "Ascent", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "TexPixelsAlpha8", - "qualType" : "unsigned char *", - "desugaredQualType" : "unsigned char *" + "name" : "Descent", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "TexPixelsRGBA32", - "qualType" : "unsigned int *", - "desugaredQualType" : "unsigned int *" + "name" : "MetricsTotalSurface", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "TexWidth", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "WantDestroy", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "TexHeight", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "LoadNoFallback", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "TexUvScale", - "qualType" : "ImVec2", - "desugaredQualType" : "ImVec2" + "name" : "LoadNoRenderOnLayout", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "TexUvWhitePixel", - "qualType" : "ImVec2", - "desugaredQualType" : "ImVec2" + "name" : "LastUsedFrame", + "qualType" : "int", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", - "name" : "Fonts", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" + "name" : "BakedId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "CustomRects", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" + "name" : "OwnerFont", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" }, { "@type" : "AstFieldDecl", - "name" : "ConfigData", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" + "name" : "FontLoaderDatas", + "qualType" : "void *", + "desugaredQualType" : "void *" }, { - "@type" : "AstFieldDecl", - "name" : "TexUvLines", - "qualType" : "ImVec4[64]", - "desugaredQualType" : "ImVec4[64]" + "@type" : "AstFunctionDecl", + "name" : "ClearOutputData", + "resultType" : "void" }, { - "@type" : "AstFieldDecl", - "name" : "FontBuilderIO", - "qualType" : "const ImFontBuilderIO *", - "desugaredQualType" : "const ImFontBuilderIO *" + "@type" : "AstFunctionDecl", + "name" : "FindGlyph", + "resultType" : "ImFontGlyph *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "FontBuilderFlags", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" + "@type" : "AstFunctionDecl", + "name" : "FindGlyphNoFallback", + "resultType" : "ImFontGlyph *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "PackIdMouseCursors", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFunctionDecl", + "name" : "GetCharAdvance", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "PackIdLines", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFunctionDecl", + "name" : "IsGlyphLoaded", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + } ] } ] }, { - "@type" : "AstRecordDecl", - "name" : "ImFont", + "@type" : "AstEnumDecl", + "name" : "ImFontFlags_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Font runtime data and rendering" + "text" : " Font flags" }, { "@type" : "AstTextComment", - "text" : " ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32()." + "text" : " (in future versions as we redesign font loading API, this will become more important and better documented. for now please consider this as internal/advanced use)" } ] } ] }, { - "@type" : "AstFieldDecl", - "name" : "IndexAdvanceX", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFieldDecl", - "name" : "FallbackAdvanceX", - "qualType" : "float", - "desugaredQualType" : "float" + "@type" : "AstEnumConstantDecl", + "name" : "ImFontFlags_None", + "qualType" : "ImFontFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : 0 }, { - "@type" : "AstFieldDecl", - "name" : "FontSize", - "qualType" : "float", - "desugaredQualType" : "float" + "@type" : "AstEnumConstantDecl", + "name" : "ImFontFlags_NoLoadError", + "docComment" : "Disable throwing an error/assert when calling AddFontXXX() with missing file/data. Calling code is expected to check AddFontXXX() return value.", + "qualType" : "ImFontFlags_", + "order" : 1, + "value" : "1 << 1", + "evaluatedValue" : 2 }, { - "@type" : "AstFieldDecl", - "name" : "IndexLookup", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" + "@type" : "AstEnumConstantDecl", + "name" : "ImFontFlags_NoLoadGlyphs", + "docComment" : "[Internal] Disable loading new glyphs.", + "qualType" : "ImFontFlags_", + "order" : 2, + "value" : "1 << 2", + "evaluatedValue" : 4 }, { - "@type" : "AstFieldDecl", - "name" : "Glyphs", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" + "@type" : "AstEnumConstantDecl", + "name" : "ImFontFlags_LockBakedSizes", + "docComment" : "[Internal] Disable loading new baked sizes, disable garbage collecting current ones. e.g. if you want to lock a font to a single size. Important: if you use this to preload given sizes, consider the possibility of multiple font density used on Retina display.", + "qualType" : "ImFontFlags_", + "order" : 3, + "value" : "1 << 3", + "evaluatedValue" : 8 + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImFont", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Font runtime data and rendering" + }, { + "@type" : "AstTextComment", + "text" : " - ImFontAtlas automatically loads a default embedded font for you if you didn't load one manually." + }, { + "@type" : "AstTextComment", + "text" : " - Since 1.92.0 a font may be rendered as any size! Therefore a font doesn't have one specific size." + }, { + "@type" : "AstTextComment", + "text" : " - Use 'font->GetFontBaked(size)' to retrieve the ImFontBaked* corresponding to a given size." + }, { + "@type" : "AstTextComment", + "text" : " - If you used g.Font + g.FontSize (which is frequent from the ImGui layer), you can use g.FontBaked as a shortcut, as g.FontBaked == g.Font->GetFontBaked(g.FontSize)." + } ] + } ] }, { "@type" : "AstFieldDecl", - "name" : "FallbackGlyph", - "qualType" : "const ImFontGlyph *", - "desugaredQualType" : "const ImFontGlyph *" + "name" : "LastBaked", + "qualType" : "ImFontBaked *", + "desugaredQualType" : "ImFontBaked *" }, { "@type" : "AstFieldDecl", - "name" : "ContainerAtlas", + "name" : "OwnerAtlas", "qualType" : "ImFontAtlas *", "desugaredQualType" : "ImFontAtlas *" }, { "@type" : "AstFieldDecl", - "name" : "ConfigData", - "qualType" : "const ImFontConfig *", - "desugaredQualType" : "const ImFontConfig *" - }, { - "@type" : "AstFieldDecl", - "name" : "ConfigDataCount", - "qualType" : "short", - "desugaredQualType" : "short" - }, { - "@type" : "AstFieldDecl", - "name" : "FallbackChar", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" - }, { - "@type" : "AstFieldDecl", - "name" : "EllipsisChar", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" - }, { - "@type" : "AstFieldDecl", - "name" : "EllipsisCharCount", - "qualType" : "short", - "desugaredQualType" : "short" + "name" : "Flags", + "qualType" : "ImFontFlags", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", - "name" : "EllipsisWidth", + "name" : "CurrentRasterizerDensity", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "EllipsisCharStep", + "name" : "FontId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "LegacySize", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "DirtyLookupTables", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "Sources", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "Scale", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "EllipsisChar", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", - "name" : "Ascent", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "FallbackChar", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", - "name" : "Descent", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "Used8kPagesMap", + "qualType" : "ImU8[1]", + "desugaredQualType" : "ImU8[1]" }, { "@type" : "AstFieldDecl", - "name" : "MetricsTotalSurface", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "EllipsisAutoBake", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "Used4kPagesMap", - "qualType" : "ImU8[2]", - "desugaredQualType" : "ImU8[2]" - }, { - "@type" : "AstFunctionDecl", - "name" : "FindGlyph", - "resultType" : "const ImFontGlyph *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" - } ] + "name" : "RemapPairs", + "qualType" : "ImGuiStorage", + "desugaredQualType" : "ImGuiStorage" }, { - "@type" : "AstFunctionDecl", - "name" : "FindGlyphNoFallback", - "resultType" : "const ImFontGlyph *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" - } ] + "@type" : "AstFieldDecl", + "name" : "Scale", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFunctionDecl", - "name" : "GetCharAdvance", - "resultType" : "float", + "name" : "IsGlyphInFont", + "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "c", @@ -18458,6 +20664,37 @@ "@type" : "AstFunctionDecl", "name" : "GetDebugName", "resultType" : "const char *" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFontBaked", + "resultType" : "ImFontBaked *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font_size", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "density", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "-1.0f" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " [Internal] Don't use!" + }, { + "@type" : "AstTextComment", + "text" : " 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable." + }, { + "@type" : "AstTextComment", + "text" : " 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable." + } ] + } ] + } ] }, { "@type" : "AstFunctionDecl", "name" : "CalcTextSizeA", @@ -18490,30 +20727,18 @@ "defaultValue" : "NULL" }, { "@type" : "AstParmVarDecl", - "name" : "remaining", + "name" : "out_remaining", "qualType" : "const char **", "desugaredQualType" : "const char **", "defaultValue" : "NULL" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable." - }, { - "@type" : "AstTextComment", - "text" : " 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable." - } ] - } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "CalcWordWrapPositionA", + "name" : "CalcWordWrapPosition", "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "scale", + "name" : "size", "qualType" : "float", "desugaredQualType" : "float" }, { @@ -18561,6 +20786,12 @@ "name" : "c", "qualType" : "ImWchar", "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstParmVarDecl", + "name" : "cpu_fine_clip", + "qualType" : "const ImVec4 *", + "desugaredQualType" : "const ImVec4 *", + "defaultValue" : "NULL" } ] }, { "@type" : "AstFunctionDecl", @@ -18609,134 +20840,64 @@ "defaultValue" : "0.0f" }, { "@type" : "AstParmVarDecl", - "name" : "cpu_fine_clip", - "qualType" : "bool", - "desugaredQualType" : "bool", - "defaultValue" : "false" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "BuildLookupTable", - "resultType" : "void", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " [Internal] Don't use!" - } ] - } ] - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ClearOutputData", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "GrowIndex", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "new_size", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "flags", + "qualType" : "ImDrawTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", - "name" : "AddGlyph", - "resultType" : "void", + "name" : "CalcWordWrapPositionA", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "src_cfg", - "qualType" : "const ImFontConfig *", - "desugaredQualType" : "const ImFontConfig *" - }, { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" - }, { - "@type" : "AstParmVarDecl", - "name" : "x0", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "y0", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "x1", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "y1", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "u0", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "v0", + "name" : "scale", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstParmVarDecl", - "name" : "u1", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "v1", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "advance_x", + "name" : "wrap_width", "qualType" : "float", "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "AddRemapChar", + "name" : "ClearOutputData", "resultType" : "void", "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "dst", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" - }, { - "@type" : "AstParmVarDecl", - "name" : "src", - "qualType" : "ImWchar", - "desugaredQualType" : "unsigned short" - }, { - "@type" : "AstParmVarDecl", - "name" : "overwrite_dst", - "qualType" : "bool", - "desugaredQualType" : "bool", - "defaultValue" : "true" + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " [Internal] Don't use!" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetGlyphVisible", + "name" : "AddRemapChar", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "c", + "name" : "from_codepoint", "qualType" : "ImWchar", "desugaredQualType" : "unsigned short" }, { "@type" : "AstParmVarDecl", - "name" : "visible", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "to_codepoint", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" } ] }, { "@type" : "AstFunctionDecl", @@ -18754,6 +20915,34 @@ "desugaredQualType" : "unsigned int" } ] } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTexID", + "resultType" : "ImTextureID", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " This is provided for consistency (but we don't actually use this)" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTexID", + "resultType" : "ImTextureID", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Using an indirection to avoid patching ImDrawCmd after a SetTexID() call (but this could be an alternative solution too)" + } ] + } ] + } ] }, { "@type" : "AstEnumDecl", "name" : "ImGuiViewportFlags_", @@ -18792,7 +20981,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiViewportFlags_OwnedByApp", - "docComment" : "Platform Window: Was created/managed by the user application? (rather than our backend)", + "docComment" : "Platform Window: Is created/managed by the user application? (rather than our backend)", "qualType" : "ImGuiViewportFlags_", "order" : 3, "value" : "1 << 2", @@ -18936,6 +21125,11 @@ "name" : "Size", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "FramebufferScale", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" }, { "@type" : "AstFieldDecl", "name" : "WorkPos", @@ -18956,6 +21150,11 @@ "name" : "ParentViewportId", "qualType" : "ImGuiID", "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ParentViewport", + "qualType" : "ImGuiViewport *", + "desugaredQualType" : "ImGuiViewport *" }, { "@type" : "AstFieldDecl", "name" : "DrawData", @@ -19019,6 +21218,10 @@ "@type" : "AstFunctionDecl", "name" : "GetWorkCenter", "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetDebugName", + "resultType" : "const char *" } ] }, { "@type" : "AstRecordDecl", @@ -19029,9 +21232,64 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " (Optional) Access via ImGui::GetPlatformIO()" + "text" : " Access via ImGui::GetPlatformIO()" } ] } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_GetClipboardTextFn", + "qualType" : "const char *(*)(ImGuiContext *)", + "desugaredQualType" : "const char *(*)(ImGuiContext *)" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_SetClipboardTextFn", + "qualType" : "void (*)(ImGuiContext *, const char *)", + "desugaredQualType" : "void (*)(ImGuiContext *, const char *)" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_ClipboardUserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_OpenInShellFn", + "qualType" : "bool (*)(ImGuiContext *, const char *)", + "desugaredQualType" : "bool (*)(ImGuiContext *, const char *)" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_OpenInShellUserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_SetImeDataFn", + "qualType" : "void (*)(ImGuiContext *, ImGuiViewport *, ImGuiPlatformImeData *)", + "desugaredQualType" : "void (*)(ImGuiContext *, ImGuiViewport *, ImGuiPlatformImeData *)" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_ImeUserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_LocaleDecimalPoint", + "qualType" : "ImWchar", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "Renderer_TextureMaxWidth", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Renderer_TextureMaxHeight", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Renderer_RenderState", + "qualType" : "void *", + "desugaredQualType" : "void *" }, { "@type" : "AstFieldDecl", "name" : "Platform_CreateWindow", @@ -19067,6 +21325,11 @@ "name" : "Platform_GetWindowSize", "qualType" : "ImVec2 (*)(ImGuiViewport *)", "desugaredQualType" : "ImVec2 (*)(ImGuiViewport *)" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_GetWindowFramebufferScale", + "qualType" : "ImVec2 (*)(ImGuiViewport *)", + "desugaredQualType" : "ImVec2 (*)(ImGuiViewport *)" }, { "@type" : "AstFieldDecl", "name" : "Platform_SetWindowFocus", @@ -19117,6 +21380,11 @@ "name" : "Platform_OnChangedViewport", "qualType" : "void (*)(ImGuiViewport *)", "desugaredQualType" : "void (*)(ImGuiViewport *)" + }, { + "@type" : "AstFieldDecl", + "name" : "Platform_GetWindowWorkAreaInsets", + "qualType" : "ImVec4 (*)(ImGuiViewport *)", + "desugaredQualType" : "ImVec4 (*)(ImGuiViewport *)" }, { "@type" : "AstFieldDecl", "name" : "Platform_CreateVkSurface", @@ -19152,11 +21420,40 @@ "name" : "Monitors", "qualType" : "ImVector", "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "Textures", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", "name" : "Viewports", "qualType" : "ImVector", "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearPlatformHandlers", + "resultType" : "void", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " Functions" + }, { + "@type" : "AstTextComment", + "text" : "------------------------------------------------------------------" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearRendererHandlers", + "resultType" : "void" } ] }, { "@type" : "AstRecordDecl", @@ -19213,7 +21510,7 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " (Optional) Support for IME (Input Method Editor) via the io.SetPlatformImeDataFn() function." + "text" : " (Optional) Support for IME (Input Method Editor) via the platform_io.Platform_SetImeDataFn() function. Handler is called during EndFrame()." } ] } ] }, { @@ -19221,6 +21518,11 @@ "name" : "WantVisible", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantTextInput", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "InputPos", @@ -19231,172 +21533,95 @@ "name" : "InputLineHeight", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ViewportId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" } ] }, { "@type" : "AstNamespaceDecl", "name" : "ImGui", "decls" : [ { "@type" : "AstFunctionDecl", - "name" : "BeginChildFrame", - "resultType" : "bool", + "name" : "PushFont", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "id", - "qualType" : "ImGuiID", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "window_flags", - "qualType" : "ImGuiWindowFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.90.0 (from September 2023)" + "text" : " OBSOLETED in 1.92.0 (from June 2025)" } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "EndChildFrame", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "ShowStackToolWindow", + "name" : "SetWindowFontScale", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : "NULL" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : "static inline bool BeginChild(const char* str_id, const ImVec2" - }, { - "@type" : "AstTextComment", - "text" : "&" - }, { - "@type" : "AstTextComment", - "text" : " size_arg, bool border, ImGuiWindowFlags window_flags){ return BeginChild(str_id, size_arg, border ? ImGuiChildFlags_Border : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Border" - }, { - "@type" : "AstTextComment", - "text" : "static inline bool BeginChild(ImGuiID id, const ImVec2" - }, { - "@type" : "AstTextComment", - "text" : "&" - }, { - "@type" : "AstTextComment", - "text" : " size_arg, bool border, ImGuiWindowFlags window_flags) { return BeginChild(id, size_arg, border ? ImGuiChildFlags_Border : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Border" - } ] - } ] + "name" : "scale", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ListBox", - "resultType" : "bool", + "name" : "Image", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "current_item", - "qualType" : "int *", - "desugaredQualType" : "int *" - }, { - "@type" : "AstParmVarDecl", - "name" : "old_callback", - "qualType" : "bool (*)(void *, int, const char **)", - "desugaredQualType" : "bool (*)(void *, int, const char **)" - }, { - "@type" : "AstParmVarDecl", - "name" : "user_data", - "qualType" : "void *", - "desugaredQualType" : "void *" - }, { - "@type" : "AstParmVarDecl", - "name" : "items_count", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", - "name" : "height_in_items", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "-1" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "Combo", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "name" : "image_size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "current_item", - "qualType" : "int *", - "desugaredQualType" : "int *" + "name" : "uv0", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "old_callback", - "qualType" : "bool (*)(void *, int, const char **)", - "desugaredQualType" : "bool (*)(void *, int, const char **)" + "name" : "uv1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "user_data", - "qualType" : "void *", - "desugaredQualType" : "void *" + "name" : "tint_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" }, { "@type" : "AstParmVarDecl", - "name" : "items_count", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "border_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" }, { - "@type" : "AstParmVarDecl", - "name" : "popup_max_height_in_items", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "-1" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "SetItemAllowOverlap", - "resultType" : "void", - "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.89.7 (from June 2023)" + "text" : " OBSOLETED in 1.91.9 (from February 2025)" } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "PushAllowKeyboardFocus", + "name" : "PushButtonRepeat", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "tab_stop", + "name" : "repeat", "qualType" : "bool", "desugaredQualType" : "bool" }, { @@ -19405,126 +21630,50 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.89.4 (from March 2023)" + "text" : " OBSOLETED in 1.91.0 (from July 2024)" } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopAllowKeyboardFocus", + "name" : "PopButtonRepeat", "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "ImageButton", - "resultType" : "bool", + "name" : "PushTabStop", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "uv0", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(0, 0)" - }, { - "@type" : "AstParmVarDecl", - "name" : "uv1", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(1, 1)" - }, { - "@type" : "AstParmVarDecl", - "name" : "frame_padding", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "-1" - }, { - "@type" : "AstParmVarDecl", - "name" : "bg_col", - "qualType" : "const ImVec4 &", - "desugaredQualType" : "const ImVec4 &", - "defaultValue" : "ImVec4(0, 0, 0, 0)" - }, { - "@type" : "AstParmVarDecl", - "name" : "tint_col", - "qualType" : "const ImVec4 &", - "desugaredQualType" : "const ImVec4 &", - "defaultValue" : "ImVec4(1, 1, 1, 1)" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.89 (from August 2022)" - } ] - } ] + "name" : "tab_stop", + "qualType" : "bool", + "desugaredQualType" : "bool" } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetKeyIndex", - "resultType" : "ImGuiKey", + "name" : "PopTabStop", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetContentRegionMax", + "resultType" : "ImVec2", "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "key", - "qualType" : "ImGuiKey", - "desugaredQualType" : "ImGuiKey" - }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.87 (from February 2022 but more formally obsoleted April 2024)" + "text" : " You do not need those functions! See #7838 on GitHub for more info." } ] } ] } ] - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiModFlags_", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiModFlags_None", - "qualType" : "ImGuiModFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : 0 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiModFlags_Ctrl", - "qualType" : "ImGuiModFlags_", - "order" : 1, - "value" : "ImGuiMod_Ctrl", - "evaluatedValue" : 4096 }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiModFlags_Shift", - "qualType" : "ImGuiModFlags_", - "order" : 2, - "value" : "ImGuiMod_Shift", - "evaluatedValue" : 8192 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiModFlags_Alt", - "qualType" : "ImGuiModFlags_", - "order" : 3, - "value" : "ImGuiMod_Alt", - "evaluatedValue" : 16384 + "@type" : "AstFunctionDecl", + "name" : "GetWindowContentRegionMin", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiModFlags_Super", - "qualType" : "ImGuiModFlags_", - "order" : 4, - "value" : "ImGuiMod_Super", - "evaluatedValue" : 32768 + "@type" : "AstFunctionDecl", + "name" : "GetWindowContentRegionMax", + "resultType" : "ImVec2" } ] } ] } \ No newline at end of file diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-imgui_freetype.json b/buildSrc/src/main/resources/generator/api/ast/ast-imgui_freetype.json index 5900c2c7..be747243 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-imgui_freetype.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-imgui_freetype.json @@ -1,9 +1,9 @@ { "info" : { "source" : "include/imgui/misc/freetype/imgui_freetype.h", - "hash" : "b08898b2e1013c180b4ee5b2846938bf", + "hash" : "fda5fd9d652f6c2e7809442df117a02e", "url" : "https://github.com/ocornut/imgui", - "revision" : "3369cbd2776d7567ac198b1a3017a4fa2d547cc3" + "revision" : "b1bcb12a624af7509894c8e77dd47416997777fa" }, "decls" : [ { "@type" : "AstRecordDecl", @@ -20,114 +20,157 @@ } ] }, { "@type" : "AstEnumDecl", - "name" : "ImGuiFreeTypeBuilderFlags", + "name" : "ImGuiFreeTypeLoaderFlags_", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Hinting greatly impacts visuals (and glyph sizes)." - }, { - "@type" : "AstTextComment", - "text" : " - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter." - }, { - "@type" : "AstTextComment", - "text" : " - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h" - }, { - "@type" : "AstTextComment", - "text" : " - The Default hinting mode usually looks good, but may distort glyphs in an unusual way." - }, { - "@type" : "AstTextComment", - "text" : " - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer." - }, { - "@type" : "AstTextComment", - "text" : " You can set those flags globaly in ImFontAtlas::FontBuilderFlags" - }, { - "@type" : "AstTextComment", - "text" : " You can set those flags on a per font basis in ImFontConfig::FontBuilderFlags" - } ] - } ] - }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_NoHinting", + "name" : "ImGuiFreeTypeLoaderFlags_NoHinting", "docComment" : "Disable hinting. This generally generates 'blurrier' bitmap glyphs when the glyph are rendered in any of the anti-aliased modes.", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 0, "value" : "1 << 0", "evaluatedValue" : 1 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_NoAutoHint", + "name" : "ImGuiFreeTypeLoaderFlags_NoAutoHint", "docComment" : "Disable auto-hinter.", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 1, "value" : "1 << 1", "evaluatedValue" : 2 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_ForceAutoHint", + "name" : "ImGuiFreeTypeLoaderFlags_ForceAutoHint", "docComment" : "Indicates that the auto-hinter is preferred over the font's native hinter.", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 2, "value" : "1 << 2", "evaluatedValue" : 4 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_LightHinting", + "name" : "ImGuiFreeTypeLoaderFlags_LightHinting", "docComment" : "A lighter hinting algorithm for gray-level modes. Many generated glyphs are fuzzier but better resemble their original shape. This is achieved by snapping glyphs to the pixel grid only vertically (Y-axis), as is done by Microsoft's ClearType and Adobe's proprietary font renderer. This preserves inter-glyph spacing in horizontal text.", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 3, "value" : "1 << 3", "evaluatedValue" : 8 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_MonoHinting", + "name" : "ImGuiFreeTypeLoaderFlags_MonoHinting", "docComment" : "Strong hinting algorithm that should only be used for monochrome output.", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 4, "value" : "1 << 4", "evaluatedValue" : 16 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_Bold", + "name" : "ImGuiFreeTypeLoaderFlags_Bold", "docComment" : "Styling: Should we artificially embolden the font?", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 5, "value" : "1 << 5", "evaluatedValue" : 32 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_Oblique", + "name" : "ImGuiFreeTypeLoaderFlags_Oblique", "docComment" : "Styling: Should we slant the font, emulating italic style?", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 6, "value" : "1 << 6", "evaluatedValue" : 64 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_Monochrome", + "name" : "ImGuiFreeTypeLoaderFlags_Monochrome", "docComment" : "Disable anti-aliasing. Combine this with MonoHinting for best results!", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 7, "value" : "1 << 7", "evaluatedValue" : 128 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_LoadColor", + "name" : "ImGuiFreeTypeLoaderFlags_LoadColor", "docComment" : "Enable FreeType color-layered glyphs", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 8, "value" : "1 << 8", "evaluatedValue" : 256 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiFreeTypeBuilderFlags_Bitmap", + "name" : "ImGuiFreeTypeLoaderFlags_Bitmap", "docComment" : "Enable FreeType bitmap glyphs", - "qualType" : "ImGuiFreeTypeBuilderFlags", + "qualType" : "ImGuiFreeTypeLoaderFlags_", "order" : 9, "value" : "1 << 9", "evaluatedValue" : 512 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_NoHinting", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 10, + "value" : "ImGuiFreeTypeLoaderFlags_NoHinting", + "evaluatedValue" : 1 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_NoAutoHint", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 11, + "value" : "ImGuiFreeTypeLoaderFlags_NoAutoHint", + "evaluatedValue" : 2 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_ForceAutoHint", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 12, + "value" : "ImGuiFreeTypeLoaderFlags_ForceAutoHint", + "evaluatedValue" : 4 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_LightHinting", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 13, + "value" : "ImGuiFreeTypeLoaderFlags_LightHinting", + "evaluatedValue" : 8 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_MonoHinting", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 14, + "value" : "ImGuiFreeTypeLoaderFlags_MonoHinting", + "evaluatedValue" : 16 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_Bold", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 15, + "value" : "ImGuiFreeTypeLoaderFlags_Bold", + "evaluatedValue" : 32 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_Oblique", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 16, + "value" : "ImGuiFreeTypeLoaderFlags_Oblique", + "evaluatedValue" : 64 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_Monochrome", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 17, + "value" : "ImGuiFreeTypeLoaderFlags_Monochrome", + "evaluatedValue" : 128 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_LoadColor", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 18, + "value" : "ImGuiFreeTypeLoaderFlags_LoadColor", + "evaluatedValue" : 256 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiFreeTypeBuilderFlags_Bitmap", + "qualType" : "ImGuiFreeTypeLoaderFlags_", + "order" : 19, + "value" : "ImGuiFreeTypeLoaderFlags_Bitmap", + "evaluatedValue" : 512 } ] }, { "@type" : "AstNamespaceDecl", @@ -151,7 +194,7 @@ "name" : "user_data", "qualType" : "void *", "desugaredQualType" : "void *", - "defaultValue" : "=" + "defaultValue" : "nullptr" }, { "@type" : "AstFullComment", "decls" : [ { @@ -165,6 +208,25 @@ } ] } ] } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DebugEditFontLoaderFlags", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p_font_loader_flags", + "qualType" : "ImGuiFreeTypeLoaderFlags *", + "desugaredQualType" : "ImGuiFreeTypeLoaderFlags *" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Display UI to edit ImFontAtlas::FontLoaderFlags (shared) or ImFontConfig::FontLoaderFlags (single source)" + } ] + } ] + } ] } ] } ] } \ No newline at end of file diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json b/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json index 37cec17a..526ba4e0 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json @@ -1,9 +1,9 @@ { "info" : { "source" : "include/imgui/imgui_internal.h", - "hash" : "eceadc9faeb62275fa38d4df526bc032", + "hash" : "dd8d55051ed68fa81f5c11657334247d", "url" : "https://github.com/ocornut/imgui", - "revision" : "3369cbd2776d7567ac198b1a3017a4fa2d547cc3" + "revision" : "b1bcb12a624af7509894c8e77dd47416997777fa" }, "decls" : [ { "@type" : "AstRecordDecl", @@ -14,13 +14,72 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" + "text" : " Utilities" }, { "@type" : "AstTextComment", - "text" : " [SECTION] Forward declarations" + "text" : " (other types which are not forwarded declared are: ImBitArray" }, { "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : ">, ImSpan" + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : ">, ImSpanAllocator" + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : ">, ImStableVector" + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : ">, ImPool" + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : ">, ImChunkStream" + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : ">)" + } ] + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImDrawDataBuilder", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImDrawList/ImFontAtlas" + } ] + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiBoxSelectState", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImGui" } ] } ] } ] @@ -33,7 +92,7 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Forward declarations" + "text" : " Forward declarations: ImDrawList, ImFontAtlas layer" } ] } ] } ] @@ -54,21 +113,15 @@ } ] } ] }, { - "@type" : "AstNamespaceDecl", - "name" : "ImStb", + "@type" : "AstRecordDecl", + "name" : "ImGuiContext", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : "-------------------------------------------------------------------------" - }, { - "@type" : "AstTextComment", - "text" : " [SECTION] STB libraries includes" - }, { - "@type" : "AstTextComment", - "text" : "-------------------------------------------------------------------------" + "text" : " Forward declarations: ImGui layer" } ] } ] } ] @@ -90,13 +143,13 @@ "text" : " - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists!" }, { "@type" : "AstTextComment", - "text" : " - In Visual Studio: CTRL+comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas CTRL+F12 (\"Edit.GoToImplementation\") cannot." + "text" : " - In Visual Studio: Ctrl+Comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas Ctrl+F12 (\"Edit.GoToImplementation\") cannot." }, { "@type" : "AstTextComment", - "text" : " - In Visual Studio w/ Visual Assist installed: ALT+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments." + "text" : " - In Visual Studio w/ Visual Assist installed: Alt+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments." }, { "@type" : "AstTextComment", - "text" : " - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments." + "text" : " - In VS Code, CLion, etc.: Ctrl+Click can follow symbols inside comments." } ] } ] } ] @@ -152,6 +205,16 @@ "desugaredQualType" : "unsigned int", "defaultValue" : "0" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImHashSkipUncontributingPrefix", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImQsort", @@ -220,35 +283,6 @@ } ] } ] } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImVec2", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " ImVec2: 2D vector used to store positions, sizes etc. [Compile-time configurable type]" - }, { - "@type" : "AstTextComment", - "text" : " This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type." - }, { - "@type" : "AstTextComment", - "text" : " Add '#define IMGUI_DEFINE_MATH_OPERATORS' in your imconfig.h file to benefit from courtesy maths operators for those types." - } ] - } ] - }, { - "@type" : "AstFieldDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstFieldDecl", - "name" : "y", - "qualType" : "float", - "desugaredQualType" : "float" - } ] }, { "@type" : "AstFunctionDecl", "name" : "ImIsPowerOfTwo", @@ -269,6 +303,16 @@ "qualType" : "int", "desugaredQualType" : "int" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImCountSetBits", + "resultType" : "unsigned int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImStricmp", @@ -283,15 +327,6 @@ "name" : "str2", "qualType" : "const char *", "desugaredQualType" : "const char *" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Helpers: String" - } ] - } ] } ] }, { "@type" : "AstFunctionDecl", @@ -333,26 +368,22 @@ "qualType" : "size_t", "desugaredQualType" : "unsigned long" } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImStrdup", - "resultType" : "char *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "str", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] }, { "@type" : "AstRecordDecl", - "name" : "ImVec4", + "name" : "ImVec2", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]" + "text" : " ImVec2: 2D vector used to store positions, sizes etc. [Compile-time configurable type]" + }, { + "@type" : "AstTextComment", + "text" : " - This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type." + }, { + "@type" : "AstTextComment", + "text" : " - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4." } ] } ] }, { @@ -365,16 +396,31 @@ "name" : "y", "qualType" : "float", "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImStrdup", + "resultType" : "char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImMemdup", + "resultType" : "void *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "src", + "qualType" : "const void *", + "desugaredQualType" : "const void *" }, { - "@type" : "AstFieldDecl", - "name" : "z", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstFieldDecl", - "name" : "w", - "qualType" : "float", - "desugaredQualType" : "float" + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" } ] }, { "@type" : "AstFunctionDecl", @@ -456,6 +502,39 @@ "qualType" : "const char *", "desugaredQualType" : "const char *" } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImVec4", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "y", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "z", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "w", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImStrTrimBlanks", @@ -487,748 +566,1073 @@ "desugaredQualType" : "const ImWchar *" } ] }, { - "@type" : "AstNamespaceDecl", - "name" : "ImGui", + "@type" : "AstFunctionDecl", + "name" : "ImStrbol", + "resultType" : "const char *", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" - }, { - "@type" : "AstTextComment", - "text" : " [SECTION] Dear ImGui end-user API functions" - }, { - "@type" : "AstTextComment", - "text" : " (Note that ImGui:: being a namespace, you can add extra ImGui:: functions in your own separate file. Please don't modify imgui source files!)" - }, { - "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" - } ] - } ] + "@type" : "AstParmVarDecl", + "name" : "buf_mid_line", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "CreateContext", - "resultType" : "ImGuiContext *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "shared_font_atlas", - "qualType" : "ImFontAtlas *", - "desugaredQualType" : "ImFontAtlas *", - "defaultValue" : "MSVC" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Context creation and access" - }, { - "@type" : "AstTextComment", - "text" : " - Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between contexts." - }, { - "@type" : "AstTextComment", - "text" : " - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()" - }, { - "@type" : "AstTextComment", - "text" : " for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for details." - } ] - } ] - } ] + "@type" : "AstParmVarDecl", + "name" : "buf_begin", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImToUpper", + "resultType" : "char", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "char", + "desugaredQualType" : "char" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImCharIsBlankA", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "char", + "desugaredQualType" : "char" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImCharIsBlankW", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImCharIsXdigitA", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "char", + "desugaredQualType" : "char" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFormatString", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "DestroyContext", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "ctx", - "qualType" : "ImGuiContext *", - "desugaredQualType" : "ImGuiContext *", - "defaultValue" : " " - } ] + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" }, { - "@type" : "AstFunctionDecl", - "name" : "GetCurrentContext", - "resultType" : "ImGuiContext *" + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "SetCurrentContext", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "ctx", - "qualType" : "ImGuiContext *", - "desugaredQualType" : "ImGuiContext *" - } ] + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" }, { - "@type" : "AstFunctionDecl", - "name" : "GetIO", - "resultType" : "ImGuiIO &", + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstParagraphComment", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Main" - } ] + "@type" : "AstTextComment", + "text" : " Helpers: Formatting" } ] } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFormatStringV", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetStyle", - "resultType" : "ImGuiStyle &" - }, { - "@type" : "AstFunctionDecl", - "name" : "NewFrame", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "EndFrame", - "resultType" : "void" + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" }, { - "@type" : "AstFunctionDecl", - "name" : "Render", - "resultType" : "void" + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetDrawData", - "resultType" : "ImDrawData *" + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "va_list", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowDemoWindow", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : " " - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Demo, Debug, Information" - } ] - } ] - } ] + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFormatStringToTempBuffer", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_buf", + "qualType" : "const char **", + "desugaredQualType" : "const char **" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowMetricsWindow", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : "LL);" - } ] + "@type" : "AstParmVarDecl", + "name" : "out_buf_end", + "qualType" : "const char **", + "desugaredQualType" : "const char **" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowDebugLogWindow", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : "F-8 " - } ] + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowIDStackToolWindow", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : " //" - } ] + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFormatStringToTempBufferV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_buf", + "qualType" : "const char **", + "desugaredQualType" : "const char **" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowAboutWindow", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : " " - } ] + "@type" : "AstParmVarDecl", + "name" : "out_buf_end", + "qualType" : "const char **", + "desugaredQualType" : "const char **" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowStyleEditor", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "ref", - "qualType" : "ImGuiStyle *", - "desugaredQualType" : "ImGuiStyle *", - "defaultValue" : "curr" - } ] + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowStyleSelector", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "va_list", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "ShowFontSelector", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ShowUserGuide", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetVersion", - "resultType" : "const char *" + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImParseFormatFindStart", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImParseFormatFindEnd", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImParseFormatTrimDecorations", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "StyleColorsDark", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "dst", - "qualType" : "ImGuiStyle *", - "desugaredQualType" : "ImGuiStyle *", - "defaultValue" : "ULT_" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Styles" - } ] - } ] - } ] + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "StyleColorsLight", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "dst", - "qualType" : "ImGuiStyle *", - "desugaredQualType" : "ImGuiStyle *", - "defaultValue" : "onst" - } ] + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImParseFormatSanitizeForPrinting", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt_in", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "StyleColorsClassic", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "dst", - "qualType" : "ImGuiStyle *", - "desugaredQualType" : "ImGuiStyle *", - "defaultValue" : "andl" - } ] + "@type" : "AstParmVarDecl", + "name" : "fmt_out", + "qualType" : "char *", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "Begin", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "name", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : "); }" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiWindowFlags", - "desugaredQualType" : "int", - "defaultValue" : "r" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Windows" - }, { - "@type" : "AstTextComment", - "text" : " - Begin() = push window to the stack and start appending to it. End() = pop window from the stack." - }, { - "@type" : "AstTextComment", - "text" : " - Passing 'bool* p_open != NULL' shows a window-closing widget in the upper-right corner of the window," - }, { - "@type" : "AstTextComment", - "text" : " which clicking will set the boolean to false when clicked." - }, { - "@type" : "AstTextComment", - "text" : " - You may append multiple times to the same window during the same frame by calling Begin()/End() pairs multiple times." - }, { - "@type" : "AstTextComment", - "text" : " Some information such as 'flags' or 'p_open' will only be considered by the first call to Begin()." - }, { - "@type" : "AstTextComment", - "text" : " - Begin() return false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting" - }, { - "@type" : "AstTextComment", - "text" : " anything to the window. Always call a matching End() for each Begin() call, regardless of its return value!" - }, { - "@type" : "AstTextComment", - "text" : " [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions" - }, { - "@type" : "AstTextComment", - "text" : " such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding" - }, { - "@type" : "AstTextComment", - "text" : " BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" - }, { - "@type" : "AstTextComment", - "text" : " - Note that the bottom of window stack always contains a window called \"Debug\"." - } ] - } ] - } ] + "@type" : "AstParmVarDecl", + "name" : "fmt_out_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImParseFormatSanitizeForScanning", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt_in", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "End", - "resultType" : "void" + "@type" : "AstParmVarDecl", + "name" : "fmt_out", + "qualType" : "char *", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "BeginChild", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "a < mn + b))" - }, { - "@type" : "AstParmVarDecl", - "name" : "child_flags", - "qualType" : "ImGuiChildFlags", - "desugaredQualType" : "int", - "defaultValue" : " " - }, { - "@type" : "AstParmVarDecl", - "name" : "window_flags", - "qualType" : "ImGuiWindowFlags", - "desugaredQualType" : "int", - "defaultValue" : "/" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Child Windows" - }, { - "@type" : "AstTextComment", - "text" : " - Use child windows to begin into a self-contained independent scrolling/clipping regions within a host window. Child windows can embed their own child." - }, { - "@type" : "AstTextComment", - "text" : " - Before 1.90 (November 2023), the \"ImGuiChildFlags child_flags = 0\" parameter was \"bool border = false\"." - }, { - "@type" : "AstTextComment", - "text" : " This API is backward compatible with old code, as we guarantee that ImGuiChildFlags_Border == true." - }, { - "@type" : "AstTextComment", - "text" : " Consider updating your old code:" - }, { - "@type" : "AstTextComment", - "text" : " BeginChild(\"Name\", size, false) -> Begin(\"Name\", size, 0); or Begin(\"Name\", size, ImGuiChildFlags_None);" - }, { - "@type" : "AstTextComment", - "text" : " BeginChild(\"Name\", size, true) -> Begin(\"Name\", size, ImGuiChildFlags_Border);" - }, { - "@type" : "AstTextComment", - "text" : " - Manual sizing (each axis can use a different setting e.g. ImVec2(0.0f, 400.0f)):" - }, { - "@type" : "AstTextComment", - "text" : " == 0.0f: use remaining parent window size for this axis." - }, { - "@type" : "AstTextComment", - "text" : " > 0.0f: use specified size for this axis." - }, { - "@type" : "AstTextComment", - "text" : " " - }, { - "@type" : "AstTextComment", - "text" : "<" - }, { - "@type" : "AstTextComment", - "text" : " 0.0f: right/bottom-align to specified distance from available content boundaries." - }, { - "@type" : "AstTextComment", - "text" : " - Specifying ImGuiChildFlags_AutoResizeX or ImGuiChildFlags_AutoResizeY makes the sizing automatic based on child contents." - }, { - "@type" : "AstTextComment", - "text" : " Combining both ImGuiChildFlags_AutoResizeX _and_ ImGuiChildFlags_AutoResizeY defeats purpose of a scrolling region and is NOT recommended." - }, { - "@type" : "AstTextComment", - "text" : " - BeginChild() returns false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting" - }, { - "@type" : "AstTextComment", - "text" : " anything to the window. Always call a matching EndChild() for each BeginChild() call, regardless of its return value." - }, { - "@type" : "AstTextComment", - "text" : " [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions" - }, { - "@type" : "AstTextComment", - "text" : " such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding" - }, { - "@type" : "AstTextComment", - "text" : " BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" - } ] - } ] - } ] + "@type" : "AstParmVarDecl", + "name" : "fmt_out_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImParseFormatPrecision", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "BeginChild", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "id", - "qualType" : "ImGuiID", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "mVec2& rhs) " - }, { - "@type" : "AstParmVarDecl", - "name" : "child_flags", - "qualType" : "ImGuiChildFlags", - "desugaredQualType" : "int", - "defaultValue" : "h" - }, { - "@type" : "AstParmVarDecl", - "name" : "window_flags", - "qualType" : "ImGuiWindowFlags", - "desugaredQualType" : "int", - "defaultValue" : " " - } ] + "@type" : "AstParmVarDecl", + "name" : "default_value", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextCharToUtf8", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_buf", + "qualType" : "char *", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "EndChild", - "resultType" : "void" + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" }, { - "@type" : "AstFunctionDecl", - "name" : "IsWindowAppearing", - "resultType" : "bool", + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstParagraphComment", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Windows Utilities" - }, { - "@type" : "AstTextComment", - "text" : " - 'current window' = the window we are appending into while inside a Begin()/End() block. 'next window' = next window we will Begin() into." - } ] + "@type" : "AstTextComment", + "text" : " Helpers: UTF-8 " + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : "> wchar conversions" } ] } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextStrToUtf8", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_buf", + "qualType" : "char *", + "desugaredQualType" : "char *" }, { - "@type" : "AstFunctionDecl", - "name" : "IsWindowCollapsed", - "resultType" : "bool" + "@type" : "AstParmVarDecl", + "name" : "out_buf_size", + "qualType" : "int", + "desugaredQualType" : "int" }, { - "@type" : "AstFunctionDecl", - "name" : "IsWindowFocused", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiFocusedFlags", - "desugaredQualType" : "int", - "defaultValue" : "y" - } ] + "@type" : "AstParmVarDecl", + "name" : "in_text", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" }, { - "@type" : "AstFunctionDecl", - "name" : "IsWindowHovered", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiHoveredFlags", - "desugaredQualType" : "int", - "defaultValue" : " " - } ] + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextCharFromUtf8", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_char", + "qualType" : "unsigned int *", + "desugaredQualType" : "unsigned int *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowDrawList", - "resultType" : "ImDrawList *" + "@type" : "AstParmVarDecl", + "name" : "in_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowDpiScale", - "resultType" : "float" + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextStrFromUtf8", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_buf", + "qualType" : "ImWchar *", + "desugaredQualType" : "ImWchar *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowPos", - "resultType" : "ImVec2" + "@type" : "AstParmVarDecl", + "name" : "out_buf_size", + "qualType" : "int", + "desugaredQualType" : "int" }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowSize", - "resultType" : "ImVec2" + "@type" : "AstParmVarDecl", + "name" : "in_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowWidth", - "resultType" : "float" + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowHeight", - "resultType" : "float" + "@type" : "AstParmVarDecl", + "name" : "in_remaining", + "qualType" : "const char **", + "desugaredQualType" : "const char **", + "defaultValue" : "NULL" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextCountCharsFromUtf8", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowViewport", - "resultType" : "ImGuiViewport *" + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextCountUtf8BytesFromChar", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { - "@type" : "AstFunctionDecl", - "name" : "SetNextWindowPos", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "pos", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", - "desugaredQualType" : "int", - "defaultValue" : "c" - }, { - "@type" : "AstParmVarDecl", - "name" : "pivot", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "n_a, v.x * s" + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextCountUtf8BytesFromStr", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in_text", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" + }, { + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextFindPreviousUtf8Codepoint", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in_text_start", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "in_p", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextFindValidUtf8CodepointEnd", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in_text_start", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "in_p", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextCountLines", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImDrawTextFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helpers: High-level text functions (DO NOT USE!!! THIS IS A MINIMAL SUBSET OF LARGER UPCOMING CHANGES)" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImDrawTextFlags_None", + "qualType" : "ImDrawTextFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImDrawTextFlags_CpuFineClip", + "docComment" : "Must be == 1/true for legacy with 'bool cpu_fine_clip' arg to RenderText()", + "qualType" : "ImDrawTextFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : 1 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImDrawTextFlags_WrapKeepBlanks", + "qualType" : "ImDrawTextFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : 2 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImDrawTextFlags_StopOnNewLine", + "qualType" : "ImDrawTextFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : 4 + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFontCalcTextSizeEx", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "max_width", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "wrap_width", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "text_begin", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "text_end_display", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_remaining", + "qualType" : "const char **", + "desugaredQualType" : "const char **" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_offset", + "qualType" : "ImVec2 *", + "desugaredQualType" : "ImVec2 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImDrawTextFlags", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFontCalcWordWrapPositionEx", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "wrap_width", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImDrawTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImTextureRef", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImTextureRef = higher-level identifier for a texture. Store a ImTextureID _or_ a ImTextureData*." + }, { + "@type" : "AstTextComment", + "text" : " The identifier is valid even before the texture has been uploaded to the GPU/graphics system." + }, { + "@type" : "AstTextComment", + "text" : " This is what gets passed to functions such as `ImGui::Image()`, `ImDrawList::AddImage()`." + }, { + "@type" : "AstTextComment", + "text" : " This is what gets stored in draw commands (`ImDrawCmd`) to identify a texture during rendering." + }, { + "@type" : "AstTextComment", + "text" : " - When a texture is created by user code (e.g. custom images), we directly store the low-level ImTextureID." + }, { + "@type" : "AstTextComment", + "text" : " Because of this, when displaying your own texture you are likely to ever only manage ImTextureID values on your side." + }, { + "@type" : "AstTextComment", + "text" : " - When a texture is created by the backend, we stores a ImTextureData* which becomes an indirection" + }, { + "@type" : "AstTextComment", + "text" : " to extract the ImTextureID value during rendering, after texture upload has happened." + }, { + "@type" : "AstTextComment", + "text" : " - To create a ImTextureRef from a ImTextureData you can use ImTextureData::GetTexRef()." + }, { + "@type" : "AstTextComment", + "text" : " We intentionally do not provide an ImTextureRef constructor for this: we don't expect this" + }, { + "@type" : "AstTextComment", + "text" : " to be frequently useful to the end-user, and it would be erroneously called by many legacy code." + }, { + "@type" : "AstTextComment", + "text" : " - If you want to bind the current atlas when using custom rectangle, you can use io.Fonts->TexRef." + }, { + "@type" : "AstTextComment", + "text" : " - Binding generators for languages such as C (which don't have constructors), should provide a helper, e.g." + }, { + "@type" : "AstTextComment", + "text" : " inline ImTextureRef ImTextureRefFromID(ImTextureID tex_id) { ImTextureRef tex_ref = { ._TexData = NULL, .TexID = tex_id }; return tex_ref; }" + }, { + "@type" : "AstTextComment", + "text" : " In 1.92 we changed most drawing functions using ImTextureID to use ImTextureRef." + }, { + "@type" : "AstTextComment", + "text" : " We intentionally do not provide an implicit ImTextureRef -> ImTextureID cast operator because it is technically lossy to convert ImTextureRef to ImTextureID before rendering." + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTexID", + "resultType" : "ImTextureID" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextCalcWordWrapNextLineStart", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImDrawTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImWcharClass", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Character classification for word-wrapping logic" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImWcharClass_Blank", + "qualType" : "ImWcharClass", + "order" : 0, + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImWcharClass_Punct", + "qualType" : "ImWcharClass", + "order" : 1, + "evaluatedValue" : 1 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImWcharClass_Other", + "qualType" : "ImWcharClass", + "order" : 2, + "evaluatedValue" : 2 + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextInitClassifiers", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextClassifierClear", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "bits", + "qualType" : "ImU32 *", + "desugaredQualType" : "ImU32 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint_min", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint_end", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "char_class", + "qualType" : "ImWcharClass", + "desugaredQualType" : "ImWcharClass" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextClassifierSetCharClass", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "bits", + "qualType" : "ImU32 *", + "desugaredQualType" : "ImU32 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint_min", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint_end", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "char_class", + "qualType" : "ImWcharClass", + "desugaredQualType" : "ImWcharClass" + }, { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTextClassifierSetCharClassFromStr", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "bits", + "qualType" : "ImU32 *", + "desugaredQualType" : "ImU32 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint_min", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "codepoint_end", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "char_class", + "qualType" : "ImWcharClass", + "desugaredQualType" : "ImWcharClass" + }, { + "@type" : "AstParmVarDecl", + "name" : "s", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstNamespaceDecl", + "name" : "ImGui", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] Dear ImGui end-user API functions" + }, { + "@type" : "AstTextComment", + "text" : " (Note that ImGui:: being a namespace, you can add extra ImGui:: functions in your own separate file. Please don't modify imgui source files!)" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CreateContext", + "resultType" : "ImGuiContext *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "shared_font_atlas", + "qualType" : "ImFontAtlas *", + "desugaredQualType" : "ImFontAtlas *", + "defaultValue" : "andl" }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Window manipulation" + "text" : " Context creation and access" }, { "@type" : "AstTextComment", - "text" : " - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin)." + "text" : " - Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between contexts." + }, { + "@type" : "AstTextComment", + "text" : " - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()" + }, { + "@type" : "AstTextComment", + "text" : " for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for details." } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetNextWindowSize", + "name" : "DestroyContext", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", - "desugaredQualType" : "int", - "defaultValue" : "e" + "name" : "ctx", + "qualType" : "ImGuiContext *", + "desugaredQualType" : "ImGuiContext *", + "defaultValue" : " ImU" } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetNextWindowSizeConstraints", + "name" : "GetCurrentContext", + "resultType" : "ImGuiContext *" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetCurrentContext", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "size_min", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "size_max", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "custom_callback", - "qualType" : "ImGuiSizeCallback", - "desugaredQualType" : "void (*)(ImGuiSizeCallbackData *)", - "defaultValue" : " " - }, { - "@type" : "AstParmVarDecl", - "name" : "custom_callback_data", - "qualType" : "void *", - "desugaredQualType" : "void *", - "defaultValue" : ">= 1" + "name" : "ctx", + "qualType" : "ImGuiContext *", + "desugaredQualType" : "ImGuiContext *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetNextWindowContentSize", - "resultType" : "void", + "name" : "GetIO", + "resultType" : "ImGuiIO &", "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Main" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetNextWindowCollapsed", + "name" : "GetPlatformIO", + "resultType" : "ImGuiPlatformIO &" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetStyle", + "resultType" : "ImGuiStyle &" + }, { + "@type" : "AstFunctionDecl", + "name" : "NewFrame", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "EndFrame", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "Render", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetDrawData", + "resultType" : "ImDrawData *" + }, { + "@type" : "AstFunctionDecl", + "name" : "ShowDemoWindow", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "collapsed", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : ".0) " }, { - "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", - "desugaredQualType" : "int", - "defaultValue" : "f" + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Demo, Debug, Information" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetNextWindowFocus", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "SetNextWindowScroll", + "name" : "ShowMetricsWindow", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "scroll", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "nlin" } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetNextWindowBgAlpha", + "name" : "ShowDebugLogWindow", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "alpha", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "ng f" } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetNextWindowViewport", + "name" : "ShowIDStackToolWindow", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "viewport_id", - "qualType" : "ImGuiID", - "desugaredQualType" : "unsigned int" + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowPos", + "name" : "ShowAboutWindow", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "pos", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", - "desugaredQualType" : "int", - "defaultValue" : "c" + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "> T " } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowSize", + "name" : "ShowStyleEditor", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { + "name" : "ref", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ShowStyleSelector", + "resultType" : "bool", + "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", - "desugaredQualType" : "int", - "defaultValue" : "f" + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowCollapsed", + "name" : "ShowFontSelector", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "collapsed", - "qualType" : "bool", - "desugaredQualType" : "bool" - }, { - "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", - "desugaredQualType" : "int", - "defaultValue" : " " + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowFocus", + "name" : "ShowUserGuide", "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowFontScale", + "name" : "GetVersion", + "resultType" : "const char *" + }, { + "@type" : "AstFunctionDecl", + "name" : "StyleColorsDark", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "scale", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "dst", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : ".y :" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Styles" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowPos", + "name" : "StyleColorsLight", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "name", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "pos", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", - "desugaredQualType" : "int", - "defaultValue" : "w" + "name" : "dst", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : "retu" } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowSize", + "name" : "StyleColorsClassic", "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dst", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : "ec2&" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Begin", + "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "name", @@ -1236,327 +1640,862 @@ "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "r(v." }, { "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Windows" + }, { + "@type" : "AstTextComment", + "text" : " - Begin() = push window to the stack and start appending to it. End() = pop window from the stack." + }, { + "@type" : "AstTextComment", + "text" : " - Passing 'bool* p_open != NULL' shows a window-closing widget in the upper-right corner of the window," + }, { + "@type" : "AstTextComment", + "text" : " which clicking will set the boolean to false when clicked." + }, { + "@type" : "AstTextComment", + "text" : " - You may append multiple times to the same window during the same frame by calling Begin()/End() pairs multiple times." + }, { + "@type" : "AstTextComment", + "text" : " Some information such as 'flags' or 'p_open' will only be considered by the first call to Begin()." + }, { + "@type" : "AstTextComment", + "text" : " - Begin() return false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting" + }, { + "@type" : "AstTextComment", + "text" : " anything to the window. Always call a matching End() for each Begin() call, regardless of its return value!" + }, { + "@type" : "AstTextComment", + "text" : " [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions" + }, { + "@type" : "AstTextComment", + "text" : " such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding" + }, { + "@type" : "AstTextComment", + "text" : " BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" + }, { + "@type" : "AstTextComment", + "text" : " - Note that the bottom of window stack always contains a window called \"Debug\"." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetWindowCollapsed", - "resultType" : "void", + "name" : "End", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginChild", + "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "name", + "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "collapsed", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "1, const ImV" }, { "@type" : "AstParmVarDecl", - "name" : "cond", - "qualType" : "ImGuiCond", + "name" : "child_flags", + "qualType" : "ImGuiChildFlags", "desugaredQualType" : "int", - "defaultValue" : "y" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "SetWindowFocus", - "resultType" : "void", - "decls" : [ { + "defaultValue" : " " + }, { "@type" : "AstParmVarDecl", - "name" : "name", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "GetContentRegionAvail", - "resultType" : "ImVec2", - "decls" : [ { + "name" : "window_flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "s" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Content region" + "text" : " Child Windows" + }, { + "@type" : "AstTextComment", + "text" : " - Use child windows to begin into a self-contained independent scrolling/clipping regions within a host window. Child windows can embed their own child." + }, { + "@type" : "AstTextComment", + "text" : " - Before 1.90 (November 2023), the \"ImGuiChildFlags child_flags = 0\" parameter was \"bool border = false\"." + }, { + "@type" : "AstTextComment", + "text" : " This API is backward compatible with old code, as we guarantee that ImGuiChildFlags_Borders == true." + }, { + "@type" : "AstTextComment", + "text" : " Consider updating your old code:" + }, { + "@type" : "AstTextComment", + "text" : " BeginChild(\"Name\", size, false) -> Begin(\"Name\", size, 0); or Begin(\"Name\", size, ImGuiChildFlags_None);" + }, { + "@type" : "AstTextComment", + "text" : " BeginChild(\"Name\", size, true) -> Begin(\"Name\", size, ImGuiChildFlags_Borders);" + }, { + "@type" : "AstTextComment", + "text" : " - Manual sizing (each axis can use a different setting e.g. ImVec2(0.0f, 400.0f)):" + }, { + "@type" : "AstTextComment", + "text" : " == 0.0f: use remaining parent window size for this axis." + }, { + "@type" : "AstTextComment", + "text" : " > 0.0f: use specified size for this axis." + }, { + "@type" : "AstTextComment", + "text" : " " + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : " 0.0f: right/bottom-align to specified distance from available content boundaries." + }, { + "@type" : "AstTextComment", + "text" : " - Specifying ImGuiChildFlags_AutoResizeX or ImGuiChildFlags_AutoResizeY makes the sizing automatic based on child contents." + }, { + "@type" : "AstTextComment", + "text" : " Combining both ImGuiChildFlags_AutoResizeX _and_ ImGuiChildFlags_AutoResizeY defeats purpose of a scrolling region and is NOT recommended." + }, { + "@type" : "AstTextComment", + "text" : " - BeginChild() returns false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting" + }, { + "@type" : "AstTextComment", + "text" : " anything to the window. Always call a matching EndChild() for each BeginChild() call, regardless of its return value." + }, { + "@type" : "AstTextComment", + "text" : " [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions" }, { "@type" : "AstTextComment", - "text" : " - Retrieve available space from a given point. GetContentRegionAvail() is frequently useful." + "text" : " such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding" }, { "@type" : "AstTextComment", - "text" : " - Those functions are bound to be redesigned (they are confusing, incomplete and the Min/Max return values are in local window coordinates which increases confusion)" + "text" : " BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetContentRegionMax", - "resultType" : "ImVec2" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetWindowContentRegionMin", - "resultType" : "ImVec2" + "name" : "BeginChild", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " ImTri" + }, { + "@type" : "AstParmVarDecl", + "name" : "child_flags", + "qualType" : "ImGuiChildFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "window_flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "c" + } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetWindowContentRegionMax", - "resultType" : "ImVec2" + "name" : "EndChild", + "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "GetScrollX", - "resultType" : "float", + "name" : "IsWindowAppearing", + "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Windows Scrolling" - }, { - "@type" : "AstTextComment", - "text" : " - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin()." + "text" : " Windows Utilities" }, { "@type" : "AstTextComment", - "text" : " - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY()." + "text" : " - 'current window' = the window we are appending into while inside a Begin()/End() block. 'next window' = next window we will Begin() into." } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetScrollY", - "resultType" : "float" + "name" : "IsWindowCollapsed", + "resultType" : "bool" }, { "@type" : "AstFunctionDecl", - "name" : "SetScrollX", - "resultType" : "void", + "name" : "IsWindowFocused", + "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "scroll_x", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "flags", + "qualType" : "ImGuiFocusedFlags", + "desugaredQualType" : "int", + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", - "name" : "SetScrollY", - "resultType" : "void", + "name" : "IsWindowHovered", + "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "scroll_y", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "flags", + "qualType" : "ImGuiHoveredFlags", + "desugaredQualType" : "int", + "defaultValue" : "I" } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetScrollMaxX", - "resultType" : "float" + "name" : "GetWindowDrawList", + "resultType" : "ImDrawList *" }, { "@type" : "AstFunctionDecl", - "name" : "GetScrollMaxY", + "name" : "GetWindowDpiScale", "resultType" : "float" }, { "@type" : "AstFunctionDecl", - "name" : "SetScrollHereX", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "center_x_ratio", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "n, r" - } ] + "name" : "GetWindowPos", + "resultType" : "ImVec2" }, { "@type" : "AstFunctionDecl", - "name" : "SetScrollHereY", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "center_y_ratio", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "Max." - } ] + "name" : "GetWindowSize", + "resultType" : "ImVec2" }, { "@type" : "AstFunctionDecl", - "name" : "SetScrollFromPosX", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "local_x", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "center_x_ratio", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "e co" - } ] + "name" : "GetWindowWidth", + "resultType" : "float" }, { "@type" : "AstFunctionDecl", - "name" : "SetScrollFromPosY", + "name" : "GetWindowHeight", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetWindowViewport", + "resultType" : "ImGuiViewport *" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowPos", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "local_y", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "center_y_ratio", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "ne s" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "PushFont", - "resultType" : "void", - "decls" : [ { + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "\n" + }, { "@type" : "AstParmVarDecl", - "name" : "font", - "qualType" : "ImFont *", - "desugaredQualType" : "ImFont *" + "name" : "pivot", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "t() const " }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Parameters stacks (shared)" + "text" : " Window manipulation" + }, { + "@type" : "AstTextComment", + "text" : " - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin)." } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopFont", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "PushStyleColor", + "name" : "SetNextWindowSize", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "idx", - "qualType" : "ImGuiCol", - "desugaredQualType" : "int" + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "col", - "qualType" : "ImU32", - "desugaredQualType" : "unsigned int" + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", - "name" : "PushStyleColor", + "name" : "SetNextWindowSizeConstraints", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "idx", - "qualType" : "ImGuiCol", - "desugaredQualType" : "int" + "name" : "size_min", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "col", - "qualType" : "const ImVec4 &", - "desugaredQualType" : "const ImVec4 &" + "name" : "size_max", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "custom_callback", + "qualType" : "ImGuiSizeCallback", + "desugaredQualType" : "void (*)(ImGuiSizeCallbackData *)", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "custom_callback_data", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopStyleColor", + "name" : "SetNextWindowContentSize", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "count", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "a" + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PushStyleVar", + "name" : "SetNextWindowCollapsed", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "idx", - "qualType" : "ImGuiStyleVar", - "desugaredQualType" : "int" + "name" : "collapsed", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstParmVarDecl", - "name" : "val", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "A" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PushStyleVar", + "name" : "SetNextWindowFocus", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowScroll", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "idx", - "qualType" : "ImGuiStyleVar", - "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "val", + "name" : "scroll", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopStyleVar", + "name" : "SetNextWindowBgAlpha", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "count", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "s" + "name" : "alpha", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PushTabStop", + "name" : "SetNextWindowViewport", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "tab_stop", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "viewport_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopTabStop", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "PushButtonRepeat", + "name" : "SetWindowPos", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "repeat", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", - "name" : "PopButtonRepeat", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "PushItemWidth", + "name" : "SetWindowSize", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "item_width", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetWindowCollapsed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "collapsed", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetWindowFocus", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetWindowPos", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "T" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetWindowSize", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "s" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetWindowCollapsed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "collapsed", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "s" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetWindowFocus", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetScrollX", + "resultType" : "float", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Windows Scrolling" + }, { + "@type" : "AstTextComment", + "text" : " - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin()." + }, { + "@type" : "AstTextComment", + "text" : " - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY()." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetScrollY", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetScrollX", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "scroll_x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetScrollY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "scroll_y", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetScrollMaxX", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetScrollMaxY", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetScrollHereX", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "center_x_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "}\n " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetScrollHereY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "center_y_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "+= O" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetScrollFromPosX", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "local_x", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "center_x_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "it p" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetScrollFromPosY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "local_y", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "center_y_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "ata[" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushFont", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstParmVarDecl", + "name" : "font_size_base_unscaled", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Parameters stacks (font)" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, 0.0f) // Change font and keep current size" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(NULL, 20.0f) // Keep font and change current size" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, 20.0f) // Change font and set size to 20.0f" + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, style.FontSizeBase * 2.0f) // Change font and set size to be twice bigger than current size." + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font, font->LegacySize) // Change font and set size to size passed to AddFontXXX() function. Same as pre-1.92 behavior." + }, { + "@type" : "AstTextComment", + "text" : " *IMPORTANT* before 1.92, fonts had a single size. They can now be dynamically be adjusted." + }, { + "@type" : "AstTextComment", + "text" : " - In 1.92 we have REMOVED the single parameter version of PushFont() because it seems like the easiest way to provide an error-proof transition." + }, { + "@type" : "AstTextComment", + "text" : " - PushFont(font) before 1.92 = PushFont(font, font->LegacySize) after 1.92 // Use default font size as passed to AddFontXXX() function." + }, { + "@type" : "AstTextComment", + "text" : " *IMPORTANT* global scale factors are applied over the provided size." + }, { + "@type" : "AstTextComment", + "text" : " - Global scale factors are: 'style.FontScaleMain', 'style.FontScaleDpi' and maybe more." + }, { + "@type" : "AstTextComment", + "text" : " - If you want to apply a factor to the _current_ font size:" + }, { + "@type" : "AstTextComment", + "text" : " - CORRECT: PushFont(NULL, style.FontSizeBase) // use current unscaled size == does nothing" + }, { + "@type" : "AstTextComment", + "text" : " - CORRECT: PushFont(NULL, style.FontSizeBase * 2.0f) // use current unscaled size x2 == make text twice bigger" + }, { + "@type" : "AstTextComment", + "text" : " - INCORRECT: PushFont(NULL, GetFontSize()) // INCORRECT! using size after global factors already applied == GLOBAL SCALING FACTORS WILL APPLY TWICE!" + }, { + "@type" : "AstTextComment", + "text" : " - INCORRECT: PushFont(NULL, GetFontSize() * 2.0f) // INCORRECT! using size after global factors already applied == GLOBAL SCALING FACTORS WILL APPLY TWICE!" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopFont", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFont", + "resultType" : "ImFont *" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFontSize", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFontBaked", + "resultType" : "ImFontBaked *" + }, { + "@type" : "AstFunctionDecl", + "name" : "PushStyleColor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Parameters stacks (shared)" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushStyleColor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopStyleColor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushStyleVar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushStyleVar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushStyleVarX", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val_x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushStyleVarY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val_y", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopStyleVar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PushItemFlag", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "option", + "qualType" : "ImGuiItemFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "enabled", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopItemFlag", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "PushItemWidth", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "item_width", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFullComment", "decls" : [ { @@ -1594,7 +2533,7 @@ "name" : "wrap_local_pos_x", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "tora" + "defaultValue" : "(i >" } ] }, { "@type" : "AstFunctionDecl", @@ -1602,8 +2541,8 @@ "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "GetFont", - "resultType" : "ImFont *", + "name" : "GetFontTexUvWhitePixel", + "resultType" : "ImVec2", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { @@ -1617,14 +2556,6 @@ } ] } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "GetFontSize", - "resultType" : "float" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetFontTexUvWhitePixel", - "resultType" : "ImVec2" }, { "@type" : "AstFunctionDecl", "name" : "GetColorU32", @@ -1639,7 +2570,7 @@ "name" : "alpha_mul", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " i" + "defaultValue" : "ndex" } ] }, { "@type" : "AstFunctionDecl", @@ -1665,7 +2596,7 @@ "name" : "alpha_mul", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " i" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -1697,6 +2628,9 @@ }, { "@type" : "AstTextComment", "text" : " - You can call SameLine() between widgets to undo the last carriage return and output at the right of the preceding widget." + }, { + "@type" : "AstTextComment", + "text" : " - YOU CAN DO 99% OF WHAT YOU NEED WITH ONLY GetCursorScreenPos() and GetContentRegionAvail()." }, { "@type" : "AstTextComment", "text" : " - Attention! We currently have inconsistencies between window-local and absolute positions we will aim to fix with future API:" @@ -1705,10 +2639,13 @@ "text" : " - Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions. -> this is the preferred way forward." }, { "@type" : "AstTextComment", - "text" : " - Window-local coordinates: SameLine(), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), GetContentRegionMax(), GetWindowContentRegion*(), PushTextWrapPos()" + "text" : " - Window-local coordinates: SameLine(offset), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), PushTextWrapPos()" + }, { + "@type" : "AstTextComment", + "text" : " - Window-local coordinates: GetContentRegionMax(), GetWindowContentRegionMin(), GetWindowContentRegionMax() --> all obsoleted. YOU DON'T NEED THEM." }, { "@type" : "AstTextComment", - "text" : " - GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates." + "text" : " - GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates. Try not to use it." } ] } ] } ] @@ -1722,6 +2659,10 @@ "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetContentRegionAvail", + "resultType" : "ImVec2" }, { "@type" : "AstFunctionDecl", "name" : "GetCursorPos", @@ -1791,13 +2732,13 @@ "name" : "offset_from_start_x", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "Data" + "defaultValue" : "etur" }, { "@type" : "AstParmVarDecl", "name" : "spacing", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " " + "defaultValue" : " T* " } ] }, { "@type" : "AstFunctionDecl", @@ -1826,7 +2767,7 @@ "name" : "indent_w", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "Buf[" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -1837,7 +2778,7 @@ "name" : "indent_w", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "dx]." + "defaultValue" : "cons" } ] }, { "@type" : "AstFunctionDecl", @@ -1990,6 +2931,16 @@ "qualType" : "const void *", "desugaredQualType" : "const void *" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetID", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "int_id", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "TextUnformatted", @@ -2004,7 +2955,7 @@ "name" : "text_end", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "uiSt" + "defaultValue" : " " }, { "@type" : "AstFullComment", "decls" : [ { @@ -2269,7 +3220,7 @@ "name" : "size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : " atlas\n I" + "defaultValue" : "struct ImGui" }, { "@type" : "AstFullComment", "decls" : [ { @@ -2315,7 +3266,7 @@ "name" : "flags", "qualType" : "ImGuiButtonFlags", "desugaredQualType" : "int", - "defaultValue" : "/" + "defaultValue" : "u" } ] }, { "@type" : "AstFunctionDecl", @@ -2436,27 +3387,53 @@ "name" : "size_arg", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : " TexUvLines; " + "defaultValue" : "-------------------" }, { "@type" : "AstParmVarDecl", "name" : "overlay", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "-ali" + "defaultValue" : "----" } ] }, { "@type" : "AstFunctionDecl", "name" : "Bullet", "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "TextLink", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TextLinkOpenURL", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "url", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "fals" + } ] }, { "@type" : "AstFunctionDecl", "name" : "Image", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", "name" : "image_size", @@ -2467,25 +3444,13 @@ "name" : "uv0", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : " structure\n " + "defaultValue" : "_NoMarkEdite" }, { "@type" : "AstParmVarDecl", "name" : "uv1", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "d* parent) c" - }, { - "@type" : "AstParmVarDecl", - "name" : "tint_col", - "qualType" : "const ImVec4 &", - "desugaredQualType" : "const ImVec4 &", - "defaultValue" : "gned char*)parent " - }, { - "@type" : "AstParmVarDecl", - "name" : "border_col", - "qualType" : "const ImVec4 &", - "desugaredQualType" : "const ImVec4 &", - "defaultValue" : "DataTypeStorage\n{\n" + "defaultValue" : "6, // false " }, { "@type" : "AstFullComment", "decls" : [ { @@ -2495,30 +3460,31 @@ "text" : " Widgets: Images" }, { "@type" : "AstTextComment", - "text" : " - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples" + "text" : " - Read about ImTextureID/ImTextureRef here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples" }, { "@type" : "AstTextComment", "text" : " - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above." }, { "@type" : "AstTextComment", - "text" : " - Note that Image() may add +2.0f to provided size if a border is visible, ImageButton() adds style.FramePadding*2.0f to provided size." + "text" : " - Image() pads adds style.ImageBorderSize on each side, ImageButton() adds style.FramePadding on each side." + }, { + "@type" : "AstTextComment", + "text" : " - ImageButton() draws a background based on regular Button() color + optionally an inner background if specified." + }, { + "@type" : "AstTextComment", + "text" : " - An obsolete version of Image(), before 1.91.9 (March 2025), had a 'tint_col' parameter which is now supported by the ImageWithBg() function." } ] } ] } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImageButton", - "resultType" : "bool", + "name" : "ImageWithBg", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "user_texture_id", - "qualType" : "ImTextureID", - "desugaredQualType" : "void *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", "name" : "image_size", @@ -2529,48 +3495,92 @@ "name" : "uv0", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "iDataType. R" + "defaultValue" : "PERIMENTAL: " }, { "@type" : "AstParmVarDecl", "name" : "uv1", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "etInfo().\nst" + "defaultValue" : " Clicking do" }, { "@type" : "AstParmVarDecl", "name" : "bg_col", "qualType" : "const ImVec4 &", "desugaredQualType" : "const ImVec4 &", - "defaultValue" : " size_t Si" + "defaultValue" : "ically sets ImGuiB" }, { "@type" : "AstParmVarDecl", "name" : "tint_col", "qualType" : "const ImVec4 &", "desugaredQualType" : "const ImVec4 &", - "defaultValue" : "tes\n const char" + "defaultValue" : "uttonFlags_NoNavFo" } ] }, { "@type" : "AstFunctionDecl", - "name" : "BeginCombo", + "name" : "ImageButton", "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "label", + "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "preview_value", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "name" : "tex_ref", + "qualType" : "ImTextureRef", + "desugaredQualType" : "ImTextureRef" }, { "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiComboFlags", - "desugaredQualType" : "int", - "defaultValue" : "g" + "name" : "image_size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { - "@type" : "AstFullComment", + "@type" : "AstParmVarDecl", + "name" : "uv0", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "WIP] Auto-ac" + }, { + "@type" : "AstParmVarDecl", + "name" : "uv1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " tab focused" + }, { + "@type" : "AstParmVarDecl", + "name" : "bg_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : " supported by a fe" + }, { + "@type" : "AstParmVarDecl", + "name" : "tint_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : " generic feature.\n" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginCombo", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "preview_value", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiComboFlags", + "desugaredQualType" : "int", + "defaultValue" : "r" + }, { + "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { @@ -2618,7 +3628,7 @@ "name" : "popup_max_height_in_items", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "fl" + "defaultValue" : "t " } ] }, { "@type" : "AstFunctionDecl", @@ -2644,7 +3654,7 @@ "name" : "popup_max_height_in_items", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "iz" + "defaultValue" : "nl" } ] }, { "@type" : "AstFunctionDecl", @@ -2680,7 +3690,7 @@ "name" : "popup_max_height_in_items", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "at" + "defaultValue" : "va" } ] }, { "@type" : "AstFunctionDecl", @@ -2701,31 +3711,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "temD" + "defaultValue" : "XX)\n" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "enum" + "defaultValue" : "tend" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "Flag" + "defaultValue" : "gs_\n" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "sFlags" + "defaultValue" : "rivate" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "e" }, { "@type" : "AstFullComment", "decls" : [ { @@ -2735,7 +3745,7 @@ "text" : " Widgets: Drag Sliders" }, { "@type" : "AstTextComment", - "text" : " - CTRL+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." + "text" : " - Ctrl+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." }, { "@type" : "AstTextComment", "text" : " - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every function, note that a 'float v[X]' function argument is the same as 'float* v'," @@ -2756,7 +3766,7 @@ "text" : " - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\")." }, { "@type" : "AstTextComment", - "text" : " - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision)." + "text" : " - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For keyboard/gamepad navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision)." }, { "@type" : "AstTextComment", "text" : " - Use v_min " @@ -2765,7 +3775,7 @@ "text" : "<" }, { "@type" : "AstTextComment", - "text" : " v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used." + "text" : " v_max to clamp edits to given limits. Note that Ctrl+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used." }, { "@type" : "AstTextComment", "text" : " - Use v_max = FLT_MAX / INT_MAX etc to avoid clamping to a maximum, same with v_min = -FLT_MAX / INT_MIN to avoid clamping to a minimum." @@ -2800,31 +3810,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "n co" + "defaultValue" : "ered" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "d ca" + "defaultValue" : "lay," }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "his " + "defaultValue" : "dFla" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " most-" + "defaultValue" : "owHove" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "l" } ] }, { "@type" : "AstFunctionDecl", @@ -2845,31 +3855,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "alid" + "defaultValue" : "_NoP" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "atus" + "defaultValue" : "ImGu" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " " + "defaultValue" : "ckHi" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "ue exp" + "defaultValue" : "lags_A" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "t" + "defaultValue" : "G" } ] }, { "@type" : "AstFunctionDecl", @@ -2896,25 +3906,25 @@ "name" : "v_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "on " + "defaultValue" : " Im" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "Set " + "defaultValue" : "Allo" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "Node()" + "defaultValue" : " = I" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "l" } ] }, { "@type" : "AstFunctionDecl", @@ -2940,37 +3950,37 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "gs_T" + "defaultValue" : "wWhe" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " = " + "defaultValue" : "iHov" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " whe" + "defaultValue" : "verr" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "ggling" + "defaultValue" : "_ForTo" }, { "@type" : "AstParmVarDecl", "name" : "format_max", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "iIte" + "defaultValue" : "tati" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "e" } ] }, { "@type" : "AstFunctionDecl", @@ -2991,31 +4001,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "emSt" + "defaultValue" : " //" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "t" + "defaultValue" : " " }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "t" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "Deac" + "defaultValue" : " =" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "/" + "defaultValue" : "u" } ] }, { "@type" : "AstFunctionDecl", @@ -3036,31 +4046,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "ide " + "defaultValue" : "ill " }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "d" + "defaultValue" : "t" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "r" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "stin" + "defaultValue" : "tly " }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "_" + "defaultValue" : "a" } ] }, { "@type" : "AstFunctionDecl", @@ -3081,31 +4091,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "ping" + "defaultValue" : "Scal" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "t" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "P" + "defaultValue" : "n" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "I/sy" + "defaultValue" : "Flag" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "c" + "defaultValue" : "F" } ] }, { "@type" : "AstFunctionDecl", @@ -3126,31 +4136,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "Data" + "defaultValue" : " Im" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "a" + "defaultValue" : "_" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "I" + "defaultValue" : "R" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "cut " + "defaultValue" : "[Def" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "t" + "defaultValue" : "+" } ] }, { "@type" : "AstFunctionDecl", @@ -3176,37 +4186,37 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "gine" + "defaultValue" : "re =" }, { "@type" : "AstParmVarDecl", "name" : "v_min", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "E" + "defaultValue" : "t" }, { "@type" : "AstParmVarDecl", "name" : "v_max", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "I" + "defaultValue" : "i" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "lags" + "defaultValue" : "e re" }, { "@type" : "AstParmVarDecl", "name" : "format_max", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "20, " + "defaultValue" : "le h" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "g" + "defaultValue" : "u" } ] }, { "@type" : "AstFunctionDecl", @@ -3232,31 +4242,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "ble " + "defaultValue" : "26/0" }, { "@type" : "AstParmVarDecl", "name" : "p_min", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : "/ It" + "defaultValue" : "iBut" }, { "@type" : "AstParmVarDecl", "name" : "p_max", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : ". Ch" + "defaultValue" : "veId" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "mGui" + "defaultValue" : "now." }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "e" } ] }, { "@type" : "AstFunctionDecl", @@ -3287,31 +4297,31 @@ "name" : "v_speed", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "ext," + "defaultValue" : "ld " }, { "@type" : "AstParmVarDecl", "name" : "p_min", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : "endi" + "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "p_max", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : "over" + "defaultValue" : "we a" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "redF" + "defaultValue" : "othe" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "o" } ] }, { "@type" : "AstFunctionDecl", @@ -3342,13 +4352,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "lags_\n" + "defaultValue" : "iveId " }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "v" + "defaultValue" : "G" }, { "@type" : "AstFullComment", "decls" : [ { @@ -3358,7 +4368,7 @@ "text" : " Widgets: Regular Sliders" }, { "@type" : "AstTextComment", - "text" : " - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." + "text" : " - Ctrl+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." }, { "@type" : "AstTextComment", "text" : " - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. \"%.3f\" -> 1.234; \"%5.2f secs\" -> 01.23 secs; \"Biscuit: %.0f\" -> Biscuit: 1; etc." @@ -3403,13 +4413,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "() bef" + "defaultValue" : "se leg" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "m" + "defaultValue" : "s" } ] }, { "@type" : "AstFunctionDecl", @@ -3440,13 +4450,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "uire b" + "defaultValue" : "= 1 <<" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "c" + "defaultValue" : "v" } ] }, { "@type" : "AstFunctionDecl", @@ -3477,13 +4487,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "// Ext" + "defaultValue" : "n the " }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "I" + "defaultValue" : "b" } ] }, { "@type" : "AstFunctionDecl", @@ -3504,19 +4514,19 @@ "name" : "v_degrees_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "n click" + "defaultValue" : "stKeyOw" }, { "@type" : "AstParmVarDecl", "name" : "v_degrees_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "ImGuiBu" + "defaultValue" : "// don'" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "kRelease " + "defaultValue" : "when polli" }, { "@type" : "AstParmVarDecl", "name" : "flags", @@ -3553,13 +4563,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "_Pre" + "defaultValue" : " =" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "=" + "defaultValue" : ":" } ] }, { "@type" : "AstFunctionDecl", @@ -3590,7 +4600,7 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "Butt" + "defaultValue" : "GuiB" }, { "@type" : "AstParmVarDecl", "name" : "flags", @@ -3627,13 +4637,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "k " + "defaultValue" : "OnRe" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "e" } ] }, { "@type" : "AstFunctionDecl", @@ -3664,13 +4674,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "true" + "defaultValue" : "tonF" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "\n" } ] }, { "@type" : "AstFunctionDecl", @@ -3706,13 +4716,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "Butt" + "defaultValue" : "\n{\n " }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "e" } ] }, { "@type" : "AstFunctionDecl", @@ -3753,13 +4763,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "atch" + "defaultValue" : "/ Sh" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "t" } ] }, { "@type" : "AstFunctionDecl", @@ -3795,13 +4805,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "uiButt" + "defaultValue" : " inste" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "c" } ] }, { "@type" : "AstFunctionDecl", @@ -3837,13 +4847,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " 1 <" + "defaultValue" : "ctab" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "b" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -3884,13 +4894,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "oKey" + "defaultValue" : "leas" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", - "defaultValue" : "," + "defaultValue" : "r" } ] }, { "@type" : "AstFunctionDecl", @@ -3916,19 +4926,19 @@ "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "S" }, { "@type" : "AstParmVarDecl", "name" : "callback", "qualType" : "ImGuiInputTextCallback", "desugaredQualType" : "int (*)(ImGuiInputTextCallbackData *)", - "defaultValue" : "oll " + "defaultValue" : "ing " }, { "@type" : "AstParmVarDecl", "name" : "user_data", "qualType" : "void *", "desugaredQualType" : "void *", - "defaultValue" : "gs)\n" + "defaultValue" : "paci" }, { "@type" : "AstFullComment", "decls" : [ { @@ -3938,7 +4948,7 @@ "text" : " Widgets: Input with Keyboard" }, { "@type" : "AstTextComment", - "text" : " - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp." + "text" : " - If you want to use InputText() with std::string or any custom dynamic string type, use the wrapper in misc/cpp/imgui_stdlib.h/.cpp!" }, { "@type" : "AstTextComment", "text" : " - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc." @@ -3969,25 +4979,25 @@ "name" : "size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImGuiButtonF" + "defaultValue" : "k (note: mou" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "1" + "defaultValue" : "e" }, { "@type" : "AstParmVarDecl", "name" : "callback", "qualType" : "ImGuiInputTextCallback", "desugaredQualType" : "int (*)(ImGuiInputTextCallbackData *)", - "defaultValue" : "r on" + "defaultValue" : "useL" }, { "@type" : "AstParmVarDecl", "name" : "user_data", "qualType" : "void *", "desugaredQualType" : "void *", - "defaultValue" : "note" + "defaultValue" : "ImGu" } ] }, { "@type" : "AstFunctionDecl", @@ -4018,19 +5028,19 @@ "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "t" }, { "@type" : "AstParmVarDecl", "name" : "callback", "qualType" : "ImGuiInputTextCallback", "desugaredQualType" : "int (*)(ImGuiInputTextCallbackData *)", - "defaultValue" : "g th" + "defaultValue" : "ImGu" }, { "@type" : "AstParmVarDecl", "name" : "user_data", "qualType" : "void *", "desugaredQualType" : "void *", - "defaultValue" : "utto" + "defaultValue" : "abel" } ] }, { "@type" : "AstFunctionDecl", @@ -4051,25 +5061,25 @@ "name" : "step", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "Flag" + "defaultValue" : "iTre" }, { "@type" : "AstParmVarDecl", "name" : "step_fast", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " " + "defaultValue" : "nArr" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "ssedOn" + "defaultValue" : ",// FI" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "a" } ] }, { "@type" : "AstFunctionDecl", @@ -4090,13 +5100,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "lease " + "defaultValue" : "iTreeN" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "u" + "defaultValue" : "m" } ] }, { "@type" : "AstFunctionDecl", @@ -4117,13 +5127,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "= ImGu" + "defaultValue" : "Flags_" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "l" } ] }, { "@type" : "AstFunctionDecl", @@ -4144,13 +5154,13 @@ "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "eview " + "defaultValue" : "GuiSep" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -4171,19 +5181,19 @@ "name" : "step", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "a" + "defaultValue" : "d" }, { "@type" : "AstParmVarDecl", "name" : "step_fast", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "der" + "defaultValue" : "lay" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "t" } ] }, { "@type" : "AstFunctionDecl", @@ -4204,7 +5214,7 @@ "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "p" } ] }, { "@type" : "AstFunctionDecl", @@ -4225,7 +5235,7 @@ "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "/" + "defaultValue" : "l" } ] }, { "@type" : "AstFunctionDecl", @@ -4246,7 +5256,7 @@ "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "i" + "defaultValue" : "w" } ] }, { "@type" : "AstFunctionDecl", @@ -4267,25 +5277,25 @@ "name" : "step", "qualType" : "double", "desugaredQualType" : "double", - "defaultValue" : "= 1" + "defaultValue" : " Ge" }, { "@type" : "AstParmVarDecl", "name" : "step_fast", "qualType" : "double", "desugaredQualType" : "double", - "defaultValue" : "cta" + "defaultValue" : "IsW" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " " + "defaultValue" : "()\n// " }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "h" } ] }, { "@type" : "AstFunctionDecl", @@ -4311,25 +5321,25 @@ "name" : "p_step", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : "citl" + "defaultValue" : "ags_" }, { "@type" : "AstParmVarDecl", "name" : "p_step_fast", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : "e re" + "defaultValue" : " Im" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "ctio" + "defaultValue" : "stor" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "a" + "defaultValue" : "F" } ] }, { "@type" : "AstFunctionDecl", @@ -4360,25 +5370,25 @@ "name" : "p_step", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : "ectO" + "defaultValue" : "e wi" }, { "@type" : "AstParmVarDecl", "name" : "p_step_fast", "qualType" : "const void *", "desugaredQualType" : "const void *", - "defaultValue" : "// O" + "defaultValue" : "num " }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " to " + "defaultValue" : "mGui" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiInputTextFlags", "desugaredQualType" : "int", - "defaultValue" : "l" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -4399,7 +5409,7 @@ "name" : "flags", "qualType" : "ImGuiColorEditFlags", "desugaredQualType" : "int", - "defaultValue" : "k" + "defaultValue" : "i" }, { "@type" : "AstFullComment", "decls" : [ { @@ -4441,7 +5451,7 @@ "name" : "flags", "qualType" : "ImGuiColorEditFlags", "desugaredQualType" : "int", - "defaultValue" : "u" + "defaultValue" : "<" } ] }, { "@type" : "AstFunctionDecl", @@ -4462,7 +5472,7 @@ "name" : "flags", "qualType" : "ImGuiColorEditFlags", "desugaredQualType" : "int", - "defaultValue" : "a" + "defaultValue" : "i" } ] }, { "@type" : "AstFunctionDecl", @@ -4483,13 +5493,13 @@ "name" : "flags", "qualType" : "ImGuiColorEditFlags", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "i" }, { "@type" : "AstParmVarDecl", "name" : "ref_col", "qualType" : "const float *", "desugaredQualType" : "const float *", - "defaultValue" : "epar" + "defaultValue" : "uiLo" } ] }, { "@type" : "AstFunctionDecl", @@ -4510,13 +5520,13 @@ "name" : "flags", "qualType" : "ImGuiColorEditFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "n" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "efault to cu" + "defaultValue" : "is\n{\n ImG" } ] }, { "@type" : "AstFunctionDecl", @@ -4654,7 +5664,7 @@ "name" : "flags", "qualType" : "ImGuiTreeNodeFlags", "desugaredQualType" : "int", - "defaultValue" : "/" + "defaultValue" : "o" } ] }, { "@type" : "AstFunctionDecl", @@ -4808,7 +5818,7 @@ "name" : "flags", "qualType" : "ImGuiTreeNodeFlags", "desugaredQualType" : "int", - "defaultValue" : "I" + "defaultValue" : "G" } ] }, { "@type" : "AstFunctionDecl", @@ -4847,6 +5857,26 @@ "desugaredQualType" : "int", "defaultValue" : " " } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextItemStorageID", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "storage_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeGetOpen", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "storage_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "Selectable", @@ -4861,19 +5891,19 @@ "name" : "selected", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : "r Men" + "defaultValue" : "A; " }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiSelectableFlags", "desugaredQualType" : "int", - "defaultValue" : "r" + "defaultValue" : "f" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "de and NOT a" + "defaultValue" : "fer size! Sh" }, { "@type" : "AstFullComment", "decls" : [ { @@ -4909,14 +5939,87 @@ "name" : "flags", "qualType" : "ImGuiSelectableFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "s" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : ", Shortcut, " + "defaultValue" : " Bu" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginMultiSelect", + "resultType" : "ImGuiMultiSelectIO *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiMultiSelectFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "selection_size", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "el" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "fo" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Multi-selection system for Selectable(), Checkbox(), TreeNode() functions [BETA]" + }, { + "@type" : "AstTextComment", + "text" : " - This enables standard multi-selection/range-selection idioms (Ctrl+Mouse/Keyboard, Shift+Mouse/Keyboard, etc.) in a way that also allow a clipper to be used." + }, { + "@type" : "AstTextComment", + "text" : " - ImGuiSelectionUserData is often used to store your item index within the current view (but may store something else)." + }, { + "@type" : "AstTextComment", + "text" : " - Read comments near ImGuiMultiSelectIO for instructions/details and see 'Demo->Widgets->Selection State " + }, { + "@type" : "AstTextComment", + "text" : "&" + }, { + "@type" : "AstTextComment", + "text" : " Multi-Select' for demo." + }, { + "@type" : "AstTextComment", + "text" : " - TreeNode() is technically supported but... using this correctly is more complicated. You need some sort of linear/random access to your tree," + }, { + "@type" : "AstTextComment", + "text" : " which is suited to advanced trees setups already implementing filters and clipper. We will work simplifying the current demo." + }, { + "@type" : "AstTextComment", + "text" : " - 'selection_size' and 'items_count' parameters are optional and used by a few features. If they are costly for you to compute, you may avoid them." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndMultiSelect", + "resultType" : "ImGuiMultiSelectIO *" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextItemSelectionUserData", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "selection_user_data", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemToggledSelection", + "resultType" : "bool" }, { "@type" : "AstFunctionDecl", "name" : "BeginListBox", @@ -4931,7 +6034,7 @@ "name" : "size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : " by parent)." + "defaultValue" : "o\");\n // " }, { "@type" : "AstFullComment", "decls" : [ { @@ -4942,12 +6045,15 @@ }, { "@type" : "AstTextComment", "text" : " - This is essentially a thin wrapper to using BeginChild/EndChild with the ImGuiChildFlags_FrameStyle flag for stylistic changes + displaying a label." + }, { + "@type" : "AstTextComment", + "text" : " - If you don't need a label you can probably simply use BeginChild() with the ImGuiChildFlags_FrameStyle flag for the same result." }, { "@type" : "AstTextComment", "text" : " - You can submit contents and manage your selection state however you want it, by creating e.g. Selectable() or any other items." }, { "@type" : "AstTextComment", - "text" : " - The simplified/old ListBox() api are helpers over BeginListBox()/EndListBox() which are kept available for convenience purpose. This is analoguous to how Combos are created." + "text" : " - The simplified/old ListBox() api are helpers over BeginListBox()/EndListBox() which are kept available for convenience purpose. This is analogous to how Combos are created." }, { "@type" : "AstTextComment", "text" : " - Choose frame width: size.x > 0.0f: custom / size.x " @@ -5002,7 +6108,7 @@ "name" : "height_in_items", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : " t" + "defaultValue" : "{\n" } ] }, { "@type" : "AstFunctionDecl", @@ -5038,7 +6144,7 @@ "name" : "height_in_items", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "r " + "defaultValue" : "BE" } ] }, { "@type" : "AstFunctionDecl", @@ -5064,37 +6170,37 @@ "name" : "values_offset", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "8" + "defaultValue" : "u" }, { "@type" : "AstParmVarDecl", "name" : "overlay_text", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " " + "defaultValue" : "ency" }, { "@type" : "AstParmVarDecl", "name" : "scale_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "; " + "defaultValue" : ".\n};\n\ne" }, { "@type" : "AstParmVarDecl", "name" : "scale_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "F8 buff" + "defaultValue" : "ckFlags" }, { "@type" : "AstParmVarDecl", "name" : "graph_size", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2", - "defaultValue" : "valid before w" + "defaultValue" : "gClickFlags_No" }, { "@type" : "AstParmVarDecl", "name" : "stride", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "et active (un" + "defaultValue" : " = 0,\n I" }, { "@type" : "AstFullComment", "decls" : [ { @@ -5137,31 +6243,31 @@ "name" : "values_offset", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "S" + "defaultValue" : "t" }, { "@type" : "AstParmVarDecl", "name" : "overlay_text", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "izon" + "defaultValue" : "Wind" }, { "@type" : "AstParmVarDecl", "name" : "scale_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "\n Im" + "defaultValue" : "mGuiNex" }, { "@type" : "AstParmVarDecl", "name" : "scale_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "te Stb;" + "defaultValue" : "e " }, { "@type" : "AstParmVarDecl", "name" : "graph_size", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2", - "defaultValue" : "/ state for st" + "defaultValue" : "GuiNextWindowD" } ] }, { "@type" : "AstFunctionDecl", @@ -5187,37 +6293,37 @@ "name" : "values_offset", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "h" + "defaultValue" : "s" }, { "@type" : "AstParmVarDecl", "name" : "overlay_text", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "y\n " + "defaultValue" : "\n " }, { "@type" : "AstParmVarDecl", "name" : "scale_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " C" + "defaultValue" : "Flags_H" }, { "@type" : "AstParmVarDecl", "name" : "scale_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " // s" + "defaultValue" : "1 << 3," }, { "@type" : "AstParmVarDecl", "name" : "graph_size", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2", - "defaultValue" : "lling to follo" + "defaultValue" : "DataFlags_HasS" }, { "@type" : "AstParmVarDecl", "name" : "stride", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "ursor positio" + "defaultValue" : "= 1 << 4,\n " } ] }, { "@type" : "AstFunctionDecl", @@ -5254,25 +6360,25 @@ "name" : "overlay_text", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "ed; " + "defaultValue" : "wDat" }, { "@type" : "AstParmVarDecl", "name" : "scale_min", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "dited t" + "defaultValue" : "s =" }, { "@type" : "AstParmVarDecl", "name" : "scale_max", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "nputTex" + "defaultValue" : "xtWindo" }, { "@type" : "AstParmVarDecl", "name" : "graph_size", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2", - "defaultValue" : " " + "defaultValue" : "lags = 1 " } ] }, { "@type" : "AstFunctionDecl", @@ -5350,7 +6456,7 @@ "name" : "float_format", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " " + "defaultValue" : ";\n " } ] }, { "@type" : "AstFunctionDecl", @@ -5404,7 +6510,7 @@ "name" : "enabled", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : "\n " + "defaultValue" : "mGui" } ] }, { "@type" : "AstFunctionDecl", @@ -5424,19 +6530,19 @@ "name" : "shortcut", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "o ca" + "defaultValue" : " = 1" }, { "@type" : "AstParmVarDecl", "name" : "selected", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : " V2 m" + "defaultValue" : "xtIte" }, { "@type" : "AstParmVarDecl", "name" : "enabled", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : " // " + "defaultValue" : "rage" } ] }, { "@type" : "AstFunctionDecl", @@ -5462,7 +6568,7 @@ "name" : "enabled", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : " //" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -5607,7 +6713,7 @@ "name" : "flags", "qualType" : "ImGuiWindowFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "t" }, { "@type" : "AstFullComment", "decls" : [ { @@ -5659,13 +6765,13 @@ "name" : "p_open", "qualType" : "bool *", "desugaredQualType" : "bool *", - "defaultValue" : " " + "defaultValue" : "rRec" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiWindowFlags", "desugaredQualType" : "int", - "defaultValue" : "m" + "defaultValue" : "z" } ] }, { "@type" : "AstFunctionDecl", @@ -5685,7 +6791,7 @@ "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "x" + "defaultValue" : "a" }, { "@type" : "AstFullComment", "decls" : [ { @@ -5711,9 +6817,6 @@ }, { "@type" : "AstTextComment", "text" : " - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened." - }, { - "@type" : "AstTextComment", - "text" : " - IMPORTANT: Notice that for OpenPopupOnItemClick() we exceptionally default flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter" } ] } ] } ] @@ -5731,7 +6834,7 @@ "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "t" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -5742,13 +6845,13 @@ "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " " + "defaultValue" : "tion" }, { "@type" : "AstParmVarDecl", "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "a" } ] }, { "@type" : "AstFunctionDecl", @@ -5763,7 +6866,7 @@ "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " I" + "defaultValue" : "/ Bi" }, { "@type" : "AstParmVarDecl", "name" : "popup_flags", @@ -5776,19 +6879,31 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Popups: open+begin combined functions helpers" + "text" : " Popups: Open+Begin popup combined functions helpers to create context menus." }, { "@type" : "AstTextComment", "text" : " - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking." }, { "@type" : "AstTextComment", - "text" : " - They are convenient to easily create context menus, hence the name." + "text" : " - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future." }, { "@type" : "AstTextComment", - "text" : " - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future." + "text" : " - IMPORTANT: If you ever used the left mouse button with BeginPopupContextXXX() helpers before 1.92.6:" + }, { + "@type" : "AstTextComment", + "text" : " - Before this version, OpenPopupOnItemClick(), BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid() had 'a ImGuiPopupFlags popup_flags = 1' default value in their function signature." + }, { + "@type" : "AstTextComment", + "text" : " - Before: Explicitly passing a literal 0 meant ImGuiPopupFlags_MouseButtonLeft. The default = 1 meant ImGuiPopupFlags_MouseButtonRight." + }, { + "@type" : "AstTextComment", + "text" : " - After: The default = 0 means ImGuiPopupFlags_MouseButtonRight. Explicitly passing a literal 1 also means ImGuiPopupFlags_MouseButtonRight (if legacy behavior are enabled) or will assert (if legacy behavior are disabled)." }, { "@type" : "AstTextComment", - "text" : " - IMPORTANT: Notice that we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight." + "text" : " - TL;DR: if you don't want to use right mouse button for popups, always specify it explicitly using a named ImGuiPopupFlags_MouseButtonXXXX value." + }, { + "@type" : "AstTextComment", + "text" : " - Read \"API BREAKING CHANGES\" 2026/01/07 (1.92.6) entry in imgui.cpp or GitHub topic #9157 for all details." } ] } ] } ] @@ -5801,13 +6916,13 @@ "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "emFl" + "defaultValue" : "Key_" }, { "@type" : "AstParmVarDecl", "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "n" + "defaultValue" : "a" } ] }, { "@type" : "AstFunctionDecl", @@ -5818,13 +6933,13 @@ "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "Stat" + "defaultValue" : " ImG" }, { "@type" : "AstParmVarDecl", "name" : "popup_flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "G" } ] }, { "@type" : "AstFunctionDecl", @@ -5840,7 +6955,7 @@ "name" : "flags", "qualType" : "ImGuiPopupFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "p" }, { "@type" : "AstFullComment", "decls" : [ { @@ -5879,19 +6994,19 @@ "name" : "flags", "qualType" : "ImGuiTableFlags", "desugaredQualType" : "int", - "defaultValue" : "," + "defaultValue" : "T" }, { "@type" : "AstParmVarDecl", "name" : "outer_size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : " ImBitArrayForName" + "defaultValue" : "usePos\n ImG" }, { "@type" : "AstParmVarDecl", "name" : "inner_width", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "Key " + "defaultValue" : " M" }, { "@type" : "AstFullComment", "decls" : [ { @@ -5975,13 +7090,13 @@ "name" : "row_flags", "qualType" : "ImGuiTableRowFlags", "desugaredQualType" : "int", - "defaultValue" : "G" + "defaultValue" : " " }, { "@type" : "AstParmVarDecl", "name" : "min_row_height", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "iKey" + "defaultValue" : "vent" } ] }, { "@type" : "AstFunctionDecl", @@ -6017,13 +7132,13 @@ "name" : "init_width_or_weight", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " ImG" + "defaultValue" : " Rou" }, { "@type" : "AstParmVarDecl", "name" : "user_id", "qualType" : "ImGuiID", "desugaredQualType" : "unsigned int", - "defaultValue" : " " + "defaultValue" : "[" }, { "@type" : "AstFullComment", "decls" : [ { @@ -6057,7 +7172,7 @@ "text" : " some advanced use cases (e.g. adding custom widgets in header row)." }, { "@type" : "AstTextComment", - "text" : " - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled." + "text" : " - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled. When freezing columns you would usually also use ImGuiTableColumnFlags_NoHide on them." } ] } ] } ] @@ -6150,7 +7265,7 @@ "name" : "column_n", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "cu" + "defaultValue" : "()" } ] }, { "@type" : "AstFunctionDecl", @@ -6161,7 +7276,7 @@ "name" : "column_n", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "ef" + "defaultValue" : "ey" } ] }, { "@type" : "AstFunctionDecl", @@ -6201,7 +7316,7 @@ "name" : "column_n", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "nl" + "defaultValue" : "wh" } ] }, { "@type" : "AstFunctionDecl", @@ -6212,19 +7327,19 @@ "name" : "count", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "u" + "defaultValue" : " " }, { "@type" : "AstParmVarDecl", "name" : "id", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : " " + "defaultValue" : "epea" }, { "@type" : "AstParmVarDecl", - "name" : "border", + "name" : "borders", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : ";\n " + "defaultValue" : "ss " }, { "@type" : "AstFullComment", "decls" : [ { @@ -6255,7 +7370,7 @@ "name" : "column_index", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : " m" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -6281,7 +7396,7 @@ "name" : "column_index", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "d " + "defaultValue" : "r " } ] }, { "@type" : "AstFunctionDecl", @@ -6316,7 +7431,7 @@ "name" : "flags", "qualType" : "ImGuiTabBarFlags", "desugaredQualType" : "int", - "defaultValue" : "y" + "defaultValue" : "m" }, { "@type" : "AstFullComment", "decls" : [ { @@ -6348,13 +7463,13 @@ "name" : "p_open", "qualType" : "bool *", "desugaredQualType" : "bool *", - "defaultValue" : "\n// " + "defaultValue" : "Inpu" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiTabItemFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "a" } ] }, { "@type" : "AstFunctionDecl", @@ -6374,7 +7489,7 @@ "name" : "flags", "qualType" : "ImGuiTabItemFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "b" } ] }, { "@type" : "AstFunctionDecl", @@ -6400,19 +7515,19 @@ "name" : "size", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "l require EX" + "defaultValue" : "------------" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiDockNodeFlags", "desugaredQualType" : "int", - "defaultValue" : "r" + "defaultValue" : "-" }, { "@type" : "AstParmVarDecl", "name" : "window_class", "qualType" : "const ImGuiWindowClass *", "desugaredQualType" : "const ImGuiWindowClass *", - "defaultValue" : "eare" + "defaultValue" : "----" }, { "@type" : "AstFullComment", "decls" : [ { @@ -6422,40 +7537,64 @@ "text" : " Docking" }, { "@type" : "AstTextComment", - "text" : " [BETA API] Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable." + "text" : " - Read https://github.com/ocornut/imgui/wiki/Docking for details." + }, { + "@type" : "AstTextComment", + "text" : " - Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable." + }, { + "@type" : "AstTextComment", + "text" : " - You can use many Docking facilities without calling any API." + }, { + "@type" : "AstTextComment", + "text" : " - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking." + }, { + "@type" : "AstTextComment", + "text" : " - Drag from window menu button (upper-left button) to undock an entire node (all windows)." + }, { + "@type" : "AstTextComment", + "text" : " - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to enable docking." + }, { + "@type" : "AstTextComment", + "text" : " - DockSpaceOverViewport:" + }, { + "@type" : "AstTextComment", + "text" : " - This is a helper to create an invisible window covering a viewport, then submit a DockSpace() into it." }, { "@type" : "AstTextComment", - "text" : " Note: You can use most Docking facilities without calling any API. You DO NOT need to call DockSpace() to use Docking!" + "text" : " - Most applications can simply call DockSpaceOverViewport() once to allow docking windows into e.g. the edge of your screen." }, { "@type" : "AstTextComment", - "text" : " - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking." + "text" : " e.g. ImGui::NewFrame(); ImGui::DockSpaceOverViewport(); // Create a dockspace in main viewport." }, { "@type" : "AstTextComment", - "text" : " - Drag from window menu button (upper-left button) to undock an entire node (all windows)." + "text" : " or: ImGui::NewFrame(); ImGui::DockSpaceOverViewport(0, nullptr, ImGuiDockNodeFlags_PassthruCentralNode); // Create a dockspace in main viewport, central node is transparent." }, { "@type" : "AstTextComment", - "text" : " - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to enable docking." + "text" : " - Dockspaces:" }, { "@type" : "AstTextComment", - "text" : " About dockspaces:" + "text" : " - A dockspace is an explicit dock node within an existing window." }, { "@type" : "AstTextComment", - "text" : " - Use DockSpaceOverViewport() to create a window covering the screen or a specific viewport + a dockspace inside it." + "text" : " - IMPORTANT: Dockspaces need to be submitted _before_ any window they can host. Submit them early in your frame!" }, { "@type" : "AstTextComment", - "text" : " This is often used with ImGuiDockNodeFlags_PassthruCentralNode to make it transparent." + "text" : " - IMPORTANT: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked." }, { "@type" : "AstTextComment", - "text" : " - Use DockSpace() to create an explicit dock node _within_ an existing window. See Docking demo for details." + "text" : " If you have e.g. multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly." }, { "@type" : "AstTextComment", - "text" : " - Important: Dockspaces need to be submitted _before_ any window they can host. Submit it early in your frame!" + "text" : " - See 'Demo->Examples->Dockspace' or 'Demo->Examples->Documents' for more detailed demos." }, { "@type" : "AstTextComment", - "text" : " - Important: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked." + "text" : " - Programmatic docking:" }, { "@type" : "AstTextComment", - "text" : " e.g. if you have multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly." + "text" : " - There is no public API yet other than the very limited SetNextWindowDockID() function. Sorry for that!" + }, { + "@type" : "AstTextComment", + "text" : " - Read https://github.com/ocornut/imgui/wiki/Docking for examples of how to use current internal API." } ] } ] } ] @@ -6468,25 +7607,25 @@ "name" : "dockspace_id", "qualType" : "ImGuiID", "desugaredQualType" : "unsigned int", - "defaultValue" : "/" + "defaultValue" : "m" }, { "@type" : "AstParmVarDecl", "name" : "viewport", "qualType" : "const ImGuiViewport *", "desugaredQualType" : "const ImGuiViewport *", - "defaultValue" : ")\n " + "defaultValue" : "tiva" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiDockNodeFlags", "desugaredQualType" : "int", - "defaultValue" : " " + "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "window_class", "qualType" : "const ImGuiWindowClass *", "desugaredQualType" : "const ImGuiWindowClass *", - "defaultValue" : "f it" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -6502,7 +7641,7 @@ "name" : "cond", "qualType" : "ImGuiCond", "desugaredQualType" : "int", - "defaultValue" : "<" + "defaultValue" : "i" } ] }, { "@type" : "AstFunctionDecl", @@ -6531,7 +7670,7 @@ "name" : "auto_open_depth", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "iI" + "defaultValue" : "en" }, { "@type" : "AstFullComment", "decls" : [ { @@ -6554,13 +7693,13 @@ "name" : "auto_open_depth", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "Ac" + "defaultValue" : " " }, { "@type" : "AstParmVarDecl", "name" : "filename", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "_Rou" + "defaultValue" : "le: " } ] }, { "@type" : "AstFunctionDecl", @@ -6571,7 +7710,7 @@ "name" : "auto_open_depth", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "pu" + "defaultValue" : "Gu" } ] }, { "@type" : "AstFunctionDecl", @@ -6625,7 +7764,7 @@ "name" : "flags", "qualType" : "ImGuiDragDropFlags", "desugaredQualType" : "int", - "defaultValue" : "o" + "defaultValue" : "F" }, { "@type" : "AstFullComment", "decls" : [ { @@ -6672,7 +7811,7 @@ "name" : "cond", "qualType" : "ImGuiCond", "desugaredQualType" : "int", - "defaultValue" : "i" + "defaultValue" : "r" } ] }, { "@type" : "AstFunctionDecl", @@ -6696,7 +7835,7 @@ "name" : "flags", "qualType" : "ImGuiDragDropFlags", "desugaredQualType" : "int", - "defaultValue" : "m" + "defaultValue" : "R" } ] }, { "@type" : "AstFunctionDecl", @@ -6715,7 +7854,7 @@ "name" : "disabled", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : " Ear" + "defaultValue" : "ummy" }, { "@type" : "AstFullComment", "decls" : [ { @@ -6731,10 +7870,10 @@ "text" : " - Those can be nested but it cannot be used to enable an already disabled section (a single BeginDisabled(true) in the stack is enough to keep everything disabled)" }, { "@type" : "AstTextComment", - "text" : " - Tooltips windows by exception are opted out of disabling." + "text" : " - Tooltips windows are automatically opted out of disabling. Note that IsItemHovered() by default returns false on disabled items, unless using ImGuiHoveredFlags_AllowWhenDisabled." }, { "@type" : "AstTextComment", - "text" : " - BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions. If you can avoid calling BeginDisabled(False)/EndDisabled() best to avoid it." + "text" : " - BeginDisabled(false)/EndDisabled() essentially does nothing but is provided to facilitate use of boolean expressions (as a micro-optimization: if you have tens of thousands of BeginDisabled(false)/EndDisabled() pairs, you might want to reformulate your code to avoid making those calls)" } ] } ] } ] @@ -6789,9 +7928,6 @@ "decls" : [ { "@type" : "AstTextComment", "text" : " Focus, Activation" - }, { - "@type" : "AstTextComment", - "text" : " - Prefer using \"SetItemDefaultFocus()\" over \"if (IsWindowAppearing()) SetScrollHereY()\" when applicable to signify \"this is the default item\"" } ] } ] } ] @@ -6804,7 +7940,26 @@ "name" : "offset", "qualType" : "int", "desugaredQualType" : "int", - "defaultValue" : "a" + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNavCursorVisible", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "visible", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Keyboard/Gamepad Navigation" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -6829,7 +7984,7 @@ "name" : "flags", "qualType" : "ImGuiHoveredFlags", "desugaredQualType" : "int", - "defaultValue" : "a" + "defaultValue" : " " }, { "@type" : "AstFullComment", "decls" : [ { @@ -6863,7 +8018,7 @@ "name" : "mouse_button", "qualType" : "ImGuiMouseButton", "desugaredQualType" : "int", - "defaultValue" : "N" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -6917,6 +8072,10 @@ "@type" : "AstFunctionDecl", "name" : "GetItemRectSize", "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetItemFlags", + "resultType" : "ImGuiItemFlags" }, { "@type" : "AstFunctionDecl", "name" : "GetMainViewport", @@ -6949,7 +8108,7 @@ "name" : "viewport", "qualType" : "ImGuiViewport *", "desugaredQualType" : "ImGuiViewport *", - "defaultValue" : "lags" + "defaultValue" : "colu" }, { "@type" : "AstFullComment", "decls" : [ { @@ -6969,7 +8128,7 @@ "name" : "viewport", "qualType" : "ImGuiViewport *", "desugaredQualType" : "ImGuiViewport *", - "defaultValue" : "Typi" + "defaultValue" : "lags" } ] }, { "@type" : "AstFunctionDecl", @@ -7055,19 +8214,19 @@ "name" : "text_end", "qualType" : "const char *", "desugaredQualType" : "const char *", - "defaultValue" : "g da" + "defaultValue" : "Colu" }, { "@type" : "AstParmVarDecl", "name" : "hide_text_after_double_hash", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : "4]; " + "defaultValue" : "of(*t" }, { "@type" : "AstParmVarDecl", "name" : "wrap_width", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : "ffer:" + "defaultValue" : "-----" }, { "@type" : "AstFullComment", "decls" : [ { @@ -7192,31 +8351,22 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Inputs Utilities: Keyboard/Mouse/Gamepad" - }, { - "@type" : "AstTextComment", - "text" : " - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...)." - }, { - "@type" : "AstTextComment", - "text" : " - before v1.87, we used ImGuiKey to carry native/user indices as defined by each backends. About use of those legacy ImGuiKey values:" - }, { - "@type" : "AstTextComment", - "text" : " - without IMGUI_DISABLE_OBSOLETE_KEYIO (legacy support): you can still use your legacy native/user indices (" + "text" : " Inputs Utilities: Raw Keyboard/Mouse/Gamepad Access" }, { "@type" : "AstTextComment", - "text" : "<" + "text" : " - Consider using the Shortcut() function instead of IsKeyPressed()/IsKeyChordPressed()! Shortcut() is easier to use and better featured (can do focus routing check)." }, { "@type" : "AstTextComment", - "text" : " 512) according to how your backend/engine stored them in io.KeysDown[], but need to cast them to ImGuiKey." + "text" : " - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...)." }, { "@type" : "AstTextComment", - "text" : " - with IMGUI_DISABLE_OBSOLETE_KEYIO (this is the way forward): any use of ImGuiKey will assert with key " + "text" : " - (legacy: before v1.87 (2022-02), we used ImGuiKey " }, { "@type" : "AstTextComment", "text" : "<" }, { "@type" : "AstTextComment", - "text" : " 512. GetKeyIndex() is pass-through and therefore deprecated (gone if IMGUI_DISABLE_OBSOLETE_KEYIO is defined)." + "text" : " 512 values to carry native/user indices as defined by each backends. This was obsoleted in 1.87 (2022-02) and completely removed in 1.91.5 (2024-11). See https://github.com/ocornut/imgui/issues/4921)" } ] } ] } ] @@ -7234,7 +8384,7 @@ "name" : "repeat", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : "cing" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -7310,7 +8460,7 @@ "name" : "flags", "qualType" : "ImGuiInputFlags", "desugaredQualType" : "int", - "defaultValue" : "S" + "defaultValue" : " " }, { "@type" : "AstFullComment", "decls" : [ { @@ -7323,16 +8473,25 @@ "text" : "&" }, { "@type" : "AstTextComment", - "text" : " Routing [BETA]" + "text" : " Routing" + }, { + "@type" : "AstTextComment", + "text" : " - Typical use is e.g.: 'if (ImGui::Shortcut(ImGuiMod_Ctrl | ImGuiKey_S)) { ... }'." + }, { + "@type" : "AstTextComment", + "text" : " - Flags: Default route use ImGuiInputFlags_RouteFocused, but see ImGuiInputFlags_RouteGlobal and other options in ImGuiInputFlags_!" + }, { + "@type" : "AstTextComment", + "text" : " - Flags: Use ImGuiInputFlags_Repeat to support repeat." }, { "@type" : "AstTextComment", "text" : " - ImGuiKeyChord = a ImGuiKey + optional ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super." }, { "@type" : "AstTextComment", - "text" : " ImGuiKey_C // Accepted by functions taking ImGuiKey or ImGuiKeyChord arguments)" + "text" : " ImGuiKey_C // Accepted by functions taking ImGuiKey or ImGuiKeyChord arguments" }, { "@type" : "AstTextComment", - "text" : " ImGuiMod_Ctrl | ImGuiKey_C // Accepted by functions taking ImGuiKeyChord arguments)" + "text" : " ImGuiMod_Ctrl | ImGuiKey_C // Accepted by functions taking ImGuiKeyChord arguments" }, { "@type" : "AstTextComment", "text" : " only ImGuiMod_XXX values are legal to combine with an ImGuiKey. You CANNOT combine two ImGuiKey values." @@ -7359,10 +8518,16 @@ "text" : " - To understand the difference:" }, { "@type" : "AstTextComment", - "text" : " - IsKeyChordPressed() compares mods and call IsKeyPressed() -> function has no side-effect." + "text" : " - IsKeyChordPressed() compares mods and call IsKeyPressed()" + }, { + "@type" : "AstTextComment", + "text" : " -> the function has no side-effect." + }, { + "@type" : "AstTextComment", + "text" : " - Shortcut() submits a route, routes are resolved, if it currently can be routed it calls IsKeyChordPressed()" }, { "@type" : "AstTextComment", - "text" : " - Shortcut() submits a route, routes are resolved, if it currently can be routed it calls IsKeyChordPressed() -> function has (desirable) side-effects as it can prevents another call from getting the route." + "text" : " -> the function has (desirable) side-effects as it can prevents another call from getting the route." }, { "@type" : "AstTextComment", "text" : " - Visualize registered routes in 'Metrics/Debugger->Inputs'." @@ -7383,7 +8548,41 @@ "name" : "flags", "qualType" : "ImGuiInputFlags", "desugaredQualType" : "int", - "defaultValue" : "n" + "defaultValue" : "S" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetItemKeyOwner", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "key", + "qualType" : "ImGuiKey", + "desugaredQualType" : "ImGuiKey" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Inputs Utilities: Key/Input Ownership [BETA]" + }, { + "@type" : "AstTextComment", + "text" : " - One common use case would be to allow your items to disable standard inputs behaviors such" + }, { + "@type" : "AstTextComment", + "text" : " as Tab or Alt key handling, Mouse Wheel scrolling, etc." + }, { + "@type" : "AstTextComment", + "text" : " e.g. Button(...); SetItemKeyOwner(ImGuiKey_MouseWheelY); to make hovering/activating a button disable wheel for scrolling." + }, { + "@type" : "AstTextComment", + "text" : " - Reminder ImGuiKey enum include access to mouse buttons and gamepad, so key ownership can apply to them." + }, { + "@type" : "AstTextComment", + "text" : " - Many related features are still in imgui_internal.h. For instance, most IsKeyXXX()/IsMouseXXX() functions have an owner-id-aware version." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -7400,7 +8599,7 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Inputs Utilities: Mouse specific" + "text" : " Inputs Utilities: Mouse" }, { "@type" : "AstTextComment", "text" : " - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right." @@ -7427,7 +8626,7 @@ "name" : "repeat", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : "deFla" + "defaultValue" : " appe" } ] }, { "@type" : "AstFunctionDecl", @@ -7449,6 +8648,21 @@ "qualType" : "ImGuiMouseButton", "desugaredQualType" : "int" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseReleasedWithDelay", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "delay", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { "@type" : "AstFunctionDecl", "name" : "GetMouseClickedCount", @@ -7478,7 +8692,7 @@ "name" : "clip", "qualType" : "bool", "desugaredQualType" : "bool", - "defaultValue" : "beca" + "defaultValue" : "ws/n" } ] }, { "@type" : "AstFunctionDecl", @@ -7489,7 +8703,7 @@ "name" : "mouse_pos", "qualType" : "const ImVec2 *", "desugaredQualType" : "const ImVec2 *", - "defaultValue" : "mGui" + "defaultValue" : " " } ] }, { "@type" : "AstFunctionDecl", @@ -7517,7 +8731,7 @@ "name" : "lock_threshold", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " " + "defaultValue" : " | Im" } ] }, { "@type" : "AstFunctionDecl", @@ -7528,13 +8742,13 @@ "name" : "button", "qualType" : "ImGuiMouseButton", "desugaredQualType" : "int", - "defaultValue" : "h" + "defaultValue" : "m" }, { "@type" : "AstParmVarDecl", "name" : "lock_threshold", "qualType" : "float", "desugaredQualType" : "float", - "defaultValue" : " ImGu" + "defaultValue" : "e | I" } ] }, { "@type" : "AstFunctionDecl", @@ -7545,7 +8759,7 @@ "name" : "button", "qualType" : "ImGuiMouseButton", "desugaredQualType" : "int", - "defaultValue" : "e" + "defaultValue" : "t" } ] }, { "@type" : "AstFunctionDecl", @@ -7640,7 +8854,7 @@ "name" : "ini_size", "qualType" : "size_t", "desugaredQualType" : "unsigned long", - "defaultValue" : " " + "defaultValue" : "G" } ] }, { "@type" : "AstFunctionDecl", @@ -7661,7 +8875,7 @@ "name" : "out_ini_size", "qualType" : "size_t *", "desugaredQualType" : "size_t *", - "defaultValue" : "wind" + "defaultValue" : "ive;" } ] }, { "@type" : "AstFunctionDecl", @@ -7681,7 +8895,13 @@ "text" : " Debug Utilities" }, { "@type" : "AstTextComment", - "text" : " - Your main debugging friend is the ShowMetricsWindow() function, which is also accessible from Demo->Tools->Metrics Debugger" + "text" : " - Your main debugging friend is the ShowMetricsWindow() function." + }, { + "@type" : "AstTextComment", + "text" : " - Interactive tools are all accessible from the 'Dear ImGui Demo->Tools' menu." + }, { + "@type" : "AstTextComment", + "text" : " - Read https://github.com/ocornut/imgui/wiki/Debug-Tools for a description of all available debug tools." } ] } ] } ] @@ -7739,6 +8959,41 @@ "qualType" : "size_t", "desugaredQualType" : "unsigned long" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DebugLog", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DebugLogV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "va_list", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { "@type" : "AstFunctionDecl", "name" : "SetAllocatorFunctions", @@ -7758,7 +9013,7 @@ "name" : "user_data", "qualType" : "void *", "desugaredQualType" : "void *", - "defaultValue" : "ULL." + "defaultValue" : " " }, { "@type" : "AstFullComment", "decls" : [ { @@ -7820,8 +9075,8 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "GetPlatformIO", - "resultType" : "ImGuiPlatformIO &", + "name" : "UpdatePlatformWindows", + "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { @@ -7838,10 +9093,6 @@ } ] } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "UpdatePlatformWindows", - "resultType" : "void" }, { "@type" : "AstFunctionDecl", "name" : "RenderPlatformWindowsDefault", @@ -7851,13 +9102,13 @@ "name" : "platform_render_arg", "qualType" : "void *", "desugaredQualType" : "void *", - "defaultValue" : "ng t" + "defaultValue" : "dden" }, { "@type" : "AstParmVarDecl", "name" : "renderer_render_arg", "qualType" : "void *", "desugaredQualType" : "void *", - "defaultValue" : " b" + "defaultValue" : "edFl" } ] }, { "@type" : "AstFunctionDecl", @@ -7869,7 +9120,7 @@ "resultType" : "ImGuiViewport *", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "id", + "name" : "viewport_id", "qualType" : "ImGuiID", "desugaredQualType" : "unsigned int" } ] @@ -7886,670 +9137,230 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImStrbolW", - "resultType" : "const ImWchar *", + "name" : "ImFileOpen", + "resultType" : "ImFileHandle", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "buf_mid_line", - "qualType" : "const ImWchar *", - "desugaredQualType" : "const ImWchar *" + "name" : "filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "buf_begin", - "qualType" : "const ImWchar *", - "desugaredQualType" : "const ImWchar *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImToUpper", - "resultType" : "char", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "char", - "desugaredQualType" : "char" + "name" : "mode", + "qualType" : "const char *", + "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImCharIsBlankA", + "name" : "ImFileClose", "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "char", - "desugaredQualType" : "char" + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImCharIsBlankW", - "resultType" : "bool", + "name" : "ImFileGetSize", + "resultType" : "ImU64", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImFormatString", - "resultType" : "int", + "name" : "ImFileRead", + "resultType" : "ImU64", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "buf", - "qualType" : "char *", - "desugaredQualType" : "char *" + "name" : "data", + "qualType" : "void *", + "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", - "name" : "buf_size", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" + "name" : "size", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" }, { "@type" : "AstParmVarDecl", - "name" : "fmt", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "name" : "count", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" }, { "@type" : "AstParmVarDecl", - "name" : "#FORMAT_ATTR_MARKER#", - "qualType" : "#FORMAT_ATTR_MARKER#", - "desugaredQualType" : "#FORMAT_ATTR_MARKER#" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Helpers: Formatting" - } ] - } ] + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImFormatStringV", - "resultType" : "int", + "name" : "ImFileWrite", + "resultType" : "ImU64", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "buf", - "qualType" : "char *", - "desugaredQualType" : "char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "buf_size", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" + "name" : "data", + "qualType" : "const void *", + "desugaredQualType" : "const void *" }, { "@type" : "AstParmVarDecl", - "name" : "fmt", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "name" : "size", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" }, { "@type" : "AstParmVarDecl", - "name" : "args", - "qualType" : "va_list", - "desugaredQualType" : "char *" + "name" : "count", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" }, { "@type" : "AstParmVarDecl", - "name" : "#FORMAT_ATTR_MARKER#", - "qualType" : "#FORMAT_ATTR_MARKER#", - "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImFormatStringToTempBuffer", - "resultType" : "void", + "name" : "ImFileLoadToMemory", + "resultType" : "void *", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "out_buf", - "qualType" : "const char **", - "desugaredQualType" : "const char **" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_buf_end", - "qualType" : "const char **", - "desugaredQualType" : "const char **" + "name" : "filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "fmt", + "name" : "mode", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "#FORMAT_ATTR_MARKER#", - "qualType" : "#FORMAT_ATTR_MARKER#", - "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + "name" : "out_file_size", + "qualType" : "size_t *", + "desugaredQualType" : "size_t *", + "defaultValue" : "NULL" + }, { + "@type" : "AstParmVarDecl", + "name" : "padding_bytes", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImFormatStringToTempBufferV", - "resultType" : "void", + "name" : "ImPow", + "resultType" : "float", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "out_buf", - "qualType" : "const char **", - "desugaredQualType" : "const char **" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_buf_end", - "qualType" : "const char **", - "desugaredQualType" : "const char **" + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstParmVarDecl", - "name" : "fmt", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { + "name" : "y", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImPow", + "resultType" : "double", + "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "args", - "qualType" : "va_list", - "desugaredQualType" : "char *" + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", - "name" : "#FORMAT_ATTR_MARKER#", - "qualType" : "#FORMAT_ATTR_MARKER#", - "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + "name" : "y", + "qualType" : "double", + "desugaredQualType" : "double" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImParseFormatFindStart", - "resultType" : "const char *", + "name" : "ImLog", + "resultType" : "float", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "format", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImParseFormatFindEnd", - "resultType" : "const char *", + "name" : "ImLog", + "resultType" : "double", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "format", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImParseFormatTrimDecorations", - "resultType" : "const char *", + "name" : "ImAbs", + "resultType" : "int", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "format", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "buf", - "qualType" : "char *", - "desugaredQualType" : "char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "buf_size", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" + "name" : "x", + "qualType" : "int", + "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImParseFormatSanitizeForPrinting", - "resultType" : "void", + "name" : "ImAbs", + "resultType" : "float", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "fmt_in", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "fmt_out", - "qualType" : "char *", - "desugaredQualType" : "char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "fmt_out_size", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImParseFormatSanitizeForScanning", - "resultType" : "const char *", + "name" : "ImAbs", + "resultType" : "double", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "fmt_in", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "fmt_out", - "qualType" : "char *", - "desugaredQualType" : "char *" - }, { + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImSign", + "resultType" : "float", + "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "fmt_out_size", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImParseFormatPrecision", - "resultType" : "int", + "name" : "ImSign", + "resultType" : "double", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "format", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImRsqrt", + "resultType" : "float", + "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "default_value", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImTextCharToUtf8", - "resultType" : "const char *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "out_buf", - "qualType" : "char *", - "desugaredQualType" : "char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Helpers: UTF-8 " - }, { - "@type" : "AstTextComment", - "text" : "<" - }, { - "@type" : "AstTextComment", - "text" : "> wchar conversions" - } ] - } ] - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextStrToUtf8", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "out_buf", - "qualType" : "char *", - "desugaredQualType" : "char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_buf_size", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text", - "qualType" : "const ImWchar *", - "desugaredQualType" : "const ImWchar *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_end", - "qualType" : "const ImWchar *", - "desugaredQualType" : "const ImWchar *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextCharFromUtf8", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "out_char", - "qualType" : "unsigned int *", - "desugaredQualType" : "unsigned int *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_end", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextStrFromUtf8", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "out_buf", - "qualType" : "ImWchar *", - "desugaredQualType" : "ImWchar *" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_buf_size", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_end", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_remaining", - "qualType" : "const char **", - "desugaredQualType" : "const char **", - "defaultValue" : "NULL" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextCountCharsFromUtf8", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "in_text", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_end", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextCountUtf8BytesFromChar", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "in_text", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_end", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextCountUtf8BytesFromStr", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "in_text", - "qualType" : "const ImWchar *", - "desugaredQualType" : "const ImWchar *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_end", - "qualType" : "const ImWchar *", - "desugaredQualType" : "const ImWchar *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextFindPreviousUtf8Codepoint", - "resultType" : "const char *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "in_text_start", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_curr", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTextCountLines", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "in_text", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "in_text_end", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFileOpen", - "resultType" : "ImFileHandle", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "filename", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "mode", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFileClose", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "file", - "qualType" : "ImFileHandle", - "desugaredQualType" : "FILE *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFileGetSize", - "resultType" : "ImU64", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "file", - "qualType" : "ImFileHandle", - "desugaredQualType" : "FILE *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFileRead", - "resultType" : "ImU64", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "data", - "qualType" : "void *", - "desugaredQualType" : "void *" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "ImU64", - "desugaredQualType" : "unsigned long long" - }, { - "@type" : "AstParmVarDecl", - "name" : "count", - "qualType" : "ImU64", - "desugaredQualType" : "unsigned long long" - }, { - "@type" : "AstParmVarDecl", - "name" : "file", - "qualType" : "ImFileHandle", - "desugaredQualType" : "FILE *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFileWrite", - "resultType" : "ImU64", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "data", - "qualType" : "const void *", - "desugaredQualType" : "const void *" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "ImU64", - "desugaredQualType" : "unsigned long long" - }, { - "@type" : "AstParmVarDecl", - "name" : "count", - "qualType" : "ImU64", - "desugaredQualType" : "unsigned long long" - }, { - "@type" : "AstParmVarDecl", - "name" : "file", - "qualType" : "ImFileHandle", - "desugaredQualType" : "FILE *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFileLoadToMemory", - "resultType" : "void *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "filename", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "mode", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_file_size", - "qualType" : "size_t *", - "desugaredQualType" : "size_t *", - "defaultValue" : "NULL" - }, { - "@type" : "AstParmVarDecl", - "name" : "padding_bytes", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "0" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImPow", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "y", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImPow", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - }, { - "@type" : "AstParmVarDecl", - "name" : "y", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLog", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLog", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImAbs", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImAbs", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImAbs", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImSign", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImSign", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImRsqrt", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImRsqrt", - "resultType" : "double", + "name" : "ImRsqrt", + "resultType" : "double", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "x", @@ -8760,6 +9571,26 @@ "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTrunc64", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "f", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImRound64", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "f", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImModPositive", @@ -8830,6 +9661,36 @@ "qualType" : "float", "desugaredQualType" : "float" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLinearRemapClamp", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "s0", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "s1", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "d0", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "d1", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImMul", @@ -9180,6 +10041,29 @@ "qualType" : "float", "desugaredQualType" : "float" } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImVec2i", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helper: ImVec2i (2D vector, integer)" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "x", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "y", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { "@type" : "AstRecordDecl", "name" : "ImVec2ih", @@ -9399,10 +10283,6 @@ "qualType" : "const ImRect &", "desugaredQualType" : "const ImRect &" } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "Floor", - "resultType" : "void" }, { "@type" : "AstFunctionDecl", "name" : "IsInverted", @@ -9411,6 +10291,10 @@ "@type" : "AstFunctionDecl", "name" : "ToVec4", "resultType" : "ImVec4" + }, { + "@type" : "AstFunctionDecl", + "name" : "AsVec4", + "resultType" : "const ImVec4 &" } ] }, { "@type" : "AstFunctionDecl", @@ -9584,7 +10468,7 @@ } ] }, { "@type" : "AstFieldDecl", - "name" : "LineOffsets", + "name" : "Offsets", "qualType" : "ImVector", "desugaredQualType" : "ImVector" }, { @@ -9692,7 +10576,13 @@ "text" : " Data shared between all ImDrawList instances" }, { "@type" : "AstTextComment", - "text" : " You may want to create your own instance of this if you want to use ImDrawList completely without ImGui. In that case, watch out for future changes to this structure." + "text" : " Conceptually this could have been called e.g. ImDrawListSharedContext" + }, { + "@type" : "AstTextComment", + "text" : " Typically one ImGui context would create and maintain one of this." + }, { + "@type" : "AstTextComment", + "text" : " You may want to create your own instance of you try to ImDrawList completely without ImGui. In that case, watch out for future changes to this structure." } ] } ] }, { @@ -9700,6 +10590,16 @@ "name" : "TexUvWhitePixel", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "TexUvLines", + "qualType" : "const ImVec4 *", + "desugaredQualType" : "const ImVec4 *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontAtlas", + "qualType" : "ImFontAtlas *", + "desugaredQualType" : "ImFontAtlas *" }, { "@type" : "AstFieldDecl", "name" : "Font", @@ -9710,6 +10610,11 @@ "name" : "FontSize", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "FontScale", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "CurveTessellationTol", @@ -9722,19 +10627,34 @@ "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", - "name" : "ClipRectFullscreen", - "qualType" : "ImVec4", - "desugaredQualType" : "ImVec4" + "name" : "InitialFringeScale", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "InitialFlags", "qualType" : "ImDrawListFlags", "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ClipRectFullscreen", + "qualType" : "ImVec4", + "desugaredQualType" : "ImVec4" }, { "@type" : "AstFieldDecl", "name" : "TempBuffer", "qualType" : "ImVector", "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawLists", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "Context", + "qualType" : "ImGuiContext *", + "desugaredQualType" : "ImGuiContext *" }, { "@type" : "AstFieldDecl", "name" : "ArcFastVtx", @@ -9750,11 +10670,6 @@ "name" : "CircleSegmentCounts", "qualType" : "ImU8[64]", "desugaredQualType" : "ImU8[64]" - }, { - "@type" : "AstFieldDecl", - "name" : "TexUvLines", - "qualType" : "const ImVec4 *", - "desugaredQualType" : "const ImVec4 *" }, { "@type" : "AstFunctionDecl", "name" : "SetCircleTessellationMaxError", @@ -9782,7 +10697,26 @@ } ] }, { "@type" : "AstRecordDecl", - "name" : "ImGuiDataVarInfo", + "name" : "ImFontStackData", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontSizeBeforeScaling", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "FontSizeAfterScaling", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiStyleVarInfo", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { @@ -9792,22 +10726,22 @@ "text" : "-----------------------------------------------------------------------------" }, { "@type" : "AstTextComment", - "text" : " [SECTION] Data types support" + "text" : " [SECTION] Style support" }, { "@type" : "AstTextComment", "text" : "-----------------------------------------------------------------------------" } ] } ] - }, { - "@type" : "AstFieldDecl", - "name" : "Type", - "qualType" : "ImGuiDataType", - "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "Count", "qualType" : "ImU32", "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DataType", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "Offset", @@ -9824,10 +10758,66 @@ "desugaredQualType" : "void *" } ] } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiColorMod", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Stacked color modifier, backup of modified data so we can restore it" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Col", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupValue", + "qualType" : "ImVec4", + "desugaredQualType" : "ImVec4" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiStyleMod", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "VarIdx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + } ] }, { "@type" : "AstRecordDecl", "name" : "ImGuiDataTypeStorage", "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] Data types support" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + } ] + } ] + }, { "@type" : "AstFieldDecl", "name" : "Data", "qualType" : "ImU8[8]", @@ -9878,154 +10868,126 @@ "text" : " Extend ImGuiDataType_" } ] } ] - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiDataType_String", - "qualType" : "ImGuiDataTypePrivate_", - "order" : 0, - "value" : "ImGuiDataType_COUNT + 1", - "evaluatedValue" : 11 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_Pointer", "qualType" : "ImGuiDataTypePrivate_", - "order" : 1, + "order" : 0, + "value" : "ImGuiDataType_COUNT", "evaluatedValue" : 12 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_ID", "qualType" : "ImGuiDataTypePrivate_", - "order" : 2, + "order" : 1, "evaluatedValue" : 13 } ] }, { "@type" : "AstEnumDecl", - "name" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlagsPrivate_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Flags used by upcoming items" - }, { - "@type" : "AstTextComment", - "text" : " - input: PushItemFlag() manipulates g.CurrentItemFlags, ItemAdd() calls may add extra flags." - }, { - "@type" : "AstTextComment", - "text" : " - output: stored in g.LastItemData.InFlags" + "text" : " Extend ImGuiItemFlags" }, { "@type" : "AstTextComment", - "text" : " Current window shared by all windows." + "text" : " - input: PushItemFlag() manipulates g.CurrentItemFlags, g.NextItemData.ItemFlags, ItemAdd() calls may add extra flags too." }, { "@type" : "AstTextComment", - "text" : " This is going to be exposed in imgui.h when stabilized enough." + "text" : " - output: stored in g.LastItemData.ItemFlags" } ] } ] }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_None", - "docComment" : "Controlled by user", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_ReadOnly", + "docComment" : "false // [ALPHA] Allow hovering interactions but underlying value is not changed.", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 0, - "value" : "0", - "evaluatedValue" : 0 + "value" : "1 << 11", + "evaluatedValue" : 2048 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_NoTabStop", - "docComment" : "false // Disable keyboard tabbing. This is a \"lighter\" version of ImGuiItemFlags_NoNav.", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_MixedValue", + "docComment" : "false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets)", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : 1 + "value" : "1 << 12", + "evaluatedValue" : 4096 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_ButtonRepeat", - "docComment" : "false // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings.", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_NoWindowHoverableCheck", + "docComment" : "false // Disable hoverable check in ItemHoverable()", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : 2 + "value" : "1 << 13", + "evaluatedValue" : 8192 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_Disabled", - "docComment" : "false // Disable interactions but doesn't affect visuals. See BeginDisabled()/EndDisabled(). See github.com/ocornut/imgui/issues/211", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_AllowOverlap", + "docComment" : "false // Allow being overlapped by another widget. Not-hovered to Hovered transition deferred by a frame.", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : 4 + "value" : "1 << 14", + "evaluatedValue" : 16384 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_NoNav", - "docComment" : "false // Disable any form of focusing (keyboard/gamepad directional navigation and SetKeyboardFocusHere() calls)", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_NoNavDisableMouseHover", + "docComment" : "false // Nav keyboard/gamepad mode doesn't disable hover highlight (behave as if NavHighlightItemUnderNav==false).", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 4, - "value" : "1 << 3", - "evaluatedValue" : 8 + "value" : "1 << 15", + "evaluatedValue" : 32768 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_NoNavDefaultFocus", - "docComment" : "false // Disable item being a candidate for default focus (e.g. used by title bar items)", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_NoMarkEdited", + "docComment" : "false // Skip calling MarkItemEdited()", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 5, - "value" : "1 << 4", - "evaluatedValue" : 16 + "value" : "1 << 16", + "evaluatedValue" : 65536 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_SelectableDontClosePopup", - "docComment" : "false // Disable MenuItem/Selectable() automatically closing their popup window", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_NoFocus", + "docComment" : "false // [EXPERIMENTAL: Not very well specced] Clicking doesn't take focus. Automatically sets ImGuiButtonFlags_NoFocus + ImGuiButtonFlags_NoNavFocus in ButtonBehavior().", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 6, - "value" : "1 << 5", - "evaluatedValue" : 32 + "value" : "1 << 17", + "evaluatedValue" : 131072 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_MixedValue", - "docComment" : "false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets)", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_Inputable", + "docComment" : "false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature.", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 7, - "value" : "1 << 6", - "evaluatedValue" : 64 + "value" : "1 << 20", + "evaluatedValue" : 1048576 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_ReadOnly", - "docComment" : "false // [ALPHA] Allow hovering interactions but underlying value is not changed.", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_HasSelectionUserData", + "docComment" : "false // Set by SetNextItemSelectionUserData()", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 8, - "value" : "1 << 7", - "evaluatedValue" : 128 + "value" : "1 << 21", + "evaluatedValue" : 2097152 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_NoWindowHoverableCheck", - "docComment" : "false // Disable hoverable check in ItemHoverable()", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_IsMultiSelect", + "docComment" : "false // Set by SetNextItemSelectionUserData()", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 9, - "value" : "1 << 8", - "evaluatedValue" : 256 + "value" : "1 << 22", + "evaluatedValue" : 4194304 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_AllowOverlap", - "docComment" : "false // Allow being overlapped by another widget. Not-hovered to Hovered transition deferred by a frame.", - "qualType" : "ImGuiItemFlags_", + "name" : "ImGuiItemFlags_Default_", + "docComment" : "Please don't change, use PushItemFlag() instead.", + "qualType" : "ImGuiItemFlagsPrivate_", "order" : 10, - "value" : "1 << 9", - "evaluatedValue" : 512 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_Inputable", - "docComment" : "false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature.", - "qualType" : "ImGuiItemFlags_", - "order" : 11, - "value" : "1 << 10", - "evaluatedValue" : 1024 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_HasSelectionUserData", - "docComment" : "false // Set by SetNextItemSelectionUserData()", - "qualType" : "ImGuiItemFlags_", - "order" : 12, - "value" : "1 << 11", - "evaluatedValue" : 2048 + "value" : "ImGuiItemFlags_AutoClosePopups", + "evaluatedValue" : 16 } ] }, { "@type" : "AstEnumDecl", @@ -10194,28 +11156,20 @@ "evaluatedValue" : 67108864 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_NoMarkEdited", - "docComment" : "For internal use by functions using InputText() before reformatting data", + "name" : "ImGuiInputTextFlags_TempInput", + "docComment" : "For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.", "qualType" : "ImGuiInputTextFlagsPrivate_", "order" : 1, "value" : "1 << 27", "evaluatedValue" : 134217728 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_MergedItem", - "docComment" : "For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.", + "name" : "ImGuiInputTextFlags_LocalizeDecimalPoint", + "docComment" : "For internal use by InputScalar() and TempInputScalar()", "qualType" : "ImGuiInputTextFlagsPrivate_", "order" : 2, "value" : "1 << 28", "evaluatedValue" : 268435456 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_LocalizeDecimalPoint", - "docComment" : "For internal use by InputScalar() and TempInputScalar()", - "qualType" : "ImGuiInputTextFlagsPrivate_", - "order" : 3, - "value" : "1 << 29", - "evaluatedValue" : 536870912 } ] }, { "@type" : "AstEnumDecl", @@ -10256,7 +11210,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiButtonFlags_PressedOnRelease", - "docComment" : "return true on release (default requires click+release)", + "docComment" : "return true on release (default requires click+release). Prior to 2026/03/20 this implied ImGuiButtonFlags_NoHoldingActiveId but they are separate now.", "qualType" : "ImGuiButtonFlagsPrivate_", "order" : 3, "value" : "1 << 7", @@ -10277,52 +11231,28 @@ "order" : 5, "value" : "1 << 9", "evaluatedValue" : 512 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_Repeat", - "docComment" : "hold to repeat", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 6, - "value" : "1 << 10", - "evaluatedValue" : 1024 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiButtonFlags_FlattenChildren", "docComment" : "allow interactions even if a child window is overlapping", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 7, + "order" : 6, "value" : "1 << 11", "evaluatedValue" : 2048 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_AllowOverlap", - "docComment" : "require previous frame HoveredId to either match id or be null before being usable.", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 8, - "value" : "1 << 12", - "evaluatedValue" : 4096 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_DontClosePopups", - "docComment" : "disable automatically closing parent popup on press // [UNUSED]", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 9, - "value" : "1 << 13", - "evaluatedValue" : 8192 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiButtonFlags_AlignTextBaseLine", "docComment" : "vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 10, + "order" : 7, "value" : "1 << 15", "evaluatedValue" : 32768 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_NoKeyModifiers", + "name" : "ImGuiButtonFlags_NoKeyModsAllowed", "docComment" : "disable mouse interaction if a key modifier is held", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 11, + "order" : 8, "value" : "1 << 16", "evaluatedValue" : 65536 }, { @@ -10330,15 +11260,15 @@ "name" : "ImGuiButtonFlags_NoHoldingActiveId", "docComment" : "don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 12, + "order" : 9, "value" : "1 << 17", "evaluatedValue" : 131072 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiButtonFlags_NoNavFocus", - "docComment" : "don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.InFlags)", + "docComment" : "don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.ItemFlags)", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 13, + "order" : 10, "value" : "1 << 18", "evaluatedValue" : 262144 }, { @@ -10346,7 +11276,7 @@ "name" : "ImGuiButtonFlags_NoHoveredOnFocus", "docComment" : "don't report as hovered when nav focus is on this item", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 14, + "order" : 11, "value" : "1 << 19", "evaluatedValue" : 524288 }, { @@ -10354,7 +11284,7 @@ "name" : "ImGuiButtonFlags_NoSetKeyOwner", "docComment" : "don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!)", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 15, + "order" : 12, "value" : "1 << 20", "evaluatedValue" : 1048576 }, { @@ -10362,21 +11292,29 @@ "name" : "ImGuiButtonFlags_NoTestKeyOwner", "docComment" : "don't test key/input owner when polling the key (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!)", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 16, + "order" : 13, "value" : "1 << 21", "evaluatedValue" : 2097152 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_NoFocus", + "docComment" : "[EXPERIMENTAL: Not very well specced]. Don't focus parent window when clicking.", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 14, + "value" : "1 << 22", + "evaluatedValue" : 4194304 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiButtonFlags_PressedOnMask_", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 17, + "order" : 15, "value" : "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold", "evaluatedValue" : 1008 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiButtonFlags_PressedOnDefault_", "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 18, + "order" : 16, "value" : "ImGuiButtonFlags_PressedOnClickRelease", "evaluatedValue" : 32 } ] @@ -10450,20 +11388,12 @@ "order" : 0, "value" : "1 << 20", "evaluatedValue" : 1048576 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_SelectOnNav", - "docComment" : "(WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API.", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 1, - "value" : "1 << 21", - "evaluatedValue" : 2097152 }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiSelectableFlags_SelectOnClick", "docComment" : "Override button behavior to react on Click (default is Click+Release)", "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 2, + "order" : 1, "value" : "1 << 22", "evaluatedValue" : 4194304 }, { @@ -10471,7 +11401,7 @@ "name" : "ImGuiSelectableFlags_SelectOnRelease", "docComment" : "Override button behavior to react on Release (default is Click+Release)", "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 3, + "order" : 2, "value" : "1 << 23", "evaluatedValue" : 8388608 }, { @@ -10479,7 +11409,7 @@ "name" : "ImGuiSelectableFlags_SpanAvailWidth", "docComment" : "Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus)", "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 4, + "order" : 3, "value" : "1 << 24", "evaluatedValue" : 16777216 }, { @@ -10487,7 +11417,7 @@ "name" : "ImGuiSelectableFlags_SetNavIdOnHover", "docComment" : "Set Nav/Focus ID on mouse hover (used by MenuItem)", "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 5, + "order" : 4, "value" : "1 << 25", "evaluatedValue" : 33554432 }, { @@ -10495,7 +11425,7 @@ "name" : "ImGuiSelectableFlags_NoPadWithHalfSpacing", "docComment" : "Disable padding each side with ItemSpacing * 0.5f", "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 6, + "order" : 5, "value" : "1 << 26", "evaluatedValue" : 67108864 }, { @@ -10503,7 +11433,7 @@ "name" : "ImGuiSelectableFlags_NoSetKeyOwner", "docComment" : "Don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!)", "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 7, + "order" : 6, "value" : "1 << 27", "evaluatedValue" : 134217728 } ] @@ -10521,19 +11451,42 @@ } ] }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTreeNodeFlags_ClipLabelForTrailingButton", + "name" : "ImGuiTreeNodeFlags_NoNavFocus", + "docComment" : "Don't claim nav focus when interacting with this item (#8551)", "qualType" : "ImGuiTreeNodeFlagsPrivate_", "order" : 0, - "value" : "1 << 20", - "evaluatedValue" : 1048576 + "value" : "1 << 27", + "evaluatedValue" : 134217728 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTreeNodeFlags_UpsideDownArrow", - "docComment" : "(FIXME-WIP) Turn Down arrow into an Up arrow, but reversed trees (#6517)", + "name" : "ImGuiTreeNodeFlags_ClipLabelForTrailingButton", + "docComment" : "FIXME-WIP: Hard-coded for CollapsingHeader()", "qualType" : "ImGuiTreeNodeFlagsPrivate_", "order" : 1, - "value" : "1 << 21", - "evaluatedValue" : 2097152 + "value" : "1 << 28", + "evaluatedValue" : 268435456 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_UpsideDownArrow", + "docComment" : "FIXME-WIP: Turn Down arrow into an Up arrow, for reversed trees (#6517)", + "qualType" : "ImGuiTreeNodeFlagsPrivate_", + "order" : 2, + "value" : "1 << 29", + "evaluatedValue" : 536870912 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_OpenOnMask_", + "qualType" : "ImGuiTreeNodeFlagsPrivate_", + "order" : 3, + "value" : "ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_OpenOnArrow", + "evaluatedValue" : 192 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_DrawLinesMask_", + "qualType" : "ImGuiTreeNodeFlagsPrivate_", + "order" : 4, + "value" : "ImGuiTreeNodeFlags_DrawLinesNone | ImGuiTreeNodeFlags_DrawLinesFull | ImGuiTreeNodeFlags_DrawLinesToNodes", + "evaluatedValue" : 1835008 } ] }, { "@type" : "AstEnumDecl", @@ -10680,38 +11633,58 @@ } ] }, { "@type" : "AstEnumDecl", - "name" : "ImGuiLogType", + "name" : "ImGuiLogFlags_", "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Flags for LogBegin() text capturing function" + } ] + } ] + }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_None", - "qualType" : "ImGuiLogType", + "name" : "ImGuiLogFlags_None", + "qualType" : "ImGuiLogFlags_", "order" : 0, "value" : "0", "evaluatedValue" : 0 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_TTY", - "qualType" : "ImGuiLogType", + "name" : "ImGuiLogFlags_OutputTTY", + "qualType" : "ImGuiLogFlags_", "order" : 1, + "value" : "1 << 0", "evaluatedValue" : 1 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_File", - "qualType" : "ImGuiLogType", + "name" : "ImGuiLogFlags_OutputFile", + "qualType" : "ImGuiLogFlags_", "order" : 2, + "value" : "1 << 1", "evaluatedValue" : 2 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_Buffer", - "qualType" : "ImGuiLogType", + "name" : "ImGuiLogFlags_OutputBuffer", + "qualType" : "ImGuiLogFlags_", "order" : 3, - "evaluatedValue" : 3 + "value" : "1 << 2", + "evaluatedValue" : 4 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_Clipboard", - "qualType" : "ImGuiLogType", + "name" : "ImGuiLogFlags_OutputClipboard", + "qualType" : "ImGuiLogFlags_", "order" : 4, - "evaluatedValue" : 4 + "value" : "1 << 3", + "evaluatedValue" : 8 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLogFlags_OutputMask_", + "qualType" : "ImGuiLogFlags_", + "order" : 5, + "value" : "ImGuiLogFlags_OutputTTY | ImGuiLogFlags_OutputFile | ImGuiLogFlags_OutputBuffer | ImGuiLogFlags_OutputClipboard", + "evaluatedValue" : 15 } ] }, { "@type" : "AstEnumDecl", @@ -10763,47 +11736,6 @@ "order" : 1, "evaluatedValue" : 1 } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiColorMod", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Stacked color modifier, backup of modified data so we can restore it" - } ] - } ] - }, { - "@type" : "AstFieldDecl", - "name" : "Col", - "qualType" : "ImGuiCol", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "BackupValue", - "qualType" : "ImVec4", - "desugaredQualType" : "ImVec4" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiStyleMod", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable." - } ] - } ] - }, { - "@type" : "AstFieldDecl", - "name" : "VarIdx", - "qualType" : "ImGuiStyleVar", - "desugaredQualType" : "int" - } ] }, { "@type" : "AstRecordDecl", "name" : "ImGuiComboPreviewData", @@ -10906,7 +11838,12 @@ "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "BackupActiveIdPreviousFrameIsAlive", + "name" : "BackupActiveIdHasBeenEditedThisFrame", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupDeactivatedIdIsAlive", "qualType" : "bool", "desugaredQualType" : "bool" }, { @@ -11055,6 +11992,9 @@ "name" : "ClearFreeMemory", "resultType" : "void" } ] + }, { + "@type" : "AstNamespaceDecl", + "name" : "ImStb" }, { "@type" : "AstRecordDecl", "name" : "ImGuiInputTextState", @@ -11075,6 +12015,16 @@ "name" : "Ctx", "qualType" : "ImGuiContext *", "desugaredQualType" : "ImGuiContext *" + }, { + "@type" : "AstFieldDecl", + "name" : "Stb", + "qualType" : "ImStbTexteditState *", + "desugaredQualType" : "ImStbTexteditState *" + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "ID", @@ -11082,49 +12032,49 @@ "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "CurLenW", + "name" : "TextLen", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", - "name" : "CurLenA", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "TextSrc", + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { "@type" : "AstFieldDecl", - "name" : "TextW", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" + "name" : "TextA", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "TextA", + "name" : "TextToRevertTo", "qualType" : "ImVector", "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "InitialTextA", + "name" : "CallbackTextBackup", "qualType" : "ImVector", "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "TextAIsValid", - "qualType" : "bool", - "desugaredQualType" : "bool" + "name" : "BufCapacity", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Scroll", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" }, { "@type" : "AstFieldDecl", - "name" : "BufCapacityA", + "name" : "LineCount", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", - "name" : "ScrollX", + "name" : "WrapWidth", "qualType" : "float", "desugaredQualType" : "float" - }, { - "@type" : "AstFieldDecl", - "name" : "Stb", - "qualType" : "ImStb::STB_TexteditState", - "desugaredQualType" : "ImStb::STB_TexteditState" }, { "@type" : "AstFieldDecl", "name" : "CursorAnim", @@ -11135,6 +12085,11 @@ "name" : "CursorFollow", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "CursorCenterY", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "SelectedAllMouseLock", @@ -11142,19 +12097,24 @@ "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "Edited", + "name" : "EditedBefore", "qualType" : "bool", "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "Flags", - "qualType" : "ImGuiInputTextFlags", - "desugaredQualType" : "int" + "name" : "EditedThisFrame", + "qualType" : "bool", + "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", - "name" : "ReloadUserBuf", + "name" : "WantReloadUserBuf", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "LastMoveDirectionLR", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" }, { "@type" : "AstFieldDecl", "name" : "ReloadSelectionStart", @@ -11173,14 +12133,6 @@ "@type" : "AstFunctionDecl", "name" : "ClearFreeMemory", "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetUndoAvailCount", - "resultType" : "int" - }, { - "@type" : "AstFunctionDecl", - "name" : "GetRedoAvailCount", - "resultType" : "int" }, { "@type" : "AstFunctionDecl", "name" : "OnKeyPressed", @@ -11191,6 +12143,24 @@ "qualType" : "int", "desugaredQualType" : "int" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "OnCharPressed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetPreferredOffsetX", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetText", + "resultType" : "const char *" }, { "@type" : "AstFunctionDecl", "name" : "CursorAnimReset", @@ -11235,6 +12205,21 @@ "@type" : "AstFunctionDecl", "name" : "GetSelectionEnd", "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetSelection", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "start", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "end", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { "@type" : "AstFunctionDecl", "name" : "SelectAll", @@ -11309,6 +12294,25 @@ "value" : "1 << 2", "evaluatedValue" : 4 } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiWindowBgClickFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowBgClickFlags_None", + "qualType" : "ImGuiWindowBgClickFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowBgClickFlags_Move", + "docComment" : "Click on bg/void + drag to move window. Cleared by default when using io.ConfigWindowsMoveFromTitleBarOnly.", + "qualType" : "ImGuiWindowBgClickFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : 1 + } ] }, { "@type" : "AstEnumDecl", "name" : "ImGuiNextWindowDataFlags_", @@ -11377,39 +12381,46 @@ "evaluatedValue" : 128 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasChildFlags", + "name" : "ImGuiNextWindowDataFlags_HasWindowFlags", "qualType" : "ImGuiNextWindowDataFlags_", "order" : 9, "value" : "1 << 8", "evaluatedValue" : 256 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasRefreshPolicy", + "name" : "ImGuiNextWindowDataFlags_HasChildFlags", "qualType" : "ImGuiNextWindowDataFlags_", "order" : 10, "value" : "1 << 9", "evaluatedValue" : 512 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasViewport", + "name" : "ImGuiNextWindowDataFlags_HasRefreshPolicy", "qualType" : "ImGuiNextWindowDataFlags_", "order" : 11, "value" : "1 << 10", "evaluatedValue" : 1024 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasDock", + "name" : "ImGuiNextWindowDataFlags_HasViewport", "qualType" : "ImGuiNextWindowDataFlags_", "order" : 12, "value" : "1 << 11", "evaluatedValue" : 2048 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasWindowClass", + "name" : "ImGuiNextWindowDataFlags_HasDock", "qualType" : "ImGuiNextWindowDataFlags_", "order" : 13, "value" : "1 << 12", "evaluatedValue" : 4096 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasWindowClass", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 14, + "value" : "1 << 13", + "evaluatedValue" : 8192 } ] }, { "@type" : "AstRecordDecl", @@ -11425,7 +12436,7 @@ } ] }, { "@type" : "AstFieldDecl", - "name" : "Flags", + "name" : "HasFlags", "qualType" : "ImGuiNextWindowDataFlags", "desugaredQualType" : "int" }, { @@ -11473,6 +12484,11 @@ "name" : "ScrollVal", "qualType" : "ImVec2", "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowFlags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "ChildFlags", @@ -11576,13 +12592,27 @@ "order" : 4, "value" : "1 << 3", "evaluatedValue" : 8 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextItemDataFlags_HasStorageID", + "qualType" : "ImGuiNextItemDataFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : 16 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextItemDataFlags_HasColorMarker", + "qualType" : "ImGuiNextItemDataFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : 32 } ] }, { "@type" : "AstRecordDecl", "name" : "ImGuiNextItemData", "decls" : [ { "@type" : "AstFieldDecl", - "name" : "Flags", + "name" : "HasFlags", "qualType" : "ImGuiNextItemDataFlags", "desugaredQualType" : "int" }, { @@ -11590,6 +12620,11 @@ "name" : "ItemFlags", "qualType" : "ImGuiItemFlags", "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "FocusScopeId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", "name" : "SelectionUserData", @@ -11625,6 +12660,16 @@ "name" : "RefVal", "qualType" : "ImGuiDataTypeStorage", "desugaredQualType" : "ImGuiDataTypeStorage" + }, { + "@type" : "AstFieldDecl", + "name" : "StorageId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorMarker", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" }, { "@type" : "AstFunctionDecl", "name" : "ClearFlags", @@ -11649,7 +12694,7 @@ "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "InFlags", + "name" : "ItemFlags", "qualType" : "ImGuiItemFlags", "desugaredQualType" : "int" }, { @@ -11685,20 +12730,23 @@ } ] }, { "@type" : "AstRecordDecl", - "name" : "ImGuiNavTreeNodeData", + "name" : "ImGuiTreeNodeStackData", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Store data emitted by TreeNode() for usage by TreePop() to implement ImGuiTreeNodeFlags_NavLeftJumpsBackHere." + "text" : " Store data emitted by TreeNode() for usage by TreePop()" + }, { + "@type" : "AstTextComment", + "text" : " - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data" }, { "@type" : "AstTextComment", - "text" : " This is the minimum amount of data that we need to perform the equivalent of NavApplyItemToResult() and which we can't infer in TreePop()" + "text" : " which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult()." }, { "@type" : "AstTextComment", - "text" : " Only stored when the node is a potential candidate for landing on a Left arrow jump." + "text" : " Only stored when the node is a potential candidate for landing on a Left arrow jump." } ] } ] }, { @@ -11708,7 +12756,12 @@ "desugaredQualType" : "unsigned int" }, { "@type" : "AstFieldDecl", - "name" : "InFlags", + "name" : "TreeFlags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ItemFlags", "qualType" : "ImGuiItemFlags", "desugaredQualType" : "int" }, { @@ -11716,15 +12769,49 @@ "name" : "NavRect", "qualType" : "ImRect", "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawLinesX1", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawLinesToNodesY2", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawLinesTableColumn", + "qualType" : "ImGuiTableColumnIdx", + "desugaredQualType" : "short" } ] }, { "@type" : "AstRecordDecl", - "name" : "ImGuiStackSizes", + "name" : "ImGuiErrorRecoveryState", "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " sizeof() = 20" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfWindowStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { "@type" : "AstFieldDecl", "name" : "SizeOfIDStack", "qualType" : "short", "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfTreeStack", + "qualType" : "short", + "desugaredQualType" : "short" }, { "@type" : "AstFieldDecl", "name" : "SizeOfColorStack", @@ -11765,26 +12852,6 @@ "name" : "SizeOfDisabledStack", "qualType" : "short", "desugaredQualType" : "short" - }, { - "@type" : "AstFunctionDecl", - "name" : "SetToContextState", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "ctx", - "qualType" : "ImGuiContext *", - "desugaredQualType" : "ImGuiContext *" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "CompareWithContextState", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "ctx", - "qualType" : "ImGuiContext *", - "desugaredQualType" : "ImGuiContext *" - } ] } ] }, { "@type" : "AstRecordDecl", @@ -11810,14 +12877,19 @@ "desugaredQualType" : "ImGuiLastItemData" }, { "@type" : "AstFieldDecl", - "name" : "StackSizesOnBegin", - "qualType" : "ImGuiStackSizes", - "desugaredQualType" : "ImGuiStackSizes" + "name" : "StackSizesInBegin", + "qualType" : "ImGuiErrorRecoveryState", + "desugaredQualType" : "ImGuiErrorRecoveryState" }, { "@type" : "AstFieldDecl", "name" : "DisabledOverrideReenable", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DisabledOverrideReenableAlphaBackup", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstRecordDecl", @@ -11852,6 +12924,39 @@ "qualType" : "int", "desugaredQualType" : "int" } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiDeactivatedItemData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ElapseFrame", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "HasBeenEditedBefore", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsAlive", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] }, { "@type" : "AstEnumDecl", "name" : "ImGuiPopupPositionPolicy", @@ -12201,13 +13306,13 @@ }, { "@type" : "AstFieldDecl", "name" : "RoutingCurrScore", - "qualType" : "ImU8", - "desugaredQualType" : "unsigned char" + "qualType" : "ImU16", + "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", "name" : "RoutingNextScore", - "qualType" : "ImU8", - "desugaredQualType" : "unsigned char" + "qualType" : "ImU16", + "desugaredQualType" : "unsigned short" }, { "@type" : "AstFieldDecl", "name" : "RoutingCurr", @@ -12237,8 +13342,8 @@ }, { "@type" : "AstFieldDecl", "name" : "Index", - "qualType" : "ImGuiKeyRoutingIndex[154]", - "desugaredQualType" : "ImGuiKeyRoutingIndex[154]" + "qualType" : "ImGuiKeyRoutingIndex[155]", + "desugaredQualType" : "ImGuiKeyRoutingIndex[155]" }, { "@type" : "AstFieldDecl", "name" : "Entries", @@ -12678,7 +13783,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiActivateFlags_FromTabbing", - "docComment" : "Activation requested by a tabbing request", + "docComment" : "Activation requested by a tabbing request (ImGuiNavMoveFlags_IsTabbing)", "qualType" : "ImGuiActivateFlags_", "order" : 4, "value" : "1 << 3", @@ -12691,6 +13796,14 @@ "order" : 5, "value" : "1 << 4", "evaluatedValue" : 16 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiActivateFlags_FromFocusApi", + "docComment" : "Activation requested by an api request (ImGuiNavMoveFlags_FocusApi)", + "qualType" : "ImGuiActivateFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : 32 } ] }, { "@type" : "AstEnumDecl", @@ -12784,37 +13897,69 @@ } ] }, { "@type" : "AstEnumDecl", - "name" : "ImGuiNavHighlightFlags_", + "name" : "ImGuiNavRenderCursorFlags_", "decls" : [ { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavHighlightFlags_None", - "qualType" : "ImGuiNavHighlightFlags_", + "name" : "ImGuiNavRenderCursorFlags_None", + "qualType" : "ImGuiNavRenderCursorFlags_", "order" : 0, "value" : "0", "evaluatedValue" : 0 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavHighlightFlags_Compact", - "docComment" : "Compact highlight, no padding", - "qualType" : "ImGuiNavHighlightFlags_", + "name" : "ImGuiNavRenderCursorFlags_Compact", + "docComment" : "Compact highlight, no padding/distance from focused item", + "qualType" : "ImGuiNavRenderCursorFlags_", "order" : 1, "value" : "1 << 1", "evaluatedValue" : 2 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavHighlightFlags_AlwaysDraw", - "docComment" : "Draw rectangular highlight if (g.NavId == id) _even_ when using the mouse.", - "qualType" : "ImGuiNavHighlightFlags_", + "name" : "ImGuiNavRenderCursorFlags_AlwaysDraw", + "docComment" : "Draw rectangular highlight if (g.NavId == id) even when g.NavCursorVisible == false, aka even when using the mouse.", + "qualType" : "ImGuiNavRenderCursorFlags_", "order" : 2, "value" : "1 << 2", "evaluatedValue" : 4 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavHighlightFlags_NoRounding", - "qualType" : "ImGuiNavHighlightFlags_", + "name" : "ImGuiNavRenderCursorFlags_NoRounding", + "qualType" : "ImGuiNavRenderCursorFlags_", "order" : 3, "value" : "1 << 3", "evaluatedValue" : 8 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_None", + "docComment" : "Renamed in 1.91.4", + "qualType" : "ImGuiNavRenderCursorFlags_", + "order" : 4, + "value" : "ImGuiNavRenderCursorFlags_None", + "evaluatedValue" : 0 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_Compact", + "docComment" : "Renamed in 1.91.4", + "qualType" : "ImGuiNavRenderCursorFlags_", + "order" : 5, + "value" : "ImGuiNavRenderCursorFlags_Compact", + "evaluatedValue" : 2 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_AlwaysDraw", + "docComment" : "Renamed in 1.91.4", + "qualType" : "ImGuiNavRenderCursorFlags_", + "order" : 6, + "value" : "ImGuiNavRenderCursorFlags_AlwaysDraw", + "evaluatedValue" : 4 + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_NoRounding", + "docComment" : "Renamed in 1.91.4", + "qualType" : "ImGuiNavRenderCursorFlags_", + "order" : 7, + "value" : "ImGuiNavRenderCursorFlags_NoRounding", + "evaluatedValue" : 8 } ] }, { "@type" : "AstEnumDecl", @@ -12883,7 +14028,7 @@ }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavMoveFlags_ScrollToEdgeY", - "docComment" : "Force scrolling to min/max (used by Home/End) // FIXME-NAV: Aim to remove or reword, probably unnecessary", + "docComment" : "Force scrolling to min/max (used by Home/End) // FIXME-NAV: Aim to remove or reword as ImGuiScrollFlags", "qualType" : "ImGuiNavMoveFlags_", "order" : 8, "value" : "1 << 6", @@ -12945,8 +14090,8 @@ "evaluatedValue" : 8192 }, { "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNavMoveFlags_NoSetNavHighlight", - "docComment" : "Do not alter the visible state of keyboard vs mouse nav highlight", + "name" : "ImGuiNavMoveFlags_NoSetNavCursorVisible", + "docComment" : "Do not alter the nav cursor visible state", "qualType" : "ImGuiNavMoveFlags_", "order" : 16, "value" : "1 << 14", @@ -13020,7 +14165,7 @@ "desugaredQualType" : "ImRect" }, { "@type" : "AstFieldDecl", - "name" : "InFlags", + "name" : "ItemFlags", "qualType" : "ImGuiItemFlags", "desugaredQualType" : "int" }, { @@ -13057,7 +14202,7 @@ "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Storage for PushFocusScope()" + "text" : " Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]" } ] } ] }, { @@ -13370,6 +14515,254 @@ "qualType" : "ImDrawListSplitter", "desugaredQualType" : "ImDrawListSplitter" } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiBoxSelectState", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] Box-select support" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "IsActive", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsStarting", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsStartedFromVoid", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsStartedSetNavIdOnce", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "RequestClear", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "KeyMods", + "qualType" : "ImGuiKeyChord", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "StartPosRel", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "EndPosRel", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "ScrollAccum", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "Window", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "UnclipMode", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "UnclipRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "BoxSelectRectPrev", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "BoxSelectRectCurr", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiMultiSelectTempData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Temporary storage for multi-select" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "IO", + "qualType" : "ImGuiMultiSelectIO", + "desugaredQualType" : "ImGuiMultiSelectIO" + }, { + "@type" : "AstFieldDecl", + "name" : "Storage", + "qualType" : "ImGuiMultiSelectState *", + "desugaredQualType" : "ImGuiMultiSelectState *" + }, { + "@type" : "AstFieldDecl", + "name" : "FocusScopeId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiMultiSelectFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ScopeRectMin", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCursorMaxPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "LastSubmittedItem", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + }, { + "@type" : "AstFieldDecl", + "name" : "BoxSelectId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "KeyMods", + "qualType" : "ImGuiKeyChord", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LoopRequestSetAll", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" + }, { + "@type" : "AstFieldDecl", + "name" : "IsEndIO", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsFocused", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsKeyboardSetRange", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavIdPassedBy", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeSrcPassedBy", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeDstPassedBy", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "Clear", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearIO", + "resultType" : "void" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiMultiSelectState", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Persistent storage for multi-select (as long as selection is alive)" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Window", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastFrameActive", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastSelectionSize", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeSelected", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" + }, { + "@type" : "AstFieldDecl", + "name" : "NavIdSelected", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" + }, { + "@type" : "AstFieldDecl", + "name" : "RangeSrcItem", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + }, { + "@type" : "AstFieldDecl", + "name" : "NavIdItem", + "qualType" : "ImGuiSelectionUserData", + "desugaredQualType" : "long long" + } ] }, { "@type" : "AstEnumDecl", "name" : "ImGuiDockNodeFlagsPrivate_", @@ -13507,7 +14900,7 @@ "docComment" : "Masks", "qualType" : "ImGuiDockNodeFlagsPrivate_", "order" : 15, - "value" : "ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY", + "value" : "(int)ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY", "evaluatedValue" : 196640 }, { "@type" : "AstEnumConstantDecl", @@ -13515,7 +14908,7 @@ "docComment" : "When splitting, those local flags are moved to the inheriting child, never duplicated", "qualType" : "ImGuiDockNodeFlagsPrivate_", "order" : 16, - "value" : "ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton", + "value" : "(int)ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | (int)ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton", "evaluatedValue" : 260208 }, { "@type" : "AstEnumConstantDecl", @@ -13890,7 +15283,7 @@ "docComment" : "Disable title-bar", "qualType" : "ImGuiWindowFlags_", "order" : 1, - "value" : "uiDock", + "value" : "mGuiWi", "evaluatedValue" : 1 }, { "@type" : "AstEnumConstantDecl", @@ -13898,7 +15291,7 @@ "docComment" : "Disable user resizing with the lower-right grip", "qualType" : "ImGuiWindowFlags_", "order" : 2, - "value" : " ", + "value" : "iWindo", "evaluatedValue" : 2 }, { "@type" : "AstEnumConstantDecl", @@ -13906,7 +15299,7 @@ "docComment" : "Disable user moving the window", "qualType" : "ImGuiWindowFlags_", "order" : 3, - "value" : "}\n};\n\n", + "value" : "ectedO", "evaluatedValue" : 4 }, { "@type" : "AstEnumConstantDecl", @@ -13914,7 +15307,7 @@ "docComment" : "Disable scrollbars (window can still scroll with mouse or programmatically)", "qualType" : "ImGuiWindowFlags_", "order" : 4, - "value" : "curren", + "value" : "dSelec", "evaluatedValue" : 8 }, { "@type" : "AstEnumConstantDecl", @@ -13922,7 +15315,7 @@ "docComment" : "Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.", "qualType" : "ImGuiWindowFlags_", "order" : 5, - "value" : "f colo", + "value" : "l_COUN", "evaluatedValue" : 16 }, { "@type" : "AstEnumConstantDecl", @@ -13930,7 +15323,7 @@ "docComment" : "Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node).", "qualType" : "ImGuiWindowFlags_", "order" : 6, - "value" : "ImGuiW", + "value" : "{\n ", "evaluatedValue" : 32 }, { "@type" : "AstEnumConstantDecl", @@ -13938,7 +15331,7 @@ "docComment" : "Resize every window to its content every frame", "qualType" : "ImGuiWindowFlags_", "order" : 7, - "value" : "ImGuiW", + "value" : "or