commit 48a86027ba6d9a81fbf99f26b9ec7a4cb51721e6 Author: Mason Remaley Date: Mon Jul 29 01:17:25 2024 -0700 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8c8979 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.zig-cache +zig-out diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ea81190 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..fb86e06 --- /dev/null +++ b/README.md @@ -0,0 +1,55 @@ +# Dear ImGui Zig + +A Zig interface for [Dear ImGui](https://github.com/ocornut/imgui). + +Generated at build time from the JSON generated by [dear_bindings](https://github.com/dearimgui/dear_bindings). + +## Which version of Dear ImGui is built? + +See `build.zig.zon`, at the time of writing it's a recent commit on the docking branch. See Dear ImGui's readme for info on Dear ImGui branches. + +## How to use Dear ImGui + +Import the `dear_imgui` module provided by this package. It exports Dear ImGui types and functions, converted to standard Zig syntax. You can always check the generated file if you are unsure how the names map, but it should be fairly straightforward. + +## How to build Dear ImGui extensions + +The static library for Dear ImGui, and supported backends, are provided as artifacts under the same name as the Zig modules. You can link Dear Imgui extensions to these. + +## How to use the backends + +Right now, this package only exports the Vulkan backend: `dear_imgui_vulkan`. + +Contributions are welcome if you'd like to add others. The process should be fairly straightforward. + +## How it works + +`dear_bindings` generates a C wrapper for Dear ImGui, and a JSON file detailing the declarations. + +The results of executing `dear_bindings` are cached in `src/cached` to avoid a Python dependency +(`dear_bindings` is implemented in Python.) + +At build time, `generate.zig` is called on the relevant JSON files to generate a Zig module that links to the wrapper generated by `dear_bindings`. + +`dear_bindings` does not provide enough data to generate perfect pointer types for all situations, but a reasonable conservative heuristic is used to avoid `[*c]` where possible. This could be improved in the future through whitelists. + +## How to change versions + +Update `build.zig.zon`, and then if the headers changed, regenerate them into `src/cached` with [dear_bindings](https://github.com/dearimgui/dear_bindings). + +Building `cimgui.h` is explained in their README, here'd how to build a backend. You can also see the command format in their `bindings.bat` file. + +```sh +python3 dear_bindings.py --backend --imconfig-path ~/Documents/imgui/imconfig.h -o cimgui_internal ~/Documents/imgui/imgui_internal.h +``` + +If `generator.zig` fails, you may need to add missing values to the enumeration. `std.json` does not provide helpful errors at the time of writing, the easiest way to debug this is to comment out the actual generation code, and all fields in `Header`, adding them back until you figure out which are causing the issue. + +## Known differences +* doesn't build `binary_to_compressed_c` +* doesn't build `misc/cpp/imgui_stdlib.cpp` +* freetype mode not supported (but easily could be) +* only the vulkan backend is provided as of now (but others are easy to add) +* the Vulkan backend assumes `IMGUI_IMPL_VULKAN_NO_PROTOTYPES` +* the Vulkan backend assumes dynamic rendering is available (>= `VK_VERSION_1_3` or `VK_KHR_dynamic_rendering`) + * we could add support for this conditional, but it seems unlikely to get much use diff --git a/build.zig b/build.zig new file mode 100644 index 0000000..457fe19 --- /dev/null +++ b/build.zig @@ -0,0 +1,109 @@ +const std = @import("std"); + +const flags: []const []const u8 = &.{ + "-fno-exceptions", + "-fno-rtti", + "-fno-threadsafe-statics", +}; + +pub fn build(b: *std.Build) void { + // Standard options + const target = b.standardTargetOptions(.{}); + const optimize = b.standardOptimizeOption(.{}); + + const optimize_external = switch (optimize) { + .Debug => .ReleaseSafe, + else => optimize, + }; + + // Get the upstream code + const upstream = b.dependency("dear-imgui", .{}); + + // Compile Dear ImGui as a static library + const dear_imgui_lib = b.addStaticLibrary(.{ + .name = "dear_imgui", + .target = target, + .optimize = optimize_external, + }); + dear_imgui_lib.addIncludePath(upstream.path("")); + dear_imgui_lib.installHeadersDirectory(upstream.path(""), "", .{}); + dear_imgui_lib.linkLibC(); + dear_imgui_lib.addCSourceFiles(.{ + .root = upstream.path(""), + .files = &.{ + "imgui.cpp", + "imgui_demo.cpp", + "imgui_draw.cpp", + "imgui_tables.cpp", + "imgui_widgets.cpp", + }, + .flags = flags, + }); + dear_imgui_lib.addCSourceFiles(.{ + .root = b.path("src/cached"), + .files = &.{"cimgui.cpp"}, + .flags = flags, + }); + b.installArtifact(dear_imgui_lib); + + // Compile the Vulkan backend as a static library + const dear_imgui_vulkan_lib = b.addStaticLibrary(.{ + .name = "dear_imgui_vulkan", + .target = target, + .optimize = optimize_external, + }); + dear_imgui_vulkan_lib.linkLibrary(dear_imgui_lib); + dear_imgui_vulkan_lib.addCSourceFile(.{ .file = upstream.path("backends/imgui_impl_vulkan.cpp"), .flags = flags }); + dear_imgui_vulkan_lib.addCSourceFile(.{ .file = b.path("src/cached/cimgui_impl_vulkan.cpp"), .flags = flags }); + dear_imgui_vulkan_lib.addIncludePath(upstream.path("")); + dear_imgui_vulkan_lib.addIncludePath(upstream.path("backends")); + const vulkan_headers = b.dependency("Vulkan-Headers", .{}); + dear_imgui_vulkan_lib.addIncludePath(vulkan_headers.path("include")); + dear_imgui_vulkan_lib.defineCMacro("IMGUI_IMPL_VULKAN_NO_PROTOTYPES", "1"); // Assumed in generator + dear_imgui_vulkan_lib.installHeadersDirectory(upstream.path("backends"), "", .{}); + dear_imgui_vulkan_lib.installHeadersDirectory(vulkan_headers.path("include"), "", .{}); + b.installArtifact(dear_imgui_vulkan_lib); + + // Compile the generator + const generate_exe = b.addExecutable(.{ + .name = "generate", + .root_source_file = b.path("src/generate.zig"), + .target = target, + .optimize = optimize, + }); + + const generate_cmd = b.addRunArtifact(generate_exe); + generate_cmd.step.dependOn(b.getInstallStep()); + if (b.args) |args| { + generate_cmd.addArgs(args); + } + + const generate_step = b.step("generate", "Generate Zig bindings for Dear ImGui. This is done automatically as part of the build process, but is exposed as an option for debugging purposes."); + generate_step.dependOn(&generate_cmd.step); + + // Generate Zig bindings for Dear ImGui + const generate_dear_imgui = b.addRunArtifact(generate_exe); + generate_dear_imgui.addFileArg(b.path("src/cached/cimgui.json")); + const dear_imgui_zig = generate_dear_imgui.addOutputFileArg("dear_imgui.zig"); + generate_dear_imgui.addFileArg(b.path("src/templates/cimgui_prefix.zig.template")); + generate_dear_imgui.addFileArg(b.path("src/templates/cimgui_postfix.zig.template")); + const dear_imgui_zig_module = b.addModule("dear_imgui", .{ + .root_source_file = dear_imgui_zig, + .target = target, + .optimize = optimize, + }); + dear_imgui_zig_module.linkLibrary(dear_imgui_lib); + + // Generate Zig bindings for the Vulkan backend + const generate_vulkan = b.addRunArtifact(generate_exe); + generate_vulkan.addFileArg(b.path("src/cached/cimgui_impl_vulkan.json")); + const dear_imgui_vulkan_zig = generate_vulkan.addOutputFileArg("dear_imgui_impl_vulkan.zig"); + generate_vulkan.addFileArg(b.path("src/templates/impl_vulkan_prefix.zig.template")); + generate_vulkan.addFileArg(b.path("src/templates/impl_vulkan_postfix.zig.template")); + const dear_imgui_vulkan_zig_module = b.addModule("dear_imgui_vulkan", .{ + .root_source_file = dear_imgui_vulkan_zig, + .target = target, + .optimize = optimize, + }); + dear_imgui_vulkan_zig_module.linkLibrary(dear_imgui_vulkan_lib); +} diff --git a/build.zig.zon b/build.zig.zon new file mode 100644 index 0000000..b8711a8 --- /dev/null +++ b/build.zig.zon @@ -0,0 +1,22 @@ +.{ + .name = "dear_imgui_zig", + .version = "0.0.0", + .dependencies = .{ + .@"dear-imgui" = .{ + .url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.90.9-docking.tar.gz", + .hash = "1220854ebf6bca15874cac634f0c9e39145cc0d13c1cf74822b6ed3073e906a4f8d5", + }, + .@"Vulkan-Headers" = .{ + .url = "https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v1.3.290.tar.gz", + .hash = "12200beeb3d546548d62a5ad1ac4153e28f78bdeb3617a07aa7a8e584b51cba2daa1", + }, + }, + + .paths = .{ + "build.zig", + "build.zig.zon", + "src", + "LICENSE", + "README.md", + }, +} diff --git a/src/cached/cimgui.cpp b/src/cached/cimgui.cpp new file mode 100644 index 0000000..5fc53b6 --- /dev/null +++ b/src/cached/cimgui.cpp @@ -0,0 +1,3714 @@ +// THIS FILE HAS BEEN AUTO-GENERATED BY THE 'DEAR BINDINGS' GENERATOR. +// **DO NOT EDIT DIRECTLY** +// https://github.com/dearimgui/dear_bindings + +#include "imgui.h" +#include "imgui_internal.h" + +#include + +// Wrap this in a namespace to keep it separate from the C++ API +namespace cimgui +{ +#include "cimgui.h" +} + +// Manual helpers +// These implement functionality that isn't in the original C++ API, but is useful to callers from other languages + +CIMGUI_API void cimgui::ImVector_Construct(void* vector) +{ + // All ImVector classes are the same size, so it doesn't matter which we use for sizeof() here + memset(vector, 0, sizeof(::ImVector)); +} + +CIMGUI_API void cimgui::ImVector_Destruct(void* vector) +{ + // As with ImVector_construct(), it doesn't matter what the type parameter is here as we just want to get the + // pointer and free it (without calling destructors or anything similar) + ::ImVector* real_vector = reinterpret_cast<::ImVector*>(vector); + if (real_vector->Data) + { + IM_FREE(real_vector->Data); + } +} + +#if defined(IMGUI_HAS_IMSTR) +#if IMGUI_HAS_IMSTR + +// User-facing helper to convert char* to ImStr +CIMGUI_API cimgui::ImStr cimgui::ImStr_FromCharStr(const char* b) +{ + ImStr str; + str.Begin = b; + str.End = b ? b + strlen(b) : NULL; + return str; +} + +// Internal helper to convert char* directly to C++-style ImStr +static inline ::ImStr MarshalToCPP_ImStr_FromCharStr(const char* b) +{ + ::ImStr str; + str.Begin = b; + str.End = b ? b + strlen(b) : NULL; + return str; +} +#endif // IMGUI_HAS_IMSTR +#endif // defined(IMGUI_HAS_IMSTR) +// By-value struct conversions + +static inline cimgui::ImVec2 ConvertFromCPP_ImVec2(const ::ImVec2& src) +{ + cimgui::ImVec2 dest; + dest.x = src.x; + dest.y = src.y; + return dest; +} + +static inline ::ImVec2 ConvertToCPP_ImVec2(const cimgui::ImVec2& src) +{ + ::ImVec2 dest; + dest.x = src.x; + dest.y = src.y; + return dest; +} + +static inline cimgui::ImVec4 ConvertFromCPP_ImVec4(const ::ImVec4& src) +{ + cimgui::ImVec4 dest; + dest.x = src.x; + dest.y = src.y; + dest.z = src.z; + dest.w = src.w; + return dest; +} + +static inline ::ImVec4 ConvertToCPP_ImVec4(const cimgui::ImVec4& src) +{ + ::ImVec4 dest; + dest.x = src.x; + dest.y = src.y; + dest.z = src.z; + dest.w = src.w; + return dest; +} + +static inline cimgui::ImColor ConvertFromCPP_ImColor(const ::ImColor& src) +{ + cimgui::ImColor dest; + dest.Value.x = src.Value.x; + dest.Value.y = src.Value.y; + dest.Value.z = src.Value.z; + dest.Value.w = src.Value.w; + return dest; +} + +static inline ::ImColor ConvertToCPP_ImColor(const cimgui::ImColor& src) +{ + ::ImColor dest; + dest.Value.x = src.Value.x; + dest.Value.y = src.Value.y; + dest.Value.z = src.Value.z; + dest.Value.w = src.Value.w; + return dest; +} + +// Function stubs + +#ifndef IMGUI_DISABLE + +CIMGUI_API cimgui::ImGuiContext* cimgui::ImGui_CreateContext(cimgui::ImFontAtlas* shared_font_atlas) +{ + return reinterpret_cast<::cimgui::ImGuiContext*>(::ImGui::CreateContext(reinterpret_cast<::ImFontAtlas*>(shared_font_atlas))); +} + +CIMGUI_API void cimgui::ImGui_DestroyContext(cimgui::ImGuiContext* ctx) +{ + ::ImGui::DestroyContext(reinterpret_cast<::ImGuiContext*>(ctx)); +} + +CIMGUI_API cimgui::ImGuiContext* cimgui::ImGui_GetCurrentContext(void) +{ + return reinterpret_cast<::cimgui::ImGuiContext*>(::ImGui::GetCurrentContext()); +} + +CIMGUI_API void cimgui::ImGui_SetCurrentContext(cimgui::ImGuiContext* ctx) +{ + ::ImGui::SetCurrentContext(reinterpret_cast<::ImGuiContext*>(ctx)); +} + +CIMGUI_API cimgui::ImGuiIO* cimgui::ImGui_GetIO(void) +{ + return reinterpret_cast<::cimgui::ImGuiIO*>(&::ImGui::GetIO()); +} + +CIMGUI_API cimgui::ImGuiStyle* cimgui::ImGui_GetStyle(void) +{ + return reinterpret_cast<::cimgui::ImGuiStyle*>(&::ImGui::GetStyle()); +} + +CIMGUI_API void cimgui::ImGui_NewFrame(void) +{ + ::ImGui::NewFrame(); +} + +CIMGUI_API void cimgui::ImGui_EndFrame(void) +{ + ::ImGui::EndFrame(); +} + +CIMGUI_API void cimgui::ImGui_Render(void) +{ + ::ImGui::Render(); +} + +CIMGUI_API cimgui::ImDrawData* cimgui::ImGui_GetDrawData(void) +{ + return reinterpret_cast<::cimgui::ImDrawData*>(::ImGui::GetDrawData()); +} + +CIMGUI_API void cimgui::ImGui_ShowDemoWindow(bool* p_open) +{ + ::ImGui::ShowDemoWindow(p_open); +} + +CIMGUI_API void cimgui::ImGui_ShowMetricsWindow(bool* p_open) +{ + ::ImGui::ShowMetricsWindow(p_open); +} + +CIMGUI_API void cimgui::ImGui_ShowDebugLogWindow(bool* p_open) +{ + ::ImGui::ShowDebugLogWindow(p_open); +} + +CIMGUI_API void cimgui::ImGui_ShowIDStackToolWindow(void) +{ + ::ImGui::ShowIDStackToolWindow(); +} + +CIMGUI_API void cimgui::ImGui_ShowIDStackToolWindowEx(bool* p_open) +{ + ::ImGui::ShowIDStackToolWindow(p_open); +} + +CIMGUI_API void cimgui::ImGui_ShowAboutWindow(bool* p_open) +{ + ::ImGui::ShowAboutWindow(p_open); +} + +CIMGUI_API void cimgui::ImGui_ShowStyleEditor(cimgui::ImGuiStyle* ref) +{ + ::ImGui::ShowStyleEditor(reinterpret_cast<::ImGuiStyle*>(ref)); +} + +CIMGUI_API bool cimgui::ImGui_ShowStyleSelector(const char* label) +{ + return ::ImGui::ShowStyleSelector(label); +} + +CIMGUI_API void cimgui::ImGui_ShowFontSelector(const char* label) +{ + ::ImGui::ShowFontSelector(label); +} + +CIMGUI_API void cimgui::ImGui_ShowUserGuide(void) +{ + ::ImGui::ShowUserGuide(); +} + +CIMGUI_API const char* cimgui::ImGui_GetVersion(void) +{ + return ::ImGui::GetVersion(); +} + +CIMGUI_API void cimgui::ImGui_StyleColorsDark(cimgui::ImGuiStyle* dst) +{ + ::ImGui::StyleColorsDark(reinterpret_cast<::ImGuiStyle*>(dst)); +} + +CIMGUI_API void cimgui::ImGui_StyleColorsLight(cimgui::ImGuiStyle* dst) +{ + ::ImGui::StyleColorsLight(reinterpret_cast<::ImGuiStyle*>(dst)); +} + +CIMGUI_API void cimgui::ImGui_StyleColorsClassic(cimgui::ImGuiStyle* dst) +{ + ::ImGui::StyleColorsClassic(reinterpret_cast<::ImGuiStyle*>(dst)); +} + +CIMGUI_API bool cimgui::ImGui_Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) +{ + return ::ImGui::Begin(name, p_open, flags); +} + +CIMGUI_API void cimgui::ImGui_End(void) +{ + ::ImGui::End(); +} + +CIMGUI_API bool cimgui::ImGui_BeginChild(const char* str_id, cimgui::ImVec2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) +{ + return ::ImGui::BeginChild(str_id, ConvertToCPP_ImVec2(size), child_flags, window_flags); +} + +CIMGUI_API bool cimgui::ImGui_BeginChildID(ImGuiID id, cimgui::ImVec2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) +{ + return ::ImGui::BeginChild(id, ConvertToCPP_ImVec2(size), child_flags, window_flags); +} + +CIMGUI_API void cimgui::ImGui_EndChild(void) +{ + ::ImGui::EndChild(); +} + +CIMGUI_API bool cimgui::ImGui_IsWindowAppearing(void) +{ + return ::ImGui::IsWindowAppearing(); +} + +CIMGUI_API bool cimgui::ImGui_IsWindowCollapsed(void) +{ + return ::ImGui::IsWindowCollapsed(); +} + +CIMGUI_API bool cimgui::ImGui_IsWindowFocused(ImGuiFocusedFlags flags) +{ + return ::ImGui::IsWindowFocused(flags); +} + +CIMGUI_API bool cimgui::ImGui_IsWindowHovered(ImGuiHoveredFlags flags) +{ + return ::ImGui::IsWindowHovered(flags); +} + +CIMGUI_API cimgui::ImDrawList* cimgui::ImGui_GetWindowDrawList(void) +{ + return reinterpret_cast<::cimgui::ImDrawList*>(::ImGui::GetWindowDrawList()); +} + +CIMGUI_API float cimgui::ImGui_GetWindowDpiScale(void) +{ + return ::ImGui::GetWindowDpiScale(); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetWindowPos(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetWindowPos()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetWindowSize(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetWindowSize()); +} + +CIMGUI_API float cimgui::ImGui_GetWindowWidth(void) +{ + return ::ImGui::GetWindowWidth(); +} + +CIMGUI_API float cimgui::ImGui_GetWindowHeight(void) +{ + return ::ImGui::GetWindowHeight(); +} + +CIMGUI_API cimgui::ImGuiViewport* cimgui::ImGui_GetWindowViewport(void) +{ + return reinterpret_cast<::cimgui::ImGuiViewport*>(::ImGui::GetWindowViewport()); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowPos(cimgui::ImVec2 pos, ImGuiCond cond) +{ + ::ImGui::SetNextWindowPos(ConvertToCPP_ImVec2(pos), cond); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowPosEx(cimgui::ImVec2 pos, ImGuiCond cond, cimgui::ImVec2 pivot) +{ + ::ImGui::SetNextWindowPos(ConvertToCPP_ImVec2(pos), cond, ConvertToCPP_ImVec2(pivot)); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowSize(cimgui::ImVec2 size, ImGuiCond cond) +{ + ::ImGui::SetNextWindowSize(ConvertToCPP_ImVec2(size), cond); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowSizeConstraints(cimgui::ImVec2 size_min, cimgui::ImVec2 size_max, cimgui::ImGuiSizeCallback custom_callback, void* custom_callback_data) +{ + ::ImGui::SetNextWindowSizeConstraints(ConvertToCPP_ImVec2(size_min), ConvertToCPP_ImVec2(size_max), reinterpret_cast<::ImGuiSizeCallback>(custom_callback), custom_callback_data); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowContentSize(cimgui::ImVec2 size) +{ + ::ImGui::SetNextWindowContentSize(ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowCollapsed(bool collapsed, ImGuiCond cond) +{ + ::ImGui::SetNextWindowCollapsed(collapsed, cond); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowFocus(void) +{ + ::ImGui::SetNextWindowFocus(); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowScroll(cimgui::ImVec2 scroll) +{ + ::ImGui::SetNextWindowScroll(ConvertToCPP_ImVec2(scroll)); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowBgAlpha(float alpha) +{ + ::ImGui::SetNextWindowBgAlpha(alpha); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowViewport(ImGuiID viewport_id) +{ + ::ImGui::SetNextWindowViewport(viewport_id); +} + +CIMGUI_API void cimgui::ImGui_SetWindowPos(cimgui::ImVec2 pos, ImGuiCond cond) +{ + ::ImGui::SetWindowPos(ConvertToCPP_ImVec2(pos), cond); +} + +CIMGUI_API void cimgui::ImGui_SetWindowSize(cimgui::ImVec2 size, ImGuiCond cond) +{ + ::ImGui::SetWindowSize(ConvertToCPP_ImVec2(size), cond); +} + +CIMGUI_API void cimgui::ImGui_SetWindowCollapsed(bool collapsed, ImGuiCond cond) +{ + ::ImGui::SetWindowCollapsed(collapsed, cond); +} + +CIMGUI_API void cimgui::ImGui_SetWindowFocus(void) +{ + ::ImGui::SetWindowFocus(); +} + +CIMGUI_API void cimgui::ImGui_SetWindowFontScale(float scale) +{ + ::ImGui::SetWindowFontScale(scale); +} + +CIMGUI_API void cimgui::ImGui_SetWindowPosStr(const char* name, cimgui::ImVec2 pos, ImGuiCond cond) +{ + ::ImGui::SetWindowPos(name, ConvertToCPP_ImVec2(pos), cond); +} + +CIMGUI_API void cimgui::ImGui_SetWindowSizeStr(const char* name, cimgui::ImVec2 size, ImGuiCond cond) +{ + ::ImGui::SetWindowSize(name, ConvertToCPP_ImVec2(size), cond); +} + +CIMGUI_API void cimgui::ImGui_SetWindowCollapsedStr(const char* name, bool collapsed, ImGuiCond cond) +{ + ::ImGui::SetWindowCollapsed(name, collapsed, cond); +} + +CIMGUI_API void cimgui::ImGui_SetWindowFocusStr(const char* name) +{ + ::ImGui::SetWindowFocus(name); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetContentRegionAvail(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetContentRegionAvail()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetContentRegionMax(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetContentRegionMax()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetWindowContentRegionMin(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetWindowContentRegionMin()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetWindowContentRegionMax(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetWindowContentRegionMax()); +} + +CIMGUI_API float cimgui::ImGui_GetScrollX(void) +{ + return ::ImGui::GetScrollX(); +} + +CIMGUI_API float cimgui::ImGui_GetScrollY(void) +{ + return ::ImGui::GetScrollY(); +} + +CIMGUI_API void cimgui::ImGui_SetScrollX(float scroll_x) +{ + ::ImGui::SetScrollX(scroll_x); +} + +CIMGUI_API void cimgui::ImGui_SetScrollY(float scroll_y) +{ + ::ImGui::SetScrollY(scroll_y); +} + +CIMGUI_API float cimgui::ImGui_GetScrollMaxX(void) +{ + return ::ImGui::GetScrollMaxX(); +} + +CIMGUI_API float cimgui::ImGui_GetScrollMaxY(void) +{ + return ::ImGui::GetScrollMaxY(); +} + +CIMGUI_API void cimgui::ImGui_SetScrollHereX(float center_x_ratio) +{ + ::ImGui::SetScrollHereX(center_x_ratio); +} + +CIMGUI_API void cimgui::ImGui_SetScrollHereY(float center_y_ratio) +{ + ::ImGui::SetScrollHereY(center_y_ratio); +} + +CIMGUI_API void cimgui::ImGui_SetScrollFromPosX(float local_x, float center_x_ratio) +{ + ::ImGui::SetScrollFromPosX(local_x, center_x_ratio); +} + +CIMGUI_API void cimgui::ImGui_SetScrollFromPosY(float local_y, float center_y_ratio) +{ + ::ImGui::SetScrollFromPosY(local_y, center_y_ratio); +} + +CIMGUI_API void cimgui::ImGui_PushFont(cimgui::ImFont* font) +{ + ::ImGui::PushFont(reinterpret_cast<::ImFont*>(font)); +} + +CIMGUI_API void cimgui::ImGui_PopFont(void) +{ + ::ImGui::PopFont(); +} + +CIMGUI_API void cimgui::ImGui_PushStyleColor(ImGuiCol idx, ImU32 col) +{ + ::ImGui::PushStyleColor(idx, col); +} + +CIMGUI_API void cimgui::ImGui_PushStyleColorImVec4(ImGuiCol idx, cimgui::ImVec4 col) +{ + ::ImGui::PushStyleColor(idx, ConvertToCPP_ImVec4(col)); +} + +CIMGUI_API void cimgui::ImGui_PopStyleColor(void) +{ + ::ImGui::PopStyleColor(); +} + +CIMGUI_API void cimgui::ImGui_PopStyleColorEx(int count) +{ + ::ImGui::PopStyleColor(count); +} + +CIMGUI_API void cimgui::ImGui_PushStyleVar(ImGuiStyleVar idx, float val) +{ + ::ImGui::PushStyleVar(idx, val); +} + +CIMGUI_API void cimgui::ImGui_PushStyleVarImVec2(ImGuiStyleVar idx, cimgui::ImVec2 val) +{ + ::ImGui::PushStyleVar(idx, ConvertToCPP_ImVec2(val)); +} + +CIMGUI_API void cimgui::ImGui_PopStyleVar(void) +{ + ::ImGui::PopStyleVar(); +} + +CIMGUI_API void cimgui::ImGui_PopStyleVarEx(int count) +{ + ::ImGui::PopStyleVar(count); +} + +CIMGUI_API void cimgui::ImGui_PushTabStop(bool tab_stop) +{ + ::ImGui::PushTabStop(tab_stop); +} + +CIMGUI_API void cimgui::ImGui_PopTabStop(void) +{ + ::ImGui::PopTabStop(); +} + +CIMGUI_API void cimgui::ImGui_PushButtonRepeat(bool repeat) +{ + ::ImGui::PushButtonRepeat(repeat); +} + +CIMGUI_API void cimgui::ImGui_PopButtonRepeat(void) +{ + ::ImGui::PopButtonRepeat(); +} + +CIMGUI_API void cimgui::ImGui_PushItemWidth(float item_width) +{ + ::ImGui::PushItemWidth(item_width); +} + +CIMGUI_API void cimgui::ImGui_PopItemWidth(void) +{ + ::ImGui::PopItemWidth(); +} + +CIMGUI_API void cimgui::ImGui_SetNextItemWidth(float item_width) +{ + ::ImGui::SetNextItemWidth(item_width); +} + +CIMGUI_API float cimgui::ImGui_CalcItemWidth(void) +{ + return ::ImGui::CalcItemWidth(); +} + +CIMGUI_API void cimgui::ImGui_PushTextWrapPos(float wrap_local_pos_x) +{ + ::ImGui::PushTextWrapPos(wrap_local_pos_x); +} + +CIMGUI_API void cimgui::ImGui_PopTextWrapPos(void) +{ + ::ImGui::PopTextWrapPos(); +} + +CIMGUI_API cimgui::ImFont* cimgui::ImGui_GetFont(void) +{ + return reinterpret_cast<::cimgui::ImFont*>(::ImGui::GetFont()); +} + +CIMGUI_API float cimgui::ImGui_GetFontSize(void) +{ + return ::ImGui::GetFontSize(); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetFontTexUvWhitePixel(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetFontTexUvWhitePixel()); +} + +CIMGUI_API ImU32 cimgui::ImGui_GetColorU32(ImGuiCol idx) +{ + return ::ImGui::GetColorU32(idx); +} + +CIMGUI_API ImU32 cimgui::ImGui_GetColorU32Ex(ImGuiCol idx, float alpha_mul) +{ + return ::ImGui::GetColorU32(idx, alpha_mul); +} + +CIMGUI_API ImU32 cimgui::ImGui_GetColorU32ImVec4(cimgui::ImVec4 col) +{ + return ::ImGui::GetColorU32(ConvertToCPP_ImVec4(col)); +} + +CIMGUI_API ImU32 cimgui::ImGui_GetColorU32ImU32(ImU32 col) +{ + return ::ImGui::GetColorU32(col); +} + +CIMGUI_API ImU32 cimgui::ImGui_GetColorU32ImU32Ex(ImU32 col, float alpha_mul) +{ + return ::ImGui::GetColorU32(col, alpha_mul); +} + +CIMGUI_API const cimgui::ImVec4* cimgui::ImGui_GetStyleColorVec4(ImGuiCol idx) +{ + return reinterpret_cast(&::ImGui::GetStyleColorVec4(idx)); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetCursorScreenPos(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetCursorScreenPos()); +} + +CIMGUI_API void cimgui::ImGui_SetCursorScreenPos(cimgui::ImVec2 pos) +{ + ::ImGui::SetCursorScreenPos(ConvertToCPP_ImVec2(pos)); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetCursorPos(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetCursorPos()); +} + +CIMGUI_API float cimgui::ImGui_GetCursorPosX(void) +{ + return ::ImGui::GetCursorPosX(); +} + +CIMGUI_API float cimgui::ImGui_GetCursorPosY(void) +{ + return ::ImGui::GetCursorPosY(); +} + +CIMGUI_API void cimgui::ImGui_SetCursorPos(cimgui::ImVec2 local_pos) +{ + ::ImGui::SetCursorPos(ConvertToCPP_ImVec2(local_pos)); +} + +CIMGUI_API void cimgui::ImGui_SetCursorPosX(float local_x) +{ + ::ImGui::SetCursorPosX(local_x); +} + +CIMGUI_API void cimgui::ImGui_SetCursorPosY(float local_y) +{ + ::ImGui::SetCursorPosY(local_y); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetCursorStartPos(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetCursorStartPos()); +} + +CIMGUI_API void cimgui::ImGui_Separator(void) +{ + ::ImGui::Separator(); +} + +CIMGUI_API void cimgui::ImGui_SameLine(void) +{ + ::ImGui::SameLine(); +} + +CIMGUI_API void cimgui::ImGui_SameLineEx(float offset_from_start_x, float spacing) +{ + ::ImGui::SameLine(offset_from_start_x, spacing); +} + +CIMGUI_API void cimgui::ImGui_NewLine(void) +{ + ::ImGui::NewLine(); +} + +CIMGUI_API void cimgui::ImGui_Spacing(void) +{ + ::ImGui::Spacing(); +} + +CIMGUI_API void cimgui::ImGui_Dummy(cimgui::ImVec2 size) +{ + ::ImGui::Dummy(ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API void cimgui::ImGui_Indent(void) +{ + ::ImGui::Indent(); +} + +CIMGUI_API void cimgui::ImGui_IndentEx(float indent_w) +{ + ::ImGui::Indent(indent_w); +} + +CIMGUI_API void cimgui::ImGui_Unindent(void) +{ + ::ImGui::Unindent(); +} + +CIMGUI_API void cimgui::ImGui_UnindentEx(float indent_w) +{ + ::ImGui::Unindent(indent_w); +} + +CIMGUI_API void cimgui::ImGui_BeginGroup(void) +{ + ::ImGui::BeginGroup(); +} + +CIMGUI_API void cimgui::ImGui_EndGroup(void) +{ + ::ImGui::EndGroup(); +} + +CIMGUI_API void cimgui::ImGui_AlignTextToFramePadding(void) +{ + ::ImGui::AlignTextToFramePadding(); +} + +CIMGUI_API float cimgui::ImGui_GetTextLineHeight(void) +{ + return ::ImGui::GetTextLineHeight(); +} + +CIMGUI_API float cimgui::ImGui_GetTextLineHeightWithSpacing(void) +{ + return ::ImGui::GetTextLineHeightWithSpacing(); +} + +CIMGUI_API float cimgui::ImGui_GetFrameHeight(void) +{ + return ::ImGui::GetFrameHeight(); +} + +CIMGUI_API float cimgui::ImGui_GetFrameHeightWithSpacing(void) +{ + return ::ImGui::GetFrameHeightWithSpacing(); +} + +CIMGUI_API void cimgui::ImGui_PushID(const char* str_id) +{ + ::ImGui::PushID(str_id); +} + +CIMGUI_API void cimgui::ImGui_PushIDStr(const char* str_id_begin, const char* str_id_end) +{ + ::ImGui::PushID(str_id_begin, str_id_end); +} + +CIMGUI_API void cimgui::ImGui_PushIDPtr(const void* ptr_id) +{ + ::ImGui::PushID(ptr_id); +} + +CIMGUI_API void cimgui::ImGui_PushIDInt(int int_id) +{ + ::ImGui::PushID(int_id); +} + +CIMGUI_API void cimgui::ImGui_PopID(void) +{ + ::ImGui::PopID(); +} + +CIMGUI_API ImGuiID cimgui::ImGui_GetID(const char* str_id) +{ + return ::ImGui::GetID(str_id); +} + +CIMGUI_API ImGuiID cimgui::ImGui_GetIDStr(const char* str_id_begin, const char* str_id_end) +{ + return ::ImGui::GetID(str_id_begin, str_id_end); +} + +CIMGUI_API ImGuiID cimgui::ImGui_GetIDPtr(const void* ptr_id) +{ + return ::ImGui::GetID(ptr_id); +} + +CIMGUI_API void cimgui::ImGui_TextUnformatted(const char* text) +{ + ::ImGui::TextUnformatted(text); +} + +CIMGUI_API void cimgui::ImGui_TextUnformattedEx(const char* text, const char* text_end) +{ + ::ImGui::TextUnformatted(text, text_end); +} + +CIMGUI_API void cimgui::ImGui_Text(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::TextV(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_TextV(const char* fmt, va_list args) +{ + ::ImGui::TextV(fmt, args); +} + +CIMGUI_API void cimgui::ImGui_TextColored(cimgui::ImVec4 col, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::TextColoredV(ConvertToCPP_ImVec4(col), fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_TextColoredV(cimgui::ImVec4 col, const char* fmt, va_list args) +{ + ::ImGui::TextColoredV(ConvertToCPP_ImVec4(col), fmt, args); +} + +CIMGUI_API void cimgui::ImGui_TextDisabled(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::TextDisabledV(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_TextDisabledV(const char* fmt, va_list args) +{ + ::ImGui::TextDisabledV(fmt, args); +} + +CIMGUI_API void cimgui::ImGui_TextWrapped(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::TextWrappedV(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_TextWrappedV(const char* fmt, va_list args) +{ + ::ImGui::TextWrappedV(fmt, args); +} + +CIMGUI_API void cimgui::ImGui_LabelText(const char* label, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::LabelTextV(label, fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_LabelTextV(const char* label, const char* fmt, va_list args) +{ + ::ImGui::LabelTextV(label, fmt, args); +} + +CIMGUI_API void cimgui::ImGui_BulletText(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::BulletTextV(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_BulletTextV(const char* fmt, va_list args) +{ + ::ImGui::BulletTextV(fmt, args); +} + +CIMGUI_API void cimgui::ImGui_SeparatorText(const char* label) +{ + ::ImGui::SeparatorText(label); +} + +CIMGUI_API bool cimgui::ImGui_Button(const char* label) +{ + return ::ImGui::Button(label); +} + +CIMGUI_API bool cimgui::ImGui_ButtonEx(const char* label, cimgui::ImVec2 size) +{ + return ::ImGui::Button(label, ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API bool cimgui::ImGui_SmallButton(const char* label) +{ + return ::ImGui::SmallButton(label); +} + +CIMGUI_API bool cimgui::ImGui_InvisibleButton(const char* str_id, cimgui::ImVec2 size, ImGuiButtonFlags flags) +{ + return ::ImGui::InvisibleButton(str_id, ConvertToCPP_ImVec2(size), flags); +} + +CIMGUI_API bool cimgui::ImGui_ArrowButton(const char* str_id, cimgui::ImGuiDir dir) +{ + return ::ImGui::ArrowButton(str_id, static_cast<::ImGuiDir>(dir)); +} + +CIMGUI_API bool cimgui::ImGui_Checkbox(const char* label, bool* v) +{ + return ::ImGui::Checkbox(label, v); +} + +CIMGUI_API bool cimgui::ImGui_CheckboxFlagsIntPtr(const char* label, int* flags, int flags_value) +{ + return ::ImGui::CheckboxFlags(label, flags, flags_value); +} + +CIMGUI_API bool cimgui::ImGui_CheckboxFlagsUintPtr(const char* label, unsigned int* flags, unsigned int flags_value) +{ + return ::ImGui::CheckboxFlags(label, flags, flags_value); +} + +CIMGUI_API bool cimgui::ImGui_RadioButton(const char* label, bool active) +{ + return ::ImGui::RadioButton(label, active); +} + +CIMGUI_API bool cimgui::ImGui_RadioButtonIntPtr(const char* label, int* v, int v_button) +{ + return ::ImGui::RadioButton(label, v, v_button); +} + +CIMGUI_API void cimgui::ImGui_ProgressBar(float fraction, cimgui::ImVec2 size_arg, const char* overlay) +{ + ::ImGui::ProgressBar(fraction, ConvertToCPP_ImVec2(size_arg), overlay); +} + +CIMGUI_API void cimgui::ImGui_Bullet(void) +{ + ::ImGui::Bullet(); +} + +CIMGUI_API void cimgui::ImGui_Image(ImTextureID user_texture_id, cimgui::ImVec2 image_size) +{ + ::ImGui::Image(user_texture_id, ConvertToCPP_ImVec2(image_size)); +} + +CIMGUI_API void cimgui::ImGui_ImageEx(ImTextureID user_texture_id, cimgui::ImVec2 image_size, cimgui::ImVec2 uv0, cimgui::ImVec2 uv1, cimgui::ImVec4 tint_col, cimgui::ImVec4 border_col) +{ + ::ImGui::Image(user_texture_id, ConvertToCPP_ImVec2(image_size), ConvertToCPP_ImVec2(uv0), ConvertToCPP_ImVec2(uv1), ConvertToCPP_ImVec4(tint_col), ConvertToCPP_ImVec4(border_col)); +} + +CIMGUI_API bool cimgui::ImGui_ImageButton(const char* str_id, ImTextureID user_texture_id, cimgui::ImVec2 image_size) +{ + return ::ImGui::ImageButton(str_id, user_texture_id, ConvertToCPP_ImVec2(image_size)); +} + +CIMGUI_API bool cimgui::ImGui_ImageButtonEx(const char* str_id, ImTextureID user_texture_id, cimgui::ImVec2 image_size, cimgui::ImVec2 uv0, cimgui::ImVec2 uv1, cimgui::ImVec4 bg_col, cimgui::ImVec4 tint_col) +{ + return ::ImGui::ImageButton(str_id, user_texture_id, ConvertToCPP_ImVec2(image_size), ConvertToCPP_ImVec2(uv0), ConvertToCPP_ImVec2(uv1), ConvertToCPP_ImVec4(bg_col), ConvertToCPP_ImVec4(tint_col)); +} + +CIMGUI_API bool cimgui::ImGui_BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags flags) +{ + return ::ImGui::BeginCombo(label, preview_value, flags); +} + +CIMGUI_API void cimgui::ImGui_EndCombo(void) +{ + ::ImGui::EndCombo(); +} + +CIMGUI_API bool cimgui::ImGui_ComboChar(const char* label, int* current_item, const char*const items[], int items_count) +{ + return ::ImGui::Combo(label, current_item, items, items_count); +} + +CIMGUI_API bool cimgui::ImGui_ComboCharEx(const char* label, int* current_item, const char*const items[], int items_count, int popup_max_height_in_items) +{ + return ::ImGui::Combo(label, current_item, items, items_count, popup_max_height_in_items); +} + +CIMGUI_API bool cimgui::ImGui_Combo(const char* label, int* current_item, const char* items_separated_by_zeros) +{ + return ::ImGui::Combo(label, current_item, items_separated_by_zeros); +} + +CIMGUI_API bool cimgui::ImGui_ComboEx(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items) +{ + return ::ImGui::Combo(label, current_item, items_separated_by_zeros, popup_max_height_in_items); +} + +CIMGUI_API bool cimgui::ImGui_ComboCallback(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count) +{ + return ::ImGui::Combo(label, current_item, getter, user_data, items_count); +} + +CIMGUI_API bool cimgui::ImGui_ComboCallbackEx(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int popup_max_height_in_items) +{ + return ::ImGui::Combo(label, current_item, getter, user_data, items_count, popup_max_height_in_items); +} + +CIMGUI_API bool cimgui::ImGui_DragFloat(const char* label, float* v) +{ + return ::ImGui::DragFloat(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragFloatEx(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragFloat(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragFloat2(const char* label, float v[2]) +{ + return ::ImGui::DragFloat2(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragFloat2Ex(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragFloat2(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragFloat3(const char* label, float v[3]) +{ + return ::ImGui::DragFloat3(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragFloat3Ex(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragFloat3(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragFloat4(const char* label, float v[4]) +{ + return ::ImGui::DragFloat4(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragFloat4Ex(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragFloat4(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragFloatRange2(const char* label, float* v_current_min, float* v_current_max) +{ + return ::ImGui::DragFloatRange2(label, v_current_min, v_current_max); +} + +CIMGUI_API bool cimgui::ImGui_DragFloatRange2Ex(const char* label, float* v_current_min, float* v_current_max, float v_speed, float v_min, float v_max, const char* format, const char* format_max, ImGuiSliderFlags flags) +{ + return ::ImGui::DragFloatRange2(label, v_current_min, v_current_max, v_speed, v_min, v_max, format, format_max, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragInt(const char* label, int* v) +{ + return ::ImGui::DragInt(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragIntEx(const char* label, int* v, float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragInt(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragInt2(const char* label, int v[2]) +{ + return ::ImGui::DragInt2(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragInt2Ex(const char* label, int v[2], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragInt2(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragInt3(const char* label, int v[3]) +{ + return ::ImGui::DragInt3(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragInt3Ex(const char* label, int v[3], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragInt3(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragInt4(const char* label, int v[4]) +{ + return ::ImGui::DragInt4(label, v); +} + +CIMGUI_API bool cimgui::ImGui_DragInt4Ex(const char* label, int v[4], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragInt4(label, v, v_speed, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragIntRange2(const char* label, int* v_current_min, int* v_current_max) +{ + return ::ImGui::DragIntRange2(label, v_current_min, v_current_max); +} + +CIMGUI_API bool cimgui::ImGui_DragIntRange2Ex(const char* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, const char* format, const char* format_max, ImGuiSliderFlags flags) +{ + return ::ImGui::DragIntRange2(label, v_current_min, v_current_max, v_speed, v_min, v_max, format, format_max, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragScalar(const char* label, ImGuiDataType data_type, void* p_data) +{ + return ::ImGui::DragScalar(label, data_type, p_data); +} + +CIMGUI_API bool cimgui::ImGui_DragScalarEx(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragScalar(label, data_type, p_data, v_speed, p_min, p_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components) +{ + return ::ImGui::DragScalarN(label, data_type, p_data, components); +} + +CIMGUI_API bool cimgui::ImGui_DragScalarNEx(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::DragScalarN(label, data_type, p_data, components, v_speed, p_min, p_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloat(const char* label, float* v, float v_min, float v_max) +{ + return ::ImGui::SliderFloat(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloatEx(const char* label, float* v, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderFloat(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloat2(const char* label, float v[2], float v_min, float v_max) +{ + return ::ImGui::SliderFloat2(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloat2Ex(const char* label, float v[2], float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderFloat2(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloat3(const char* label, float v[3], float v_min, float v_max) +{ + return ::ImGui::SliderFloat3(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloat3Ex(const char* label, float v[3], float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderFloat3(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloat4(const char* label, float v[4], float v_min, float v_max) +{ + return ::ImGui::SliderFloat4(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderFloat4Ex(const char* label, float v[4], float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderFloat4(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderAngle(const char* label, float* v_rad) +{ + return ::ImGui::SliderAngle(label, v_rad); +} + +CIMGUI_API bool cimgui::ImGui_SliderAngleEx(const char* label, float* v_rad, float v_degrees_min, float v_degrees_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderAngle(label, v_rad, v_degrees_min, v_degrees_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderInt(const char* label, int* v, int v_min, int v_max) +{ + return ::ImGui::SliderInt(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderIntEx(const char* label, int* v, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderInt(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderInt2(const char* label, int v[2], int v_min, int v_max) +{ + return ::ImGui::SliderInt2(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderInt2Ex(const char* label, int v[2], int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderInt2(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderInt3(const char* label, int v[3], int v_min, int v_max) +{ + return ::ImGui::SliderInt3(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderInt3Ex(const char* label, int v[3], int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderInt3(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderInt4(const char* label, int v[4], int v_min, int v_max) +{ + return ::ImGui::SliderInt4(label, v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderInt4Ex(const char* label, int v[4], int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderInt4(label, v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max) +{ + return ::ImGui::SliderScalar(label, data_type, p_data, p_min, p_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderScalarEx(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderScalar(label, data_type, p_data, p_min, p_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max) +{ + return ::ImGui::SliderScalarN(label, data_type, p_data, components, p_min, p_max); +} + +CIMGUI_API bool cimgui::ImGui_SliderScalarNEx(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::SliderScalarN(label, data_type, p_data, components, p_min, p_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_VSliderFloat(const char* label, cimgui::ImVec2 size, float* v, float v_min, float v_max) +{ + return ::ImGui::VSliderFloat(label, ConvertToCPP_ImVec2(size), v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_VSliderFloatEx(const char* label, cimgui::ImVec2 size, float* v, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::VSliderFloat(label, ConvertToCPP_ImVec2(size), v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_VSliderInt(const char* label, cimgui::ImVec2 size, int* v, int v_min, int v_max) +{ + return ::ImGui::VSliderInt(label, ConvertToCPP_ImVec2(size), v, v_min, v_max); +} + +CIMGUI_API bool cimgui::ImGui_VSliderIntEx(const char* label, cimgui::ImVec2 size, int* v, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::VSliderInt(label, ConvertToCPP_ImVec2(size), v, v_min, v_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_VSliderScalar(const char* label, cimgui::ImVec2 size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max) +{ + return ::ImGui::VSliderScalar(label, ConvertToCPP_ImVec2(size), data_type, p_data, p_min, p_max); +} + +CIMGUI_API bool cimgui::ImGui_VSliderScalarEx(const char* label, cimgui::ImVec2 size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + return ::ImGui::VSliderScalar(label, ConvertToCPP_ImVec2(size), data_type, p_data, p_min, p_max, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputText(label, buf, buf_size, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputTextEx(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags, cimgui::ImGuiInputTextCallback callback, void* user_data) +{ + return ::ImGui::InputText(label, buf, buf_size, flags, reinterpret_cast<::ImGuiInputTextCallback>(callback), user_data); +} + +CIMGUI_API bool cimgui::ImGui_InputTextMultiline(const char* label, char* buf, size_t buf_size) +{ + return ::ImGui::InputTextMultiline(label, buf, buf_size); +} + +CIMGUI_API bool cimgui::ImGui_InputTextMultilineEx(const char* label, char* buf, size_t buf_size, cimgui::ImVec2 size, ImGuiInputTextFlags flags, cimgui::ImGuiInputTextCallback callback, void* user_data) +{ + return ::ImGui::InputTextMultiline(label, buf, buf_size, ConvertToCPP_ImVec2(size), flags, reinterpret_cast<::ImGuiInputTextCallback>(callback), user_data); +} + +CIMGUI_API bool cimgui::ImGui_InputTextWithHint(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputTextWithHint(label, hint, buf, buf_size, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputTextWithHintEx(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags, cimgui::ImGuiInputTextCallback callback, void* user_data) +{ + return ::ImGui::InputTextWithHint(label, hint, buf, buf_size, flags, reinterpret_cast<::ImGuiInputTextCallback>(callback), user_data); +} + +CIMGUI_API bool cimgui::ImGui_InputFloat(const char* label, float* v) +{ + return ::ImGui::InputFloat(label, v); +} + +CIMGUI_API bool cimgui::ImGui_InputFloatEx(const char* label, float* v, float step, float step_fast, const char* format, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputFloat(label, v, step, step_fast, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputFloat2(const char* label, float v[2]) +{ + return ::ImGui::InputFloat2(label, v); +} + +CIMGUI_API bool cimgui::ImGui_InputFloat2Ex(const char* label, float v[2], const char* format, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputFloat2(label, v, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputFloat3(const char* label, float v[3]) +{ + return ::ImGui::InputFloat3(label, v); +} + +CIMGUI_API bool cimgui::ImGui_InputFloat3Ex(const char* label, float v[3], const char* format, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputFloat3(label, v, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputFloat4(const char* label, float v[4]) +{ + return ::ImGui::InputFloat4(label, v); +} + +CIMGUI_API bool cimgui::ImGui_InputFloat4Ex(const char* label, float v[4], const char* format, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputFloat4(label, v, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputInt(const char* label, int* v) +{ + return ::ImGui::InputInt(label, v); +} + +CIMGUI_API bool cimgui::ImGui_InputIntEx(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputInt(label, v, step, step_fast, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags) +{ + return ::ImGui::InputInt2(label, v, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputInt3(const char* label, int v[3], ImGuiInputTextFlags flags) +{ + return ::ImGui::InputInt3(label, v, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputInt4(const char* label, int v[4], ImGuiInputTextFlags flags) +{ + return ::ImGui::InputInt4(label, v, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputDouble(const char* label, double* v) +{ + return ::ImGui::InputDouble(label, v); +} + +CIMGUI_API bool cimgui::ImGui_InputDoubleEx(const char* label, double* v, double step, double step_fast, const char* format, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputDouble(label, v, step, step_fast, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputScalar(const char* label, ImGuiDataType data_type, void* p_data) +{ + return ::ImGui::InputScalar(label, data_type, p_data); +} + +CIMGUI_API bool cimgui::ImGui_InputScalarEx(const char* label, ImGuiDataType data_type, void* p_data, const void* p_step, const void* p_step_fast, const char* format, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputScalar(label, data_type, p_data, p_step, p_step_fast, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_InputScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components) +{ + return ::ImGui::InputScalarN(label, data_type, p_data, components); +} + +CIMGUI_API bool cimgui::ImGui_InputScalarNEx(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_step, const void* p_step_fast, const char* format, ImGuiInputTextFlags flags) +{ + return ::ImGui::InputScalarN(label, data_type, p_data, components, p_step, p_step_fast, format, flags); +} + +CIMGUI_API bool cimgui::ImGui_ColorEdit3(const char* label, float col[3], ImGuiColorEditFlags flags) +{ + return ::ImGui::ColorEdit3(label, col, flags); +} + +CIMGUI_API bool cimgui::ImGui_ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags) +{ + return ::ImGui::ColorEdit4(label, col, flags); +} + +CIMGUI_API bool cimgui::ImGui_ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags) +{ + return ::ImGui::ColorPicker3(label, col, flags); +} + +CIMGUI_API bool cimgui::ImGui_ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags, const float* ref_col) +{ + return ::ImGui::ColorPicker4(label, col, flags, ref_col); +} + +CIMGUI_API bool cimgui::ImGui_ColorButton(const char* desc_id, cimgui::ImVec4 col, ImGuiColorEditFlags flags) +{ + return ::ImGui::ColorButton(desc_id, ConvertToCPP_ImVec4(col), flags); +} + +CIMGUI_API bool cimgui::ImGui_ColorButtonEx(const char* desc_id, cimgui::ImVec4 col, ImGuiColorEditFlags flags, cimgui::ImVec2 size) +{ + return ::ImGui::ColorButton(desc_id, ConvertToCPP_ImVec4(col), flags, ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API void cimgui::ImGui_SetColorEditOptions(ImGuiColorEditFlags flags) +{ + ::ImGui::SetColorEditOptions(flags); +} + +CIMGUI_API bool cimgui::ImGui_TreeNode(const char* label) +{ + return ::ImGui::TreeNode(label); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeStr(const char* str_id, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + return ::ImGui::TreeNodeV(str_id, fmt, args); + va_end(args); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodePtr(const void* ptr_id, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + return ::ImGui::TreeNodeV(ptr_id, fmt, args); + va_end(args); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeV(const char* str_id, const char* fmt, va_list args) +{ + return ::ImGui::TreeNodeV(str_id, fmt, args); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeVPtr(const void* ptr_id, const char* fmt, va_list args) +{ + return ::ImGui::TreeNodeV(ptr_id, fmt, args); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeEx(const char* label, ImGuiTreeNodeFlags flags) +{ + return ::ImGui::TreeNodeEx(label, flags); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeExStr(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + return ::ImGui::TreeNodeExV(str_id, flags, fmt, args); + va_end(args); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeExPtr(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + return ::ImGui::TreeNodeExV(ptr_id, flags, fmt, args); + va_end(args); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) +{ + return ::ImGui::TreeNodeExV(str_id, flags, fmt, args); +} + +CIMGUI_API bool cimgui::ImGui_TreeNodeExVPtr(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) +{ + return ::ImGui::TreeNodeExV(ptr_id, flags, fmt, args); +} + +CIMGUI_API void cimgui::ImGui_TreePush(const char* str_id) +{ + ::ImGui::TreePush(str_id); +} + +CIMGUI_API void cimgui::ImGui_TreePushPtr(const void* ptr_id) +{ + ::ImGui::TreePush(ptr_id); +} + +CIMGUI_API void cimgui::ImGui_TreePop(void) +{ + ::ImGui::TreePop(); +} + +CIMGUI_API float cimgui::ImGui_GetTreeNodeToLabelSpacing(void) +{ + return ::ImGui::GetTreeNodeToLabelSpacing(); +} + +CIMGUI_API bool cimgui::ImGui_CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags) +{ + return ::ImGui::CollapsingHeader(label, flags); +} + +CIMGUI_API bool cimgui::ImGui_CollapsingHeaderBoolPtr(const char* label, bool* p_visible, ImGuiTreeNodeFlags flags) +{ + return ::ImGui::CollapsingHeader(label, p_visible, flags); +} + +CIMGUI_API void cimgui::ImGui_SetNextItemOpen(bool is_open, ImGuiCond cond) +{ + ::ImGui::SetNextItemOpen(is_open, cond); +} + +CIMGUI_API bool cimgui::ImGui_Selectable(const char* label) +{ + return ::ImGui::Selectable(label); +} + +CIMGUI_API bool cimgui::ImGui_SelectableEx(const char* label, bool selected, ImGuiSelectableFlags flags, cimgui::ImVec2 size) +{ + return ::ImGui::Selectable(label, selected, flags, ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API bool cimgui::ImGui_SelectableBoolPtr(const char* label, bool* p_selected, ImGuiSelectableFlags flags) +{ + return ::ImGui::Selectable(label, p_selected, flags); +} + +CIMGUI_API bool cimgui::ImGui_SelectableBoolPtrEx(const char* label, bool* p_selected, ImGuiSelectableFlags flags, cimgui::ImVec2 size) +{ + return ::ImGui::Selectable(label, p_selected, flags, ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API bool cimgui::ImGui_BeginListBox(const char* label, cimgui::ImVec2 size) +{ + return ::ImGui::BeginListBox(label, ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API void cimgui::ImGui_EndListBox(void) +{ + ::ImGui::EndListBox(); +} + +CIMGUI_API bool cimgui::ImGui_ListBox(const char* label, int* current_item, const char*const items[], int items_count, int height_in_items) +{ + return ::ImGui::ListBox(label, current_item, items, items_count, height_in_items); +} + +CIMGUI_API bool cimgui::ImGui_ListBoxCallback(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count) +{ + return ::ImGui::ListBox(label, current_item, getter, user_data, items_count); +} + +CIMGUI_API bool cimgui::ImGui_ListBoxCallbackEx(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int height_in_items) +{ + return ::ImGui::ListBox(label, current_item, getter, user_data, items_count, height_in_items); +} + +CIMGUI_API void cimgui::ImGui_PlotLines(const char* label, const float* values, int values_count) +{ + ::ImGui::PlotLines(label, values, values_count); +} + +CIMGUI_API void cimgui::ImGui_PlotLinesEx(const char* label, const float* values, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, cimgui::ImVec2 graph_size, int stride) +{ + ::ImGui::PlotLines(label, values, values_count, values_offset, overlay_text, scale_min, scale_max, ConvertToCPP_ImVec2(graph_size), stride); +} + +CIMGUI_API void cimgui::ImGui_PlotLinesCallback(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count) +{ + ::ImGui::PlotLines(label, values_getter, data, values_count); +} + +CIMGUI_API void cimgui::ImGui_PlotLinesCallbackEx(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, cimgui::ImVec2 graph_size) +{ + ::ImGui::PlotLines(label, values_getter, data, values_count, values_offset, overlay_text, scale_min, scale_max, ConvertToCPP_ImVec2(graph_size)); +} + +CIMGUI_API void cimgui::ImGui_PlotHistogram(const char* label, const float* values, int values_count) +{ + ::ImGui::PlotHistogram(label, values, values_count); +} + +CIMGUI_API void cimgui::ImGui_PlotHistogramEx(const char* label, const float* values, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, cimgui::ImVec2 graph_size, int stride) +{ + ::ImGui::PlotHistogram(label, values, values_count, values_offset, overlay_text, scale_min, scale_max, ConvertToCPP_ImVec2(graph_size), stride); +} + +CIMGUI_API void cimgui::ImGui_PlotHistogramCallback(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count) +{ + ::ImGui::PlotHistogram(label, values_getter, data, values_count); +} + +CIMGUI_API void cimgui::ImGui_PlotHistogramCallbackEx(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, cimgui::ImVec2 graph_size) +{ + ::ImGui::PlotHistogram(label, values_getter, data, values_count, values_offset, overlay_text, scale_min, scale_max, ConvertToCPP_ImVec2(graph_size)); +} + +CIMGUI_API bool cimgui::ImGui_BeginMenuBar(void) +{ + return ::ImGui::BeginMenuBar(); +} + +CIMGUI_API void cimgui::ImGui_EndMenuBar(void) +{ + ::ImGui::EndMenuBar(); +} + +CIMGUI_API bool cimgui::ImGui_BeginMainMenuBar(void) +{ + return ::ImGui::BeginMainMenuBar(); +} + +CIMGUI_API void cimgui::ImGui_EndMainMenuBar(void) +{ + ::ImGui::EndMainMenuBar(); +} + +CIMGUI_API bool cimgui::ImGui_BeginMenu(const char* label) +{ + return ::ImGui::BeginMenu(label); +} + +CIMGUI_API bool cimgui::ImGui_BeginMenuEx(const char* label, bool enabled) +{ + return ::ImGui::BeginMenu(label, enabled); +} + +CIMGUI_API void cimgui::ImGui_EndMenu(void) +{ + ::ImGui::EndMenu(); +} + +CIMGUI_API bool cimgui::ImGui_MenuItem(const char* label) +{ + return ::ImGui::MenuItem(label); +} + +CIMGUI_API bool cimgui::ImGui_MenuItemEx(const char* label, const char* shortcut, bool selected, bool enabled) +{ + return ::ImGui::MenuItem(label, shortcut, selected, enabled); +} + +CIMGUI_API bool cimgui::ImGui_MenuItemBoolPtr(const char* label, const char* shortcut, bool* p_selected, bool enabled) +{ + return ::ImGui::MenuItem(label, shortcut, p_selected, enabled); +} + +CIMGUI_API bool cimgui::ImGui_BeginTooltip(void) +{ + return ::ImGui::BeginTooltip(); +} + +CIMGUI_API void cimgui::ImGui_EndTooltip(void) +{ + ::ImGui::EndTooltip(); +} + +CIMGUI_API void cimgui::ImGui_SetTooltip(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::SetTooltipV(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_SetTooltipV(const char* fmt, va_list args) +{ + ::ImGui::SetTooltipV(fmt, args); +} + +CIMGUI_API bool cimgui::ImGui_BeginItemTooltip(void) +{ + return ::ImGui::BeginItemTooltip(); +} + +CIMGUI_API void cimgui::ImGui_SetItemTooltip(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::SetItemTooltipV(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_SetItemTooltipV(const char* fmt, va_list args) +{ + ::ImGui::SetItemTooltipV(fmt, args); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopup(const char* str_id, ImGuiWindowFlags flags) +{ + return ::ImGui::BeginPopup(str_id, flags); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopupModal(const char* name, bool* p_open, ImGuiWindowFlags flags) +{ + return ::ImGui::BeginPopupModal(name, p_open, flags); +} + +CIMGUI_API void cimgui::ImGui_EndPopup(void) +{ + ::ImGui::EndPopup(); +} + +CIMGUI_API void cimgui::ImGui_OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ::ImGui::OpenPopup(str_id, popup_flags); +} + +CIMGUI_API void cimgui::ImGui_OpenPopupID(ImGuiID id, ImGuiPopupFlags popup_flags) +{ + ::ImGui::OpenPopup(id, popup_flags); +} + +CIMGUI_API void cimgui::ImGui_OpenPopupOnItemClick(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ::ImGui::OpenPopupOnItemClick(str_id, popup_flags); +} + +CIMGUI_API void cimgui::ImGui_CloseCurrentPopup(void) +{ + ::ImGui::CloseCurrentPopup(); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopupContextItem(void) +{ + return ::ImGui::BeginPopupContextItem(); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopupContextItemEx(const char* str_id, ImGuiPopupFlags popup_flags) +{ + return ::ImGui::BeginPopupContextItem(str_id, popup_flags); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopupContextWindow(void) +{ + return ::ImGui::BeginPopupContextWindow(); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopupContextWindowEx(const char* str_id, ImGuiPopupFlags popup_flags) +{ + return ::ImGui::BeginPopupContextWindow(str_id, popup_flags); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopupContextVoid(void) +{ + return ::ImGui::BeginPopupContextVoid(); +} + +CIMGUI_API bool cimgui::ImGui_BeginPopupContextVoidEx(const char* str_id, ImGuiPopupFlags popup_flags) +{ + return ::ImGui::BeginPopupContextVoid(str_id, popup_flags); +} + +CIMGUI_API bool cimgui::ImGui_IsPopupOpen(const char* str_id, ImGuiPopupFlags flags) +{ + return ::ImGui::IsPopupOpen(str_id, flags); +} + +CIMGUI_API bool cimgui::ImGui_BeginTable(const char* str_id, int columns, ImGuiTableFlags flags) +{ + return ::ImGui::BeginTable(str_id, columns, flags); +} + +CIMGUI_API bool cimgui::ImGui_BeginTableEx(const char* str_id, int columns, ImGuiTableFlags flags, cimgui::ImVec2 outer_size, float inner_width) +{ + return ::ImGui::BeginTable(str_id, columns, flags, ConvertToCPP_ImVec2(outer_size), inner_width); +} + +CIMGUI_API void cimgui::ImGui_EndTable(void) +{ + ::ImGui::EndTable(); +} + +CIMGUI_API void cimgui::ImGui_TableNextRow(void) +{ + ::ImGui::TableNextRow(); +} + +CIMGUI_API void cimgui::ImGui_TableNextRowEx(ImGuiTableRowFlags row_flags, float min_row_height) +{ + ::ImGui::TableNextRow(row_flags, min_row_height); +} + +CIMGUI_API bool cimgui::ImGui_TableNextColumn(void) +{ + return ::ImGui::TableNextColumn(); +} + +CIMGUI_API bool cimgui::ImGui_TableSetColumnIndex(int column_n) +{ + return ::ImGui::TableSetColumnIndex(column_n); +} + +CIMGUI_API void cimgui::ImGui_TableSetupColumn(const char* label, ImGuiTableColumnFlags flags) +{ + ::ImGui::TableSetupColumn(label, flags); +} + +CIMGUI_API void cimgui::ImGui_TableSetupColumnEx(const char* label, ImGuiTableColumnFlags flags, float init_width_or_weight, ImGuiID user_id) +{ + ::ImGui::TableSetupColumn(label, flags, init_width_or_weight, user_id); +} + +CIMGUI_API void cimgui::ImGui_TableSetupScrollFreeze(int cols, int rows) +{ + ::ImGui::TableSetupScrollFreeze(cols, rows); +} + +CIMGUI_API void cimgui::ImGui_TableHeader(const char* label) +{ + ::ImGui::TableHeader(label); +} + +CIMGUI_API void cimgui::ImGui_TableHeadersRow(void) +{ + ::ImGui::TableHeadersRow(); +} + +CIMGUI_API void cimgui::ImGui_TableAngledHeadersRow(void) +{ + ::ImGui::TableAngledHeadersRow(); +} + +CIMGUI_API cimgui::ImGuiTableSortSpecs* cimgui::ImGui_TableGetSortSpecs(void) +{ + return reinterpret_cast<::cimgui::ImGuiTableSortSpecs*>(::ImGui::TableGetSortSpecs()); +} + +CIMGUI_API int cimgui::ImGui_TableGetColumnCount(void) +{ + return ::ImGui::TableGetColumnCount(); +} + +CIMGUI_API int cimgui::ImGui_TableGetColumnIndex(void) +{ + return ::ImGui::TableGetColumnIndex(); +} + +CIMGUI_API int cimgui::ImGui_TableGetRowIndex(void) +{ + return ::ImGui::TableGetRowIndex(); +} + +CIMGUI_API const char* cimgui::ImGui_TableGetColumnName(int column_n) +{ + return ::ImGui::TableGetColumnName(column_n); +} + +CIMGUI_API ImGuiTableColumnFlags cimgui::ImGui_TableGetColumnFlags(int column_n) +{ + return ::ImGui::TableGetColumnFlags(column_n); +} + +CIMGUI_API void cimgui::ImGui_TableSetColumnEnabled(int column_n, bool v) +{ + ::ImGui::TableSetColumnEnabled(column_n, v); +} + +CIMGUI_API int cimgui::ImGui_TableGetHoveredColumn(void) +{ + return ::ImGui::TableGetHoveredColumn(); +} + +CIMGUI_API void cimgui::ImGui_TableSetBgColor(ImGuiTableBgTarget target, ImU32 color, int column_n) +{ + ::ImGui::TableSetBgColor(target, color, column_n); +} + +CIMGUI_API void cimgui::ImGui_Columns(void) +{ + ::ImGui::Columns(); +} + +CIMGUI_API void cimgui::ImGui_ColumnsEx(int count, const char* id, bool border) +{ + ::ImGui::Columns(count, id, border); +} + +CIMGUI_API void cimgui::ImGui_NextColumn(void) +{ + ::ImGui::NextColumn(); +} + +CIMGUI_API int cimgui::ImGui_GetColumnIndex(void) +{ + return ::ImGui::GetColumnIndex(); +} + +CIMGUI_API float cimgui::ImGui_GetColumnWidth(int column_index) +{ + return ::ImGui::GetColumnWidth(column_index); +} + +CIMGUI_API void cimgui::ImGui_SetColumnWidth(int column_index, float width) +{ + ::ImGui::SetColumnWidth(column_index, width); +} + +CIMGUI_API float cimgui::ImGui_GetColumnOffset(int column_index) +{ + return ::ImGui::GetColumnOffset(column_index); +} + +CIMGUI_API void cimgui::ImGui_SetColumnOffset(int column_index, float offset_x) +{ + ::ImGui::SetColumnOffset(column_index, offset_x); +} + +CIMGUI_API int cimgui::ImGui_GetColumnsCount(void) +{ + return ::ImGui::GetColumnsCount(); +} + +CIMGUI_API bool cimgui::ImGui_BeginTabBar(const char* str_id, ImGuiTabBarFlags flags) +{ + return ::ImGui::BeginTabBar(str_id, flags); +} + +CIMGUI_API void cimgui::ImGui_EndTabBar(void) +{ + ::ImGui::EndTabBar(); +} + +CIMGUI_API bool cimgui::ImGui_BeginTabItem(const char* label, bool* p_open, ImGuiTabItemFlags flags) +{ + return ::ImGui::BeginTabItem(label, p_open, flags); +} + +CIMGUI_API void cimgui::ImGui_EndTabItem(void) +{ + ::ImGui::EndTabItem(); +} + +CIMGUI_API bool cimgui::ImGui_TabItemButton(const char* label, ImGuiTabItemFlags flags) +{ + return ::ImGui::TabItemButton(label, flags); +} + +CIMGUI_API void cimgui::ImGui_SetTabItemClosed(const char* tab_or_docked_window_label) +{ + ::ImGui::SetTabItemClosed(tab_or_docked_window_label); +} + +CIMGUI_API ImGuiID cimgui::ImGui_DockSpace(ImGuiID dockspace_id) +{ + return ::ImGui::DockSpace(dockspace_id); +} + +CIMGUI_API ImGuiID cimgui::ImGui_DockSpaceEx(ImGuiID dockspace_id, cimgui::ImVec2 size, ImGuiDockNodeFlags flags, const cimgui::ImGuiWindowClass* window_class) +{ + return ::ImGui::DockSpace(dockspace_id, ConvertToCPP_ImVec2(size), flags, reinterpret_cast(window_class)); +} + +CIMGUI_API ImGuiID cimgui::ImGui_DockSpaceOverViewport(void) +{ + return ::ImGui::DockSpaceOverViewport(); +} + +CIMGUI_API ImGuiID cimgui::ImGui_DockSpaceOverViewportEx(ImGuiID dockspace_id, const cimgui::ImGuiViewport* viewport, ImGuiDockNodeFlags flags, const cimgui::ImGuiWindowClass* window_class) +{ + return ::ImGui::DockSpaceOverViewport(dockspace_id, reinterpret_cast(viewport), flags, reinterpret_cast(window_class)); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowDockID(ImGuiID dock_id, ImGuiCond cond) +{ + ::ImGui::SetNextWindowDockID(dock_id, cond); +} + +CIMGUI_API void cimgui::ImGui_SetNextWindowClass(const cimgui::ImGuiWindowClass* window_class) +{ + ::ImGui::SetNextWindowClass(reinterpret_cast(window_class)); +} + +CIMGUI_API ImGuiID cimgui::ImGui_GetWindowDockID(void) +{ + return ::ImGui::GetWindowDockID(); +} + +CIMGUI_API bool cimgui::ImGui_IsWindowDocked(void) +{ + return ::ImGui::IsWindowDocked(); +} + +CIMGUI_API void cimgui::ImGui_LogToTTY(int auto_open_depth) +{ + ::ImGui::LogToTTY(auto_open_depth); +} + +CIMGUI_API void cimgui::ImGui_LogToFile(int auto_open_depth, const char* filename) +{ + ::ImGui::LogToFile(auto_open_depth, filename); +} + +CIMGUI_API void cimgui::ImGui_LogToClipboard(int auto_open_depth) +{ + ::ImGui::LogToClipboard(auto_open_depth); +} + +CIMGUI_API void cimgui::ImGui_LogFinish(void) +{ + ::ImGui::LogFinish(); +} + +CIMGUI_API void cimgui::ImGui_LogButtons(void) +{ + ::ImGui::LogButtons(); +} + +CIMGUI_API void cimgui::ImGui_LogText(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ::ImGui::LogTextV(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGui_LogTextV(const char* fmt, va_list args) +{ + ::ImGui::LogTextV(fmt, args); +} + +CIMGUI_API bool cimgui::ImGui_BeginDragDropSource(ImGuiDragDropFlags flags) +{ + return ::ImGui::BeginDragDropSource(flags); +} + +CIMGUI_API bool cimgui::ImGui_SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond) +{ + return ::ImGui::SetDragDropPayload(type, data, sz, cond); +} + +CIMGUI_API void cimgui::ImGui_EndDragDropSource(void) +{ + ::ImGui::EndDragDropSource(); +} + +CIMGUI_API bool cimgui::ImGui_BeginDragDropTarget(void) +{ + return ::ImGui::BeginDragDropTarget(); +} + +CIMGUI_API const cimgui::ImGuiPayload* cimgui::ImGui_AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags) +{ + return reinterpret_cast(::ImGui::AcceptDragDropPayload(type, flags)); +} + +CIMGUI_API void cimgui::ImGui_EndDragDropTarget(void) +{ + ::ImGui::EndDragDropTarget(); +} + +CIMGUI_API const cimgui::ImGuiPayload* cimgui::ImGui_GetDragDropPayload(void) +{ + return reinterpret_cast(::ImGui::GetDragDropPayload()); +} + +CIMGUI_API void cimgui::ImGui_BeginDisabled(bool disabled) +{ + ::ImGui::BeginDisabled(disabled); +} + +CIMGUI_API void cimgui::ImGui_EndDisabled(void) +{ + ::ImGui::EndDisabled(); +} + +CIMGUI_API void cimgui::ImGui_PushClipRect(cimgui::ImVec2 clip_rect_min, cimgui::ImVec2 clip_rect_max, bool intersect_with_current_clip_rect) +{ + ::ImGui::PushClipRect(ConvertToCPP_ImVec2(clip_rect_min), ConvertToCPP_ImVec2(clip_rect_max), intersect_with_current_clip_rect); +} + +CIMGUI_API void cimgui::ImGui_PopClipRect(void) +{ + ::ImGui::PopClipRect(); +} + +CIMGUI_API void cimgui::ImGui_SetItemDefaultFocus(void) +{ + ::ImGui::SetItemDefaultFocus(); +} + +CIMGUI_API void cimgui::ImGui_SetKeyboardFocusHere(void) +{ + ::ImGui::SetKeyboardFocusHere(); +} + +CIMGUI_API void cimgui::ImGui_SetKeyboardFocusHereEx(int offset) +{ + ::ImGui::SetKeyboardFocusHere(offset); +} + +CIMGUI_API void cimgui::ImGui_SetNextItemAllowOverlap(void) +{ + ::ImGui::SetNextItemAllowOverlap(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemHovered(ImGuiHoveredFlags flags) +{ + return ::ImGui::IsItemHovered(flags); +} + +CIMGUI_API bool cimgui::ImGui_IsItemActive(void) +{ + return ::ImGui::IsItemActive(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemFocused(void) +{ + return ::ImGui::IsItemFocused(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemClicked(void) +{ + return ::ImGui::IsItemClicked(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemClickedEx(ImGuiMouseButton mouse_button) +{ + return ::ImGui::IsItemClicked(mouse_button); +} + +CIMGUI_API bool cimgui::ImGui_IsItemVisible(void) +{ + return ::ImGui::IsItemVisible(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemEdited(void) +{ + return ::ImGui::IsItemEdited(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemActivated(void) +{ + return ::ImGui::IsItemActivated(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemDeactivated(void) +{ + return ::ImGui::IsItemDeactivated(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemDeactivatedAfterEdit(void) +{ + return ::ImGui::IsItemDeactivatedAfterEdit(); +} + +CIMGUI_API bool cimgui::ImGui_IsItemToggledOpen(void) +{ + return ::ImGui::IsItemToggledOpen(); +} + +CIMGUI_API bool cimgui::ImGui_IsAnyItemHovered(void) +{ + return ::ImGui::IsAnyItemHovered(); +} + +CIMGUI_API bool cimgui::ImGui_IsAnyItemActive(void) +{ + return ::ImGui::IsAnyItemActive(); +} + +CIMGUI_API bool cimgui::ImGui_IsAnyItemFocused(void) +{ + return ::ImGui::IsAnyItemFocused(); +} + +CIMGUI_API ImGuiID cimgui::ImGui_GetItemID(void) +{ + return ::ImGui::GetItemID(); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetItemRectMin(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetItemRectMin()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetItemRectMax(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetItemRectMax()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetItemRectSize(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetItemRectSize()); +} + +CIMGUI_API cimgui::ImGuiViewport* cimgui::ImGui_GetMainViewport(void) +{ + return reinterpret_cast<::cimgui::ImGuiViewport*>(::ImGui::GetMainViewport()); +} + +CIMGUI_API cimgui::ImDrawList* cimgui::ImGui_GetBackgroundDrawList(void) +{ + return reinterpret_cast<::cimgui::ImDrawList*>(::ImGui::GetBackgroundDrawList()); +} + +CIMGUI_API cimgui::ImDrawList* cimgui::ImGui_GetBackgroundDrawListEx(cimgui::ImGuiViewport* viewport) +{ + return reinterpret_cast<::cimgui::ImDrawList*>(::ImGui::GetBackgroundDrawList(reinterpret_cast<::ImGuiViewport*>(viewport))); +} + +CIMGUI_API cimgui::ImDrawList* cimgui::ImGui_GetForegroundDrawList(void) +{ + return reinterpret_cast<::cimgui::ImDrawList*>(::ImGui::GetForegroundDrawList()); +} + +CIMGUI_API cimgui::ImDrawList* cimgui::ImGui_GetForegroundDrawListEx(cimgui::ImGuiViewport* viewport) +{ + return reinterpret_cast<::cimgui::ImDrawList*>(::ImGui::GetForegroundDrawList(reinterpret_cast<::ImGuiViewport*>(viewport))); +} + +CIMGUI_API bool cimgui::ImGui_IsRectVisibleBySize(cimgui::ImVec2 size) +{ + return ::ImGui::IsRectVisible(ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API bool cimgui::ImGui_IsRectVisible(cimgui::ImVec2 rect_min, cimgui::ImVec2 rect_max) +{ + return ::ImGui::IsRectVisible(ConvertToCPP_ImVec2(rect_min), ConvertToCPP_ImVec2(rect_max)); +} + +CIMGUI_API double cimgui::ImGui_GetTime(void) +{ + return ::ImGui::GetTime(); +} + +CIMGUI_API int cimgui::ImGui_GetFrameCount(void) +{ + return ::ImGui::GetFrameCount(); +} + +CIMGUI_API cimgui::ImDrawListSharedData* cimgui::ImGui_GetDrawListSharedData(void) +{ + return reinterpret_cast<::cimgui::ImDrawListSharedData*>(::ImGui::GetDrawListSharedData()); +} + +CIMGUI_API const char* cimgui::ImGui_GetStyleColorName(ImGuiCol idx) +{ + return ::ImGui::GetStyleColorName(idx); +} + +CIMGUI_API void cimgui::ImGui_SetStateStorage(cimgui::ImGuiStorage* storage) +{ + ::ImGui::SetStateStorage(reinterpret_cast<::ImGuiStorage*>(storage)); +} + +CIMGUI_API cimgui::ImGuiStorage* cimgui::ImGui_GetStateStorage(void) +{ + return reinterpret_cast<::cimgui::ImGuiStorage*>(::ImGui::GetStateStorage()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_CalcTextSize(const char* text) +{ + return ConvertFromCPP_ImVec2(::ImGui::CalcTextSize(text)); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_CalcTextSizeEx(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width) +{ + return ConvertFromCPP_ImVec2(::ImGui::CalcTextSize(text, text_end, hide_text_after_double_hash, wrap_width)); +} + +CIMGUI_API cimgui::ImVec4 cimgui::ImGui_ColorConvertU32ToFloat4(ImU32 in) +{ + return ConvertFromCPP_ImVec4(::ImGui::ColorConvertU32ToFloat4(in)); +} + +CIMGUI_API ImU32 cimgui::ImGui_ColorConvertFloat4ToU32(cimgui::ImVec4 in) +{ + return ::ImGui::ColorConvertFloat4ToU32(ConvertToCPP_ImVec4(in)); +} + +CIMGUI_API void cimgui::ImGui_ColorConvertRGBtoHSV(float r, float g, float b, float* out_h, float* out_s, float* out_v) +{ + ::ImGui::ColorConvertRGBtoHSV(r, g, b, *out_h, *out_s, *out_v); +} + +CIMGUI_API void cimgui::ImGui_ColorConvertHSVtoRGB(float h, float s, float v, float* out_r, float* out_g, float* out_b) +{ + ::ImGui::ColorConvertHSVtoRGB(h, s, v, *out_r, *out_g, *out_b); +} + +CIMGUI_API bool cimgui::ImGui_IsKeyDown(cimgui::ImGuiKey key) +{ + return ::ImGui::IsKeyDown(static_cast<::ImGuiKey>(key)); +} + +CIMGUI_API bool cimgui::ImGui_IsKeyPressed(cimgui::ImGuiKey key) +{ + return ::ImGui::IsKeyPressed(static_cast<::ImGuiKey>(key)); +} + +CIMGUI_API bool cimgui::ImGui_IsKeyPressedEx(cimgui::ImGuiKey key, bool repeat) +{ + return ::ImGui::IsKeyPressed(static_cast<::ImGuiKey>(key), repeat); +} + +CIMGUI_API bool cimgui::ImGui_IsKeyReleased(cimgui::ImGuiKey key) +{ + return ::ImGui::IsKeyReleased(static_cast<::ImGuiKey>(key)); +} + +CIMGUI_API bool cimgui::ImGui_IsKeyChordPressed(ImGuiKeyChord key_chord) +{ + return ::ImGui::IsKeyChordPressed(key_chord); +} + +CIMGUI_API int cimgui::ImGui_GetKeyPressedAmount(cimgui::ImGuiKey key, float repeat_delay, float rate) +{ + return ::ImGui::GetKeyPressedAmount(static_cast<::ImGuiKey>(key), repeat_delay, rate); +} + +CIMGUI_API const char* cimgui::ImGui_GetKeyName(cimgui::ImGuiKey key) +{ + return ::ImGui::GetKeyName(static_cast<::ImGuiKey>(key)); +} + +CIMGUI_API void cimgui::ImGui_SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) +{ + ::ImGui::SetNextFrameWantCaptureKeyboard(want_capture_keyboard); +} + +CIMGUI_API bool cimgui::ImGui_Shortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags) +{ + return ::ImGui::Shortcut(key_chord, flags); +} + +CIMGUI_API void cimgui::ImGui_SetNextItemShortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags) +{ + ::ImGui::SetNextItemShortcut(key_chord, flags); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseDown(ImGuiMouseButton button) +{ + return ::ImGui::IsMouseDown(button); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseClicked(ImGuiMouseButton button) +{ + return ::ImGui::IsMouseClicked(button); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseClickedEx(ImGuiMouseButton button, bool repeat) +{ + return ::ImGui::IsMouseClicked(button, repeat); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseReleased(ImGuiMouseButton button) +{ + return ::ImGui::IsMouseReleased(button); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseDoubleClicked(ImGuiMouseButton button) +{ + return ::ImGui::IsMouseDoubleClicked(button); +} + +CIMGUI_API int cimgui::ImGui_GetMouseClickedCount(ImGuiMouseButton button) +{ + return ::ImGui::GetMouseClickedCount(button); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseHoveringRect(cimgui::ImVec2 r_min, cimgui::ImVec2 r_max) +{ + return ::ImGui::IsMouseHoveringRect(ConvertToCPP_ImVec2(r_min), ConvertToCPP_ImVec2(r_max)); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseHoveringRectEx(cimgui::ImVec2 r_min, cimgui::ImVec2 r_max, bool clip) +{ + return ::ImGui::IsMouseHoveringRect(ConvertToCPP_ImVec2(r_min), ConvertToCPP_ImVec2(r_max), clip); +} + +CIMGUI_API bool cimgui::ImGui_IsMousePosValid(const cimgui::ImVec2* mouse_pos) +{ + return ::ImGui::IsMousePosValid(reinterpret_cast(mouse_pos)); +} + +CIMGUI_API bool cimgui::ImGui_IsAnyMouseDown(void) +{ + return ::ImGui::IsAnyMouseDown(); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetMousePos(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetMousePos()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetMousePosOnOpeningCurrentPopup(void) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetMousePosOnOpeningCurrentPopup()); +} + +CIMGUI_API bool cimgui::ImGui_IsMouseDragging(ImGuiMouseButton button, float lock_threshold) +{ + return ::ImGui::IsMouseDragging(button, lock_threshold); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGui_GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) +{ + return ConvertFromCPP_ImVec2(::ImGui::GetMouseDragDelta(button, lock_threshold)); +} + +CIMGUI_API void cimgui::ImGui_ResetMouseDragDelta(void) +{ + ::ImGui::ResetMouseDragDelta(); +} + +CIMGUI_API void cimgui::ImGui_ResetMouseDragDeltaEx(ImGuiMouseButton button) +{ + ::ImGui::ResetMouseDragDelta(button); +} + +CIMGUI_API ImGuiMouseCursor cimgui::ImGui_GetMouseCursor(void) +{ + return ::ImGui::GetMouseCursor(); +} + +CIMGUI_API void cimgui::ImGui_SetMouseCursor(ImGuiMouseCursor cursor_type) +{ + ::ImGui::SetMouseCursor(cursor_type); +} + +CIMGUI_API void cimgui::ImGui_SetNextFrameWantCaptureMouse(bool want_capture_mouse) +{ + ::ImGui::SetNextFrameWantCaptureMouse(want_capture_mouse); +} + +CIMGUI_API const char* cimgui::ImGui_GetClipboardText(void) +{ + return ::ImGui::GetClipboardText(); +} + +CIMGUI_API void cimgui::ImGui_SetClipboardText(const char* text) +{ + ::ImGui::SetClipboardText(text); +} + +CIMGUI_API void cimgui::ImGui_LoadIniSettingsFromDisk(const char* ini_filename) +{ + ::ImGui::LoadIniSettingsFromDisk(ini_filename); +} + +CIMGUI_API void cimgui::ImGui_LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size) +{ + ::ImGui::LoadIniSettingsFromMemory(ini_data, ini_size); +} + +CIMGUI_API void cimgui::ImGui_SaveIniSettingsToDisk(const char* ini_filename) +{ + ::ImGui::SaveIniSettingsToDisk(ini_filename); +} + +CIMGUI_API const char* cimgui::ImGui_SaveIniSettingsToMemory(size_t* out_ini_size) +{ + return ::ImGui::SaveIniSettingsToMemory(out_ini_size); +} + +CIMGUI_API void cimgui::ImGui_DebugTextEncoding(const char* text) +{ + ::ImGui::DebugTextEncoding(text); +} + +CIMGUI_API void cimgui::ImGui_DebugFlashStyleColor(ImGuiCol idx) +{ + ::ImGui::DebugFlashStyleColor(idx); +} + +CIMGUI_API void cimgui::ImGui_DebugStartItemPicker(void) +{ + ::ImGui::DebugStartItemPicker(); +} + +CIMGUI_API bool cimgui::ImGui_DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert, size_t sz_drawidx) +{ + return ::ImGui::DebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx); +} + +CIMGUI_API void cimgui::ImGui_SetAllocatorFunctions(cimgui::ImGuiMemAllocFunc alloc_func, cimgui::ImGuiMemFreeFunc free_func, void* user_data) +{ + ::ImGui::SetAllocatorFunctions(reinterpret_cast<::ImGuiMemAllocFunc>(alloc_func), reinterpret_cast<::ImGuiMemFreeFunc>(free_func), user_data); +} + +CIMGUI_API void cimgui::ImGui_GetAllocatorFunctions(cimgui::ImGuiMemAllocFunc* p_alloc_func, cimgui::ImGuiMemFreeFunc* p_free_func, void** p_user_data) +{ + ::ImGui::GetAllocatorFunctions(reinterpret_cast<::ImGuiMemAllocFunc*>(p_alloc_func), reinterpret_cast<::ImGuiMemFreeFunc*>(p_free_func), p_user_data); +} + +CIMGUI_API void* cimgui::ImGui_MemAlloc(size_t size) +{ + return ::ImGui::MemAlloc(size); +} + +CIMGUI_API void cimgui::ImGui_MemFree(void* ptr) +{ + ::ImGui::MemFree(ptr); +} + +CIMGUI_API cimgui::ImGuiPlatformIO* cimgui::ImGui_GetPlatformIO(void) +{ + return reinterpret_cast<::cimgui::ImGuiPlatformIO*>(&::ImGui::GetPlatformIO()); +} + +CIMGUI_API void cimgui::ImGui_UpdatePlatformWindows(void) +{ + ::ImGui::UpdatePlatformWindows(); +} + +CIMGUI_API void cimgui::ImGui_RenderPlatformWindowsDefault(void) +{ + ::ImGui::RenderPlatformWindowsDefault(); +} + +CIMGUI_API void cimgui::ImGui_RenderPlatformWindowsDefaultEx(void* platform_render_arg, void* renderer_render_arg) +{ + ::ImGui::RenderPlatformWindowsDefault(platform_render_arg, renderer_render_arg); +} + +CIMGUI_API void cimgui::ImGui_DestroyPlatformWindows(void) +{ + ::ImGui::DestroyPlatformWindows(); +} + +CIMGUI_API cimgui::ImGuiViewport* cimgui::ImGui_FindViewportByID(ImGuiID id) +{ + return reinterpret_cast<::cimgui::ImGuiViewport*>(::ImGui::FindViewportByID(id)); +} + +CIMGUI_API cimgui::ImGuiViewport* cimgui::ImGui_FindViewportByPlatformHandle(void* platform_handle) +{ + return reinterpret_cast<::cimgui::ImGuiViewport*>(::ImGui::FindViewportByPlatformHandle(platform_handle)); +} + +CIMGUI_API void cimgui::ImGuiStyle_ScaleAllSizes(cimgui::ImGuiStyle* self, float scale_factor) +{ + reinterpret_cast<::ImGuiStyle*>(self)->ScaleAllSizes(scale_factor); +} + +CIMGUI_API void cimgui::ImGuiIO_AddKeyEvent(cimgui::ImGuiIO* self, cimgui::ImGuiKey key, bool down) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddKeyEvent(static_cast<::ImGuiKey>(key), down); +} + +CIMGUI_API void cimgui::ImGuiIO_AddKeyAnalogEvent(cimgui::ImGuiIO* self, cimgui::ImGuiKey key, bool down, float v) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddKeyAnalogEvent(static_cast<::ImGuiKey>(key), down, v); +} + +CIMGUI_API void cimgui::ImGuiIO_AddMousePosEvent(cimgui::ImGuiIO* self, float x, float y) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddMousePosEvent(x, y); +} + +CIMGUI_API void cimgui::ImGuiIO_AddMouseButtonEvent(cimgui::ImGuiIO* self, int button, bool down) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddMouseButtonEvent(button, down); +} + +CIMGUI_API void cimgui::ImGuiIO_AddMouseWheelEvent(cimgui::ImGuiIO* self, float wheel_x, float wheel_y) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddMouseWheelEvent(wheel_x, wheel_y); +} + +CIMGUI_API void cimgui::ImGuiIO_AddMouseSourceEvent(cimgui::ImGuiIO* self, cimgui::ImGuiMouseSource source) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddMouseSourceEvent(static_cast<::ImGuiMouseSource>(source)); +} + +CIMGUI_API void cimgui::ImGuiIO_AddMouseViewportEvent(cimgui::ImGuiIO* self, ImGuiID id) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddMouseViewportEvent(id); +} + +CIMGUI_API void cimgui::ImGuiIO_AddFocusEvent(cimgui::ImGuiIO* self, bool focused) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddFocusEvent(focused); +} + +CIMGUI_API void cimgui::ImGuiIO_AddInputCharacter(cimgui::ImGuiIO* self, unsigned int c) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddInputCharacter(c); +} + +CIMGUI_API void cimgui::ImGuiIO_AddInputCharacterUTF16(cimgui::ImGuiIO* self, ImWchar16 c) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddInputCharacterUTF16(c); +} + +CIMGUI_API void cimgui::ImGuiIO_AddInputCharactersUTF8(cimgui::ImGuiIO* self, const char* str) +{ + reinterpret_cast<::ImGuiIO*>(self)->AddInputCharactersUTF8(str); +} + +CIMGUI_API void cimgui::ImGuiIO_SetKeyEventNativeData(cimgui::ImGuiIO* self, cimgui::ImGuiKey key, int native_keycode, int native_scancode) +{ + reinterpret_cast<::ImGuiIO*>(self)->SetKeyEventNativeData(static_cast<::ImGuiKey>(key), native_keycode, native_scancode); +} + +CIMGUI_API void cimgui::ImGuiIO_SetKeyEventNativeDataEx(cimgui::ImGuiIO* self, cimgui::ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index) +{ + reinterpret_cast<::ImGuiIO*>(self)->SetKeyEventNativeData(static_cast<::ImGuiKey>(key), native_keycode, native_scancode, native_legacy_index); +} + +CIMGUI_API void cimgui::ImGuiIO_SetAppAcceptingEvents(cimgui::ImGuiIO* self, bool accepting_events) +{ + reinterpret_cast<::ImGuiIO*>(self)->SetAppAcceptingEvents(accepting_events); +} + +CIMGUI_API void cimgui::ImGuiIO_ClearEventsQueue(cimgui::ImGuiIO* self) +{ + reinterpret_cast<::ImGuiIO*>(self)->ClearEventsQueue(); +} + +CIMGUI_API void cimgui::ImGuiIO_ClearInputKeys(cimgui::ImGuiIO* self) +{ + reinterpret_cast<::ImGuiIO*>(self)->ClearInputKeys(); +} + +CIMGUI_API void cimgui::ImGuiIO_ClearInputMouse(cimgui::ImGuiIO* self) +{ + reinterpret_cast<::ImGuiIO*>(self)->ClearInputMouse(); +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +CIMGUI_API void cimgui::ImGuiIO_ClearInputCharacters(cimgui::ImGuiIO* self) +{ + reinterpret_cast<::ImGuiIO*>(self)->ClearInputCharacters(); +} + +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +CIMGUI_API void cimgui::ImGuiInputTextCallbackData_DeleteChars(cimgui::ImGuiInputTextCallbackData* self, int pos, int bytes_count) +{ + reinterpret_cast<::ImGuiInputTextCallbackData*>(self)->DeleteChars(pos, bytes_count); +} + +CIMGUI_API void cimgui::ImGuiInputTextCallbackData_InsertChars(cimgui::ImGuiInputTextCallbackData* self, int pos, const char* text, const char* text_end) +{ + reinterpret_cast<::ImGuiInputTextCallbackData*>(self)->InsertChars(pos, text, text_end); +} + +CIMGUI_API void cimgui::ImGuiInputTextCallbackData_SelectAll(cimgui::ImGuiInputTextCallbackData* self) +{ + reinterpret_cast<::ImGuiInputTextCallbackData*>(self)->SelectAll(); +} + +CIMGUI_API void cimgui::ImGuiInputTextCallbackData_ClearSelection(cimgui::ImGuiInputTextCallbackData* self) +{ + reinterpret_cast<::ImGuiInputTextCallbackData*>(self)->ClearSelection(); +} + +CIMGUI_API bool cimgui::ImGuiInputTextCallbackData_HasSelection(const cimgui::ImGuiInputTextCallbackData* self) +{ + return reinterpret_cast(self)->HasSelection(); +} + +CIMGUI_API void cimgui::ImGuiPayload_Clear(cimgui::ImGuiPayload* self) +{ + reinterpret_cast<::ImGuiPayload*>(self)->Clear(); +} + +CIMGUI_API bool cimgui::ImGuiPayload_IsDataType(const cimgui::ImGuiPayload* self, const char* type) +{ + return reinterpret_cast(self)->IsDataType(type); +} + +CIMGUI_API bool cimgui::ImGuiPayload_IsPreview(const cimgui::ImGuiPayload* self) +{ + return reinterpret_cast(self)->IsPreview(); +} + +CIMGUI_API bool cimgui::ImGuiPayload_IsDelivery(const cimgui::ImGuiPayload* self) +{ + return reinterpret_cast(self)->IsDelivery(); +} + +CIMGUI_API bool cimgui::ImGuiTextFilter_ImGuiTextRange_empty(const cimgui::ImGuiTextFilter_ImGuiTextRange* self) +{ + return reinterpret_cast(self)->empty(); +} + +CIMGUI_API void cimgui::ImGuiTextFilter_ImGuiTextRange_split(const cimgui::ImGuiTextFilter_ImGuiTextRange* self, char separator, cimgui::ImVector_ImGuiTextFilter_ImGuiTextRange* out) +{ + reinterpret_cast(self)->split(separator, reinterpret_cast<::ImVector<::ImGuiTextFilter::ImGuiTextRange>*>(out)); +} + +CIMGUI_API bool cimgui::ImGuiTextFilter_Draw(cimgui::ImGuiTextFilter* self, const char* label, float width) +{ + return reinterpret_cast<::ImGuiTextFilter*>(self)->Draw(label, width); +} + +CIMGUI_API bool cimgui::ImGuiTextFilter_PassFilter(const cimgui::ImGuiTextFilter* self, const char* text, const char* text_end) +{ + return reinterpret_cast(self)->PassFilter(text, text_end); +} + +CIMGUI_API void cimgui::ImGuiTextFilter_Build(cimgui::ImGuiTextFilter* self) +{ + reinterpret_cast<::ImGuiTextFilter*>(self)->Build(); +} + +CIMGUI_API void cimgui::ImGuiTextFilter_Clear(cimgui::ImGuiTextFilter* self) +{ + reinterpret_cast<::ImGuiTextFilter*>(self)->Clear(); +} + +CIMGUI_API bool cimgui::ImGuiTextFilter_IsActive(const cimgui::ImGuiTextFilter* self) +{ + return reinterpret_cast(self)->IsActive(); +} + +CIMGUI_API const char* cimgui::ImGuiTextBuffer_begin(const cimgui::ImGuiTextBuffer* self) +{ + return reinterpret_cast(self)->begin(); +} + +CIMGUI_API const char* cimgui::ImGuiTextBuffer_end(const cimgui::ImGuiTextBuffer* self) +{ + return reinterpret_cast(self)->end(); +} + +CIMGUI_API int cimgui::ImGuiTextBuffer_size(const cimgui::ImGuiTextBuffer* self) +{ + return reinterpret_cast(self)->size(); +} + +CIMGUI_API bool cimgui::ImGuiTextBuffer_empty(const cimgui::ImGuiTextBuffer* self) +{ + return reinterpret_cast(self)->empty(); +} + +CIMGUI_API void cimgui::ImGuiTextBuffer_clear(cimgui::ImGuiTextBuffer* self) +{ + reinterpret_cast<::ImGuiTextBuffer*>(self)->clear(); +} + +CIMGUI_API void cimgui::ImGuiTextBuffer_reserve(cimgui::ImGuiTextBuffer* self, int capacity) +{ + reinterpret_cast<::ImGuiTextBuffer*>(self)->reserve(capacity); +} + +CIMGUI_API const char* cimgui::ImGuiTextBuffer_c_str(const cimgui::ImGuiTextBuffer* self) +{ + return reinterpret_cast(self)->c_str(); +} + +CIMGUI_API void cimgui::ImGuiTextBuffer_append(cimgui::ImGuiTextBuffer* self, const char* str, const char* str_end) +{ + reinterpret_cast<::ImGuiTextBuffer*>(self)->append(str, str_end); +} + +CIMGUI_API void cimgui::ImGuiTextBuffer_appendf(cimgui::ImGuiTextBuffer* self, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + reinterpret_cast<::ImGuiTextBuffer*>(self)->appendfv(fmt, args); + va_end(args); +} + +CIMGUI_API void cimgui::ImGuiTextBuffer_appendfv(cimgui::ImGuiTextBuffer* self, const char* fmt, va_list args) +{ + reinterpret_cast<::ImGuiTextBuffer*>(self)->appendfv(fmt, args); +} + +CIMGUI_API void cimgui::ImGuiStorage_Clear(cimgui::ImGuiStorage* self) +{ + reinterpret_cast<::ImGuiStorage*>(self)->Clear(); +} + +CIMGUI_API int cimgui::ImGuiStorage_GetInt(const cimgui::ImGuiStorage* self, ImGuiID key, int default_val) +{ + return reinterpret_cast(self)->GetInt(key, default_val); +} + +CIMGUI_API void cimgui::ImGuiStorage_SetInt(cimgui::ImGuiStorage* self, ImGuiID key, int val) +{ + reinterpret_cast<::ImGuiStorage*>(self)->SetInt(key, val); +} + +CIMGUI_API bool cimgui::ImGuiStorage_GetBool(const cimgui::ImGuiStorage* self, ImGuiID key, bool default_val) +{ + return reinterpret_cast(self)->GetBool(key, default_val); +} + +CIMGUI_API void cimgui::ImGuiStorage_SetBool(cimgui::ImGuiStorage* self, ImGuiID key, bool val) +{ + reinterpret_cast<::ImGuiStorage*>(self)->SetBool(key, val); +} + +CIMGUI_API float cimgui::ImGuiStorage_GetFloat(const cimgui::ImGuiStorage* self, ImGuiID key, float default_val) +{ + return reinterpret_cast(self)->GetFloat(key, default_val); +} + +CIMGUI_API void cimgui::ImGuiStorage_SetFloat(cimgui::ImGuiStorage* self, ImGuiID key, float val) +{ + reinterpret_cast<::ImGuiStorage*>(self)->SetFloat(key, val); +} + +CIMGUI_API void* cimgui::ImGuiStorage_GetVoidPtr(const cimgui::ImGuiStorage* self, ImGuiID key) +{ + return reinterpret_cast(self)->GetVoidPtr(key); +} + +CIMGUI_API void cimgui::ImGuiStorage_SetVoidPtr(cimgui::ImGuiStorage* self, ImGuiID key, void* val) +{ + reinterpret_cast<::ImGuiStorage*>(self)->SetVoidPtr(key, val); +} + +CIMGUI_API int* cimgui::ImGuiStorage_GetIntRef(cimgui::ImGuiStorage* self, ImGuiID key, int default_val) +{ + return reinterpret_cast<::ImGuiStorage*>(self)->GetIntRef(key, default_val); +} + +CIMGUI_API bool* cimgui::ImGuiStorage_GetBoolRef(cimgui::ImGuiStorage* self, ImGuiID key, bool default_val) +{ + return reinterpret_cast<::ImGuiStorage*>(self)->GetBoolRef(key, default_val); +} + +CIMGUI_API float* cimgui::ImGuiStorage_GetFloatRef(cimgui::ImGuiStorage* self, ImGuiID key, float default_val) +{ + return reinterpret_cast<::ImGuiStorage*>(self)->GetFloatRef(key, default_val); +} + +CIMGUI_API void** cimgui::ImGuiStorage_GetVoidPtrRef(cimgui::ImGuiStorage* self, ImGuiID key, void* default_val) +{ + return reinterpret_cast<::ImGuiStorage*>(self)->GetVoidPtrRef(key, default_val); +} + +CIMGUI_API void cimgui::ImGuiStorage_BuildSortByKey(cimgui::ImGuiStorage* self) +{ + reinterpret_cast<::ImGuiStorage*>(self)->BuildSortByKey(); +} + +CIMGUI_API void cimgui::ImGuiStorage_SetAllInt(cimgui::ImGuiStorage* self, int val) +{ + reinterpret_cast<::ImGuiStorage*>(self)->SetAllInt(val); +} + +CIMGUI_API void cimgui::ImGuiListClipper_Begin(cimgui::ImGuiListClipper* self, int items_count, float items_height) +{ + reinterpret_cast<::ImGuiListClipper*>(self)->Begin(items_count, items_height); +} + +CIMGUI_API void cimgui::ImGuiListClipper_End(cimgui::ImGuiListClipper* self) +{ + reinterpret_cast<::ImGuiListClipper*>(self)->End(); +} + +CIMGUI_API bool cimgui::ImGuiListClipper_Step(cimgui::ImGuiListClipper* self) +{ + return reinterpret_cast<::ImGuiListClipper*>(self)->Step(); +} + +CIMGUI_API void cimgui::ImGuiListClipper_IncludeItemByIndex(cimgui::ImGuiListClipper* self, int item_index) +{ + reinterpret_cast<::ImGuiListClipper*>(self)->IncludeItemByIndex(item_index); +} + +CIMGUI_API void cimgui::ImGuiListClipper_IncludeItemsByIndex(cimgui::ImGuiListClipper* self, int item_begin, int item_end) +{ + reinterpret_cast<::ImGuiListClipper*>(self)->IncludeItemsByIndex(item_begin, item_end); +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +CIMGUI_API void cimgui::ImGuiListClipper_IncludeRangeByIndices(cimgui::ImGuiListClipper* self, int item_begin, int item_end) +{ + reinterpret_cast<::ImGuiListClipper*>(self)->IncludeRangeByIndices(item_begin, item_end); +} + +CIMGUI_API void cimgui::ImGuiListClipper_ForceDisplayRangeByIndices(cimgui::ImGuiListClipper* self, int item_begin, int item_end) +{ + reinterpret_cast<::ImGuiListClipper*>(self)->ForceDisplayRangeByIndices(item_begin, item_end); +} + +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +CIMGUI_API void cimgui::ImColor_SetHSV(cimgui::ImColor* self, float h, float s, float v, float a) +{ + reinterpret_cast<::ImColor*>(self)->SetHSV(h, s, v, a); +} + +CIMGUI_API cimgui::ImColor cimgui::ImColor_HSV(cimgui::ImColor* self, float h, float s, float v, float a) +{ + return ConvertFromCPP_ImColor(reinterpret_cast<::ImColor*>(self)->ImColor::HSV(h, s, v, a)); +} + +CIMGUI_API ImTextureID cimgui::ImDrawCmd_GetTexID(const cimgui::ImDrawCmd* self) +{ + return reinterpret_cast(self)->GetTexID(); +} + +CIMGUI_API void cimgui::ImDrawListSplitter_Clear(cimgui::ImDrawListSplitter* self) +{ + reinterpret_cast<::ImDrawListSplitter*>(self)->Clear(); +} + +CIMGUI_API void cimgui::ImDrawListSplitter_ClearFreeMemory(cimgui::ImDrawListSplitter* self) +{ + reinterpret_cast<::ImDrawListSplitter*>(self)->ClearFreeMemory(); +} + +CIMGUI_API void cimgui::ImDrawListSplitter_Split(cimgui::ImDrawListSplitter* self, cimgui::ImDrawList* draw_list, int count) +{ + reinterpret_cast<::ImDrawListSplitter*>(self)->Split(reinterpret_cast<::ImDrawList*>(draw_list), count); +} + +CIMGUI_API void cimgui::ImDrawListSplitter_Merge(cimgui::ImDrawListSplitter* self, cimgui::ImDrawList* draw_list) +{ + reinterpret_cast<::ImDrawListSplitter*>(self)->Merge(reinterpret_cast<::ImDrawList*>(draw_list)); +} + +CIMGUI_API void cimgui::ImDrawListSplitter_SetCurrentChannel(cimgui::ImDrawListSplitter* self, cimgui::ImDrawList* draw_list, int channel_idx) +{ + reinterpret_cast<::ImDrawListSplitter*>(self)->SetCurrentChannel(reinterpret_cast<::ImDrawList*>(draw_list), channel_idx); +} + +CIMGUI_API void cimgui::ImDrawList_PushClipRect(cimgui::ImDrawList* self, cimgui::ImVec2 clip_rect_min, cimgui::ImVec2 clip_rect_max, bool intersect_with_current_clip_rect) +{ + reinterpret_cast<::ImDrawList*>(self)->PushClipRect(ConvertToCPP_ImVec2(clip_rect_min), ConvertToCPP_ImVec2(clip_rect_max), intersect_with_current_clip_rect); +} + +CIMGUI_API void cimgui::ImDrawList_PushClipRectFullScreen(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->PushClipRectFullScreen(); +} + +CIMGUI_API void cimgui::ImDrawList_PopClipRect(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->PopClipRect(); +} + +CIMGUI_API void cimgui::ImDrawList_PushTextureID(cimgui::ImDrawList* self, ImTextureID texture_id) +{ + reinterpret_cast<::ImDrawList*>(self)->PushTextureID(texture_id); +} + +CIMGUI_API void cimgui::ImDrawList_PopTextureID(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->PopTextureID(); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImDrawList_GetClipRectMin(const cimgui::ImDrawList* self) +{ + return ConvertFromCPP_ImVec2(reinterpret_cast(self)->GetClipRectMin()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImDrawList_GetClipRectMax(const cimgui::ImDrawList* self) +{ + return ConvertFromCPP_ImVec2(reinterpret_cast(self)->GetClipRectMax()); +} + +CIMGUI_API void cimgui::ImDrawList_AddLine(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddLine(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddLineEx(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, ImU32 col, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddLine(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), col, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddRect(cimgui::ImDrawList* self, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddRect(ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddRectEx(cimgui::ImDrawList* self, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max, ImU32 col, float rounding, ImDrawFlags flags, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddRect(ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max), col, rounding, flags, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddRectFilled(cimgui::ImDrawList* self, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddRectFilled(ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddRectFilledEx(cimgui::ImDrawList* self, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max, ImU32 col, float rounding, ImDrawFlags flags) +{ + reinterpret_cast<::ImDrawList*>(self)->AddRectFilled(ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max), col, rounding, flags); +} + +CIMGUI_API void cimgui::ImDrawList_AddRectFilledMultiColor(cimgui::ImDrawList* self, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left) +{ + reinterpret_cast<::ImDrawList*>(self)->AddRectFilledMultiColor(ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max), col_upr_left, col_upr_right, col_bot_right, col_bot_left); +} + +CIMGUI_API void cimgui::ImDrawList_AddQuad(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, cimgui::ImVec2 p4, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddQuad(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), ConvertToCPP_ImVec2(p4), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddQuadEx(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, cimgui::ImVec2 p4, ImU32 col, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddQuad(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), ConvertToCPP_ImVec2(p4), col, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddQuadFilled(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, cimgui::ImVec2 p4, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddQuadFilled(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), ConvertToCPP_ImVec2(p4), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddTriangle(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddTriangle(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddTriangleEx(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, ImU32 col, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddTriangle(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), col, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddTriangleFilled(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddTriangleFilled(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddCircle(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddCircle(ConvertToCPP_ImVec2(center), radius, col); +} + +CIMGUI_API void cimgui::ImDrawList_AddCircleEx(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, ImU32 col, int num_segments, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddCircle(ConvertToCPP_ImVec2(center), radius, col, num_segments, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddCircleFilled(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, ImU32 col, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->AddCircleFilled(ConvertToCPP_ImVec2(center), radius, col, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_AddNgon(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, ImU32 col, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->AddNgon(ConvertToCPP_ImVec2(center), radius, col, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_AddNgonEx(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, ImU32 col, int num_segments, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddNgon(ConvertToCPP_ImVec2(center), radius, col, num_segments, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddNgonFilled(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, ImU32 col, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->AddNgonFilled(ConvertToCPP_ImVec2(center), radius, col, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_AddEllipse(cimgui::ImDrawList* self, cimgui::ImVec2 center, cimgui::ImVec2 radius, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddEllipse(ConvertToCPP_ImVec2(center), ConvertToCPP_ImVec2(radius), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddEllipseEx(cimgui::ImDrawList* self, cimgui::ImVec2 center, cimgui::ImVec2 radius, ImU32 col, float rot, int num_segments, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddEllipse(ConvertToCPP_ImVec2(center), ConvertToCPP_ImVec2(radius), col, rot, num_segments, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddEllipseFilled(cimgui::ImDrawList* self, cimgui::ImVec2 center, cimgui::ImVec2 radius, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddEllipseFilled(ConvertToCPP_ImVec2(center), ConvertToCPP_ImVec2(radius), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddEllipseFilledEx(cimgui::ImDrawList* self, cimgui::ImVec2 center, cimgui::ImVec2 radius, ImU32 col, float rot, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->AddEllipseFilled(ConvertToCPP_ImVec2(center), ConvertToCPP_ImVec2(radius), col, rot, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_AddText(cimgui::ImDrawList* self, cimgui::ImVec2 pos, ImU32 col, const char* text_begin) +{ + reinterpret_cast<::ImDrawList*>(self)->AddText(ConvertToCPP_ImVec2(pos), col, text_begin); +} + +CIMGUI_API void cimgui::ImDrawList_AddTextEx(cimgui::ImDrawList* self, cimgui::ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end) +{ + reinterpret_cast<::ImDrawList*>(self)->AddText(ConvertToCPP_ImVec2(pos), col, text_begin, text_end); +} + +CIMGUI_API void cimgui::ImDrawList_AddTextImFontPtr(cimgui::ImDrawList* self, const cimgui::ImFont* font, float font_size, cimgui::ImVec2 pos, ImU32 col, const char* text_begin) +{ + reinterpret_cast<::ImDrawList*>(self)->AddText(reinterpret_cast(font), font_size, ConvertToCPP_ImVec2(pos), col, text_begin); +} + +CIMGUI_API void cimgui::ImDrawList_AddTextImFontPtrEx(cimgui::ImDrawList* self, const cimgui::ImFont* font, float font_size, cimgui::ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const cimgui::ImVec4* cpu_fine_clip_rect) +{ + reinterpret_cast<::ImDrawList*>(self)->AddText(reinterpret_cast(font), font_size, ConvertToCPP_ImVec2(pos), col, text_begin, text_end, wrap_width, reinterpret_cast(cpu_fine_clip_rect)); +} + +CIMGUI_API void cimgui::ImDrawList_AddBezierCubic(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, cimgui::ImVec2 p4, ImU32 col, float thickness, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->AddBezierCubic(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), ConvertToCPP_ImVec2(p4), col, thickness, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_AddBezierQuadratic(cimgui::ImDrawList* self, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, ImU32 col, float thickness, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->AddBezierQuadratic(ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), col, thickness, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_AddPolyline(cimgui::ImDrawList* self, const cimgui::ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->AddPolyline(reinterpret_cast(points), num_points, col, flags, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_AddConvexPolyFilled(cimgui::ImDrawList* self, const cimgui::ImVec2* points, int num_points, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddConvexPolyFilled(reinterpret_cast(points), num_points, col); +} + +CIMGUI_API void cimgui::ImDrawList_AddConcavePolyFilled(cimgui::ImDrawList* self, const cimgui::ImVec2* points, int num_points, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddConcavePolyFilled(reinterpret_cast(points), num_points, col); +} + +CIMGUI_API void cimgui::ImDrawList_AddImage(cimgui::ImDrawList* self, ImTextureID user_texture_id, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max) +{ + reinterpret_cast<::ImDrawList*>(self)->AddImage(user_texture_id, ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max)); +} + +CIMGUI_API void cimgui::ImDrawList_AddImageEx(cimgui::ImDrawList* self, ImTextureID user_texture_id, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max, cimgui::ImVec2 uv_min, cimgui::ImVec2 uv_max, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddImage(user_texture_id, ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max), ConvertToCPP_ImVec2(uv_min), ConvertToCPP_ImVec2(uv_max), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddImageQuad(cimgui::ImDrawList* self, ImTextureID user_texture_id, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, cimgui::ImVec2 p4) +{ + reinterpret_cast<::ImDrawList*>(self)->AddImageQuad(user_texture_id, ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), ConvertToCPP_ImVec2(p4)); +} + +CIMGUI_API void cimgui::ImDrawList_AddImageQuadEx(cimgui::ImDrawList* self, ImTextureID user_texture_id, cimgui::ImVec2 p1, cimgui::ImVec2 p2, cimgui::ImVec2 p3, cimgui::ImVec2 p4, cimgui::ImVec2 uv1, cimgui::ImVec2 uv2, cimgui::ImVec2 uv3, cimgui::ImVec2 uv4, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->AddImageQuad(user_texture_id, ConvertToCPP_ImVec2(p1), ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), ConvertToCPP_ImVec2(p4), ConvertToCPP_ImVec2(uv1), ConvertToCPP_ImVec2(uv2), ConvertToCPP_ImVec2(uv3), ConvertToCPP_ImVec2(uv4), col); +} + +CIMGUI_API void cimgui::ImDrawList_AddImageRounded(cimgui::ImDrawList* self, ImTextureID user_texture_id, cimgui::ImVec2 p_min, cimgui::ImVec2 p_max, cimgui::ImVec2 uv_min, cimgui::ImVec2 uv_max, ImU32 col, float rounding, ImDrawFlags flags) +{ + reinterpret_cast<::ImDrawList*>(self)->AddImageRounded(user_texture_id, ConvertToCPP_ImVec2(p_min), ConvertToCPP_ImVec2(p_max), ConvertToCPP_ImVec2(uv_min), ConvertToCPP_ImVec2(uv_max), col, rounding, flags); +} + +CIMGUI_API void cimgui::ImDrawList_PathClear(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->PathClear(); +} + +CIMGUI_API void cimgui::ImDrawList_PathLineTo(cimgui::ImDrawList* self, cimgui::ImVec2 pos) +{ + reinterpret_cast<::ImDrawList*>(self)->PathLineTo(ConvertToCPP_ImVec2(pos)); +} + +CIMGUI_API void cimgui::ImDrawList_PathLineToMergeDuplicate(cimgui::ImDrawList* self, cimgui::ImVec2 pos) +{ + reinterpret_cast<::ImDrawList*>(self)->PathLineToMergeDuplicate(ConvertToCPP_ImVec2(pos)); +} + +CIMGUI_API void cimgui::ImDrawList_PathFillConvex(cimgui::ImDrawList* self, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->PathFillConvex(col); +} + +CIMGUI_API void cimgui::ImDrawList_PathFillConcave(cimgui::ImDrawList* self, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->PathFillConcave(col); +} + +CIMGUI_API void cimgui::ImDrawList_PathStroke(cimgui::ImDrawList* self, ImU32 col, ImDrawFlags flags, float thickness) +{ + reinterpret_cast<::ImDrawList*>(self)->PathStroke(col, flags, thickness); +} + +CIMGUI_API void cimgui::ImDrawList_PathArcTo(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, float a_min, float a_max, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->PathArcTo(ConvertToCPP_ImVec2(center), radius, a_min, a_max, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_PathArcToFast(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, int a_min_of_12, int a_max_of_12) +{ + reinterpret_cast<::ImDrawList*>(self)->PathArcToFast(ConvertToCPP_ImVec2(center), radius, a_min_of_12, a_max_of_12); +} + +CIMGUI_API void cimgui::ImDrawList_PathEllipticalArcTo(cimgui::ImDrawList* self, cimgui::ImVec2 center, cimgui::ImVec2 radius, float rot, float a_min, float a_max) +{ + reinterpret_cast<::ImDrawList*>(self)->PathEllipticalArcTo(ConvertToCPP_ImVec2(center), ConvertToCPP_ImVec2(radius), rot, a_min, a_max); +} + +CIMGUI_API void cimgui::ImDrawList_PathEllipticalArcToEx(cimgui::ImDrawList* self, cimgui::ImVec2 center, cimgui::ImVec2 radius, float rot, float a_min, float a_max, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->PathEllipticalArcTo(ConvertToCPP_ImVec2(center), ConvertToCPP_ImVec2(radius), rot, a_min, a_max, num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_PathBezierCubicCurveTo(cimgui::ImDrawList* self, cimgui::ImVec2 p2, cimgui::ImVec2 p3, cimgui::ImVec2 p4, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->PathBezierCubicCurveTo(ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), ConvertToCPP_ImVec2(p4), num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_PathBezierQuadraticCurveTo(cimgui::ImDrawList* self, cimgui::ImVec2 p2, cimgui::ImVec2 p3, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->PathBezierQuadraticCurveTo(ConvertToCPP_ImVec2(p2), ConvertToCPP_ImVec2(p3), num_segments); +} + +CIMGUI_API void cimgui::ImDrawList_PathRect(cimgui::ImDrawList* self, cimgui::ImVec2 rect_min, cimgui::ImVec2 rect_max, float rounding, ImDrawFlags flags) +{ + reinterpret_cast<::ImDrawList*>(self)->PathRect(ConvertToCPP_ImVec2(rect_min), ConvertToCPP_ImVec2(rect_max), rounding, flags); +} + +CIMGUI_API void cimgui::ImDrawList_AddCallback(cimgui::ImDrawList* self, cimgui::ImDrawCallback callback, void* callback_data) +{ + reinterpret_cast<::ImDrawList*>(self)->AddCallback(reinterpret_cast<::ImDrawCallback>(callback), callback_data); +} + +CIMGUI_API void cimgui::ImDrawList_AddDrawCmd(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->AddDrawCmd(); +} + +CIMGUI_API cimgui::ImDrawList* cimgui::ImDrawList_CloneOutput(const cimgui::ImDrawList* self) +{ + return reinterpret_cast<::cimgui::ImDrawList*>(reinterpret_cast(self)->CloneOutput()); +} + +CIMGUI_API void cimgui::ImDrawList_ChannelsSplit(cimgui::ImDrawList* self, int count) +{ + reinterpret_cast<::ImDrawList*>(self)->ChannelsSplit(count); +} + +CIMGUI_API void cimgui::ImDrawList_ChannelsMerge(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->ChannelsMerge(); +} + +CIMGUI_API void cimgui::ImDrawList_ChannelsSetCurrent(cimgui::ImDrawList* self, int n) +{ + reinterpret_cast<::ImDrawList*>(self)->ChannelsSetCurrent(n); +} + +CIMGUI_API void cimgui::ImDrawList_PrimReserve(cimgui::ImDrawList* self, int idx_count, int vtx_count) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimReserve(idx_count, vtx_count); +} + +CIMGUI_API void cimgui::ImDrawList_PrimUnreserve(cimgui::ImDrawList* self, int idx_count, int vtx_count) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimUnreserve(idx_count, vtx_count); +} + +CIMGUI_API void cimgui::ImDrawList_PrimRect(cimgui::ImDrawList* self, cimgui::ImVec2 a, cimgui::ImVec2 b, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimRect(ConvertToCPP_ImVec2(a), ConvertToCPP_ImVec2(b), col); +} + +CIMGUI_API void cimgui::ImDrawList_PrimRectUV(cimgui::ImDrawList* self, cimgui::ImVec2 a, cimgui::ImVec2 b, cimgui::ImVec2 uv_a, cimgui::ImVec2 uv_b, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimRectUV(ConvertToCPP_ImVec2(a), ConvertToCPP_ImVec2(b), ConvertToCPP_ImVec2(uv_a), ConvertToCPP_ImVec2(uv_b), col); +} + +CIMGUI_API void cimgui::ImDrawList_PrimQuadUV(cimgui::ImDrawList* self, cimgui::ImVec2 a, cimgui::ImVec2 b, cimgui::ImVec2 c, cimgui::ImVec2 d, cimgui::ImVec2 uv_a, cimgui::ImVec2 uv_b, cimgui::ImVec2 uv_c, cimgui::ImVec2 uv_d, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimQuadUV(ConvertToCPP_ImVec2(a), ConvertToCPP_ImVec2(b), ConvertToCPP_ImVec2(c), ConvertToCPP_ImVec2(d), ConvertToCPP_ImVec2(uv_a), ConvertToCPP_ImVec2(uv_b), ConvertToCPP_ImVec2(uv_c), ConvertToCPP_ImVec2(uv_d), col); +} + +CIMGUI_API void cimgui::ImDrawList_PrimWriteVtx(cimgui::ImDrawList* self, cimgui::ImVec2 pos, cimgui::ImVec2 uv, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimWriteVtx(ConvertToCPP_ImVec2(pos), ConvertToCPP_ImVec2(uv), col); +} + +CIMGUI_API void cimgui::ImDrawList_PrimWriteIdx(cimgui::ImDrawList* self, ImDrawIdx idx) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimWriteIdx(idx); +} + +CIMGUI_API void cimgui::ImDrawList_PrimVtx(cimgui::ImDrawList* self, cimgui::ImVec2 pos, cimgui::ImVec2 uv, ImU32 col) +{ + reinterpret_cast<::ImDrawList*>(self)->PrimVtx(ConvertToCPP_ImVec2(pos), ConvertToCPP_ImVec2(uv), col); +} + +CIMGUI_API void cimgui::ImDrawList__ResetForNewFrame(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->_ResetForNewFrame(); +} + +CIMGUI_API void cimgui::ImDrawList__ClearFreeMemory(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->_ClearFreeMemory(); +} + +CIMGUI_API void cimgui::ImDrawList__PopUnusedDrawCmd(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->_PopUnusedDrawCmd(); +} + +CIMGUI_API void cimgui::ImDrawList__TryMergeDrawCmds(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->_TryMergeDrawCmds(); +} + +CIMGUI_API void cimgui::ImDrawList__OnChangedClipRect(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->_OnChangedClipRect(); +} + +CIMGUI_API void cimgui::ImDrawList__OnChangedTextureID(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->_OnChangedTextureID(); +} + +CIMGUI_API void cimgui::ImDrawList__OnChangedVtxOffset(cimgui::ImDrawList* self) +{ + reinterpret_cast<::ImDrawList*>(self)->_OnChangedVtxOffset(); +} + +CIMGUI_API int cimgui::ImDrawList__CalcCircleAutoSegmentCount(const cimgui::ImDrawList* self, float radius) +{ + return reinterpret_cast(self)->_CalcCircleAutoSegmentCount(radius); +} + +CIMGUI_API void cimgui::ImDrawList__PathArcToFastEx(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, int a_min_sample, int a_max_sample, int a_step) +{ + reinterpret_cast<::ImDrawList*>(self)->_PathArcToFastEx(ConvertToCPP_ImVec2(center), radius, a_min_sample, a_max_sample, a_step); +} + +CIMGUI_API void cimgui::ImDrawList__PathArcToN(cimgui::ImDrawList* self, cimgui::ImVec2 center, float radius, float a_min, float a_max, int num_segments) +{ + reinterpret_cast<::ImDrawList*>(self)->_PathArcToN(ConvertToCPP_ImVec2(center), radius, a_min, a_max, num_segments); +} + +CIMGUI_API void cimgui::ImDrawData_Clear(cimgui::ImDrawData* self) +{ + reinterpret_cast<::ImDrawData*>(self)->Clear(); +} + +CIMGUI_API void cimgui::ImDrawData_AddDrawList(cimgui::ImDrawData* self, cimgui::ImDrawList* draw_list) +{ + reinterpret_cast<::ImDrawData*>(self)->AddDrawList(reinterpret_cast<::ImDrawList*>(draw_list)); +} + +CIMGUI_API void cimgui::ImDrawData_DeIndexAllBuffers(cimgui::ImDrawData* self) +{ + reinterpret_cast<::ImDrawData*>(self)->DeIndexAllBuffers(); +} + +CIMGUI_API void cimgui::ImDrawData_ScaleClipRects(cimgui::ImDrawData* self, cimgui::ImVec2 fb_scale) +{ + reinterpret_cast<::ImDrawData*>(self)->ScaleClipRects(ConvertToCPP_ImVec2(fb_scale)); +} + +CIMGUI_API void cimgui::ImFontGlyphRangesBuilder_Clear(cimgui::ImFontGlyphRangesBuilder* self) +{ + reinterpret_cast<::ImFontGlyphRangesBuilder*>(self)->Clear(); +} + +CIMGUI_API bool cimgui::ImFontGlyphRangesBuilder_GetBit(const cimgui::ImFontGlyphRangesBuilder* self, size_t n) +{ + return reinterpret_cast(self)->GetBit(n); +} + +CIMGUI_API void cimgui::ImFontGlyphRangesBuilder_SetBit(cimgui::ImFontGlyphRangesBuilder* self, size_t n) +{ + reinterpret_cast<::ImFontGlyphRangesBuilder*>(self)->SetBit(n); +} + +CIMGUI_API void cimgui::ImFontGlyphRangesBuilder_AddChar(cimgui::ImFontGlyphRangesBuilder* self, ImWchar c) +{ + reinterpret_cast<::ImFontGlyphRangesBuilder*>(self)->AddChar(c); +} + +CIMGUI_API void cimgui::ImFontGlyphRangesBuilder_AddText(cimgui::ImFontGlyphRangesBuilder* self, const char* text, const char* text_end) +{ + reinterpret_cast<::ImFontGlyphRangesBuilder*>(self)->AddText(text, text_end); +} + +CIMGUI_API void cimgui::ImFontGlyphRangesBuilder_AddRanges(cimgui::ImFontGlyphRangesBuilder* self, const ImWchar* ranges) +{ + reinterpret_cast<::ImFontGlyphRangesBuilder*>(self)->AddRanges(ranges); +} + +CIMGUI_API void cimgui::ImFontGlyphRangesBuilder_BuildRanges(cimgui::ImFontGlyphRangesBuilder* self, cimgui::ImVector_ImWchar* out_ranges) +{ + reinterpret_cast<::ImFontGlyphRangesBuilder*>(self)->BuildRanges(reinterpret_cast<::ImVector<::ImWchar>*>(out_ranges)); +} + +CIMGUI_API bool cimgui::ImFontAtlasCustomRect_IsPacked(const cimgui::ImFontAtlasCustomRect* self) +{ + return reinterpret_cast(self)->IsPacked(); +} + +CIMGUI_API cimgui::ImFont* cimgui::ImFontAtlas_AddFont(cimgui::ImFontAtlas* self, const cimgui::ImFontConfig* font_cfg) +{ + return reinterpret_cast<::cimgui::ImFont*>(reinterpret_cast<::ImFontAtlas*>(self)->AddFont(reinterpret_cast(font_cfg))); +} + +CIMGUI_API cimgui::ImFont* cimgui::ImFontAtlas_AddFontDefault(cimgui::ImFontAtlas* self, const cimgui::ImFontConfig* font_cfg) +{ + return reinterpret_cast<::cimgui::ImFont*>(reinterpret_cast<::ImFontAtlas*>(self)->AddFontDefault(reinterpret_cast(font_cfg))); +} + +CIMGUI_API cimgui::ImFont* cimgui::ImFontAtlas_AddFontFromFileTTF(cimgui::ImFontAtlas* self, const char* filename, float size_pixels, const cimgui::ImFontConfig* font_cfg, const ImWchar* glyph_ranges) +{ + return reinterpret_cast<::cimgui::ImFont*>(reinterpret_cast<::ImFontAtlas*>(self)->AddFontFromFileTTF(filename, size_pixels, reinterpret_cast(font_cfg), glyph_ranges)); +} + +CIMGUI_API cimgui::ImFont* cimgui::ImFontAtlas_AddFontFromMemoryTTF(cimgui::ImFontAtlas* self, void* font_data, int font_data_size, float size_pixels, const cimgui::ImFontConfig* font_cfg, const ImWchar* glyph_ranges) +{ + return reinterpret_cast<::cimgui::ImFont*>(reinterpret_cast<::ImFontAtlas*>(self)->AddFontFromMemoryTTF(font_data, font_data_size, size_pixels, reinterpret_cast(font_cfg), glyph_ranges)); +} + +CIMGUI_API cimgui::ImFont* cimgui::ImFontAtlas_AddFontFromMemoryCompressedTTF(cimgui::ImFontAtlas* self, const void* compressed_font_data, int compressed_font_data_size, float size_pixels, const cimgui::ImFontConfig* font_cfg, const ImWchar* glyph_ranges) +{ + return reinterpret_cast<::cimgui::ImFont*>(reinterpret_cast<::ImFontAtlas*>(self)->AddFontFromMemoryCompressedTTF(compressed_font_data, compressed_font_data_size, size_pixels, reinterpret_cast(font_cfg), glyph_ranges)); +} + +CIMGUI_API cimgui::ImFont* cimgui::ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(cimgui::ImFontAtlas* self, const char* compressed_font_data_base85, float size_pixels, const cimgui::ImFontConfig* font_cfg, const ImWchar* glyph_ranges) +{ + return reinterpret_cast<::cimgui::ImFont*>(reinterpret_cast<::ImFontAtlas*>(self)->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85, size_pixels, reinterpret_cast(font_cfg), glyph_ranges)); +} + +CIMGUI_API void cimgui::ImFontAtlas_ClearInputData(cimgui::ImFontAtlas* self) +{ + reinterpret_cast<::ImFontAtlas*>(self)->ClearInputData(); +} + +CIMGUI_API void cimgui::ImFontAtlas_ClearTexData(cimgui::ImFontAtlas* self) +{ + reinterpret_cast<::ImFontAtlas*>(self)->ClearTexData(); +} + +CIMGUI_API void cimgui::ImFontAtlas_ClearFonts(cimgui::ImFontAtlas* self) +{ + reinterpret_cast<::ImFontAtlas*>(self)->ClearFonts(); +} + +CIMGUI_API void cimgui::ImFontAtlas_Clear(cimgui::ImFontAtlas* self) +{ + reinterpret_cast<::ImFontAtlas*>(self)->Clear(); +} + +CIMGUI_API bool cimgui::ImFontAtlas_Build(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->Build(); +} + +CIMGUI_API void cimgui::ImFontAtlas_GetTexDataAsAlpha8(cimgui::ImFontAtlas* self, unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel) +{ + reinterpret_cast<::ImFontAtlas*>(self)->GetTexDataAsAlpha8(out_pixels, out_width, out_height, out_bytes_per_pixel); +} + +CIMGUI_API void cimgui::ImFontAtlas_GetTexDataAsRGBA32(cimgui::ImFontAtlas* self, unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel) +{ + reinterpret_cast<::ImFontAtlas*>(self)->GetTexDataAsRGBA32(out_pixels, out_width, out_height, out_bytes_per_pixel); +} + +CIMGUI_API bool cimgui::ImFontAtlas_IsBuilt(const cimgui::ImFontAtlas* self) +{ + return reinterpret_cast(self)->IsBuilt(); +} + +CIMGUI_API void cimgui::ImFontAtlas_SetTexID(cimgui::ImFontAtlas* self, ImTextureID id) +{ + reinterpret_cast<::ImFontAtlas*>(self)->SetTexID(id); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesDefault(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesDefault(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesGreek(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesGreek(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesKorean(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesKorean(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesJapanese(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesJapanese(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesChineseFull(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesChineseFull(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesChineseSimplifiedCommon(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesCyrillic(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesCyrillic(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesThai(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesThai(); +} + +CIMGUI_API const ImWchar* cimgui::ImFontAtlas_GetGlyphRangesVietnamese(cimgui::ImFontAtlas* self) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->GetGlyphRangesVietnamese(); +} + +CIMGUI_API int cimgui::ImFontAtlas_AddCustomRectRegular(cimgui::ImFontAtlas* self, int width, int height) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->AddCustomRectRegular(width, height); +} + +CIMGUI_API int cimgui::ImFontAtlas_AddCustomRectFontGlyph(cimgui::ImFontAtlas* self, cimgui::ImFont* font, ImWchar id, int width, int height, float advance_x, cimgui::ImVec2 offset) +{ + return reinterpret_cast<::ImFontAtlas*>(self)->AddCustomRectFontGlyph(reinterpret_cast<::ImFont*>(font), id, width, height, advance_x, ConvertToCPP_ImVec2(offset)); +} + +CIMGUI_API cimgui::ImFontAtlasCustomRect* cimgui::ImFontAtlas_GetCustomRectByIndex(cimgui::ImFontAtlas* self, int index) +{ + return reinterpret_cast<::cimgui::ImFontAtlasCustomRect*>(reinterpret_cast<::ImFontAtlas*>(self)->GetCustomRectByIndex(index)); +} + +CIMGUI_API void cimgui::ImFontAtlas_CalcCustomRectUV(const cimgui::ImFontAtlas* self, const cimgui::ImFontAtlasCustomRect* rect, cimgui::ImVec2* out_uv_min, cimgui::ImVec2* out_uv_max) +{ + reinterpret_cast(self)->CalcCustomRectUV(reinterpret_cast(rect), reinterpret_cast<::ImVec2*>(out_uv_min), reinterpret_cast<::ImVec2*>(out_uv_max)); +} + +CIMGUI_API bool cimgui::ImFontAtlas_GetMouseCursorTexData(cimgui::ImFontAtlas* self, ImGuiMouseCursor cursor, cimgui::ImVec2* out_offset, cimgui::ImVec2* out_size, cimgui::ImVec2 out_uv_border[2], cimgui::ImVec2 out_uv_fill[2]) +{ + ::ImVec2 out_uv_border_converted_array[2]; + for (int i=0; i<2; i++) + out_uv_border_converted_array[i] = ConvertToCPP_ImVec2(out_uv_border[i]); + ::ImVec2 out_uv_fill_converted_array[2]; + for (int i=0; i<2; i++) + out_uv_fill_converted_array[i] = ConvertToCPP_ImVec2(out_uv_fill[i]); + return reinterpret_cast<::ImFontAtlas*>(self)->GetMouseCursorTexData(cursor, reinterpret_cast<::ImVec2*>(out_offset), reinterpret_cast<::ImVec2*>(out_size), out_uv_border_converted_array, out_uv_fill_converted_array); +} + +CIMGUI_API const cimgui::ImFontGlyph* cimgui::ImFont_FindGlyph(const cimgui::ImFont* self, ImWchar c) +{ + return reinterpret_cast(reinterpret_cast(self)->FindGlyph(c)); +} + +CIMGUI_API const cimgui::ImFontGlyph* cimgui::ImFont_FindGlyphNoFallback(const cimgui::ImFont* self, ImWchar c) +{ + return reinterpret_cast(reinterpret_cast(self)->FindGlyphNoFallback(c)); +} + +CIMGUI_API float cimgui::ImFont_GetCharAdvance(const cimgui::ImFont* self, ImWchar c) +{ + return reinterpret_cast(self)->GetCharAdvance(c); +} + +CIMGUI_API bool cimgui::ImFont_IsLoaded(const cimgui::ImFont* self) +{ + return reinterpret_cast(self)->IsLoaded(); +} + +CIMGUI_API const char* cimgui::ImFont_GetDebugName(const cimgui::ImFont* self) +{ + return reinterpret_cast(self)->GetDebugName(); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImFont_CalcTextSizeA(const cimgui::ImFont* self, float size, float max_width, float wrap_width, const char* text_begin) +{ + return ConvertFromCPP_ImVec2(reinterpret_cast(self)->CalcTextSizeA(size, max_width, wrap_width, text_begin)); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImFont_CalcTextSizeAEx(const cimgui::ImFont* self, float size, float max_width, float wrap_width, const char* text_begin, const char* text_end, const char** remaining) +{ + return ConvertFromCPP_ImVec2(reinterpret_cast(self)->CalcTextSizeA(size, max_width, wrap_width, text_begin, text_end, remaining)); +} + +CIMGUI_API const char* cimgui::ImFont_CalcWordWrapPositionA(const cimgui::ImFont* self, float scale, const char* text, const char* text_end, float wrap_width) +{ + return reinterpret_cast(self)->CalcWordWrapPositionA(scale, text, text_end, wrap_width); +} + +CIMGUI_API void cimgui::ImFont_RenderChar(const cimgui::ImFont* self, cimgui::ImDrawList* draw_list, float size, cimgui::ImVec2 pos, ImU32 col, ImWchar c) +{ + reinterpret_cast(self)->RenderChar(reinterpret_cast<::ImDrawList*>(draw_list), size, ConvertToCPP_ImVec2(pos), col, c); +} + +CIMGUI_API void cimgui::ImFont_RenderText(const cimgui::ImFont* self, cimgui::ImDrawList* draw_list, float size, cimgui::ImVec2 pos, ImU32 col, cimgui::ImVec4 clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) +{ + reinterpret_cast(self)->RenderText(reinterpret_cast<::ImDrawList*>(draw_list), size, ConvertToCPP_ImVec2(pos), col, ConvertToCPP_ImVec4(clip_rect), text_begin, text_end, wrap_width, cpu_fine_clip); +} + +CIMGUI_API void cimgui::ImFont_BuildLookupTable(cimgui::ImFont* self) +{ + reinterpret_cast<::ImFont*>(self)->BuildLookupTable(); +} + +CIMGUI_API void cimgui::ImFont_ClearOutputData(cimgui::ImFont* self) +{ + reinterpret_cast<::ImFont*>(self)->ClearOutputData(); +} + +CIMGUI_API void cimgui::ImFont_GrowIndex(cimgui::ImFont* self, int new_size) +{ + reinterpret_cast<::ImFont*>(self)->GrowIndex(new_size); +} + +CIMGUI_API void cimgui::ImFont_AddGlyph(cimgui::ImFont* self, const cimgui::ImFontConfig* src_cfg, ImWchar c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x) +{ + reinterpret_cast<::ImFont*>(self)->AddGlyph(reinterpret_cast(src_cfg), c, x0, y0, x1, y1, u0, v0, u1, v1, advance_x); +} + +CIMGUI_API void cimgui::ImFont_AddRemapChar(cimgui::ImFont* self, ImWchar dst, ImWchar src, bool overwrite_dst) +{ + reinterpret_cast<::ImFont*>(self)->AddRemapChar(dst, src, overwrite_dst); +} + +CIMGUI_API void cimgui::ImFont_SetGlyphVisible(cimgui::ImFont* self, ImWchar c, bool visible) +{ + reinterpret_cast<::ImFont*>(self)->SetGlyphVisible(c, visible); +} + +CIMGUI_API bool cimgui::ImFont_IsGlyphRangeUnused(cimgui::ImFont* self, unsigned int c_begin, unsigned int c_last) +{ + return reinterpret_cast<::ImFont*>(self)->IsGlyphRangeUnused(c_begin, c_last); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGuiViewport_GetCenter(const cimgui::ImGuiViewport* self) +{ + return ConvertFromCPP_ImVec2(reinterpret_cast(self)->GetCenter()); +} + +CIMGUI_API cimgui::ImVec2 cimgui::ImGuiViewport_GetWorkCenter(const cimgui::ImGuiViewport* self) +{ + return ConvertFromCPP_ImVec2(reinterpret_cast(self)->GetWorkCenter()); +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +CIMGUI_API bool cimgui::ImGui_BeginChildFrame(ImGuiID id, cimgui::ImVec2 size) +{ + return ::ImGui::BeginChildFrame(id, ConvertToCPP_ImVec2(size)); +} + +CIMGUI_API bool cimgui::ImGui_BeginChildFrameEx(ImGuiID id, cimgui::ImVec2 size, ImGuiWindowFlags window_flags) +{ + return ::ImGui::BeginChildFrame(id, ConvertToCPP_ImVec2(size), window_flags); +} + +CIMGUI_API void cimgui::ImGui_EndChildFrame(void) +{ + ::ImGui::EndChildFrame(); +} + +CIMGUI_API void cimgui::ImGui_ShowStackToolWindow(bool* p_open) +{ + ::ImGui::ShowStackToolWindow(p_open); +} + +CIMGUI_API bool cimgui::ImGui_ListBoxObsolete(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count) +{ + return ::ImGui::ListBox(label, current_item, old_callback, user_data, items_count); +} + +CIMGUI_API bool cimgui::ImGui_ListBoxObsoleteEx(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int height_in_items) +{ + return ::ImGui::ListBox(label, current_item, old_callback, user_data, items_count, height_in_items); +} + +CIMGUI_API bool cimgui::ImGui_ComboObsolete(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count) +{ + return ::ImGui::Combo(label, current_item, old_callback, user_data, items_count); +} + +CIMGUI_API bool cimgui::ImGui_ComboObsoleteEx(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int popup_max_height_in_items) +{ + return ::ImGui::Combo(label, current_item, old_callback, user_data, items_count, popup_max_height_in_items); +} + +CIMGUI_API void cimgui::ImGui_SetItemAllowOverlap(void) +{ + ::ImGui::SetItemAllowOverlap(); +} + +CIMGUI_API void cimgui::ImGui_PushAllowKeyboardFocus(bool tab_stop) +{ + ::ImGui::PushAllowKeyboardFocus(tab_stop); +} + +CIMGUI_API void cimgui::ImGui_PopAllowKeyboardFocus(void) +{ + ::ImGui::PopAllowKeyboardFocus(); +} + +CIMGUI_API bool cimgui::ImGui_ImageButtonImTextureID(ImTextureID user_texture_id, cimgui::ImVec2 size, cimgui::ImVec2 uv0, cimgui::ImVec2 uv1, int frame_padding, cimgui::ImVec4 bg_col, cimgui::ImVec4 tint_col) +{ + return ::ImGui::ImageButton(user_texture_id, ConvertToCPP_ImVec2(size), ConvertToCPP_ImVec2(uv0), ConvertToCPP_ImVec2(uv1), frame_padding, ConvertToCPP_ImVec4(bg_col), ConvertToCPP_ImVec4(tint_col)); +} + +CIMGUI_API cimgui::ImGuiKey cimgui::ImGui_GetKeyIndex(cimgui::ImGuiKey key) +{ + return static_cast<::cimgui::ImGuiKey>(::ImGui::GetKeyIndex(static_cast<::ImGuiKey>(key))); +} + +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +#endif // #ifndef IMGUI_DISABLE diff --git a/src/cached/cimgui.h b/src/cached/cimgui.h new file mode 100644 index 0000000..5ef286a --- /dev/null +++ b/src/cached/cimgui.h @@ -0,0 +1,3861 @@ +// THIS FILE HAS BEEN AUTO-GENERATED BY THE 'DEAR BINDINGS' GENERATOR. +// **DO NOT EDIT DIRECTLY** +// https://github.com/dearimgui/dear_bindings + +// dear imgui, v1.90.9 +// (headers) + +// Help: +// - See links below. +// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that. +// - Read top of imgui.cpp for more details, links and comments. + +// Resources: +// - FAQ ........................ https://dearimgui.com/faq (in repository as docs/FAQ.md) +// - Homepage ................... https://github.com/ocornut/imgui +// - Releases & changelog ....... https://github.com/ocornut/imgui/releases +// - Gallery .................... https://github.com/ocornut/imgui/issues/7503 (please post your screenshots/video there!) +// - Wiki ....................... https://github.com/ocornut/imgui/wiki (lots of good stuff there) +// - Getting Started https://github.com/ocornut/imgui/wiki/Getting-Started (how to integrate in an existing app by adding ~25 lines of code) +// - Third-party Extensions https://github.com/ocornut/imgui/wiki/Useful-Extensions (ImPlot & many more) +// - Bindings/Backends https://github.com/ocornut/imgui/wiki/Bindings (language bindings, backends for various tech/engines) +// - Glossary https://github.com/ocornut/imgui/wiki/Glossary +// - Debug Tools https://github.com/ocornut/imgui/wiki/Debug-Tools +// - Software using Dear ImGui https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui +// - Issues & support ........... https://github.com/ocornut/imgui/issues +// - Test Engine & Automation ... https://github.com/ocornut/imgui_test_engine (test suite, test engine to automate your apps) + +// For first-time users having issues compiling/linking/running/loading fonts: +// please post in https://github.com/ocornut/imgui/discussions if you cannot find a solution in resources above. +// Everything else should be asked in 'Issues'! We are building a database of cross-linked knowledge there. + +// Library Version +// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345') +#define IMGUI_VERSION "1.90.9" +#define IMGUI_VERSION_NUM 19090 +#define IMGUI_HAS_TABLE +#define IMGUI_HAS_VIEWPORT // Viewport WIP branch +#define IMGUI_HAS_DOCK // Docking WIP branch + +/* + +Index of this file: +// [SECTION] Header mess +// [SECTION] Forward declarations and basic types +// [SECTION] Dear ImGui end-user API functions +// [SECTION] Flags & Enumerations +// [SECTION] Tables API flags and structures (ImGuiTableFlags, ImGuiTableColumnFlags, ImGuiTableRowFlags, ImGuiTableBgTarget, ImGuiTableSortSpecs, ImGuiTableColumnSortSpecs) +// [SECTION] Helpers: Memory allocations macros, ImVector<> +// [SECTION] ImGuiStyle +// [SECTION] ImGuiIO +// [SECTION] Misc data structures (ImGuiInputTextCallbackData, ImGuiSizeCallbackData, ImGuiWindowClass, ImGuiPayload) +// [SECTION] Helpers (ImGuiOnceUponAFrame, ImGuiTextFilter, ImGuiTextBuffer, ImGuiStorage, ImGuiListClipper, Math Operators, ImColor) +// [SECTION] Drawing API (ImDrawCallback, ImDrawCmd, ImDrawIdx, ImDrawVert, ImDrawChannel, ImDrawListSplitter, ImDrawFlags, ImDrawListFlags, ImDrawList, ImDrawData) +// [SECTION] Font API (ImFontConfig, ImFontGlyph, ImFontGlyphRangesBuilder, ImFontAtlasFlags, ImFontAtlas, ImFont) +// [SECTION] Viewports (ImGuiViewportFlags, ImGuiViewport) +// [SECTION] Platform Dependent Interfaces (ImGuiPlatformIO, ImGuiPlatformMonitor, ImGuiPlatformImeData) +// [SECTION] Obsolete functions and types + +*/ + +#pragma once + +#ifdef __cplusplus +extern "C" +{ +#endif +// Configuration file with compile-time options +// (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system) +#ifdef IMGUI_USER_CONFIG +#include IMGUI_USER_CONFIG +#endif // #ifdef IMGUI_USER_CONFIG +#include "imconfig.h" //----------------------------------------------------------------------------- +#ifndef IMGUI_DISABLE +// [SECTION] Header mess +//----------------------------------------------------------------------------- + +// Includes +#include +#include +#include +#include +// Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// CIMGUI_API is used for core imgui functions, CIMGUI_IMPL_API is used for the default backends files (imgui_impl_xxx.h) +// Using dear imgui via a shared library is not recommended: we don't guarantee backward nor forward ABI compatibility + this is a call-heavy library and function call overhead adds up. +#ifndef CIMGUI_API +#define CIMGUI_API +#endif // #ifndef CIMGUI_API +#ifndef CIMGUI_IMPL_API +#define CIMGUI_IMPL_API CIMGUI_API +#endif // #ifndef CIMGUI_IMPL_API +// Helper Macros +#ifndef IM_ASSERT +#include +#define IM_ASSERT(_EXPR) assert(_EXPR) // You can override the default assert handler by editing imconfig.h +#endif // #ifndef IM_ASSERT +#define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR)))) // Size of a static C-style array. Don't use on pointers! +#define IM_UNUSED(_VAR) ((void)(_VAR)) // Used to silence "unused variable warnings". Often useful as asserts may be stripped out from final builds. + +// Check that version and structures layouts are matching between compiled imgui code and caller. Read comments above DebugCheckVersionAndDataLayout() for details. +#define CIMGUI_CHECKVERSION() ImGui_DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx)) + +// Helper Macros - IM_FMTARGS, IM_FMTLIST: Apply printf-style warnings to our formatting functions. +// (MSVC provides an equivalent mechanism via SAL Annotations but it would require the macros in a different +// location. e.g. #include + void myprintf(_Printf_format_string_ const char* format, ...)) +#if !defined(IMGUI_USE_STB_SPRINTF)&& defined(__MINGW32__)&&!defined(__clang__) +#define IM_FMTARGS(FMT) __attribute__((format(gnu_printf, FMT, FMT+1))) +#define IM_FMTLIST(FMT) __attribute__((format(gnu_printf, FMT, 0))) +#else +#if !defined(IMGUI_USE_STB_SPRINTF)&&(defined(__clang__)|| defined(__GNUC__)) +#define IM_FMTARGS(FMT) __attribute__((format(printf, FMT, FMT+1))) +#define IM_FMTLIST(FMT) __attribute__((format(printf, FMT, 0))) +#else +#define IM_FMTARGS(FMT) +#define IM_FMTLIST(FMT) +#endif // #if !defined(IMGUI_USE_STB_SPRINTF)&&(defined(__clang__)|| defined(__GNUC__)) +#endif // #if !defined(IMGUI_USE_STB_SPRINTF)&& defined(__MINGW32__)&&!defined(__clang__) +// Disable some of MSVC most aggressive Debug runtime checks in function header/footer (used in some simple/low-level functions) +#if defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID) +#define IM_MSVC_RUNTIME_CHECKS_OFF __pragma(runtime_checks("",off)) __pragma(check_stack(off)) __pragma(strict_gs_check(push,off)) +#define IM_MSVC_RUNTIME_CHECKS_RESTORE __pragma(runtime_checks("",restore)) __pragma(check_stack()) __pragma(strict_gs_check(pop)) +#else +#define IM_MSVC_RUNTIME_CHECKS_OFF +#define IM_MSVC_RUNTIME_CHECKS_RESTORE +#endif // #if defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID) +// Warnings +#ifdef _MSC_VER +#pragma warning (push) +#pragma warning (disable: 26495) // [Static Analyzer] Variable 'XXX' is uninitialized. Always initialize a member variable (type.6). +#endif // #ifdef _MSC_VER +#if defined(__clang__) +#pragma clang diagnostic push +#if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' +#endif // #if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' +#pragma clang diagnostic ignored "-Wold-style-cast" +#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe +#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" +#pragma clang diagnostic ignored "-Wreserved-identifier" // warning: identifier '_Xxx' is reserved because it starts with '_' followed by a capital letter +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" // warning: 'xxx' is an unsafe pointer used for buffer access +#else +#if defined(__GNUC__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#endif // #if defined(__GNUC__) +#endif // #if defined(__clang__) +//----------------------------------------------------------------------------- +// [SECTION] Forward declarations and basic types +//----------------------------------------------------------------------------- + +// Auto-generated forward declarations for C header +typedef struct ImVec2_t ImVec2; +typedef struct ImVec4_t ImVec4; +typedef struct ImVector_ImWchar_t ImVector_ImWchar; +typedef struct ImVector_ImGuiTextFilter_ImGuiTextRange_t ImVector_ImGuiTextFilter_ImGuiTextRange; +typedef struct ImVector_char_t ImVector_char; +typedef struct ImVector_ImGuiStoragePair_t ImVector_ImGuiStoragePair; +typedef struct ImVector_ImDrawCmd_t ImVector_ImDrawCmd; +typedef struct ImVector_ImDrawIdx_t ImVector_ImDrawIdx; +typedef struct ImVector_ImDrawChannel_t ImVector_ImDrawChannel; +typedef struct ImVector_ImDrawVert_t ImVector_ImDrawVert; +typedef struct ImVector_ImVec2_t ImVector_ImVec2; +typedef struct ImVector_ImVec4_t ImVector_ImVec4; +typedef struct ImVector_ImTextureID_t ImVector_ImTextureID; +typedef struct ImVector_ImDrawListPtr_t ImVector_ImDrawListPtr; +typedef struct ImVector_ImU32_t ImVector_ImU32; +typedef struct ImVector_ImFontPtr_t ImVector_ImFontPtr; +typedef struct ImVector_ImFontAtlasCustomRect_t ImVector_ImFontAtlasCustomRect; +typedef struct ImVector_ImFontConfig_t ImVector_ImFontConfig; +typedef struct ImVector_float_t ImVector_float; +typedef struct ImVector_ImFontGlyph_t ImVector_ImFontGlyph; +typedef struct ImVector_ImGuiPlatformMonitor_t ImVector_ImGuiPlatformMonitor; +typedef struct ImVector_ImGuiViewportPtr_t ImVector_ImGuiViewportPtr; +typedef struct ImGuiTextFilter_ImGuiTextRange_t ImGuiTextFilter_ImGuiTextRange; +typedef struct ImDrawCmdHeader_t ImDrawCmdHeader; +typedef struct ImFontAtlasCustomRect_t ImFontAtlasCustomRect; +// Scalar data types +typedef unsigned int ImGuiID; // A unique ID used by widgets (typically the result of hashing a stack of string) +typedef signed char ImS8; // 8-bit signed integer +typedef unsigned char ImU8; // 8-bit unsigned integer +typedef signed short ImS16; // 16-bit signed integer +typedef unsigned short ImU16; // 16-bit unsigned integer +typedef signed int ImS32; // 32-bit signed integer == int +typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) +typedef signed long long ImS64; // 64-bit signed integer +typedef unsigned long long ImU64; // 64-bit unsigned integer + +// Forward declarations +typedef struct ImDrawChannel_t ImDrawChannel; // Temporary storage to output draw commands out of order, used by ImDrawListSplitter and ImDrawList::ChannelsSplit() +typedef struct ImDrawCmd_t ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call, unless it is a callback) +typedef struct ImDrawData_t ImDrawData; // All draw command lists required to render the frame + pos/size coordinates to use for the projection matrix. +typedef struct ImDrawList_t ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) +typedef struct ImDrawListSharedData_t ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +typedef struct ImDrawListSplitter_t ImDrawListSplitter; // Helper to split a draw list into different layers which can be drawn into out of order, then flattened back. +typedef struct ImDrawVert_t ImDrawVert; // A single vertex (pos + uv + col = 20 bytes by default. Override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +typedef struct ImFont_t ImFont; // Runtime data for a single font within a parent ImFontAtlas +typedef struct ImFontAtlas_t ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +typedef struct ImFontBuilderIO_t ImFontBuilderIO; // Opaque interface to a font builder (stb_truetype or FreeType). +typedef struct ImFontConfig_t ImFontConfig; // Configuration data when adding a font or merging fonts +typedef struct ImFontGlyph_t ImFontGlyph; // A single font glyph (code point + coordinates within in ImFontAtlas + offset) +typedef struct ImFontGlyphRangesBuilder_t ImFontGlyphRangesBuilder; // Helper to build glyph ranges from text/string data +typedef struct ImColor_t ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*OBSOLETE* please avoid using) +typedef struct ImGuiContext_t ImGuiContext; // Dear ImGui context (opaque structure, unless including imgui_internal.h) +typedef struct ImGuiIO_t ImGuiIO; // Main configuration and I/O between your application and ImGui +typedef struct ImGuiInputTextCallbackData_t ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use) +typedef struct ImGuiKeyData_t ImGuiKeyData; // Storage for ImGuiIO and IsKeyDown(), IsKeyPressed() etc functions. +typedef struct ImGuiListClipper_t ImGuiListClipper; // Helper to manually clip large list of items +typedef struct ImGuiPayload_t ImGuiPayload; // User data payload for drag and drop operations +typedef struct ImGuiPlatformIO_t ImGuiPlatformIO; // Multi-viewport support: interface for Platform/Renderer backends + viewports to render +typedef struct ImGuiPlatformMonitor_t ImGuiPlatformMonitor; // Multi-viewport support: user-provided bounds for each connected monitor/display. Used when positioning popups and tooltips to avoid them straddling monitors +typedef struct ImGuiPlatformImeData_t ImGuiPlatformImeData; // Platform IME data for io.SetPlatformImeDataFn() function. +typedef struct ImGuiSizeCallbackData_t ImGuiSizeCallbackData; // Callback data when using SetNextWindowSizeConstraints() (rare/advanced use) +typedef struct ImGuiStorage_t ImGuiStorage; // Helper for key->value storage (container sorted by key) +typedef struct ImGuiStoragePair_t ImGuiStoragePair; // Helper for key->value storage (pair) +typedef struct ImGuiStyle_t ImGuiStyle; // Runtime data for styling/colors +typedef struct ImGuiTableSortSpecs_t ImGuiTableSortSpecs; // Sorting specifications for a table (often handling sort specs for a single column, occasionally more) +typedef struct ImGuiTableColumnSortSpecs_t ImGuiTableColumnSortSpecs; // Sorting specification for one column of a table +typedef struct ImGuiTextBuffer_t ImGuiTextBuffer; // Helper to hold and append into a text buffer (~string builder) +typedef struct ImGuiTextFilter_t ImGuiTextFilter; // Helper to parse and apply text filters (e.g. "aaaaa[,bbbbb][,ccccc]") +typedef struct ImGuiViewport_t ImGuiViewport; // A Platform Window (always 1 unless multi-viewport are enabled. One per platform window to output to). In the future may represent Platform Monitor +typedef struct ImGuiWindowClass_t ImGuiWindowClass; // Window class (rare/advanced uses: provide hints to the platform backend via altered viewport flags and parent/child info) + +// Enumerations +// - We don't use strongly typed enums much because they add constraints (can't extend in private code, can't store typed in bit fields, extra casting on iteration) +// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! +// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments. +// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments. +typedef int ImGuiDir; // -> enum ImGuiDir // Enum: A cardinal direction (Left, Right, Up, Down) +typedef int ImGuiKey; // -> enum ImGuiKey // Enum: A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value) +typedef int ImGuiMouseSource; // -> enum ImGuiMouseSource // Enum; A mouse input source identifier (Mouse, TouchScreen, Pen) +typedef ImU8 ImGuiSortDirection; // -> enum ImGuiSortDirection // Enum: A sorting direction (ascending or descending) +typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling +typedef int ImGuiCond; // -> enum ImGuiCond_ // Enum: A condition for many Set*() functions +typedef int ImGuiDataType; // -> enum ImGuiDataType_ // Enum: A primary data type +typedef int ImGuiMouseButton; // -> enum ImGuiMouseButton_ // Enum: A mouse button identifier (0=left, 1=right, 2=middle) +typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor shape +typedef int ImGuiStyleVar; // -> enum ImGuiStyleVar_ // Enum: A variable identifier for styling +typedef int ImGuiTableBgTarget; // -> enum ImGuiTableBgTarget_ // Enum: A color target for TableSetBgColor() + +// Flags (declared as int to allow using as flags without overhead, and to not pollute the top of this file) +// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! +// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments. +// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments. +typedef int ImDrawFlags; // -> enum ImDrawFlags_ // Flags: for ImDrawList functions +typedef int ImDrawListFlags; // -> enum ImDrawListFlags_ // Flags: for ImDrawList instance +typedef int ImFontAtlasFlags; // -> enum ImFontAtlasFlags_ // Flags: for ImFontAtlas build +typedef int ImGuiBackendFlags; // -> enum ImGuiBackendFlags_ // Flags: for io.BackendFlags +typedef int ImGuiButtonFlags; // -> enum ImGuiButtonFlags_ // Flags: for InvisibleButton() +typedef int ImGuiChildFlags; // -> enum ImGuiChildFlags_ // Flags: for BeginChild() +typedef int ImGuiColorEditFlags; // -> enum ImGuiColorEditFlags_ // Flags: for ColorEdit4(), ColorPicker4() etc. +typedef int ImGuiConfigFlags; // -> enum ImGuiConfigFlags_ // Flags: for io.ConfigFlags +typedef int ImGuiComboFlags; // -> enum ImGuiComboFlags_ // Flags: for BeginCombo() +typedef int ImGuiDockNodeFlags; // -> enum ImGuiDockNodeFlags_ // Flags: for DockSpace() +typedef int ImGuiDragDropFlags; // -> enum ImGuiDragDropFlags_ // Flags: for BeginDragDropSource(), AcceptDragDropPayload() +typedef int ImGuiFocusedFlags; // -> enum ImGuiFocusedFlags_ // Flags: for IsWindowFocused() +typedef int ImGuiHoveredFlags; // -> enum ImGuiHoveredFlags_ // Flags: for IsItemHovered(), IsWindowHovered() etc. +typedef int ImGuiInputFlags; // -> enum ImGuiInputFlags_ // Flags: for Shortcut(), SetNextItemShortcut() +typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText(), InputTextMultiline() +typedef int ImGuiKeyChord; // -> ImGuiKey | ImGuiMod_XXX // Flags: for IsKeyChordPressed(), Shortcut() etc. an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values. +typedef int ImGuiPopupFlags; // -> enum ImGuiPopupFlags_ // Flags: for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() +typedef int ImGuiSelectableFlags; // -> enum ImGuiSelectableFlags_ // Flags: for Selectable() +typedef int ImGuiSliderFlags; // -> enum ImGuiSliderFlags_ // Flags: for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. +typedef int ImGuiTabBarFlags; // -> enum ImGuiTabBarFlags_ // Flags: for BeginTabBar() +typedef int ImGuiTabItemFlags; // -> enum ImGuiTabItemFlags_ // Flags: for BeginTabItem() +typedef int ImGuiTableFlags; // -> enum ImGuiTableFlags_ // Flags: For BeginTable() +typedef int ImGuiTableColumnFlags; // -> enum ImGuiTableColumnFlags_// Flags: For TableSetupColumn() +typedef int ImGuiTableRowFlags; // -> enum ImGuiTableRowFlags_ // Flags: For TableNextRow() +typedef int ImGuiTreeNodeFlags; // -> enum ImGuiTreeNodeFlags_ // Flags: for TreeNode(), TreeNodeEx(), CollapsingHeader() +typedef int ImGuiViewportFlags; // -> enum ImGuiViewportFlags_ // Flags: for ImGuiViewport +typedef int ImGuiWindowFlags; // -> enum ImGuiWindowFlags_ // Flags: for Begin(), BeginChild() + +// ImTexture: user data for renderer backend to identify a texture [Compile-time configurable type] +// - To use something else than an opaque void* pointer: override with e.g. '#define ImTextureID MyTextureType*' in your imconfig.h file. +// - This can be whatever to you want it to be! read the FAQ about ImTextureID for details. +#ifndef ImTextureID +typedef void* ImTextureID; // Default: store a pointer or an integer fitting in a pointer (most renderer backends are ok with that) +#endif // #ifndef ImTextureID +// ImDrawIdx: vertex index. [Compile-time configurable type] +// - To use 16-bit indices + allow large meshes: backend need to set 'io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset' and handle ImDrawCmd::VtxOffset (recommended). +// - To use 32-bit indices: override with '#define ImDrawIdx unsigned int' in your imconfig.h file. +#ifndef ImDrawIdx +typedef unsigned short ImDrawIdx; // Default: 16-bit (for maximum compatibility with renderer backends) +#endif // #ifndef ImDrawIdx +// Character types +// (we generally use UTF-8 encoded string in the API. This is storage specifically for a decoded character used for keyboard input and display) +typedef unsigned int ImWchar32; // A single decoded U32 character/code point. We encode them as multi bytes UTF-8 when used in strings. +typedef unsigned short ImWchar16; // A single decoded U16 character/code point. We encode them as multi bytes UTF-8 when used in strings. +#ifdef IMGUI_USE_WCHAR32 +typedef ImWchar32 ImWchar; +#else +typedef ImWchar16 ImWchar; +#endif// ImWchar [configurable type: override in imconfig.h with '#define IMGUI_USE_WCHAR32' to support Unicode planes 1-16] +// Callback and functions types +typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data); // Callback function for ImGui::InputText() +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); // Callback function for ImGui::SetNextWindowSizeConstraints() +typedef void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data); // Function signature for ImGui::SetAllocatorFunctions() +typedef void (*ImGuiMemFreeFunc)(void* ptr, void* user_data); // Function signature for ImGui::SetAllocatorFunctions() + +// ImVec2: 2D vector used to store positions, sizes etc. [Compile-time configurable type] +// This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type. +// Add '#define IMGUI_DEFINE_MATH_OPERATORS' in your imconfig.h file to benefit from courtesy maths operators for those types. +IM_MSVC_RUNTIME_CHECKS_OFF +typedef struct ImVec2_t +{ + float x, y; +} ImVec2; + +// ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type] +typedef struct ImVec4_t +{ + float x, y, z, w; +} ImVec4; +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] Dear ImGui end-user API functions +// (Note that ImGui:: being a namespace, you can add extra ImGui:: functions in your own separate file. Please don't modify imgui source files!) +//----------------------------------------------------------------------------- + +// Context creation and access +// - 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. +// - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions() +// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for details. +CIMGUI_API ImGuiContext* ImGui_CreateContext(ImFontAtlas* shared_font_atlas /* = NULL */); +CIMGUI_API void ImGui_DestroyContext(ImGuiContext* ctx /* = NULL */); // NULL = destroy current context +CIMGUI_API ImGuiContext* ImGui_GetCurrentContext(void); +CIMGUI_API void ImGui_SetCurrentContext(ImGuiContext* ctx); + +// Main +CIMGUI_API ImGuiIO* ImGui_GetIO(void); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* ImGui_GetStyle(void); // access the Style structure (colors, sizes). Always use PushStyleColor(), PushStyleVar() to modify style mid-frame! +CIMGUI_API void ImGui_NewFrame(void); // start a new Dear ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void ImGui_EndFrame(void); // ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all! +CIMGUI_API void ImGui_Render(void); // ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData(). +CIMGUI_API ImDrawData* ImGui_GetDrawData(void); // valid after Render() and until the next call to NewFrame(). this is what you have to render. + +// Demo, Debug, Information +CIMGUI_API void ImGui_ShowDemoWindow(bool* p_open /* = NULL */); // create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void ImGui_ShowMetricsWindow(bool* p_open /* = NULL */); // create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. +CIMGUI_API void ImGui_ShowDebugLogWindow(bool* p_open /* = NULL */); // create Debug Log window. display a simplified log of important dear imgui events. +CIMGUI_API void ImGui_ShowIDStackToolWindow(void); // Implied p_open = NULL +CIMGUI_API void ImGui_ShowIDStackToolWindowEx(bool* p_open /* = NULL */); // create Stack Tool window. hover items with mouse to query information about the source of their unique ID. +CIMGUI_API void ImGui_ShowAboutWindow(bool* p_open /* = NULL */); // create About window. display Dear ImGui version, credits and build/system information. +CIMGUI_API void ImGui_ShowStyleEditor(ImGuiStyle* ref /* = NULL */); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool ImGui_ShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void ImGui_ShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void ImGui_ShowUserGuide(void); // add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls). +CIMGUI_API const char* ImGui_GetVersion(void); // get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp) + +// Styles +CIMGUI_API void ImGui_StyleColorsDark(ImGuiStyle* dst /* = NULL */); // new, recommended style (default) +CIMGUI_API void ImGui_StyleColorsLight(ImGuiStyle* dst /* = NULL */); // best used with borders and a custom, thicker font +CIMGUI_API void ImGui_StyleColorsClassic(ImGuiStyle* dst /* = NULL */); // classic imgui style + +// Windows +// - Begin() = push window to the stack and start appending to it. End() = pop window from the stack. +// - Passing 'bool* p_open != NULL' shows a window-closing widget in the upper-right corner of the window, +// which clicking will set the boolean to false when clicked. +// - You may append multiple times to the same window during the same frame by calling Begin()/End() pairs multiple times. +// Some information such as 'flags' or 'p_open' will only be considered by the first call to Begin(). +// - Begin() return false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting +// anything to the window. Always call a matching End() for each Begin() call, regardless of its return value! +// [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions +// such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding +// BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.] +// - Note that the bottom of window stack always contains a window called "Debug". +CIMGUI_API bool ImGui_Begin(const char* name, bool* p_open /* = NULL */, ImGuiWindowFlags flags /* = 0 */); +CIMGUI_API void ImGui_End(void); + +// Child Windows +// - Use child windows to begin into a self-contained independent scrolling/clipping regions within a host window. Child windows can embed their own child. +// - Before 1.90 (November 2023), the "ImGuiChildFlags child_flags = 0" parameter was "bool border = false". +// This API is backward compatible with old code, as we guarantee that ImGuiChildFlags_Border == true. +// Consider updating your old code: +// BeginChild("Name", size, false) -> Begin("Name", size, 0); or Begin("Name", size, ImGuiChildFlags_None); +// BeginChild("Name", size, true) -> Begin("Name", size, ImGuiChildFlags_Border); +// - Manual sizing (each axis can use a different setting e.g. ImVec2(0.0f, 400.0f)): +// == 0.0f: use remaining parent window size for this axis. +// > 0.0f: use specified size for this axis. +// < 0.0f: right/bottom-align to specified distance from available content boundaries. +// - Specifying ImGuiChildFlags_AutoResizeX or ImGuiChildFlags_AutoResizeY makes the sizing automatic based on child contents. +// Combining both ImGuiChildFlags_AutoResizeX _and_ ImGuiChildFlags_AutoResizeY defeats purpose of a scrolling region and is NOT recommended. +// - BeginChild() returns false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting +// anything to the window. Always call a matching EndChild() for each BeginChild() call, regardless of its return value. +// [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions +// such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding +// BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.] +CIMGUI_API bool ImGui_BeginChild(const char* str_id, ImVec2 size /* = ImVec2(0, 0) */, ImGuiChildFlags child_flags /* = 0 */, ImGuiWindowFlags window_flags /* = 0 */); +CIMGUI_API bool ImGui_BeginChildID(ImGuiID id, ImVec2 size /* = ImVec2(0, 0) */, ImGuiChildFlags child_flags /* = 0 */, ImGuiWindowFlags window_flags /* = 0 */); +CIMGUI_API void ImGui_EndChild(void); + +// Windows Utilities +// - 'current window' = the window we are appending into while inside a Begin()/End() block. 'next window' = next window we will Begin() into. +CIMGUI_API bool ImGui_IsWindowAppearing(void); +CIMGUI_API bool ImGui_IsWindowCollapsed(void); +CIMGUI_API bool ImGui_IsWindowFocused(ImGuiFocusedFlags flags /* = 0 */); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool ImGui_IsWindowHovered(ImGuiHoveredFlags flags /* = 0 */); // is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. +CIMGUI_API ImDrawList* ImGui_GetWindowDrawList(void); // get draw list associated to the current window, to append your own drawing primitives +CIMGUI_API float ImGui_GetWindowDpiScale(void); // get DPI scale currently associated to the current window's viewport. +CIMGUI_API ImVec2 ImGui_GetWindowPos(void); // get current window position in screen space (note: it is unlikely you need to use this. Consider using current layout pos instead, GetCursorScreenPos()) +CIMGUI_API ImVec2 ImGui_GetWindowSize(void); // get current window size (note: it is unlikely you need to use this. Consider using GetCursorScreenPos() and e.g. GetContentRegionAvail() instead) +CIMGUI_API float ImGui_GetWindowWidth(void); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float ImGui_GetWindowHeight(void); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImGuiViewport* ImGui_GetWindowViewport(void); // get viewport currently associated to the current window. + +// Window manipulation +// - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin). +CIMGUI_API void ImGui_SetNextWindowPos(ImVec2 pos, ImGuiCond cond /* = 0 */); // Implied pivot = ImVec2(0, 0) +CIMGUI_API void ImGui_SetNextWindowPosEx(ImVec2 pos, ImGuiCond cond /* = 0 */, ImVec2 pivot /* = ImVec2(0, 0) */); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void ImGui_SetNextWindowSize(ImVec2 size, ImGuiCond cond /* = 0 */); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void ImGui_SetNextWindowSizeConstraints(ImVec2 size_min, ImVec2 size_max, ImGuiSizeCallback custom_callback /* = NULL */, void* custom_callback_data /* = NULL */); // set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void ImGui_SetNextWindowContentSize(ImVec2 size); // set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void ImGui_SetNextWindowCollapsed(bool collapsed, ImGuiCond cond /* = 0 */); // set next window collapsed state. call before Begin() +CIMGUI_API void ImGui_SetNextWindowFocus(void); // set next window to be focused / top-most. call before Begin() +CIMGUI_API void ImGui_SetNextWindowScroll(ImVec2 scroll); // set next window scrolling value (use < 0.0f to not affect a given axis). +CIMGUI_API void ImGui_SetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. you may also use ImGuiWindowFlags_NoBackground. +CIMGUI_API void ImGui_SetNextWindowViewport(ImGuiID viewport_id); // set next window viewport +CIMGUI_API void ImGui_SetWindowPos(ImVec2 pos, ImGuiCond cond /* = 0 */); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void ImGui_SetWindowSize(ImVec2 size, ImGuiCond cond /* = 0 */); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void ImGui_SetWindowCollapsed(bool collapsed, ImGuiCond cond /* = 0 */); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void ImGui_SetWindowFocus(void); // (not recommended) set current window to be focused / top-most. prefer using SetNextWindowFocus(). +CIMGUI_API void ImGui_SetWindowFontScale(float scale); // [OBSOLETE] set font scale. Adjust IO.FontGlobalScale if you want to scale all windows. This is an old API! For correct scaling, prefer to reload font + rebuild ImFontAtlas + call style.ScaleAllSizes(). +CIMGUI_API void ImGui_SetWindowPosStr(const char* name, ImVec2 pos, ImGuiCond cond /* = 0 */); // set named window position. +CIMGUI_API void ImGui_SetWindowSizeStr(const char* name, ImVec2 size, ImGuiCond cond /* = 0 */); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void ImGui_SetWindowCollapsedStr(const char* name, bool collapsed, ImGuiCond cond /* = 0 */); // set named window collapsed state +CIMGUI_API void ImGui_SetWindowFocusStr(const char* name); // set named window to be focused / top-most. use NULL to remove focus. + +// Content region +// - Retrieve available space from a given point. GetContentRegionAvail() is frequently useful. +// - 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) +CIMGUI_API ImVec2 ImGui_GetContentRegionAvail(void); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API ImVec2 ImGui_GetContentRegionMax(void); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 ImGui_GetWindowContentRegionMin(void); // content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 ImGui_GetWindowContentRegionMax(void); // content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates + +// Windows Scrolling +// - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin(). +// - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY(). +CIMGUI_API float ImGui_GetScrollX(void); // get scrolling amount [0 .. GetScrollMaxX()] +CIMGUI_API float ImGui_GetScrollY(void); // get scrolling amount [0 .. GetScrollMaxY()] +CIMGUI_API void ImGui_SetScrollX(float scroll_x); // set scrolling amount [0 .. GetScrollMaxX()] +CIMGUI_API void ImGui_SetScrollY(float scroll_y); // set scrolling amount [0 .. GetScrollMaxY()] +CIMGUI_API float ImGui_GetScrollMaxX(void); // get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x +CIMGUI_API float ImGui_GetScrollMaxY(void); // get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y +CIMGUI_API void ImGui_SetScrollHereX(float center_x_ratio /* = 0.5f */); // adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void ImGui_SetScrollHereY(float center_y_ratio /* = 0.5f */); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void ImGui_SetScrollFromPosX(float local_x, float center_x_ratio /* = 0.5f */); // adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. +CIMGUI_API void ImGui_SetScrollFromPosY(float local_y, float center_y_ratio /* = 0.5f */); // adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. + +// Parameters stacks (shared) +CIMGUI_API void ImGui_PushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API void ImGui_PopFont(void); +CIMGUI_API void ImGui_PushStyleColor(ImGuiCol idx, ImU32 col); // modify a style color. always use this if you modify the style after NewFrame(). +CIMGUI_API void ImGui_PushStyleColorImVec4(ImGuiCol idx, ImVec4 col); +CIMGUI_API void ImGui_PopStyleColor(void); // Implied count = 1 +CIMGUI_API void ImGui_PopStyleColorEx(int count /* = 1 */); +CIMGUI_API void ImGui_PushStyleVar(ImGuiStyleVar idx, float val); // modify a style float variable. always use this if you modify the style after NewFrame(). +CIMGUI_API void ImGui_PushStyleVarImVec2(ImGuiStyleVar idx, ImVec2 val); // modify a style ImVec2 variable. always use this if you modify the style after NewFrame(). +CIMGUI_API void ImGui_PopStyleVar(void); // Implied count = 1 +CIMGUI_API void ImGui_PopStyleVarEx(int count /* = 1 */); +CIMGUI_API void ImGui_PushTabStop(bool tab_stop); // == tab stop enable. Allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void ImGui_PopTabStop(void); +CIMGUI_API void ImGui_PushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void ImGui_PopButtonRepeat(void); + +// Parameters stacks (current window) +CIMGUI_API void ImGui_PushItemWidth(float item_width); // push width of items for common large "item+label" widgets. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side). +CIMGUI_API void ImGui_PopItemWidth(void); +CIMGUI_API void ImGui_SetNextItemWidth(float item_width); // set width of the _next_ common large "item+label" widget. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side) +CIMGUI_API float ImGui_CalcItemWidth(void); // width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions. +CIMGUI_API void ImGui_PushTextWrapPos(float wrap_local_pos_x /* = 0.0f */); // push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API void ImGui_PopTextWrapPos(void); + +// Style read access +// - Use the ShowStyleEditor() function to interactively see/edit the colors. +CIMGUI_API ImFont* ImGui_GetFont(void); // get current font +CIMGUI_API float ImGui_GetFontSize(void); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 ImGui_GetFontTexUvWhitePixel(void); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 ImGui_GetColorU32(ImGuiCol idx); // Implied alpha_mul = 1.0f +CIMGUI_API ImU32 ImGui_GetColorU32Ex(ImGuiCol idx, float alpha_mul /* = 1.0f */); // retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList +CIMGUI_API ImU32 ImGui_GetColorU32ImVec4(ImVec4 col); // retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList +CIMGUI_API ImU32 ImGui_GetColorU32ImU32(ImU32 col); // Implied alpha_mul = 1.0f +CIMGUI_API ImU32 ImGui_GetColorU32ImU32Ex(ImU32 col, float alpha_mul /* = 1.0f */); // retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList +CIMGUI_API const ImVec4* ImGui_GetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. + +// Layout cursor positioning +// - By "cursor" we mean the current output position. +// - The typical widget behavior is to output themselves at the current cursor position, then move the cursor one line down. +// - You can call SameLine() between widgets to undo the last carriage return and output at the right of the preceding widget. +// - Attention! We currently have inconsistencies between window-local and absolute positions we will aim to fix with future API: +// - Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions. -> this is the preferred way forward. +// - Window-local coordinates: SameLine(), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), GetContentRegionMax(), GetWindowContentRegion*(), PushTextWrapPos() +// - GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates. +CIMGUI_API ImVec2 ImGui_GetCursorScreenPos(void); // cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API). +CIMGUI_API void ImGui_SetCursorScreenPos(ImVec2 pos); // cursor position in absolute coordinates +CIMGUI_API ImVec2 ImGui_GetCursorPos(void); // [window-local] cursor position in window coordinates (relative to window position) +CIMGUI_API float ImGui_GetCursorPosX(void); // [window-local] " +CIMGUI_API float ImGui_GetCursorPosY(void); // [window-local] " +CIMGUI_API void ImGui_SetCursorPos(ImVec2 local_pos); // [window-local] " +CIMGUI_API void ImGui_SetCursorPosX(float local_x); // [window-local] " +CIMGUI_API void ImGui_SetCursorPosY(float local_y); // [window-local] " +CIMGUI_API ImVec2 ImGui_GetCursorStartPos(void); // [window-local] initial cursor position, in window coordinates + +// Other layout functions +CIMGUI_API void ImGui_Separator(void); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void ImGui_SameLine(void); // Implied offset_from_start_x = 0.0f, spacing = -1.0f +CIMGUI_API void ImGui_SameLineEx(float offset_from_start_x /* = 0.0f */, float spacing /* = -1.0f */); // call between widgets or groups to layout them horizontally. X position given in window coordinates. +CIMGUI_API void ImGui_NewLine(void); // undo a SameLine() or force a new line when in a horizontal-layout context. +CIMGUI_API void ImGui_Spacing(void); // add vertical spacing. +CIMGUI_API void ImGui_Dummy(ImVec2 size); // add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into. +CIMGUI_API void ImGui_Indent(void); // Implied indent_w = 0.0f +CIMGUI_API void ImGui_IndentEx(float indent_w /* = 0.0f */); // move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0 +CIMGUI_API void ImGui_Unindent(void); // Implied indent_w = 0.0f +CIMGUI_API void ImGui_UnindentEx(float indent_w /* = 0.0f */); // move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0 +CIMGUI_API void ImGui_BeginGroup(void); // lock horizontal starting position +CIMGUI_API void ImGui_EndGroup(void); // unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void ImGui_AlignTextToFramePadding(void); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float ImGui_GetTextLineHeight(void); // ~ FontSize +CIMGUI_API float ImGui_GetTextLineHeightWithSpacing(void); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float ImGui_GetFrameHeight(void); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float ImGui_GetFrameHeightWithSpacing(void); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) + +// ID stack/scopes +// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui. +// - Those questions are answered and impacted by understanding of the ID stack system: +// - "Q: Why is my widget not reacting when I click on it?" +// - "Q: How can I have widgets with an empty label?" +// - "Q: How can I have multiple widgets with the same label?" +// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely +// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. +// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others. +// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID, +// whereas "str_id" denote a string that is only used as an ID and not normally displayed. +CIMGUI_API void ImGui_PushID(const char* str_id); // push string into the ID stack (will hash string). +CIMGUI_API void ImGui_PushIDStr(const char* str_id_begin, const char* str_id_end); // push string into the ID stack (will hash string). +CIMGUI_API void ImGui_PushIDPtr(const void* ptr_id); // push pointer into the ID stack (will hash pointer). +CIMGUI_API void ImGui_PushIDInt(int int_id); // push integer into the ID stack (will hash integer). +CIMGUI_API void ImGui_PopID(void); // pop from the ID stack. +CIMGUI_API ImGuiID ImGui_GetID(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID ImGui_GetIDStr(const char* str_id_begin, const char* str_id_end); +CIMGUI_API ImGuiID ImGui_GetIDPtr(const void* ptr_id); + +// Widgets: Text +CIMGUI_API void ImGui_TextUnformatted(const char* text); // Implied text_end = NULL +CIMGUI_API void ImGui_TextUnformattedEx(const char* text, const char* text_end /* = NULL */); // raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void ImGui_Text(const char* fmt, ...) IM_FMTARGS(1); // formatted text +CIMGUI_API void ImGui_TextV(const char* fmt, va_list args) IM_FMTLIST(1); +CIMGUI_API void ImGui_TextColored(ImVec4 col, const char* fmt, ...) IM_FMTARGS(2); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void ImGui_TextColoredV(ImVec4 col, const char* fmt, va_list args) IM_FMTLIST(2); +CIMGUI_API void ImGui_TextDisabled(const char* fmt, ...) IM_FMTARGS(1); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void ImGui_TextDisabledV(const char* fmt, va_list args) IM_FMTLIST(1); +CIMGUI_API void ImGui_TextWrapped(const char* fmt, ...) IM_FMTARGS(1); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void ImGui_TextWrappedV(const char* fmt, va_list args) IM_FMTLIST(1); +CIMGUI_API void ImGui_LabelText(const char* label, const char* fmt, ...) IM_FMTARGS(2); // display text+label aligned the same way as value+label widgets +CIMGUI_API void ImGui_LabelTextV(const char* label, const char* fmt, va_list args) IM_FMTLIST(2); +CIMGUI_API void ImGui_BulletText(const char* fmt, ...) IM_FMTARGS(1); // shortcut for Bullet()+Text() +CIMGUI_API void ImGui_BulletTextV(const char* fmt, va_list args) IM_FMTLIST(1); +CIMGUI_API void ImGui_SeparatorText(const char* label); // currently: formatted text with an horizontal line + +// Widgets: Main +// - Most widgets return true when the value has been changed or when pressed/selected +// - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state. +CIMGUI_API bool ImGui_Button(const char* label); // Implied size = ImVec2(0, 0) +CIMGUI_API bool ImGui_ButtonEx(const char* label, ImVec2 size /* = ImVec2(0, 0) */); // button +CIMGUI_API bool ImGui_SmallButton(const char* label); // button with (FramePadding.y == 0) to easily embed within text +CIMGUI_API bool ImGui_InvisibleButton(const char* str_id, ImVec2 size, ImGuiButtonFlags flags /* = 0 */); // flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API bool ImGui_ArrowButton(const char* str_id, ImGuiDir dir); // square button with an arrow shape +CIMGUI_API bool ImGui_Checkbox(const char* label, bool* v); +CIMGUI_API bool ImGui_CheckboxFlagsIntPtr(const char* label, int* flags, int flags_value); +CIMGUI_API bool ImGui_CheckboxFlagsUintPtr(const char* label, unsigned int* flags, unsigned int flags_value); +CIMGUI_API bool ImGui_RadioButton(const char* label, bool active); // use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; } +CIMGUI_API bool ImGui_RadioButtonIntPtr(const char* label, int* v, int v_button); // shortcut to handle the above pattern when value is an integer +CIMGUI_API void ImGui_ProgressBar(float fraction, ImVec2 size_arg /* = ImVec2(-FLT_MIN, 0) */, const char* overlay /* = NULL */); +CIMGUI_API void ImGui_Bullet(void); // draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses + +// Widgets: Images +// - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples +// - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above. +// - Note that Image() may add +2.0f to provided size if a border is visible, ImageButton() adds style.FramePadding*2.0f to provided size. +CIMGUI_API void ImGui_Image(ImTextureID user_texture_id, ImVec2 image_size); // Implied uv0 = ImVec2(0, 0), uv1 = ImVec2(1, 1), tint_col = ImVec4(1, 1, 1, 1), border_col = ImVec4(0, 0, 0, 0) +CIMGUI_API void ImGui_ImageEx(ImTextureID user_texture_id, ImVec2 image_size, ImVec2 uv0 /* = ImVec2(0, 0) */, ImVec2 uv1 /* = ImVec2(1, 1) */, ImVec4 tint_col /* = ImVec4(1, 1, 1, 1) */, ImVec4 border_col /* = ImVec4(0, 0, 0, 0) */); +CIMGUI_API bool ImGui_ImageButton(const char* str_id, ImTextureID user_texture_id, ImVec2 image_size); // Implied uv0 = ImVec2(0, 0), uv1 = ImVec2(1, 1), bg_col = ImVec4(0, 0, 0, 0), tint_col = ImVec4(1, 1, 1, 1) +CIMGUI_API bool ImGui_ImageButtonEx(const char* str_id, ImTextureID user_texture_id, ImVec2 image_size, ImVec2 uv0 /* = ImVec2(0, 0) */, ImVec2 uv1 /* = ImVec2(1, 1) */, ImVec4 bg_col /* = ImVec4(0, 0, 0, 0) */, ImVec4 tint_col /* = ImVec4(1, 1, 1, 1) */); + +// Widgets: Combo Box (Dropdown) +// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. +// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created. +CIMGUI_API bool ImGui_BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags flags /* = 0 */); +CIMGUI_API void ImGui_EndCombo(void); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API bool ImGui_ComboChar(const char* label, int* current_item, const char*const items[], int items_count); // Implied popup_max_height_in_items = -1 +CIMGUI_API bool ImGui_ComboCharEx(const char* label, int* current_item, const char*const items[], int items_count, int popup_max_height_in_items /* = -1 */); +CIMGUI_API bool ImGui_Combo(const char* label, int* current_item, const char* items_separated_by_zeros); // Implied popup_max_height_in_items = -1 +CIMGUI_API bool ImGui_ComboEx(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items /* = -1 */); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool ImGui_ComboCallback(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count); // Implied popup_max_height_in_items = -1 +CIMGUI_API bool ImGui_ComboCallbackEx(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int popup_max_height_in_items /* = -1 */); + +// Widgets: Drag Sliders +// - 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. +// - 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', +// the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x +// - 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. +// - Format string may also be set to NULL or use the default format ("%f" or "%d"). +// - 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). +// - Use v_min < v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used. +// - 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. +// - 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. +// - Legacy: Pre-1.78 there are DragXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. +// If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 +CIMGUI_API bool ImGui_DragFloat(const char* label, float* v); // Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_DragFloatEx(const char* label, float* v, float v_speed /* = 1.0f */, float v_min /* = 0.0f */, float v_max /* = 0.0f */, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); // If v_min >= v_max we have no bound +CIMGUI_API bool ImGui_DragFloat2(const char* label, float v[2]); // Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_DragFloat2Ex(const char* label, float v[2], float v_speed /* = 1.0f */, float v_min /* = 0.0f */, float v_max /* = 0.0f */, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragFloat3(const char* label, float v[3]); // Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_DragFloat3Ex(const char* label, float v[3], float v_speed /* = 1.0f */, float v_min /* = 0.0f */, float v_max /* = 0.0f */, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragFloat4(const char* label, float v[4]); // Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_DragFloat4Ex(const char* label, float v[4], float v_speed /* = 1.0f */, float v_min /* = 0.0f */, float v_max /* = 0.0f */, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragFloatRange2(const char* label, float* v_current_min, float* v_current_max); // Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = "%.3f", format_max = NULL, flags = 0 +CIMGUI_API bool ImGui_DragFloatRange2Ex(const char* label, float* v_current_min, float* v_current_max, float v_speed /* = 1.0f */, float v_min /* = 0.0f */, float v_max /* = 0.0f */, const char* format /* = "%.3f" */, const char* format_max /* = NULL */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragInt(const char* label, int* v); // Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = "%d", flags = 0 +CIMGUI_API bool ImGui_DragIntEx(const char* label, int* v, float v_speed /* = 1.0f */, int v_min /* = 0 */, int v_max /* = 0 */, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); // If v_min >= v_max we have no bound +CIMGUI_API bool ImGui_DragInt2(const char* label, int v[2]); // Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = "%d", flags = 0 +CIMGUI_API bool ImGui_DragInt2Ex(const char* label, int v[2], float v_speed /* = 1.0f */, int v_min /* = 0 */, int v_max /* = 0 */, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragInt3(const char* label, int v[3]); // Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = "%d", flags = 0 +CIMGUI_API bool ImGui_DragInt3Ex(const char* label, int v[3], float v_speed /* = 1.0f */, int v_min /* = 0 */, int v_max /* = 0 */, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragInt4(const char* label, int v[4]); // Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = "%d", flags = 0 +CIMGUI_API bool ImGui_DragInt4Ex(const char* label, int v[4], float v_speed /* = 1.0f */, int v_min /* = 0 */, int v_max /* = 0 */, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragIntRange2(const char* label, int* v_current_min, int* v_current_max); // Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = "%d", format_max = NULL, flags = 0 +CIMGUI_API bool ImGui_DragIntRange2Ex(const char* label, int* v_current_min, int* v_current_max, float v_speed /* = 1.0f */, int v_min /* = 0 */, int v_max /* = 0 */, const char* format /* = "%d" */, const char* format_max /* = NULL */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragScalar(const char* label, ImGuiDataType data_type, void* p_data); // Implied v_speed = 1.0f, p_min = NULL, p_max = NULL, format = NULL, flags = 0 +CIMGUI_API bool ImGui_DragScalarEx(const char* label, ImGuiDataType data_type, void* p_data, float v_speed /* = 1.0f */, const void* p_min /* = NULL */, const void* p_max /* = NULL */, const char* format /* = NULL */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components); // Implied v_speed = 1.0f, p_min = NULL, p_max = NULL, format = NULL, flags = 0 +CIMGUI_API bool ImGui_DragScalarNEx(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed /* = 1.0f */, const void* p_min /* = NULL */, const void* p_max /* = NULL */, const char* format /* = NULL */, ImGuiSliderFlags flags /* = 0 */); + +// Widgets: Regular Sliders +// - 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. +// - 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. +// - Format string may also be set to NULL or use the default format ("%f" or "%d"). +// - Legacy: Pre-1.78 there are SliderXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. +// If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 +CIMGUI_API bool ImGui_SliderFloat(const char* label, float* v, float v_min, float v_max); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_SliderFloatEx(const char* label, float* v, float v_min, float v_max, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. +CIMGUI_API bool ImGui_SliderFloat2(const char* label, float v[2], float v_min, float v_max); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_SliderFloat2Ex(const char* label, float v[2], float v_min, float v_max, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderFloat3(const char* label, float v[3], float v_min, float v_max); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_SliderFloat3Ex(const char* label, float v[3], float v_min, float v_max, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderFloat4(const char* label, float v[4], float v_min, float v_max); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_SliderFloat4Ex(const char* label, float v[4], float v_min, float v_max, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderAngle(const char* label, float* v_rad); // Implied v_degrees_min = -360.0f, v_degrees_max = +360.0f, format = "%.0f deg", flags = 0 +CIMGUI_API bool ImGui_SliderAngleEx(const char* label, float* v_rad, float v_degrees_min /* = -360.0f */, float v_degrees_max /* = +360.0f */, const char* format /* = "%.0f deg" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderInt(const char* label, int* v, int v_min, int v_max); // Implied format = "%d", flags = 0 +CIMGUI_API bool ImGui_SliderIntEx(const char* label, int* v, int v_min, int v_max, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderInt2(const char* label, int v[2], int v_min, int v_max); // Implied format = "%d", flags = 0 +CIMGUI_API bool ImGui_SliderInt2Ex(const char* label, int v[2], int v_min, int v_max, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderInt3(const char* label, int v[3], int v_min, int v_max); // Implied format = "%d", flags = 0 +CIMGUI_API bool ImGui_SliderInt3Ex(const char* label, int v[3], int v_min, int v_max, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderInt4(const char* label, int v[4], int v_min, int v_max); // Implied format = "%d", flags = 0 +CIMGUI_API bool ImGui_SliderInt4Ex(const char* label, int v[4], int v_min, int v_max, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max); // Implied format = NULL, flags = 0 +CIMGUI_API bool ImGui_SliderScalarEx(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format /* = NULL */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max); // Implied format = NULL, flags = 0 +CIMGUI_API bool ImGui_SliderScalarNEx(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format /* = NULL */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_VSliderFloat(const char* label, ImVec2 size, float* v, float v_min, float v_max); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_VSliderFloatEx(const char* label, ImVec2 size, float* v, float v_min, float v_max, const char* format /* = "%.3f" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_VSliderInt(const char* label, ImVec2 size, int* v, int v_min, int v_max); // Implied format = "%d", flags = 0 +CIMGUI_API bool ImGui_VSliderIntEx(const char* label, ImVec2 size, int* v, int v_min, int v_max, const char* format /* = "%d" */, ImGuiSliderFlags flags /* = 0 */); +CIMGUI_API bool ImGui_VSliderScalar(const char* label, ImVec2 size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max); // Implied format = NULL, flags = 0 +CIMGUI_API bool ImGui_VSliderScalarEx(const char* label, ImVec2 size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format /* = NULL */, ImGuiSliderFlags flags /* = 0 */); + +// Widgets: Input with Keyboard +// - 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. +// - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc. +CIMGUI_API bool ImGui_InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags /* = 0 */); // Implied callback = NULL, user_data = NULL +CIMGUI_API bool ImGui_InputTextEx(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags /* = 0 */, ImGuiInputTextCallback callback /* = NULL */, void* user_data /* = NULL */); +CIMGUI_API bool ImGui_InputTextMultiline(const char* label, char* buf, size_t buf_size); // Implied size = ImVec2(0, 0), flags = 0, callback = NULL, user_data = NULL +CIMGUI_API bool ImGui_InputTextMultilineEx(const char* label, char* buf, size_t buf_size, ImVec2 size /* = ImVec2(0, 0) */, ImGuiInputTextFlags flags /* = 0 */, ImGuiInputTextCallback callback /* = NULL */, void* user_data /* = NULL */); +CIMGUI_API bool ImGui_InputTextWithHint(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags /* = 0 */); // Implied callback = NULL, user_data = NULL +CIMGUI_API bool ImGui_InputTextWithHintEx(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags /* = 0 */, ImGuiInputTextCallback callback /* = NULL */, void* user_data /* = NULL */); +CIMGUI_API bool ImGui_InputFloat(const char* label, float* v); // Implied step = 0.0f, step_fast = 0.0f, format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_InputFloatEx(const char* label, float* v, float step /* = 0.0f */, float step_fast /* = 0.0f */, const char* format /* = "%.3f" */, ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputFloat2(const char* label, float v[2]); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_InputFloat2Ex(const char* label, float v[2], const char* format /* = "%.3f" */, ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputFloat3(const char* label, float v[3]); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_InputFloat3Ex(const char* label, float v[3], const char* format /* = "%.3f" */, ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputFloat4(const char* label, float v[4]); // Implied format = "%.3f", flags = 0 +CIMGUI_API bool ImGui_InputFloat4Ex(const char* label, float v[4], const char* format /* = "%.3f" */, ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputInt(const char* label, int* v); // Implied step = 1, step_fast = 100, flags = 0 +CIMGUI_API bool ImGui_InputIntEx(const char* label, int* v, int step /* = 1 */, int step_fast /* = 100 */, ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputInt3(const char* label, int v[3], ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputInt4(const char* label, int v[4], ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputDouble(const char* label, double* v); // Implied step = 0.0, step_fast = 0.0, format = "%.6f", flags = 0 +CIMGUI_API bool ImGui_InputDoubleEx(const char* label, double* v, double step /* = 0.0 */, double step_fast /* = 0.0 */, const char* format /* = "%.6f" */, ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputScalar(const char* label, ImGuiDataType data_type, void* p_data); // Implied p_step = NULL, p_step_fast = NULL, format = NULL, flags = 0 +CIMGUI_API bool ImGui_InputScalarEx(const char* label, ImGuiDataType data_type, void* p_data, const void* p_step /* = NULL */, const void* p_step_fast /* = NULL */, const char* format /* = NULL */, ImGuiInputTextFlags flags /* = 0 */); +CIMGUI_API bool ImGui_InputScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components); // Implied p_step = NULL, p_step_fast = NULL, format = NULL, flags = 0 +CIMGUI_API bool ImGui_InputScalarNEx(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_step /* = NULL */, const void* p_step_fast /* = NULL */, const char* format /* = NULL */, ImGuiInputTextFlags flags /* = 0 */); + +// Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little color square that can be left-clicked to open a picker, and right-clicked to open an option menu.) +// - Note that in C++ a 'float v[X]' function argument is the _same_ as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. +// - You can pass the address of a first float element out of a contiguous structure, e.g. &myvector.x +CIMGUI_API bool ImGui_ColorEdit3(const char* label, float col[3], ImGuiColorEditFlags flags /* = 0 */); +CIMGUI_API bool ImGui_ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags /* = 0 */); +CIMGUI_API bool ImGui_ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags /* = 0 */); +CIMGUI_API bool ImGui_ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags /* = 0 */, const float* ref_col /* = NULL */); +CIMGUI_API bool ImGui_ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags /* = 0 */); // Implied size = ImVec2(0, 0) +CIMGUI_API bool ImGui_ColorButtonEx(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags /* = 0 */, ImVec2 size /* = ImVec2(0, 0) */); // display a color square/button, hover for details, return true when pressed. +CIMGUI_API void ImGui_SetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. + +// Widgets: Trees +// - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. +CIMGUI_API bool ImGui_TreeNode(const char* label); +CIMGUI_API bool ImGui_TreeNodeStr(const char* str_id, const char* fmt, ...) IM_FMTARGS(2); // helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool ImGui_TreeNodePtr(const void* ptr_id, const char* fmt, ...) IM_FMTARGS(2); // " +CIMGUI_API bool ImGui_TreeNodeV(const char* str_id, const char* fmt, va_list args) IM_FMTLIST(2); +CIMGUI_API bool ImGui_TreeNodeVPtr(const void* ptr_id, const char* fmt, va_list args) IM_FMTLIST(2); +CIMGUI_API bool ImGui_TreeNodeEx(const char* label, ImGuiTreeNodeFlags flags /* = 0 */); +CIMGUI_API bool ImGui_TreeNodeExStr(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) IM_FMTARGS(3); +CIMGUI_API bool ImGui_TreeNodeExPtr(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) IM_FMTARGS(3); +CIMGUI_API bool ImGui_TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); +CIMGUI_API bool ImGui_TreeNodeExVPtr(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); +CIMGUI_API void ImGui_TreePush(const char* str_id); // ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. +CIMGUI_API void ImGui_TreePushPtr(const void* ptr_id); // " +CIMGUI_API void ImGui_TreePop(void); // ~ Unindent()+PopID() +CIMGUI_API float ImGui_GetTreeNodeToLabelSpacing(void); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API bool ImGui_CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags /* = 0 */); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool ImGui_CollapsingHeaderBoolPtr(const char* label, bool* p_visible, ImGuiTreeNodeFlags flags /* = 0 */); // when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header. +CIMGUI_API void ImGui_SetNextItemOpen(bool is_open, ImGuiCond cond /* = 0 */); // set next TreeNode/CollapsingHeader open state. + +// Widgets: Selectables +// - A selectable highlights when hovered, and can display another color when selected. +// - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous. +CIMGUI_API bool ImGui_Selectable(const char* label); // Implied selected = false, flags = 0, size = ImVec2(0, 0) +CIMGUI_API bool ImGui_SelectableEx(const char* label, bool selected /* = false */, ImGuiSelectableFlags flags /* = 0 */, ImVec2 size /* = ImVec2(0, 0) */); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool ImGui_SelectableBoolPtr(const char* label, bool* p_selected, ImGuiSelectableFlags flags /* = 0 */); // Implied size = ImVec2(0, 0) +CIMGUI_API bool ImGui_SelectableBoolPtrEx(const char* label, bool* p_selected, ImGuiSelectableFlags flags /* = 0 */, ImVec2 size /* = ImVec2(0, 0) */); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. + +// Widgets: List Boxes +// - This is essentially a thin wrapper to using BeginChild/EndChild with the ImGuiChildFlags_FrameStyle flag for stylistic changes + displaying a label. +// - You can submit contents and manage your selection state however you want it, by creating e.g. Selectable() or any other items. +// - 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. +// - Choose frame width: size.x > 0.0f: custom / size.x < 0.0f or -FLT_MIN: right-align / size.x = 0.0f (default): use current ItemWidth +// - Choose frame height: size.y > 0.0f: custom / size.y < 0.0f or -FLT_MIN: bottom-align / size.y = 0.0f (default): arbitrary default height which can fit ~7 items +CIMGUI_API bool ImGui_BeginListBox(const char* label, ImVec2 size /* = ImVec2(0, 0) */); // open a framed scrolling region +CIMGUI_API void ImGui_EndListBox(void); // only call EndListBox() if BeginListBox() returned true! +CIMGUI_API bool ImGui_ListBox(const char* label, int* current_item, const char*const items[], int items_count, int height_in_items /* = -1 */); +CIMGUI_API bool ImGui_ListBoxCallback(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count); // Implied height_in_items = -1 +CIMGUI_API bool ImGui_ListBoxCallbackEx(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int height_in_items /* = -1 */); + +// Widgets: Data Plotting +// - Consider using ImPlot (https://github.com/epezent/implot) which is much better! +CIMGUI_API void ImGui_PlotLines(const char* label, const float* values, int values_count); // Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0), stride = sizeof(float) +CIMGUI_API void ImGui_PlotLinesEx(const char* label, const float* values, int values_count, int values_offset /* = 0 */, const char* overlay_text /* = NULL */, float scale_min /* = FLT_MAX */, float scale_max /* = FLT_MAX */, ImVec2 graph_size /* = ImVec2(0, 0) */, int stride /* = sizeof(float) */); +CIMGUI_API void ImGui_PlotLinesCallback(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count); // Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0) +CIMGUI_API void ImGui_PlotLinesCallbackEx(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset /* = 0 */, const char* overlay_text /* = NULL */, float scale_min /* = FLT_MAX */, float scale_max /* = FLT_MAX */, ImVec2 graph_size /* = ImVec2(0, 0) */); +CIMGUI_API void ImGui_PlotHistogram(const char* label, const float* values, int values_count); // Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0), stride = sizeof(float) +CIMGUI_API void ImGui_PlotHistogramEx(const char* label, const float* values, int values_count, int values_offset /* = 0 */, const char* overlay_text /* = NULL */, float scale_min /* = FLT_MAX */, float scale_max /* = FLT_MAX */, ImVec2 graph_size /* = ImVec2(0, 0) */, int stride /* = sizeof(float) */); +CIMGUI_API void ImGui_PlotHistogramCallback(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count); // Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0) +CIMGUI_API void ImGui_PlotHistogramCallbackEx(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset /* = 0 */, const char* overlay_text /* = NULL */, float scale_min /* = FLT_MAX */, float scale_max /* = FLT_MAX */, ImVec2 graph_size /* = ImVec2(0, 0) */); + +// Widgets: Menus +// - Use BeginMenuBar() on a window ImGuiWindowFlags_MenuBar to append to its menu bar. +// - Use BeginMainMenuBar() to create a menu bar at the top of the screen and append to it. +// - Use BeginMenu() to create a menu. You can call BeginMenu() multiple time with the same identifier to append more items to it. +// - Not that MenuItem() keyboardshortcuts are displayed as a convenience but _not processed_ by Dear ImGui at the moment. +CIMGUI_API bool ImGui_BeginMenuBar(void); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void ImGui_EndMenuBar(void); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool ImGui_BeginMainMenuBar(void); // create and append to a full screen menu-bar. +CIMGUI_API void ImGui_EndMainMenuBar(void); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool ImGui_BeginMenu(const char* label); // Implied enabled = true +CIMGUI_API bool ImGui_BeginMenuEx(const char* label, bool enabled /* = true */); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void ImGui_EndMenu(void); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool ImGui_MenuItem(const char* label); // Implied shortcut = NULL, selected = false, enabled = true +CIMGUI_API bool ImGui_MenuItemEx(const char* label, const char* shortcut /* = NULL */, bool selected /* = false */, bool enabled /* = true */); // return true when activated. +CIMGUI_API bool ImGui_MenuItemBoolPtr(const char* label, const char* shortcut, bool* p_selected, bool enabled /* = true */); // return true when activated + toggle (*p_selected) if p_selected != NULL + +// Tooltips +// - Tooltips are windows following the mouse. They do not take focus away. +// - A tooltip window can contain items of any types. +// - SetTooltip() is more or less a shortcut for the 'if (BeginTooltip()) { Text(...); EndTooltip(); }' idiom (with a subtlety that it discard any previously submitted tooltip) +CIMGUI_API bool ImGui_BeginTooltip(void); // begin/append a tooltip window. +CIMGUI_API void ImGui_EndTooltip(void); // only call EndTooltip() if BeginTooltip()/BeginItemTooltip() returns true! +CIMGUI_API void ImGui_SetTooltip(const char* fmt, ...) IM_FMTARGS(1); // set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip(). +CIMGUI_API void ImGui_SetTooltipV(const char* fmt, va_list args) IM_FMTLIST(1); + +// Tooltips: helpers for showing a tooltip when hovering an item +// - BeginItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip) && BeginTooltip())' idiom. +// - SetItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip)) { SetTooltip(...); }' idiom. +// - Where 'ImGuiHoveredFlags_ForTooltip' itself is a shortcut to use 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' depending on active input type. For mouse it defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'. +CIMGUI_API bool ImGui_BeginItemTooltip(void); // begin/append a tooltip window if preceding item was hovered. +CIMGUI_API void ImGui_SetItemTooltip(const char* fmt, ...) IM_FMTARGS(1); // set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip(). +CIMGUI_API void ImGui_SetItemTooltipV(const char* fmt, va_list args) IM_FMTLIST(1); + +// Popups, Modals +// - They block normal mouse hovering detection (and therefore most mouse interactions) behind them. +// - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE. +// - Their visibility state (~bool) is held internally instead of being held by the programmer as we are used to with regular Begin*() calls. +// - The 3 properties above are related: we need to retain popup visibility state in the library because popups may be closed as any time. +// - You can bypass the hovering restriction by using ImGuiHoveredFlags_AllowWhenBlockedByPopup when calling IsItemHovered() or IsWindowHovered(). +// - IMPORTANT: Popup identifiers are relative to the current ID stack, so OpenPopup and BeginPopup generally needs to be at the same level of the stack. +// This is sometimes leading to confusing mistakes. May rework this in the future. +// - BeginPopup(): query popup state, if open start appending into the window. Call EndPopup() afterwards if returned true. ImGuiWindowFlags are forwarded to the window. +// - BeginPopupModal(): block every interaction behind the window, cannot be closed by user, add a dimming background, has a title bar. +CIMGUI_API bool ImGui_BeginPopup(const char* str_id, ImGuiWindowFlags flags /* = 0 */); // return true if the popup is open, and you can start outputting to it. +CIMGUI_API bool ImGui_BeginPopupModal(const char* name, bool* p_open /* = NULL */, ImGuiWindowFlags flags /* = 0 */); // return true if the modal is open, and you can start outputting to it. +CIMGUI_API void ImGui_EndPopup(void); // only call EndPopup() if BeginPopupXXX() returns true! + +// Popups: open/close functions +// - OpenPopup(): set popup state to open. ImGuiPopupFlags are available for opening options. +// - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE. +// - CloseCurrentPopup(): use inside the BeginPopup()/EndPopup() scope to close manually. +// - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options). +// - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup(). +// - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened. +// - 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 +CIMGUI_API void ImGui_OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags /* = 0 */); // call to mark popup as open (don't call every frame!). +CIMGUI_API void ImGui_OpenPopupID(ImGuiID id, ImGuiPopupFlags popup_flags /* = 0 */); // id overload to facilitate calling from nested stacks +CIMGUI_API void ImGui_OpenPopupOnItemClick(const char* str_id /* = NULL */, ImGuiPopupFlags popup_flags /* = 1 */); // helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) +CIMGUI_API void ImGui_CloseCurrentPopup(void); // manually close the popup we have begin-ed into. + +// Popups: open+begin combined functions helpers +// - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking. +// - They are convenient to easily create context menus, hence the name. +// - 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. +// - 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. +CIMGUI_API bool ImGui_BeginPopupContextItem(void); // Implied str_id = NULL, popup_flags = 1 +CIMGUI_API bool ImGui_BeginPopupContextItemEx(const char* str_id /* = NULL */, ImGuiPopupFlags popup_flags /* = 1 */); // open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool ImGui_BeginPopupContextWindow(void); // Implied str_id = NULL, popup_flags = 1 +CIMGUI_API bool ImGui_BeginPopupContextWindowEx(const char* str_id /* = NULL */, ImGuiPopupFlags popup_flags /* = 1 */); // open+begin popup when clicked on current window. +CIMGUI_API bool ImGui_BeginPopupContextVoid(void); // Implied str_id = NULL, popup_flags = 1 +CIMGUI_API bool ImGui_BeginPopupContextVoidEx(const char* str_id /* = NULL */, ImGuiPopupFlags popup_flags /* = 1 */); // open+begin popup when clicked in void (where there are no windows). + +// Popups: query functions +// - IsPopupOpen(): return true if the popup is open at the current BeginPopup() level of the popup stack. +// - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId: return true if any popup is open at the current BeginPopup() level of the popup stack. +// - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId + ImGuiPopupFlags_AnyPopupLevel: return true if any popup is open. +CIMGUI_API bool ImGui_IsPopupOpen(const char* str_id, ImGuiPopupFlags flags /* = 0 */); // return true if the popup is open. + +// Tables +// - Full-featured replacement for old Columns API. +// - See Demo->Tables for demo code. See top of imgui_tables.cpp for general commentary. +// - See ImGuiTableFlags_ and ImGuiTableColumnFlags_ enums for a description of available flags. +// The typical call flow is: +// - 1. Call BeginTable(), early out if returning false. +// - 2. Optionally call TableSetupColumn() to submit column name/flags/defaults. +// - 3. Optionally call TableSetupScrollFreeze() to request scroll freezing of columns/rows. +// - 4. Optionally call TableHeadersRow() to submit a header row. Names are pulled from TableSetupColumn() data. +// - 5. Populate contents: +// - In most situations you can use TableNextRow() + TableSetColumnIndex(N) to start appending into a column. +// - If you are using tables as a sort of grid, where every column is holding the same type of contents, +// you may prefer using TableNextColumn() instead of TableNextRow() + TableSetColumnIndex(). +// TableNextColumn() will automatically wrap-around into the next row if needed. +// - IMPORTANT: Comparatively to the old Columns() API, we need to call TableNextColumn() for the first column! +// - Summary of possible call flow: +// - TableNextRow() -> TableSetColumnIndex(0) -> Text("Hello 0") -> TableSetColumnIndex(1) -> Text("Hello 1") // OK +// - TableNextRow() -> TableNextColumn() -> Text("Hello 0") -> TableNextColumn() -> Text("Hello 1") // OK +// - TableNextColumn() -> Text("Hello 0") -> TableNextColumn() -> Text("Hello 1") // OK: TableNextColumn() automatically gets to next row! +// - TableNextRow() -> Text("Hello 0") // Not OK! Missing TableSetColumnIndex() or TableNextColumn()! Text will not appear! +// - 5. Call EndTable() +CIMGUI_API bool ImGui_BeginTable(const char* str_id, int columns, ImGuiTableFlags flags /* = 0 */); // Implied outer_size = ImVec2(0.0f, 0.0f), inner_width = 0.0f +CIMGUI_API bool ImGui_BeginTableEx(const char* str_id, int columns, ImGuiTableFlags flags /* = 0 */, ImVec2 outer_size /* = ImVec2(0.0f, 0.0f) */, float inner_width /* = 0.0f */); +CIMGUI_API void ImGui_EndTable(void); // only call EndTable() if BeginTable() returns true! +CIMGUI_API void ImGui_TableNextRow(void); // Implied row_flags = 0, min_row_height = 0.0f +CIMGUI_API void ImGui_TableNextRowEx(ImGuiTableRowFlags row_flags /* = 0 */, float min_row_height /* = 0.0f */); // append into the first cell of a new row. +CIMGUI_API bool ImGui_TableNextColumn(void); // append into the next column (or first column of next row if currently in last column). Return true when column is visible. +CIMGUI_API bool ImGui_TableSetColumnIndex(int column_n); // append into the specified column. Return true when column is visible. + +// Tables: Headers & Columns declaration +// - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc. +// - Use TableHeadersRow() to create a header row and automatically submit a TableHeader() for each column. +// Headers are required to perform: reordering, sorting, and opening the context menu. +// The context menu can also be made available in columns body using ImGuiTableFlags_ContextMenuInBody. +// - You may manually submit headers using TableNextRow() + TableHeader() calls, but this is only useful in +// some advanced use cases (e.g. adding custom widgets in header row). +// - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled. +CIMGUI_API void ImGui_TableSetupColumn(const char* label, ImGuiTableColumnFlags flags /* = 0 */); // Implied init_width_or_weight = 0.0f, user_id = 0 +CIMGUI_API void ImGui_TableSetupColumnEx(const char* label, ImGuiTableColumnFlags flags /* = 0 */, float init_width_or_weight /* = 0.0f */, ImGuiID user_id /* = 0 */); +CIMGUI_API void ImGui_TableSetupScrollFreeze(int cols, int rows); // lock columns/rows so they stay visible when scrolled. +CIMGUI_API void ImGui_TableHeader(const char* label); // submit one header cell manually (rarely used) +CIMGUI_API void ImGui_TableHeadersRow(void); // submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu +CIMGUI_API void ImGui_TableAngledHeadersRow(void); // submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW. + +// Tables: Sorting & Miscellaneous functions +// - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting. +// When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have +// changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, +// else you may wastefully sort your data every frame! +// - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index. +CIMGUI_API ImGuiTableSortSpecs* ImGui_TableGetSortSpecs(void); // get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). +CIMGUI_API int ImGui_TableGetColumnCount(void); // return number of columns (value passed to BeginTable) +CIMGUI_API int ImGui_TableGetColumnIndex(void); // return current column index. +CIMGUI_API int ImGui_TableGetRowIndex(void); // return current row index. +CIMGUI_API const char* ImGui_TableGetColumnName(int column_n /* = -1 */); // return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column. +CIMGUI_API ImGuiTableColumnFlags ImGui_TableGetColumnFlags(int column_n /* = -1 */); // return column flags so you can query their Enabled/Visible/Sorted/Hovered status flags. Pass -1 to use current column. +CIMGUI_API void ImGui_TableSetColumnEnabled(int column_n, bool v); // change user accessible enabled/disabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody) +CIMGUI_API int ImGui_TableGetHoveredColumn(void); // return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead. +CIMGUI_API void ImGui_TableSetBgColor(ImGuiTableBgTarget target, ImU32 color, int column_n /* = -1 */); // change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details. + +// Legacy Columns API (prefer using Tables!) +// - You can also use SameLine(pos_x) to mimic simplified columns. +CIMGUI_API void ImGui_Columns(void); // Implied count = 1, id = NULL, border = true +CIMGUI_API void ImGui_ColumnsEx(int count /* = 1 */, const char* id /* = NULL */, bool border /* = true */); +CIMGUI_API void ImGui_NextColumn(void); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int ImGui_GetColumnIndex(void); // get current column index +CIMGUI_API float ImGui_GetColumnWidth(int column_index /* = -1 */); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void ImGui_SetColumnWidth(int column_index, float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float ImGui_GetColumnOffset(int column_index /* = -1 */); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void ImGui_SetColumnOffset(int column_index, float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API int ImGui_GetColumnsCount(void); + +// Tab Bars, Tabs +// - Note: Tabs are automatically created by the docking system (when in 'docking' branch). Use this to create tab bars/tabs yourself. +CIMGUI_API bool ImGui_BeginTabBar(const char* str_id, ImGuiTabBarFlags flags /* = 0 */); // create and append into a TabBar +CIMGUI_API void ImGui_EndTabBar(void); // only call EndTabBar() if BeginTabBar() returns true! +CIMGUI_API bool ImGui_BeginTabItem(const char* label, bool* p_open /* = NULL */, ImGuiTabItemFlags flags /* = 0 */); // create a Tab. Returns true if the Tab is selected. +CIMGUI_API void ImGui_EndTabItem(void); // only call EndTabItem() if BeginTabItem() returns true! +CIMGUI_API bool ImGui_TabItemButton(const char* label, ImGuiTabItemFlags flags /* = 0 */); // create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar. +CIMGUI_API void ImGui_SetTabItemClosed(const char* tab_or_docked_window_label); // notify TabBar or Docking system of a closed tab/window ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name. + +// Docking +// [BETA API] Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable. +// Note: You can use most Docking facilities without calling any API. You DO NOT need to call DockSpace() to use Docking! +// - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking. +// - Drag from window menu button (upper-left button) to undock an entire node (all windows). +// - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to enable docking. +// About dockspaces: +// - Use DockSpaceOverViewport() to create a window covering the screen or a specific viewport + a dockspace inside it. +// This is often used with ImGuiDockNodeFlags_PassthruCentralNode to make it transparent. +// - Use DockSpace() to create an explicit dock node _within_ an existing window. See Docking demo for details. +// - Important: Dockspaces need to be submitted _before_ any window they can host. Submit it early in your frame! +// - Important: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked. +// e.g. if you have multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly. +CIMGUI_API ImGuiID ImGui_DockSpace(ImGuiID dockspace_id); // Implied size = ImVec2(0, 0), flags = 0, window_class = NULL +CIMGUI_API ImGuiID ImGui_DockSpaceEx(ImGuiID dockspace_id, ImVec2 size /* = ImVec2(0, 0) */, ImGuiDockNodeFlags flags /* = 0 */, const ImGuiWindowClass* window_class /* = NULL */); +CIMGUI_API ImGuiID ImGui_DockSpaceOverViewport(void); // Implied dockspace_id = 0, viewport = NULL, flags = 0, window_class = NULL +CIMGUI_API ImGuiID ImGui_DockSpaceOverViewportEx(ImGuiID dockspace_id /* = 0 */, const ImGuiViewport* viewport /* = NULL */, ImGuiDockNodeFlags flags /* = 0 */, const ImGuiWindowClass* window_class /* = NULL */); +CIMGUI_API void ImGui_SetNextWindowDockID(ImGuiID dock_id, ImGuiCond cond /* = 0 */); // set next window dock id +CIMGUI_API void ImGui_SetNextWindowClass(const ImGuiWindowClass* window_class); // set next window class (control docking compatibility + provide hints to platform backend via custom viewport flags and platform parent/child relationship) +CIMGUI_API ImGuiID ImGui_GetWindowDockID(void); +CIMGUI_API bool ImGui_IsWindowDocked(void); // is current window docked into another window? + +// Logging/Capture +// - All text output from the interface can be captured into tty/file/clipboard. By default, tree nodes are automatically opened during logging. +CIMGUI_API void ImGui_LogToTTY(int auto_open_depth /* = -1 */); // start logging to tty (stdout) +CIMGUI_API void ImGui_LogToFile(int auto_open_depth /* = -1 */, const char* filename /* = NULL */); // start logging to file +CIMGUI_API void ImGui_LogToClipboard(int auto_open_depth /* = -1 */); // start logging to OS clipboard +CIMGUI_API void ImGui_LogFinish(void); // stop logging (close file, etc.) +CIMGUI_API void ImGui_LogButtons(void); // helper to display buttons for logging to tty/file/clipboard +CIMGUI_API void ImGui_LogText(const char* fmt, ...) IM_FMTARGS(1); // pass text data straight to log (without being displayed) +CIMGUI_API void ImGui_LogTextV(const char* fmt, va_list args) IM_FMTLIST(1); + +// Drag and Drop +// - On source items, call BeginDragDropSource(), if it returns true also call SetDragDropPayload() + EndDragDropSource(). +// - On target candidates, call BeginDragDropTarget(), if it returns true also call AcceptDragDropPayload() + EndDragDropTarget(). +// - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback "..." tooltip, see #1725) +// - An item can be both drag source and drop target. +CIMGUI_API bool ImGui_BeginDragDropSource(ImGuiDragDropFlags flags /* = 0 */); // call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool ImGui_SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond /* = 0 */); // type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted. +CIMGUI_API void ImGui_EndDragDropSource(void); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool ImGui_BeginDragDropTarget(void); // call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* ImGui_AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags /* = 0 */); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void ImGui_EndDragDropTarget(void); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! +CIMGUI_API const ImGuiPayload* ImGui_GetDragDropPayload(void); // peek directly into the current payload from anywhere. returns NULL when drag and drop is finished or inactive. use ImGuiPayload::IsDataType() to test for the payload type. + +// Disabling [BETA API] +// - Disable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors) +// - 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) +// - Tooltips windows by exception are opted out of disabling. +// - 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. +CIMGUI_API void ImGui_BeginDisabled(bool disabled /* = true */); +CIMGUI_API void ImGui_EndDisabled(void); + +// Clipping +// - Mouse hovering is affected by ImGui::PushClipRect() calls, unlike direct calls to ImDrawList::PushClipRect() which are render only. +CIMGUI_API void ImGui_PushClipRect(ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_current_clip_rect); +CIMGUI_API void ImGui_PopClipRect(void); + +// Focus, Activation +// - Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHereY()" when applicable to signify "this is the default item" +CIMGUI_API void ImGui_SetItemDefaultFocus(void); // make last item the default focused item of a window. +CIMGUI_API void ImGui_SetKeyboardFocusHere(void); // Implied offset = 0 +CIMGUI_API void ImGui_SetKeyboardFocusHereEx(int offset /* = 0 */); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. + +// Overlapping mode +CIMGUI_API void ImGui_SetNextItemAllowOverlap(void); // allow next item to be overlapped by a subsequent item. Useful with invisible buttons, selectable, treenode covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this. + +// Item/Widgets Utilities and Query Functions +// - Most of the functions are referring to the previous Item that has been submitted. +// - See Demo Window under "Widgets->Querying Status" for an interactive visualization of most of those functions. +CIMGUI_API bool ImGui_IsItemHovered(ImGuiHoveredFlags flags /* = 0 */); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool ImGui_IsItemActive(void); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool ImGui_IsItemFocused(void); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool ImGui_IsItemClicked(void); // Implied mouse_button = 0 +CIMGUI_API bool ImGui_IsItemClickedEx(ImGuiMouseButton mouse_button /* = 0 */); // is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. +CIMGUI_API bool ImGui_IsItemVisible(void); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool ImGui_IsItemEdited(void); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. +CIMGUI_API bool ImGui_IsItemActivated(void); // was the last item just made active (item was previously inactive). +CIMGUI_API bool ImGui_IsItemDeactivated(void); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing. +CIMGUI_API bool ImGui_IsItemDeactivatedAfterEdit(void); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool ImGui_IsItemToggledOpen(void); // was the last item open state toggled? set by TreeNode(). +CIMGUI_API bool ImGui_IsAnyItemHovered(void); // is any item hovered? +CIMGUI_API bool ImGui_IsAnyItemActive(void); // is any item active? +CIMGUI_API bool ImGui_IsAnyItemFocused(void); // is any item focused? +CIMGUI_API ImGuiID ImGui_GetItemID(void); // get ID of last item (~~ often same ImGui::GetID(label) beforehand) +CIMGUI_API ImVec2 ImGui_GetItemRectMin(void); // get upper-left bounding rectangle of the last item (screen space) +CIMGUI_API ImVec2 ImGui_GetItemRectMax(void); // get lower-right bounding rectangle of the last item (screen space) +CIMGUI_API ImVec2 ImGui_GetItemRectSize(void); // get size of last item + +// Viewports +// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows. +// - In 'docking' branch with multi-viewport enabled, we extend this concept to have multiple active viewports. +// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode. +CIMGUI_API ImGuiViewport* ImGui_GetMainViewport(void); // return primary/default viewport. This can never be NULL. + +// Background/Foreground Draw Lists +CIMGUI_API ImDrawList* ImGui_GetBackgroundDrawList(void); // Implied viewport = NULL +CIMGUI_API ImDrawList* ImGui_GetBackgroundDrawListEx(ImGuiViewport* viewport /* = NULL */); // get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. +CIMGUI_API ImDrawList* ImGui_GetForegroundDrawList(void); // Implied viewport = NULL +CIMGUI_API ImDrawList* ImGui_GetForegroundDrawListEx(ImGuiViewport* viewport /* = NULL */); // get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapes/text over dear imgui contents. + +// Miscellaneous Utilities +CIMGUI_API bool ImGui_IsRectVisibleBySize(ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool ImGui_IsRectVisible(ImVec2 rect_min, ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API double ImGui_GetTime(void); // get global imgui time. incremented by io.DeltaTime every frame. +CIMGUI_API int ImGui_GetFrameCount(void); // get global imgui frame count. incremented by 1 every frame. +CIMGUI_API ImDrawListSharedData* ImGui_GetDrawListSharedData(void); // you may use this when creating your own ImDrawList instances. +CIMGUI_API const char* ImGui_GetStyleColorName(ImGuiCol idx); // get a string corresponding to the enum value (for display, saving, etc.). +CIMGUI_API void ImGui_SetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API ImGuiStorage* ImGui_GetStateStorage(void); + +// Text Utilities +CIMGUI_API ImVec2 ImGui_CalcTextSize(const char* text); // Implied text_end = NULL, hide_text_after_double_hash = false, wrap_width = -1.0f +CIMGUI_API ImVec2 ImGui_CalcTextSizeEx(const char* text, const char* text_end /* = NULL */, bool hide_text_after_double_hash /* = false */, float wrap_width /* = -1.0f */); + +// Color Utilities +CIMGUI_API ImVec4 ImGui_ColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 ImGui_ColorConvertFloat4ToU32(ImVec4 in); +CIMGUI_API void ImGui_ColorConvertRGBtoHSV(float r, float g, float b, float* out_h, float* out_s, float* out_v); +CIMGUI_API void ImGui_ColorConvertHSVtoRGB(float h, float s, float v, float* out_r, float* out_g, float* out_b); + +// Inputs Utilities: Keyboard/Mouse/Gamepad +// - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...). +// - before v1.87, we used ImGuiKey to carry native/user indices as defined by each backends. About use of those legacy ImGuiKey values: +// - without IMGUI_DISABLE_OBSOLETE_KEYIO (legacy support): you can still use your legacy native/user indices (< 512) according to how your backend/engine stored them in io.KeysDown[], but need to cast them to ImGuiKey. +// - with IMGUI_DISABLE_OBSOLETE_KEYIO (this is the way forward): any use of ImGuiKey will assert with key < 512. GetKeyIndex() is pass-through and therefore deprecated (gone if IMGUI_DISABLE_OBSOLETE_KEYIO is defined). +CIMGUI_API bool ImGui_IsKeyDown(ImGuiKey key); // is key being held. +CIMGUI_API bool ImGui_IsKeyPressed(ImGuiKey key); // Implied repeat = true +CIMGUI_API bool ImGui_IsKeyPressedEx(ImGuiKey key, bool repeat /* = true */); // was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool ImGui_IsKeyReleased(ImGuiKey key); // was key released (went from Down to !Down)? +CIMGUI_API bool ImGui_IsKeyChordPressed(ImGuiKeyChord key_chord); // was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead. +CIMGUI_API int ImGui_GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API const char* ImGui_GetKeyName(ImGuiKey key); // [DEBUG] returns English name of the key. Those names a provided for debugging purpose and are not meant to be saved persistently not compared. +CIMGUI_API void ImGui_SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard); // Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call. + +// Inputs Utilities: Shortcut Testing & Routing [BETA] +// - ImGuiKeyChord = a ImGuiKey + optional ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super. +// ImGuiKey_C // Accepted by functions taking ImGuiKey or ImGuiKeyChord arguments) +// ImGuiMod_Ctrl | ImGuiKey_C // Accepted by functions taking ImGuiKeyChord arguments) +// only ImGuiMod_XXX values are legal to combine with an ImGuiKey. You CANNOT combine two ImGuiKey values. +// - The general idea is that several callers may register interest in a shortcut, and only one owner gets it. +// Parent -> call Shortcut(Ctrl+S) // When Parent is focused, Parent gets the shortcut. +// Child1 -> call Shortcut(Ctrl+S) // When Child1 is focused, Child1 gets the shortcut (Child1 overrides Parent shortcuts) +// Child2 -> no call // When Child2 is focused, Parent gets the shortcut. +// The whole system is order independent, so if Child1 makes its calls before Parent, results will be identical. +// This is an important property as it facilitate working with foreign code or larger codebase. +// - To understand the difference: +// - IsKeyChordPressed() compares mods and call IsKeyPressed() -> function has no side-effect. +// - 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. +// - Visualize registered routes in 'Metrics/Debugger->Inputs'. +CIMGUI_API bool ImGui_Shortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags /* = 0 */); +CIMGUI_API void ImGui_SetNextItemShortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags /* = 0 */); + +// Inputs Utilities: Mouse specific +// - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right. +// - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle. +// - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold') +CIMGUI_API bool ImGui_IsMouseDown(ImGuiMouseButton button); // is mouse button held? +CIMGUI_API bool ImGui_IsMouseClicked(ImGuiMouseButton button); // Implied repeat = false +CIMGUI_API bool ImGui_IsMouseClickedEx(ImGuiMouseButton button, bool repeat /* = false */); // did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1. +CIMGUI_API bool ImGui_IsMouseReleased(ImGuiMouseButton button); // did mouse button released? (went from Down to !Down) +CIMGUI_API bool ImGui_IsMouseDoubleClicked(ImGuiMouseButton button); // did mouse button double-clicked? Same as GetMouseClickedCount() == 2. (note that a double-click will also report IsMouseClicked() == true) +CIMGUI_API int ImGui_GetMouseClickedCount(ImGuiMouseButton button); // return the number of successive mouse-clicks at the time where a click happen (otherwise 0). +CIMGUI_API bool ImGui_IsMouseHoveringRect(ImVec2 r_min, ImVec2 r_max); // Implied clip = true +CIMGUI_API bool ImGui_IsMouseHoveringRectEx(ImVec2 r_min, ImVec2 r_max, bool clip /* = true */); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. +CIMGUI_API bool ImGui_IsMousePosValid(const ImVec2* mouse_pos /* = NULL */); // by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available +CIMGUI_API bool ImGui_IsAnyMouseDown(void); // [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. +CIMGUI_API ImVec2 ImGui_GetMousePos(void); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 ImGui_GetMousePosOnOpeningCurrentPopup(void); // retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves) +CIMGUI_API bool ImGui_IsMouseDragging(ImGuiMouseButton button, float lock_threshold /* = -1.0f */); // is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f) +CIMGUI_API ImVec2 ImGui_GetMouseDragDelta(ImGuiMouseButton button /* = 0 */, float lock_threshold /* = -1.0f */); // return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f) +CIMGUI_API void ImGui_ResetMouseDragDelta(void); // Implied button = 0 +CIMGUI_API void ImGui_ResetMouseDragDeltaEx(ImGuiMouseButton button /* = 0 */); // +CIMGUI_API ImGuiMouseCursor ImGui_GetMouseCursor(void); // get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void ImGui_SetMouseCursor(ImGuiMouseCursor cursor_type); // set desired mouse cursor shape +CIMGUI_API void ImGui_SetNextFrameWantCaptureMouse(bool want_capture_mouse); // Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call. + +// Clipboard Utilities +// - Also see the LogToClipboard() function to capture GUI into clipboard, or easily output text data to the clipboard. +CIMGUI_API const char* ImGui_GetClipboardText(void); +CIMGUI_API void ImGui_SetClipboardText(const char* text); + +// Settings/.Ini Utilities +// - The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). +// - Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. +// - Important: default value "imgui.ini" is relative to current working dir! Most apps will want to lock this to an absolute path (e.g. same path as executables). +CIMGUI_API void ImGui_LoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). +CIMGUI_API void ImGui_LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size /* = 0 */); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void ImGui_SaveIniSettingsToDisk(const char* ini_filename); // this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext). +CIMGUI_API const char* ImGui_SaveIniSettingsToMemory(size_t* out_ini_size /* = NULL */); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. + +// Debug Utilities +// - Your main debugging friend is the ShowMetricsWindow() function, which is also accessible from Demo->Tools->Metrics Debugger +CIMGUI_API void ImGui_DebugTextEncoding(const char* text); +CIMGUI_API void ImGui_DebugFlashStyleColor(ImGuiCol idx); +CIMGUI_API void ImGui_DebugStartItemPicker(void); +CIMGUI_API bool ImGui_DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert, size_t sz_drawidx); // This is called by IMGUI_CHECKVERSION() macro. + +// Memory Allocators +// - Those functions are not reliant on the current context. +// - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions() +// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for more details. +CIMGUI_API void ImGui_SetAllocatorFunctions(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func, void* user_data /* = NULL */); +CIMGUI_API void ImGui_GetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func, ImGuiMemFreeFunc* p_free_func, void** p_user_data); +CIMGUI_API void* ImGui_MemAlloc(size_t size); +CIMGUI_API void ImGui_MemFree(void* ptr); + +// (Optional) Platform/OS interface for multi-viewport support +// Read comments around the ImGuiPlatformIO structure for more details. +// Note: You may use GetWindowViewport() to get the current viewport of the current window. +CIMGUI_API ImGuiPlatformIO* ImGui_GetPlatformIO(void); // platform/renderer functions, for backend to setup + viewports list. +CIMGUI_API void ImGui_UpdatePlatformWindows(void); // call in main loop. will call CreateWindow/ResizeWindow/etc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport. +CIMGUI_API void ImGui_RenderPlatformWindowsDefault(void); // Implied platform_render_arg = NULL, renderer_render_arg = NULL +CIMGUI_API void ImGui_RenderPlatformWindowsDefaultEx(void* platform_render_arg /* = NULL */, void* renderer_render_arg /* = NULL */); // call in main loop. will call RenderWindow/SwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs. +CIMGUI_API void ImGui_DestroyPlatformWindows(void); // call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext(). +CIMGUI_API ImGuiViewport* ImGui_FindViewportByID(ImGuiID id); // this is a helper for backends. +CIMGUI_API ImGuiViewport* ImGui_FindViewportByPlatformHandle(void* platform_handle); // this is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.) + +//----------------------------------------------------------------------------- +// [SECTION] Flags & Enumerations +//----------------------------------------------------------------------------- + +// Flags for ImGui::Begin() +// (Those are per-window flags. There are shared flags in ImGuiIO: io.ConfigWindowsResizeFromEdges and io.ConfigWindowsMoveFromTitleBarOnly) +typedef enum +{ + ImGuiWindowFlags_None = 0, + ImGuiWindowFlags_NoTitleBar = 1<<0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1<<1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1<<2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1<<3, // Disable scrollbars (window can still scroll with mouse or programmatically) + ImGuiWindowFlags_NoScrollWithMouse = 1<<4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1<<5, // Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node). + ImGuiWindowFlags_AlwaysAutoResize = 1<<6, // Resize every window to its content every frame + ImGuiWindowFlags_NoBackground = 1<<7, // Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f). + ImGuiWindowFlags_NoSavedSettings = 1<<8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoMouseInputs = 1<<9, // Disable catching mouse, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1<<10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1<<11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1<<12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1<<13, // Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar = 1<<14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar = 1<<15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_NoNavInputs = 1<<16, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1<<17, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_UnsavedDocument = 1<<18, // Display a dot next to the title. When used in a tab/docking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar. + ImGuiWindowFlags_NoDocking = 1<<19, // Disable docking of this window + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse, + ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + + // [Internal] + ImGuiWindowFlags_ChildWindow = 1<<24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1<<25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1<<26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1<<27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1<<28, // Don't use! For internal use by BeginMenu() + ImGuiWindowFlags_DockNodeHost = 1<<29, // Don't use! For internal use by Begin()/NewFrame() + + // Obsolete names +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiWindowFlags_AlwaysUseWindowPadding = 1<<30, // Obsoleted in 1.90: Use ImGuiChildFlags_AlwaysUseWindowPadding in BeginChild() call. + ImGuiWindowFlags_NavFlattened = 1<<31, // Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call. +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +} ImGuiWindowFlags_; + +// Flags for ImGui::BeginChild() +// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Border to be backward compatible with old API using 'bool border = false'. +// About using AutoResizeX/AutoResizeY flags: +// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). +// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. +// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. +// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. +// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. +// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. +typedef enum +{ + ImGuiChildFlags_None = 0, + ImGuiChildFlags_Border = 1<<0, // Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy reason) + ImGuiChildFlags_AlwaysUseWindowPadding = 1<<1, // Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child windows because it makes more sense) + ImGuiChildFlags_ResizeX = 1<<2, // Allow resize from right border (layout direction). Enable .ini saving (unless ImGuiWindowFlags_NoSavedSettings passed to window flags) + ImGuiChildFlags_ResizeY = 1<<3, // Allow resize from bottom border (layout direction). " + ImGuiChildFlags_AutoResizeX = 1<<4, // Enable auto-resizing width. Read "IMPORTANT: Size measurement" details above. + ImGuiChildFlags_AutoResizeY = 1<<5, // Enable auto-resizing height. Read "IMPORTANT: Size measurement" details above. + ImGuiChildFlags_AlwaysAutoResize = 1<<6, // Combined with AutoResizeX/AutoResizeY. Always measure size even when child is hidden, always return true, always disable clipping optimization! NOT RECOMMENDED. + ImGuiChildFlags_FrameStyle = 1<<7, // Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding. + ImGuiChildFlags_NavFlattened = 1<<8, // Share focus scope, allow gamepad/keyboard navigation to cross over parent border to this child or between sibling child windows. +} ImGuiChildFlags_; + +// Flags for ImGui::InputText() +// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigInputTextCursorBlink and io.ConfigInputTextEnterKeepActive) +typedef enum +{ + // Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter) + ImGuiInputTextFlags_None = 0, + ImGuiInputTextFlags_CharsDecimal = 1<<0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1<<1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsScientific = 1<<2, // Allow 0123456789.+-*/eE (Scientific notation input) + ImGuiInputTextFlags_CharsUppercase = 1<<3, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1<<4, // Filter out spaces, tabs + + // Inputs + ImGuiInputTextFlags_AllowTabInput = 1<<5, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_EnterReturnsTrue = 1<<6, // Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider looking at the IsItemDeactivatedAfterEdit() function. + ImGuiInputTextFlags_EscapeClearsAll = 1<<7, // Escape key clears content if not empty, and deactivate otherwise (contrast to default behavior of Escape to revert) + ImGuiInputTextFlags_CtrlEnterForNewLine = 1<<8, // In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter). + + // Other options + ImGuiInputTextFlags_ReadOnly = 1<<9, // Read-only mode + ImGuiInputTextFlags_Password = 1<<10, // Password mode, display all characters as '*', disable copy + ImGuiInputTextFlags_AlwaysOverwrite = 1<<11, // Overwrite mode + ImGuiInputTextFlags_AutoSelectAll = 1<<12, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_ParseEmptyRefVal = 1<<13, // InputFloat(), InputInt(), InputScalar() etc. only: parse empty string as zero value. + ImGuiInputTextFlags_DisplayEmptyRefVal = 1<<14, // InputFloat(), InputInt(), InputScalar() etc. only: when value is zero, do not display it. Generally used with ImGuiInputTextFlags_ParseEmptyRefVal. + ImGuiInputTextFlags_NoHorizontalScroll = 1<<15, // Disable following the cursor horizontally + ImGuiInputTextFlags_NoUndoRedo = 1<<16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + + // Callback features + ImGuiInputTextFlags_CallbackCompletion = 1<<17, // Callback on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1<<18, // Callback on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1<<19, // Callback on each iteration. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1<<20, // Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard. + ImGuiInputTextFlags_CallbackResize = 1<<21, // 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) + ImGuiInputTextFlags_CallbackEdit = 1<<22, // 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) + + // Obsolete names + //ImGuiInputTextFlags_AlwaysInsertMode = ImGuiInputTextFlags_AlwaysOverwrite // [renamed in 1.82] name was not matching behavior +} ImGuiInputTextFlags_; + +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() +typedef enum +{ + ImGuiTreeNodeFlags_None = 0, + ImGuiTreeNodeFlags_Selected = 1<<0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1<<1, // Draw frame with background (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowOverlap = 1<<2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1<<3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1<<4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1<<5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1<<6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1<<7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1<<8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1<<9, // Display a bullet instead of arrow. IMPORTANT: node can still be marked open/close if you don't set the _Leaf flag! + ImGuiTreeNodeFlags_FramePadding = 1<<10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node. + ImGuiTreeNodeFlags_SpanAvailWidth = 1<<11, // Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line without using AllowOverlap mode. + ImGuiTreeNodeFlags_SpanFullWidth = 1<<12, // Extend hit box to the left-most and right-most edges (cover the indent area). + ImGuiTreeNodeFlags_SpanTextWidth = 1<<13, // Narrow hit box + narrow hovering highlight, will only cover the label text. + ImGuiTreeNodeFlags_SpanAllColumns = 1<<14, // Frame will span all columns of its container table (text will still fit in current column) + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1<<15, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 16, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog, + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiTreeNodeFlags_AllowItemOverlap = ImGuiTreeNodeFlags_AllowOverlap, // Renamed in 1.89.7 +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +} ImGuiTreeNodeFlags_; + +// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions. +// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags', +// 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. +// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags. +// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0. +// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter +// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly. +// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later). +typedef enum +{ + ImGuiPopupFlags_None = 0, + ImGuiPopupFlags_MouseButtonLeft = 0, // For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left) + ImGuiPopupFlags_MouseButtonRight = 1, // For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right) + ImGuiPopupFlags_MouseButtonMiddle = 2, // For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle) + ImGuiPopupFlags_MouseButtonMask_ = 0x1F, + ImGuiPopupFlags_MouseButtonDefault_ = 1, + ImGuiPopupFlags_NoReopen = 1<<5, // For OpenPopup*(), BeginPopupContext*(): don't reopen same popup if already open (won't reposition, won't reinitialize navigation) + //ImGuiPopupFlags_NoReopenAlwaysNavInit = 1 << 6, // For OpenPopup*(), BeginPopupContext*(): focus and initialize navigation even when not reopening. + ImGuiPopupFlags_NoOpenOverExistingPopup = 1<<7, // For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack + ImGuiPopupFlags_NoOpenOverItems = 1<<8, // For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space + ImGuiPopupFlags_AnyPopupId = 1<<10, // For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup. + ImGuiPopupFlags_AnyPopupLevel = 1<<11, // For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level) + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel, +} ImGuiPopupFlags_; + +// Flags for ImGui::Selectable() +typedef enum +{ + ImGuiSelectableFlags_None = 0, + ImGuiSelectableFlags_DontClosePopups = 1<<0, // Clicking this doesn't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1<<1, // Frame will span all columns of its container table (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1<<2, // Generate press events on double clicks too + ImGuiSelectableFlags_Disabled = 1<<3, // Cannot be selected, display grayed out text + ImGuiSelectableFlags_AllowOverlap = 1<<4, // (WIP) Hit testing to allow subsequent widgets to overlap this one + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiSelectableFlags_AllowItemOverlap = ImGuiSelectableFlags_AllowOverlap, // Renamed in 1.89.7 +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +} ImGuiSelectableFlags_; + +// Flags for ImGui::BeginCombo() +typedef enum +{ + ImGuiComboFlags_None = 0, + ImGuiComboFlags_PopupAlignLeft = 1<<0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1<<1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1<<2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1<<3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1<<4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1<<5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1<<6, // Display only a square arrow button + ImGuiComboFlags_WidthFitPreview = 1<<7, // Width dynamically calculated from preview contents + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest, +} ImGuiComboFlags_; + +// Flags for ImGui::BeginTabBar() +typedef enum +{ + ImGuiTabBarFlags_None = 0, + ImGuiTabBarFlags_Reorderable = 1<<0, // Allow manually dragging tabs to re-order them + New tabs are appended at the end of list + ImGuiTabBarFlags_AutoSelectNewTabs = 1<<1, // Automatically select new tabs when they appear + ImGuiTabBarFlags_TabListPopupButton = 1<<2, // Disable buttons to open the tab list popup + ImGuiTabBarFlags_NoCloseWithMiddleMouseButton = 1<<3, // Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false. + ImGuiTabBarFlags_NoTabListScrollingButtons = 1<<4, // Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll) + ImGuiTabBarFlags_NoTooltip = 1<<5, // Disable tooltips when hovering a tab + ImGuiTabBarFlags_DrawSelectedOverline = 1<<6, // Draw selected overline markers over selected tab + ImGuiTabBarFlags_FittingPolicyResizeDown = 1<<7, // Resize tabs when they don't fit + ImGuiTabBarFlags_FittingPolicyScroll = 1<<8, // Add scroll buttons when tabs don't fit + ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll, + ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown, +} ImGuiTabBarFlags_; + +// Flags for ImGui::BeginTabItem() +typedef enum +{ + ImGuiTabItemFlags_None = 0, + ImGuiTabItemFlags_UnsavedDocument = 1<<0, // Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure. + ImGuiTabItemFlags_SetSelected = 1<<1, // Trigger flag to programmatically make the tab selected when calling BeginTabItem() + ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1<<2, // Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false. + ImGuiTabItemFlags_NoPushId = 1<<3, // Don't call PushID()/PopID() on BeginTabItem()/EndTabItem() + ImGuiTabItemFlags_NoTooltip = 1<<4, // Disable tooltip for the given tab + ImGuiTabItemFlags_NoReorder = 1<<5, // Disable reordering this tab or having another tab cross over this tab + ImGuiTabItemFlags_Leading = 1<<6, // Enforce the tab position to the left of the tab bar (after the tab list popup button) + ImGuiTabItemFlags_Trailing = 1<<7, // Enforce the tab position to the right of the tab bar (before the scrolling buttons) + ImGuiTabItemFlags_NoAssumedClosure = 1<<8, // Tab is selected when trying to close + closure is not immediately assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar. +} ImGuiTabItemFlags_; + +// Flags for ImGui::IsWindowFocused() +typedef enum +{ + ImGuiFocusedFlags_None = 0, + ImGuiFocusedFlags_ChildWindows = 1<<0, // Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1<<1, // Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1<<2, // Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ! + ImGuiFocusedFlags_NoPopupHierarchy = 1<<3, // Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) + ImGuiFocusedFlags_DockHierarchy = 1<<4, // Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows, +} ImGuiFocusedFlags_; + +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ! +// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls. +typedef enum +{ + ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1<<0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1<<1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1<<2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_NoPopupHierarchy = 1<<3, // IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) + ImGuiHoveredFlags_DockHierarchy = 1<<4, // IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1<<5, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 6, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1<<7, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlappedByItem = 1<<8, // IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item. + ImGuiHoveredFlags_AllowWhenOverlappedByWindow = 1<<9, // IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window. + ImGuiHoveredFlags_AllowWhenDisabled = 1<<10, // IsItemHovered() only: Return true even if the item is disabled + ImGuiHoveredFlags_NoNavOverride = 1<<11, // IsItemHovered() only: Disable using gamepad/keyboard navigation state when active, always query mouse + ImGuiHoveredFlags_AllowWhenOverlapped = ImGuiHoveredFlags_AllowWhenOverlappedByItem | ImGuiHoveredFlags_AllowWhenOverlappedByWindow, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows, + + // Tooltips mode + // - typically used in IsItemHovered() + SetTooltip() sequence. + // - this is a shortcut to pull flags from 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' where you can reconfigure desired behavior. + // e.g. 'TooltipHoveredFlagsForMouse' defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'. + // - for frequently actioned or hovered items providing a tooltip, you want may to use ImGuiHoveredFlags_ForTooltip (stationary + delay) so the tooltip doesn't show too often. + // - for items which main purpose is to be hovered, or items with low affordance, or in less consistent apps, prefer no delay or shorter delay. + ImGuiHoveredFlags_ForTooltip = 1<<12, // Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence. + + // (Advanced) Mouse Hovering delays. + // - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags. + // - use those if you need specific overrides. + ImGuiHoveredFlags_Stationary = 1<<13, // Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) _at least one time_. After this, can move on same item/window. Using the stationary test tends to reduces the need for a long delay. + ImGuiHoveredFlags_DelayNone = 1<<14, // IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this. + ImGuiHoveredFlags_DelayShort = 1<<15, // IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item). + ImGuiHoveredFlags_DelayNormal = 1<<16, // IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item). + ImGuiHoveredFlags_NoSharedDelay = 1<<17, // IsItemHovered() only: Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays) +} ImGuiHoveredFlags_; + +// Flags for ImGui::DockSpace(), shared/inherited by child nodes. +// (Some flags can be applied to individual nodes directly) +// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api. +typedef enum +{ + ImGuiDockNodeFlags_None = 0, + ImGuiDockNodeFlags_KeepAliveOnly = 1<<0, // // Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked. + //ImGuiDockNodeFlags_NoCentralNode = 1 << 1, // // Disable Central Node (the node which can stay empty) + ImGuiDockNodeFlags_NoDockingOverCentralNode = 1<<2, // // Disable docking over the Central Node, which will be always kept empty. + ImGuiDockNodeFlags_PassthruCentralNode = 1<<3, // // Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details. + ImGuiDockNodeFlags_NoDockingSplit = 1<<4, // // Disable other windows/nodes from splitting this node. + ImGuiDockNodeFlags_NoResize = 1<<5, // Saved // Disable resizing node using the splitter/separators. Useful with programmatically setup dockspaces. + ImGuiDockNodeFlags_AutoHideTabBar = 1<<6, // // Tab bar will automatically hide when there is a single window in the dock node. + ImGuiDockNodeFlags_NoUndocking = 1<<7, // // Disable undocking this node. + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiDockNodeFlags_NoSplit = ImGuiDockNodeFlags_NoDockingSplit, // Renamed in 1.90 + ImGuiDockNodeFlags_NoDockingInCentralNode = ImGuiDockNodeFlags_NoDockingOverCentralNode, // Renamed in 1.90 +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +} ImGuiDockNodeFlags_; + +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() +typedef enum +{ + ImGuiDragDropFlags_None = 0, + // BeginDragDropSource() flags + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1<<0, // Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1<<1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1<<2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1<<3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1<<4, // External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + ImGuiDragDropFlags_PayloadAutoExpire = 1<<5, // Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged) + ImGuiDragDropFlags_PayloadNoCrossContext = 1<<6, // Hint to specify that the payload may not be copied outside current dear imgui context. + ImGuiDragDropFlags_PayloadNoCrossProcess = 1<<7, // Hint to specify that the payload may not be copied outside current process. + // AcceptDragDropPayload() flags + ImGuiDragDropFlags_AcceptBeforeDelivery = 1<<10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1<<11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1<<12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect, // For peeking ahead and inspecting the payload before delivery. + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiDragDropFlags_SourceAutoExpirePayload = ImGuiDragDropFlags_PayloadAutoExpire, // Renamed in 1.90.9 +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +} ImGuiDragDropFlags_; + +// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. +#define IMGUI_PAYLOAD_TYPE_COLOR_3F "_COL3F" // float[3]: Standard type for colors, without alpha. User code may use this type. +#define IMGUI_PAYLOAD_TYPE_COLOR_4F "_COL4F" // float[4]: Standard type for colors. User code may use this type. + +// A primary data type +typedef enum +{ + ImGuiDataType_S8, // signed char / char (with sensible compilers) + ImGuiDataType_U8, // unsigned char + ImGuiDataType_S16, // short + ImGuiDataType_U16, // unsigned short + ImGuiDataType_S32, // int + ImGuiDataType_U32, // unsigned int + ImGuiDataType_S64, // long long / __int64 + ImGuiDataType_U64, // unsigned long long / unsigned __int64 + ImGuiDataType_Float, // float + ImGuiDataType_Double, // double + ImGuiDataType_COUNT, +} ImGuiDataType_; + +// A cardinal direction +enum // Forward declared enum type ImGuiDir +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT, +}; + +// A sorting direction +enum // Forward declared enum type ImGuiSortDirection +{ + ImGuiSortDirection_None = 0, + ImGuiSortDirection_Ascending = 1, // Ascending = 0->9, A->Z etc. + ImGuiSortDirection_Descending = 2, // Descending = 9->0, Z->A etc. +}; + +// Since 1.90, defining IMGUI_DISABLE_OBSOLETE_FUNCTIONS automatically defines IMGUI_DISABLE_OBSOLETE_KEYIO as well. +#if defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_OBSOLETE_KEYIO) +#define IMGUI_DISABLE_OBSOLETE_KEYIO +#endif // #if defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_OBSOLETE_KEYIO) +// A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value): can represent Keyboard, Mouse and Gamepad values. +// All our named keys are >= 512. Keys value 0 to 511 are left unused as legacy native/opaque key values (< 1.87). +// Since >= 1.89 we increased typing (went from int to enum), some legacy code may need a cast to ImGuiKey. +// Read details about the 1.87 and 1.89 transition : https://github.com/ocornut/imgui/issues/4921 +// Note that "Keys" related to physical keys and are not the same concept as input "Characters", the later are submitted via io.AddInputCharacter(). +// 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. +enum // Forward declared enum type ImGuiKey +{ + // Keyboard + ImGuiKey_None = 0, + ImGuiKey_Tab = 512, // == ImGuiKey_NamedKey_BEGIN + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_LeftCtrl, + ImGuiKey_LeftShift, + ImGuiKey_LeftAlt, + ImGuiKey_LeftSuper, + ImGuiKey_RightCtrl, + ImGuiKey_RightShift, + ImGuiKey_RightAlt, + ImGuiKey_RightSuper, + ImGuiKey_Menu, + ImGuiKey_0, + ImGuiKey_1, + ImGuiKey_2, + ImGuiKey_3, + ImGuiKey_4, + ImGuiKey_5, + ImGuiKey_6, + ImGuiKey_7, + ImGuiKey_8, + ImGuiKey_9, + ImGuiKey_A, + ImGuiKey_B, + ImGuiKey_C, + ImGuiKey_D, + ImGuiKey_E, + ImGuiKey_F, + ImGuiKey_G, + ImGuiKey_H, + ImGuiKey_I, + ImGuiKey_J, + ImGuiKey_K, + ImGuiKey_L, + ImGuiKey_M, + ImGuiKey_N, + ImGuiKey_O, + ImGuiKey_P, + ImGuiKey_Q, + ImGuiKey_R, + ImGuiKey_S, + ImGuiKey_T, + ImGuiKey_U, + ImGuiKey_V, + ImGuiKey_W, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, + ImGuiKey_F1, + ImGuiKey_F2, + ImGuiKey_F3, + ImGuiKey_F4, + ImGuiKey_F5, + ImGuiKey_F6, + ImGuiKey_F7, + ImGuiKey_F8, + ImGuiKey_F9, + ImGuiKey_F10, + ImGuiKey_F11, + ImGuiKey_F12, + ImGuiKey_F13, + ImGuiKey_F14, + ImGuiKey_F15, + ImGuiKey_F16, + ImGuiKey_F17, + ImGuiKey_F18, + ImGuiKey_F19, + ImGuiKey_F20, + ImGuiKey_F21, + ImGuiKey_F22, + ImGuiKey_F23, + ImGuiKey_F24, + ImGuiKey_Apostrophe, // ' + ImGuiKey_Comma, // , + ImGuiKey_Minus, // - + ImGuiKey_Period, // . + ImGuiKey_Slash, // / + ImGuiKey_Semicolon, // ; + ImGuiKey_Equal, // = + ImGuiKey_LeftBracket, // [ + ImGuiKey_Backslash, // \ (this text inhibit multiline comment caused by backslash) + ImGuiKey_RightBracket, // ] + ImGuiKey_GraveAccent, // ` + ImGuiKey_CapsLock, + ImGuiKey_ScrollLock, + ImGuiKey_NumLock, + ImGuiKey_PrintScreen, + ImGuiKey_Pause, + ImGuiKey_Keypad0, + ImGuiKey_Keypad1, + ImGuiKey_Keypad2, + ImGuiKey_Keypad3, + ImGuiKey_Keypad4, + ImGuiKey_Keypad5, + ImGuiKey_Keypad6, + ImGuiKey_Keypad7, + ImGuiKey_Keypad8, + ImGuiKey_Keypad9, + ImGuiKey_KeypadDecimal, + ImGuiKey_KeypadDivide, + ImGuiKey_KeypadMultiply, + ImGuiKey_KeypadSubtract, + ImGuiKey_KeypadAdd, + ImGuiKey_KeypadEnter, + ImGuiKey_KeypadEqual, + ImGuiKey_AppBack, // Available on some keyboard/mouses. Often referred as "Browser Back" + ImGuiKey_AppForward, + + // Gamepad (some of those are analog values, 0.0f to 1.0f) // NAVIGATION ACTION + // (download controller mapping PNG/PSD at http://dearimgui.com/controls_sheets) + ImGuiKey_GamepadStart, // Menu (Xbox) + (Switch) Start/Options (PS) + ImGuiKey_GamepadBack, // View (Xbox) - (Switch) Share (PS) + ImGuiKey_GamepadFaceLeft, // X (Xbox) Y (Switch) Square (PS) // Tap: Toggle Menu. Hold: Windowing mode (Focus/Move/Resize windows) + ImGuiKey_GamepadFaceRight, // B (Xbox) A (Switch) Circle (PS) // Cancel / Close / Exit + ImGuiKey_GamepadFaceUp, // Y (Xbox) X (Switch) Triangle (PS) // Text Input / On-screen Keyboard + ImGuiKey_GamepadFaceDown, // A (Xbox) B (Switch) Cross (PS) // Activate / Open / Toggle / Tweak + ImGuiKey_GamepadDpadLeft, // D-pad Left // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadRight, // D-pad Right // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadUp, // D-pad Up // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadDown, // D-pad Down // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadL1, // L Bumper (Xbox) L (Switch) L1 (PS) // Tweak Slower / Focus Previous (in Windowing mode) + ImGuiKey_GamepadR1, // R Bumper (Xbox) R (Switch) R1 (PS) // Tweak Faster / Focus Next (in Windowing mode) + ImGuiKey_GamepadL2, // L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog] + ImGuiKey_GamepadR2, // R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog] + ImGuiKey_GamepadL3, // L Stick (Xbox) L3 (Switch) L3 (PS) + ImGuiKey_GamepadR3, // R Stick (Xbox) R3 (Switch) R3 (PS) + ImGuiKey_GamepadLStickLeft, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickRight, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickUp, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickDown, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadRStickLeft, // [Analog] + ImGuiKey_GamepadRStickRight, // [Analog] + ImGuiKey_GamepadRStickUp, // [Analog] + ImGuiKey_GamepadRStickDown, // [Analog] + + // 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. + ImGuiKey_MouseLeft, + ImGuiKey_MouseRight, + ImGuiKey_MouseMiddle, + ImGuiKey_MouseX1, + ImGuiKey_MouseX2, + ImGuiKey_MouseWheelX, + ImGuiKey_MouseWheelY, + + // [Internal] Reserved for mod storage + ImGuiKey_ReservedForModCtrl, + ImGuiKey_ReservedForModShift, + ImGuiKey_ReservedForModAlt, + ImGuiKey_ReservedForModSuper, + ImGuiKey_COUNT, + + // 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. + ImGuiMod_None = 0, + ImGuiMod_Ctrl = 1<<12, // Ctrl (non-macOS), Cmd (macOS) + ImGuiMod_Shift = 1<<13, // Shift + ImGuiMod_Alt = 1<<14, // Option/Menu + ImGuiMod_Super = 1<<15, // Windows/Super (non-macOS), Ctrl (macOS) + ImGuiMod_Mask_ = 0xF000, // 4-bits + + // [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. + ImGuiKey_NamedKey_BEGIN = 512, + ImGuiKey_NamedKey_END = ImGuiKey_COUNT, + ImGuiKey_NamedKey_COUNT = ImGuiKey_NamedKey_END-ImGuiKey_NamedKey_BEGIN, +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + ImGuiKey_KeysData_SIZE = ImGuiKey_NamedKey_COUNT, // Size of KeysData[]: only hold named keys + ImGuiKey_KeysData_OFFSET = ImGuiKey_NamedKey_BEGIN, // Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET) index. +#else + ImGuiKey_KeysData_SIZE = ImGuiKey_COUNT, // Size of KeysData[]: hold legacy 0..512 keycodes + named keys + ImGuiKey_KeysData_OFFSET = 0, // Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET) index. +#endif // #ifdef IMGUI_DISABLE_OBSOLETE_KEYIO +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiMod_Shortcut = ImGuiMod_Ctrl, // Removed in 1.90.7, you can now simply use ImGuiMod_Ctrl + ImGuiKey_ModCtrl = ImGuiMod_Ctrl, + ImGuiKey_ModShift = ImGuiMod_Shift, + ImGuiKey_ModAlt = ImGuiMod_Alt, + ImGuiKey_ModSuper = ImGuiMod_Super, // Renamed in 1.89 + //ImGuiKey_KeyPadEnter = ImGuiKey_KeypadEnter, // Renamed in 1.87 +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +}; + +// Flags for Shortcut(), SetNextItemShortcut(), +// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h) +// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function) +typedef enum +{ + ImGuiInputFlags_None = 0, + ImGuiInputFlags_Repeat = 1<<0, // Enable repeat. Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1. + + // Flags for Shortcut(), SetNextItemShortcut() + // - Routing policies: RouteGlobal+OverActive >> RouteActive or RouteFocused (if owner is active item) >> RouteGlobal+OverFocused >> RouteFocused (if in focused window stack) >> RouteGlobal. + // - Default policy is RouteFocused. Can select only 1 policy among all available. + ImGuiInputFlags_RouteActive = 1<<10, // Route to active item only. + ImGuiInputFlags_RouteFocused = 1<<11, // Route to windows in the focus stack (DEFAULT). Deep-most focused window takes inputs. Active item takes inputs over deep-most focused window. + ImGuiInputFlags_RouteGlobal = 1<<12, // Global route (unless a focused window or active item registered the route). + ImGuiInputFlags_RouteAlways = 1<<13, // Do not register route, poll keys directly. + // - Routing options + ImGuiInputFlags_RouteOverFocused = 1<<14, // Option: global route: higher priority than focused route (unless active item in focused route). + ImGuiInputFlags_RouteOverActive = 1<<15, // 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. + ImGuiInputFlags_RouteUnlessBgFocused = 1<<16, // Option: global route: will not be applied if underlying background/void is focused (== no Dear ImGui windows are focused). Useful for overlay applications. + ImGuiInputFlags_RouteFromRootWindow = 1<<17, // Option: route evaluated from the point of view of root window rather than current window. + + // Flags for SetNextItemShortcut() + ImGuiInputFlags_Tooltip = 1<<18, // Automatically display a tooltip when hovering item [BETA] Unsure of right api (opt-in/opt-out) +} ImGuiInputFlags_; + +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO +// OBSOLETED in 1.88 (from July 2022): ImGuiNavInput and io.NavInputs[]. +// 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. +// Custom backends: feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums. +typedef enum +{ + ImGuiNavInput_Activate, + ImGuiNavInput_Cancel, + ImGuiNavInput_Input, + ImGuiNavInput_Menu, + ImGuiNavInput_DpadLeft, + ImGuiNavInput_DpadRight, + ImGuiNavInput_DpadUp, + ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, + ImGuiNavInput_LStickRight, + ImGuiNavInput_LStickUp, + ImGuiNavInput_LStickDown, + ImGuiNavInput_FocusPrev, + ImGuiNavInput_FocusNext, + ImGuiNavInput_TweakSlow, + ImGuiNavInput_TweakFast, + ImGuiNavInput_COUNT, +} ImGuiNavInput; +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_KEYIO +// Configuration flags stored in io.ConfigFlags. Set by user/application. +typedef enum +{ + ImGuiConfigFlags_None = 0, + ImGuiConfigFlags_NavEnableKeyboard = 1<<0, // Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + space/enter to activate. + ImGuiConfigFlags_NavEnableGamepad = 1<<1, // Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1<<2, // 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. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1<<3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1<<4, // Instruct dear imgui to disable mouse inputs and interactions. + ImGuiConfigFlags_NoMouseCursorChange = 1<<5, // 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. + ImGuiConfigFlags_NoKeyboard = 1<<6, // Instruct dear imgui to disable keyboard inputs and interactions. This is done by ignoring keyboard events and clearing existing states. + + // [BETA] Docking + ImGuiConfigFlags_DockingEnable = 1<<7, // Docking enable flags. + + // [BETA] Viewports + // When using viewports it is recommended that your default value for ImGuiCol_WindowBg is opaque (Alpha=1.0) so transition to a viewport won't be noticeable. + ImGuiConfigFlags_ViewportsEnable = 1<<10, // Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends) + ImGuiConfigFlags_DpiEnableScaleViewports = 1<<14, // [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. + ImGuiConfigFlags_DpiEnableScaleFonts = 1<<15, // [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. + + // User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui) + ImGuiConfigFlags_IsSRGB = 1<<20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1<<21, // Application is using a touch screen instead of a mouse. +} ImGuiConfigFlags_; + +// Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend. +typedef enum +{ + ImGuiBackendFlags_None = 0, + ImGuiBackendFlags_HasGamepad = 1<<0, // Backend Platform supports gamepad and currently has one connected. + ImGuiBackendFlags_HasMouseCursors = 1<<1, // Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1<<2, // Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). + ImGuiBackendFlags_RendererHasVtxOffset = 1<<3, // Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices. + + // [BETA] Viewports + ImGuiBackendFlags_PlatformHasViewports = 1<<10, // Backend Platform supports multiple viewports. + ImGuiBackendFlags_HasMouseHoveredViewport = 1<<11, // 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. + ImGuiBackendFlags_RendererHasViewports = 1<<12, // Backend Renderer supports multiple viewports. +} ImGuiBackendFlags_; + +// Enumeration for PushStyleColor() / PopStyleColor() +typedef enum +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, // Title bar + ImGuiCol_TitleBgActive, // Title bar when focused + ImGuiCol_TitleBgCollapsed, // Title bar when collapsed + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, // Checkbox tick and RadioButton circle + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, // Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, // Resize grip in lower-right and lower-left corners of windows. + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_TabHovered, // Tab background, when hovered + ImGuiCol_Tab, // Tab background, when tab-bar is focused & tab is unselected + ImGuiCol_TabSelected, // Tab background, when tab-bar is focused & tab is selected + ImGuiCol_TabSelectedOverline, // Tab horizontal overline, when tab-bar is focused & tab is selected + ImGuiCol_TabDimmed, // Tab background, when tab-bar is unfocused & tab is unselected + ImGuiCol_TabDimmedSelected, // Tab background, when tab-bar is unfocused & tab is selected + ImGuiCol_TabDimmedSelectedOverline, //..horizontal overline, when tab-bar is unfocused & tab is selected + ImGuiCol_DockingPreview, // Preview overlay color when about to docking something + ImGuiCol_DockingEmptyBg, // Background color for empty node (e.g. CentralNode with no window docked into it) + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TableHeaderBg, // Table header background + ImGuiCol_TableBorderStrong, // Table outer and header borders (prefer using Alpha=1.0 here) + ImGuiCol_TableBorderLight, // Table inner borders (prefer using Alpha=1.0 here) + ImGuiCol_TableRowBg, // Table row background (even rows) + ImGuiCol_TableRowBgAlt, // Table row background (odd rows) + ImGuiCol_TextSelectedBg, + ImGuiCol_DragDropTarget, // Rectangle highlighting a drop target + ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // Highlight window when using CTRL+TAB + ImGuiCol_NavWindowingDimBg, // Darken/colorize entire screen behind the CTRL+TAB window list, when active + ImGuiCol_ModalWindowDimBg, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_COUNT, + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiCol_TabActive = ImGuiCol_TabSelected, // [renamed in 1.90.9] + ImGuiCol_TabUnfocused = ImGuiCol_TabDimmed, // [renamed in 1.90.9] + ImGuiCol_TabUnfocusedActive = ImGuiCol_TabDimmedSelected, // [renamed in 1.90.9] +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +} ImGuiCol_; + +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// - The enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. +// During initialization or between frames, feel free to just poke into ImGuiStyle directly. +// - Tip: Use your programming IDE navigation facilities on the names in the _second column_ below to find the actual members and their description. +// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments. +// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments. +// - 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. +typedef enum +{ + // Enum name -------------------------- // Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_DisabledAlpha, // float DisabledAlpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_CellPadding, // ImVec2 CellPadding + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_TabRounding, // float TabRounding + ImGuiStyleVar_TabBorderSize, // float TabBorderSize + ImGuiStyleVar_TabBarBorderSize, // float TabBarBorderSize + ImGuiStyleVar_TableAngledHeadersAngle, // float TableAngledHeadersAngle + ImGuiStyleVar_TableAngledHeadersTextAlign, // ImVec2 TableAngledHeadersTextAlign + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_SelectableTextAlign, // ImVec2 SelectableTextAlign + ImGuiStyleVar_SeparatorTextBorderSize, // float SeparatorTextBorderSize + ImGuiStyleVar_SeparatorTextAlign, // ImVec2 SeparatorTextAlign + ImGuiStyleVar_SeparatorTextPadding, // ImVec2 SeparatorTextPadding + ImGuiStyleVar_DockingSeparatorSize, // float DockingSeparatorSize + ImGuiStyleVar_COUNT, +} ImGuiStyleVar_; + +// Flags for InvisibleButton() [extended in imgui_internal.h] +typedef enum +{ + ImGuiButtonFlags_None = 0, + ImGuiButtonFlags_MouseButtonLeft = 1<<0, // React on left mouse button (default) + ImGuiButtonFlags_MouseButtonRight = 1<<1, // React on right mouse button + ImGuiButtonFlags_MouseButtonMiddle = 1<<2, // React on center mouse button + ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle, // [Internal] + //ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft, +} ImGuiButtonFlags_; + +// Flags for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() +typedef enum +{ + ImGuiColorEditFlags_None = 0, + ImGuiColorEditFlags_NoAlpha = 1<<1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1<<2, // // ColorEdit: disable picker when clicking on color square. + ImGuiColorEditFlags_NoOptions = 1<<3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1<<4, // // ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1<<5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview color square). + ImGuiColorEditFlags_NoTooltip = 1<<6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1<<7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1<<8, // // ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead. + ImGuiColorEditFlags_NoDragDrop = 1<<9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. + ImGuiColorEditFlags_NoBorder = 1<<10, // // ColorButton: disable border (which is enforced by default) + + // User Options (right-click on widget to change some of them). + ImGuiColorEditFlags_AlphaBar = 1<<16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1<<17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf = 1<<18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1<<19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_DisplayRGB = 1<<20, // [Display] // ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex. + ImGuiColorEditFlags_DisplayHSV = 1<<21, // [Display] // " + ImGuiColorEditFlags_DisplayHex = 1<<22, // [Display] // " + ImGuiColorEditFlags_Uint8 = 1<<23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1<<24, // [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. + ImGuiColorEditFlags_PickerHueBar = 1<<25, // [Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1<<26, // [Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value. + ImGuiColorEditFlags_InputRGB = 1<<27, // [Input] // ColorEdit, ColorPicker: input and output data in RGB format. + ImGuiColorEditFlags_InputHSV = 1<<28, // [Input] // ColorEdit, ColorPicker: input and output data in HSV format. + + // 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. + ImGuiColorEditFlags_DefaultOptions_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar, + + // [Internal] Masks + ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex, + ImGuiColorEditFlags_DataTypeMask_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float, + ImGuiColorEditFlags_PickerMask_ = ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV, + + // Obsolete names + //ImGuiColorEditFlags_RGB = ImGuiColorEditFlags_DisplayRGB, ImGuiColorEditFlags_HSV = ImGuiColorEditFlags_DisplayHSV, ImGuiColorEditFlags_HEX = ImGuiColorEditFlags_DisplayHex // [renamed in 1.69] +} ImGuiColorEditFlags_; + +// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. +// 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. +// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigDragClickToInputText) +typedef enum +{ + ImGuiSliderFlags_None = 0, + ImGuiSliderFlags_AlwaysClamp = 1<<4, // Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds. + ImGuiSliderFlags_Logarithmic = 1<<5, // Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits. + ImGuiSliderFlags_NoRoundToFormat = 1<<6, // Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits). + ImGuiSliderFlags_NoInput = 1<<7, // Disable CTRL+Click or Enter key allowing to input text directly into the widget. + ImGuiSliderFlags_WrapAround = 1<<8, // Enable wrapping around from max to min and from min to max (only supported by DragXXX() functions for now. + ImGuiSliderFlags_InvalidMask_ = 0x7000000F, // [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. + + // Obsolete names + //ImGuiSliderFlags_ClampOnInput = ImGuiSliderFlags_AlwaysClamp, // [renamed in 1.79] +} ImGuiSliderFlags_; + +// Identify a mouse button. +// Those values are guaranteed to be stable and we frequently use 0/1 directly. Named enums provided for convenience. +typedef enum +{ + ImGuiMouseButton_Left = 0, + ImGuiMouseButton_Right = 1, + ImGuiMouseButton_Middle = 2, + ImGuiMouseButton_COUNT = 5, +} ImGuiMouseButton_; + +// Enumeration for GetMouseCursor() +// User code may request backend to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here +typedef enum +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // (Unused by Dear ImGui functions) + ImGuiMouseCursor_ResizeNS, // When hovering over a horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_Hand, // (Unused by Dear ImGui functions. Use for e.g. hyperlinks) + ImGuiMouseCursor_NotAllowed, // When hovering something with disallowed interaction. Usually a crossed circle. + ImGuiMouseCursor_COUNT, +} ImGuiMouseCursor_; + +// Enumeration for AddMouseSourceEvent() actual source of Mouse Input data. +// Historically we use "Mouse" terminology everywhere to indicate pointer data, e.g. MousePos, IsMousePressed(), io.AddMousePosEvent() +// But that "Mouse" data can come from different source which occasionally may be useful for application to know about. +// You can submit a change of pointer type using io.AddMouseSourceEvent(). +enum // Forward declared enum type ImGuiMouseSource +{ + ImGuiMouseSource_Mouse = 0, // Input is coming from an actual mouse. + ImGuiMouseSource_TouchScreen, // Input is coming from a touch screen (no hovering prior to initial press, less precise initial press aiming, dual-axis wheeling possible). + ImGuiMouseSource_Pen, // Input is coming from a pressure/magnetic pen (often used in conjunction with high-sampling rates). + ImGuiMouseSource_COUNT, +}; + +// Enumeration for ImGui::SetNextWindow***(), SetWindow***(), SetNextItem***() functions +// Represent a condition. +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. +typedef enum +{ + ImGuiCond_None = 0, // No condition (always set the variable), same as _Always + ImGuiCond_Always = 1<<0, // No condition (always set the variable), same as _None + ImGuiCond_Once = 1<<1, // Set the variable once per runtime session (only the first call will succeed) + ImGuiCond_FirstUseEver = 1<<2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1<<3, // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) +} ImGuiCond_; + +//----------------------------------------------------------------------------- +// [SECTION] Tables API flags and structures (ImGuiTableFlags, ImGuiTableColumnFlags, ImGuiTableRowFlags, ImGuiTableBgTarget, ImGuiTableSortSpecs, ImGuiTableColumnSortSpecs) +//----------------------------------------------------------------------------- + +// Flags for ImGui::BeginTable() +// - Important! Sizing policies have complex and subtle side effects, much more so than you would expect. +// Read comments/demos carefully + experiment with live demos to get acquainted with them. +// - The DEFAULT sizing policies are: +// - Default to ImGuiTableFlags_SizingFixedFit if ScrollX is on, or if host window has ImGuiWindowFlags_AlwaysAutoResize. +// - Default to ImGuiTableFlags_SizingStretchSame if ScrollX is off. +// - When ScrollX is off: +// - Table defaults to ImGuiTableFlags_SizingStretchSame -> all Columns defaults to ImGuiTableColumnFlags_WidthStretch with same weight. +// - Columns sizing policy allowed: Stretch (default), Fixed/Auto. +// - Fixed Columns (if any) will generally obtain their requested width (unless the table cannot fit them all). +// - Stretch Columns will share the remaining width according to their respective weight. +// - Mixed Fixed/Stretch columns is possible but has various side-effects on resizing behaviors. +// The typical use of mixing sizing policies is: any number of LEADING Fixed columns, followed by one or two TRAILING Stretch columns. +// (this is because the visible order of columns have subtle but necessary effects on how they react to manual resizing). +// - When ScrollX is on: +// - Table defaults to ImGuiTableFlags_SizingFixedFit -> all Columns defaults to ImGuiTableColumnFlags_WidthFixed +// - Columns sizing policy allowed: Fixed/Auto mostly. +// - Fixed Columns can be enlarged as needed. Table will show a horizontal scrollbar if needed. +// - When using auto-resizing (non-resizable) fixed columns, querying the content width to use item right-alignment e.g. SetNextItemWidth(-FLT_MIN) doesn't make sense, would create a feedback loop. +// - Using Stretch columns OFTEN DOES NOT MAKE SENSE if ScrollX is on, UNLESS you have specified a value for 'inner_width' in BeginTable(). +// If you specify a value for 'inner_width' then effectively the scrolling space is known and Stretch or mixed Fixed/Stretch columns become meaningful again. +// - Read on documentation at the top of imgui_tables.cpp for details. +typedef enum +{ + // Features + ImGuiTableFlags_None = 0, + ImGuiTableFlags_Resizable = 1<<0, // Enable resizing columns. + ImGuiTableFlags_Reorderable = 1<<1, // Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers) + ImGuiTableFlags_Hideable = 1<<2, // Enable hiding/disabling columns in context menu. + ImGuiTableFlags_Sortable = 1<<3, // Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate. + ImGuiTableFlags_NoSavedSettings = 1<<4, // Disable persisting columns order, width and sort settings in the .ini file. + ImGuiTableFlags_ContextMenuInBody = 1<<5, // Right-click on columns body/contents will display table context menu. By default it is available in TableHeadersRow(). + // Decorations + ImGuiTableFlags_RowBg = 1<<6, // Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually) + ImGuiTableFlags_BordersInnerH = 1<<7, // Draw horizontal borders between rows. + ImGuiTableFlags_BordersOuterH = 1<<8, // Draw horizontal borders at the top and bottom. + ImGuiTableFlags_BordersInnerV = 1<<9, // Draw vertical borders between columns. + ImGuiTableFlags_BordersOuterV = 1<<10, // Draw vertical borders on the left and right sides. + ImGuiTableFlags_BordersH = ImGuiTableFlags_BordersInnerH | ImGuiTableFlags_BordersOuterH, // Draw horizontal borders. + ImGuiTableFlags_BordersV = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersOuterV, // Draw vertical borders. + ImGuiTableFlags_BordersInner = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH, // Draw inner borders. + ImGuiTableFlags_BordersOuter = ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH, // Draw outer borders. + ImGuiTableFlags_Borders = ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter, // Draw all borders. + ImGuiTableFlags_NoBordersInBody = 1<<11, // [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style + ImGuiTableFlags_NoBordersInBodyUntilResize = 1<<12, // [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style + // Sizing Policy (read above for defaults) + ImGuiTableFlags_SizingFixedFit = 1<<13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width. + ImGuiTableFlags_SizingFixedSame = 2<<13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible. + ImGuiTableFlags_SizingStretchProp = 3<<13, // Columns default to _WidthStretch with default weights proportional to each columns contents widths. + ImGuiTableFlags_SizingStretchSame = 4<<13, // Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn(). + // Sizing Extra Options + ImGuiTableFlags_NoHostExtendX = 1<<16, // Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollX/ScrollY are disabled and Stretch columns are not used. + ImGuiTableFlags_NoHostExtendY = 1<<17, // Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollX/ScrollY are disabled. Data below the limit will be clipped and not visible. + ImGuiTableFlags_NoKeepColumnsVisible = 1<<18, // Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable. + ImGuiTableFlags_PreciseWidths = 1<<19, // Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth. + // Clipping + ImGuiTableFlags_NoClip = 1<<20, // Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze(). + // Padding + ImGuiTableFlags_PadOuterX = 1<<21, // Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers. + ImGuiTableFlags_NoPadOuterX = 1<<22, // Default if BordersOuterV is off. Disable outermost padding. + ImGuiTableFlags_NoPadInnerX = 1<<23, // Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off). + // Scrolling + ImGuiTableFlags_ScrollX = 1<<24, // Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX. + ImGuiTableFlags_ScrollY = 1<<25, // Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. + // Sorting + ImGuiTableFlags_SortMulti = 1<<26, // Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1). + ImGuiTableFlags_SortTristate = 1<<27, // Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0). + // Miscellaneous + ImGuiTableFlags_HighlightHoveredColumn = 1<<28, // Highlight column headers when hovered (may evolve into a fuller highlight) + + // [Internal] Combinations and masks + ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame, +} ImGuiTableFlags_; + +// Flags for ImGui::TableSetupColumn() +typedef enum +{ + // Input configuration flags + ImGuiTableColumnFlags_None = 0, + ImGuiTableColumnFlags_Disabled = 1<<0, // Overriding/master disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state) + ImGuiTableColumnFlags_DefaultHide = 1<<1, // Default as a hidden/disabled column. + ImGuiTableColumnFlags_DefaultSort = 1<<2, // Default as a sorting column. + ImGuiTableColumnFlags_WidthStretch = 1<<3, // Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp). + ImGuiTableColumnFlags_WidthFixed = 1<<4, // Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable). + ImGuiTableColumnFlags_NoResize = 1<<5, // Disable manual resizing. + ImGuiTableColumnFlags_NoReorder = 1<<6, // Disable manual reordering this column, this will also prevent other columns from crossing over this column. + ImGuiTableColumnFlags_NoHide = 1<<7, // Disable ability to hide/disable this column. + ImGuiTableColumnFlags_NoClip = 1<<8, // Disable clipping for this column (all NoClip columns will render in a same draw command). + ImGuiTableColumnFlags_NoSort = 1<<9, // Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table). + ImGuiTableColumnFlags_NoSortAscending = 1<<10, // Disable ability to sort in the ascending direction. + ImGuiTableColumnFlags_NoSortDescending = 1<<11, // Disable ability to sort in the descending direction. + ImGuiTableColumnFlags_NoHeaderLabel = 1<<12, // 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. + ImGuiTableColumnFlags_NoHeaderWidth = 1<<13, // Disable header text width contribution to automatic column width. + ImGuiTableColumnFlags_PreferSortAscending = 1<<14, // Make the initial sort direction Ascending when first sorting on this column (default). + ImGuiTableColumnFlags_PreferSortDescending = 1<<15, // Make the initial sort direction Descending when first sorting on this column. + ImGuiTableColumnFlags_IndentEnable = 1<<16, // Use current Indent value when entering cell (default for column 0). + ImGuiTableColumnFlags_IndentDisable = 1<<17, // Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored. + ImGuiTableColumnFlags_AngledHeader = 1<<18, // TableHeadersRow() will submit an angled header row for this column. Note this will add an extra row. + + // Output status flags, read-only via TableGetColumnFlags() + ImGuiTableColumnFlags_IsEnabled = 1<<24, // Status: is enabled == not hidden by user/api (referred to as "Hide" in _DefaultHide and _NoHide) flags. + ImGuiTableColumnFlags_IsVisible = 1<<25, // Status: is visible == is enabled AND not clipped by scrolling. + ImGuiTableColumnFlags_IsSorted = 1<<26, // Status: is currently part of the sort specs + ImGuiTableColumnFlags_IsHovered = 1<<27, // Status: is hovered by mouse + + // [Internal] Combinations and masks + ImGuiTableColumnFlags_WidthMask_ = ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed, + ImGuiTableColumnFlags_IndentMask_ = ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable, + ImGuiTableColumnFlags_StatusMask_ = ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered, + ImGuiTableColumnFlags_NoDirectResize_ = 1<<30, // [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge) +} ImGuiTableColumnFlags_; + +// Flags for ImGui::TableNextRow() +typedef enum +{ + ImGuiTableRowFlags_None = 0, + ImGuiTableRowFlags_Headers = 1<<0, // Identify header row (set default background color + width of its contents accounted differently for auto column width) +} ImGuiTableRowFlags_; + +// Enum for ImGui::TableSetBgColor() +// Background colors are rendering in 3 layers: +// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set. +// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set. +// - Layer 2: draw with CellBg color if set. +// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color. +// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows. +// If you set the color of RowBg0 target, your color will override the existing RowBg0 color. +// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color. +typedef enum +{ + ImGuiTableBgTarget_None = 0, + ImGuiTableBgTarget_RowBg0 = 1, // Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used) + ImGuiTableBgTarget_RowBg1 = 2, // Set row background color 1 (generally used for selection marking) + ImGuiTableBgTarget_CellBg = 3, // Set cell background color (top-most color) +} ImGuiTableBgTarget_; + +// Sorting specifications for a table (often handling sort specs for a single column, occasionally more) +// Obtained by calling TableGetSortSpecs(). +// When 'SpecsDirty == true' you can sort your data. It will be true with sorting specs have changed since last call, or the first time. +// Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame! +typedef struct ImGuiTableSortSpecs_t +{ + const ImGuiTableColumnSortSpecs* Specs; // Pointer to sort spec array. + int SpecsCount; // Sort spec count. Most often 1. May be > 1 when ImGuiTableFlags_SortMulti is enabled. May be == 0 when ImGuiTableFlags_SortTristate is enabled. + bool SpecsDirty; // Set to true when specs have changed since last time! Use this to sort again, then clear the flag. +} ImGuiTableSortSpecs; + +// Sorting specification for one column of a table (sizeof == 12 bytes) +typedef struct ImGuiTableColumnSortSpecs_t +{ + ImGuiID ColumnUserID; // User id of the column (if specified by a TableSetupColumn() call) + ImS16 ColumnIndex; // Index of the column + ImS16 SortOrder; // Index within parent ImGuiTableSortSpecs (always stored in order starting from 0, tables sorted on a single criteria will always have a 0 here) + ImGuiSortDirection SortDirection; // ImGuiSortDirection_Ascending or ImGuiSortDirection_Descending +} ImGuiTableColumnSortSpecs; + +//----------------------------------------------------------------------------- +// [SECTION] Helpers: Memory allocations macros, ImVector<> +//----------------------------------------------------------------------------- + +// Extra helpers for C applications +CIMGUI_API void ImVector_Construct(void* vector); // Construct a zero-size ImVector<> (of any type). This is primarily useful when calling ImFontGlyphRangesBuilder_BuildRanges() +CIMGUI_API void ImVector_Destruct(void* vector); // Destruct an ImVector<> (of any type). Important: Frees the vector memory but does not call destructors on contained objects (if they have them) + +#if defined(IMGUI_HAS_IMSTR) +#if IMGUI_HAS_IMSTR +CIMGUI_API ImStr ImStr_FromCharStr(const char* b); // Build an ImStr from a regular const char* (no data is copied, so you need to make sure the original char* isn't altered as long as you are using the ImStr). +#endif // #if IMGUI_HAS_IMSTR +#endif // #if defined(IMGUI_HAS_IMSTR) + +//----------------------------------------------------------------------------- +// IM_MALLOC(), IM_FREE(), IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a custom parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. +//----------------------------------------------------------------------------- + +#define CIM_ALLOC(_SIZE) ImGui_MemAlloc(_SIZE) +#define CIM_FREE(_PTR) ImGui_MemFree(_PTR) + +//----------------------------------------------------------------------------- +// ImVector<> +// Lightweight std::vector<>-like class to avoid dragging dependencies (also, some implementations of STL with debug enabled are absurdly slow, we bypass it so our code runs fast in debug). +//----------------------------------------------------------------------------- +// - You generally do NOT need to care or use this ever. But we need to make it available in imgui.h because some of our public structures are relying on it. +// - We use std-like naming convention here, which is a little unusual for this codebase. +// - Important: clear() frees memory, resize(0) keep the allocated buffer. We use resize(0) a lot to intentionally recycle allocated buffers across frames and amortize our costs. +// - Important: our implementation does NOT call C++ constructors/destructors, we treat everything as raw data! This is intentional but be extra mindful of that, +// Do NOT use this class as a std::vector replacement in your own code! Many of the structures used by dear imgui can be safely initialized by a zero-memset. +//----------------------------------------------------------------------------- + +IM_MSVC_RUNTIME_CHECKS_OFF + +// Instantiation of ImVector + +typedef struct ImVector_ImWchar_t +{ + int Size; + int Capacity; + ImWchar* Data; +} ImVector_ImWchar; + +// Instantiation of ImVector + +typedef struct ImVector_ImGuiTextFilter_ImGuiTextRange_t +{ + int Size; + int Capacity; + ImGuiTextFilter_ImGuiTextRange* Data; +} ImVector_ImGuiTextFilter_ImGuiTextRange; + +// Instantiation of ImVector + +typedef struct ImVector_char_t +{ + int Size; + int Capacity; + char* Data; +} ImVector_char; + +// Instantiation of ImVector + +typedef struct ImVector_ImGuiStoragePair_t +{ + int Size; + int Capacity; + ImGuiStoragePair* Data; +} ImVector_ImGuiStoragePair; + +// Instantiation of ImVector + +typedef struct ImVector_ImDrawCmd_t +{ + int Size; + int Capacity; + ImDrawCmd* Data; +} ImVector_ImDrawCmd; + +// Instantiation of ImVector + +typedef struct ImVector_ImDrawIdx_t +{ + int Size; + int Capacity; + ImDrawIdx* Data; +} ImVector_ImDrawIdx; + +// Instantiation of ImVector + +typedef struct ImVector_ImDrawChannel_t +{ + int Size; + int Capacity; + ImDrawChannel* Data; +} ImVector_ImDrawChannel; + +// Instantiation of ImVector + +typedef struct ImVector_ImDrawVert_t +{ + int Size; + int Capacity; + ImDrawVert* Data; +} ImVector_ImDrawVert; + +// Instantiation of ImVector + +typedef struct ImVector_ImVec2_t +{ + int Size; + int Capacity; + ImVec2* Data; +} ImVector_ImVec2; + +// Instantiation of ImVector + +typedef struct ImVector_ImVec4_t +{ + int Size; + int Capacity; + ImVec4* Data; +} ImVector_ImVec4; + +// Instantiation of ImVector + +typedef struct ImVector_ImTextureID_t +{ + int Size; + int Capacity; + ImTextureID* Data; +} ImVector_ImTextureID; + +// Instantiation of ImVector + +typedef struct ImVector_ImDrawListPtr_t +{ + int Size; + int Capacity; + ImDrawList** Data; +} ImVector_ImDrawListPtr; + +// Instantiation of ImVector + +typedef struct ImVector_ImU32_t +{ + int Size; + int Capacity; + ImU32* Data; +} ImVector_ImU32; + +// Instantiation of ImVector + +typedef struct ImVector_ImFontPtr_t +{ + int Size; + int Capacity; + ImFont** Data; +} ImVector_ImFontPtr; + +// Instantiation of ImVector + +typedef struct ImVector_ImFontAtlasCustomRect_t +{ + int Size; + int Capacity; + ImFontAtlasCustomRect* Data; +} ImVector_ImFontAtlasCustomRect; + +// Instantiation of ImVector + +typedef struct ImVector_ImFontConfig_t +{ + int Size; + int Capacity; + ImFontConfig* Data; +} ImVector_ImFontConfig; + +// Instantiation of ImVector + +typedef struct ImVector_float_t +{ + int Size; + int Capacity; + float* Data; +} ImVector_float; + +// Instantiation of ImVector + +typedef struct ImVector_ImFontGlyph_t +{ + int Size; + int Capacity; + ImFontGlyph* Data; +} ImVector_ImFontGlyph; + +// Instantiation of ImVector + +typedef struct ImVector_ImGuiPlatformMonitor_t +{ + int Size; + int Capacity; + ImGuiPlatformMonitor* Data; +} ImVector_ImGuiPlatformMonitor; + +// Instantiation of ImVector + +typedef struct ImVector_ImGuiViewportPtr_t +{ + int Size; + int Capacity; + ImGuiViewport** Data; +} ImVector_ImGuiViewportPtr; +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiStyle +//----------------------------------------------------------------------------- +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, +// and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. +//----------------------------------------------------------------------------- + +typedef struct ImGuiStyle_t +{ + float Alpha; // Global alpha applies to everything in Dear ImGui. + float DisabledAlpha; // Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constrain individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + ImGuiDir WindowMenuButtonPosition; // Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 CellPadding; // Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered between different rows. + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1). + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + float LogSliderDeadzone; // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero. + float TabRounding; // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs. + float TabBorderSize; // Thickness of border around tabs. + float TabMinWidthForCloseButton; // Minimum width for close button to appear on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. + float TabBarBorderSize; // Thickness of tab-bar separator, which takes on the tab active color to denote focus. + float TableAngledHeadersAngle; // Angle of angled headers (supported values range from -50.0f degrees to +50.0f degrees). + ImVec2 TableAngledHeadersTextAlign; // Alignment of angled headers within the cell + ImGuiDir ColorButtonPosition; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered). + ImVec2 SelectableTextAlign; // Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. + float SeparatorTextBorderSize; // Thickkness of border in SeparatorText() + ImVec2 SeparatorTextAlign; // Alignment of text within the separator. Defaults to (0.0f, 0.5f) (left aligned, center). + ImVec2 SeparatorTextPadding; // Horizontal offset of text from each edge of the separator + spacing on other axis. Generally small values. .y is recommended to be == FramePadding.y. + ImVec2 DisplayWindowPadding; // Apply to regular windows: amount which we enforce to keep visible when moving near edges of your screen. + ImVec2 DisplaySafeAreaPadding; // Apply to every windows, menus, popups, tooltips: amount where we avoid displaying contents. Adjust if you cannot see the edges of your screen (e.g. on a TV where scaling has not been configured). + float DockingSeparatorSize; // Thickness of resizing border between docked windows + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). We apply per-monitor DPI scaling over this scale. May be removed later. + bool AntiAliasedLines; // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). + bool AntiAliasedLinesUseTex; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). Latched at the beginning of the frame (copied to ImDrawList). + bool AntiAliasedFill; // Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + float CircleTessellationMaxError; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. + ImVec4 Colors[ImGuiCol_COUNT]; + + // Behaviors + // (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO) + float HoverStationaryDelay; // Delay for IsItemHovered(ImGuiHoveredFlags_Stationary). Time required to consider mouse stationary. + float HoverDelayShort; // Delay for IsItemHovered(ImGuiHoveredFlags_DelayShort). Usually used along with HoverStationaryDelay. + float HoverDelayNormal; // Delay for IsItemHovered(ImGuiHoveredFlags_DelayNormal). " + ImGuiHoveredFlags HoverFlagsForTooltipMouse; // Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using mouse. + ImGuiHoveredFlags HoverFlagsForTooltipNav; // Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using keyboard/gamepad. +} ImGuiStyle; +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self, float scale_factor); + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiIO +//----------------------------------------------------------------------------- +// Communicate most settings and inputs/outputs to Dear ImGui using this structure. +// Access via ImGui::GetIO(). Read 'Programmer guide' section in .cpp file for general usage. +// It is generally expected that: +// - initialization: backends and user code writes to ImGuiIO. +// - main loop: backends writes to ImGuiIO, user code and imgui code reads from ImGuiIO. +//----------------------------------------------------------------------------- + +// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions. +// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration. +typedef struct ImGuiKeyData_t +{ + bool Down; // True for if key is down + float DownDuration; // Duration the key has been down (<0.0f: not pressed, 0.0f: just pressed, >0.0f: time held) + float DownDurationPrev; // Last frame duration the key has been down + float AnalogValue; // 0.0f..1.0f for gamepad values +} ImGuiKeyData; + +typedef struct ImGuiIO_t +{ + //------------------------------------------------------------------ + // Configuration // Default value + //------------------------------------------------------------------ + + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // See ImGuiBackendFlags_ enum. Set by backend (imgui_impl_xxx files or custom backend) to communicate features supported by the backend. + ImVec2 DisplaySize; // // Main display size, in pixels (generally == GetMainViewport()->Size). May change every frame. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. May change every frame. + float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file (important: default "imgui.ini" is relative to current working dir!). Set NULL to disable automatic .ini loading/saving or if you want to manually call LoadIniSettingsXXX() / SaveIniSettingsXXX() functions. + const char* LogFilename; // = "imgui_log.txt"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + void* UserData; // = NULL // Store your own data. + + ImFontAtlas* Fonts; // // Font atlas: load, rasterize and pack one or more fonts into a single texture. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1, 1) // For retina display or other situations where window coordinates are different from framebuffer coordinates. This generally ends up in ImDrawData::FramebufferScale. + + // Docking options (when ImGuiConfigFlags_DockingEnable is set) + bool ConfigDockingNoSplit; // = false // Simplified docking mode: disable window splitting, so docking is limited to merging multiple windows together into tab-bars. + bool ConfigDockingWithShift; // = false // Enable docking with holding Shift key (reduce visual noise, allows dropping in wider space) + bool ConfigDockingAlwaysTabBar; // = false // [BETA] [FIXME: This currently creates regression with auto-sizing and general overhead] Make every single floating window display within a docking node. + bool ConfigDockingTransparentPayload; // = false // [BETA] Make window or viewport transparent when docking and only display docking boxes on the target viewport. Useful if rendering of multiple viewport cannot be synced. Best used with ConfigViewportsNoAutoMerge. + + // Viewport options (when ImGuiConfigFlags_ViewportsEnable is set) + bool ConfigViewportsNoAutoMerge; // = false; // Set to make all floating imgui windows always create their own viewport. Otherwise, they are merged into the main host viewports when overlapping it. May also set ImGuiViewportFlags_NoAutoMerge on individual viewport. + bool ConfigViewportsNoTaskBarIcon; // = false // Disable default OS task bar icon flag for secondary viewports. When a viewport doesn't want a task bar icon, ImGuiViewportFlags_NoTaskBarIcon will be set on it. + bool ConfigViewportsNoDecoration; // = true // Disable default OS window decoration flag for secondary viewports. When a viewport doesn't want window decorations, ImGuiViewportFlags_NoDecoration will be set on it. Enabling decoration can create subsequent issues at OS levels (e.g. minimum window size). + bool ConfigViewportsNoDefaultParent; // = false // Disable default OS parenting to main viewport for secondary viewports. By default, viewports are marked with ParentViewportId = , expecting the platform backend to setup a parent/child relationship between the OS windows (some backend may ignore this). Set to true if you want the default to be 0, then all viewports will be top-level OS windows. + + // Miscellaneous options + bool MouseDrawCursor; // = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by backend implementations. + bool ConfigMacOSXBehaviors; // = defined(__APPLE__) // Swap Cmd<>Ctrl keys + OS X style text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl. + bool ConfigInputTrickleEventQueue; // = true // Enable input queue trickling: some types of events submitted during the same frame (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates. + bool ConfigInputTextCursorBlink; // = true // Enable blinking cursor (optional as some users consider it to be distracting). + bool ConfigInputTextEnterKeepActive; // = false // [BETA] Pressing Enter will keep item active and select contents (single-line only). + bool ConfigDragClickToInputText; // = false // [BETA] Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). Not desirable on devices without a keyboard. + bool ConfigWindowsResizeFromEdges; // = true // Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag) + bool ConfigWindowsMoveFromTitleBarOnly; // = false // Enable allowing to move windows only when clicking on their title bar. Does not apply to windows without a title bar. + float ConfigMemoryCompactTimer; // = 60.0f // Timer (in seconds) to free transient windows/tables memory buffers when unused. Set to -1.0f to disable. + + // Inputs Behaviors + // (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle) + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + float KeyRepeatDelay; // = 0.275f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + + //------------------------------------------------------------------ + // Debug options + //------------------------------------------------------------------ + + // Option to enable various debug tools showing buttons that will call the IM_DEBUG_BREAK() macro. + // - The Item Picker tool will be available regardless of this being enabled, in order to maximize its discoverability. + // - Requires a debugger being attached, otherwise IM_DEBUG_BREAK() options will appear to crash your application. + // e.g. io.ConfigDebugIsDebuggerPresent = ::IsDebuggerPresent() on Win32, or refer to ImOsIsDebuggerPresent() imgui_test_engine/imgui_te_utils.cpp for a Unix compatible version). + bool ConfigDebugIsDebuggerPresent; // = false // Enable various tools calling IM_DEBUG_BREAK(). + + // Tools to test correct Begin/End and BeginChild/EndChild behaviors. + // - Presently Begin()/End() and BeginChild()/EndChild() needs to ALWAYS be called in tandem, regardless of return value of BeginXXX() + // - This is inconsistent with other BeginXXX functions and create confusion for many users. + // - We expect to update the API eventually. In the meanwhile we provide tools to facilitate checking user-code behavior. + bool ConfigDebugBeginReturnValueOnce; // = false // First-time calls to Begin()/BeginChild() will return false. NEEDS TO BE SET AT APPLICATION BOOT TIME if you don't want to miss windows. + bool ConfigDebugBeginReturnValueLoop; // = false // Some calls to Begin()/BeginChild() will return false. Will cycle through window depths then repeat. Suggested use: add "io.ConfigDebugBeginReturnValue = io.KeyShift" in your main loop then occasionally press SHIFT. Windows should be flickering while running. + + // Option to deactivate io.AddFocusEvent(false) handling. + // - May facilitate interactions with a debugger when focus loss leads to clearing inputs data. + // - Backends may have other side-effects on focus loss, so this will reduce side-effects but not necessary remove all of them. + bool ConfigDebugIgnoreFocusLoss; // = false // Ignore io.AddFocusEvent(false), consequently not calling io.ClearInputKeys()/io.ClearInputMouse() in input processing. + + // Option to audit .ini data + bool ConfigDebugIniSettings; // = false // Save .ini data with extra comments (particularly helpful for Docking, but makes saving slower) + + //------------------------------------------------------------------ + // Platform Functions + // (the imgui_impl_xxxx backend files are setting those up for you) + //------------------------------------------------------------------ + + // Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff. + const char* BackendPlatformName; // = NULL + const char* BackendRendererName; // = NULL + void* BackendPlatformUserData; // = NULL // User data for platform backend + void* BackendRendererUserData; // = NULL // User data for renderer backend + void* BackendLanguageUserData; // = NULL // User data for non C++ programming language backend + + // Optional: Access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + + // Optional: Notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME on Windows) + // (default to use native imm32 api on Windows) + void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data); + + // Optional: Platform locale + ImWchar PlatformLocaleDecimalPoint; // '.' // [Experimental] Configure decimal point e.g. '.' or ',' useful for some languages (e.g. German), generally pulled from *localeconv()->decimal_point + + //------------------------------------------------------------------ + // Input - Call before calling NewFrame() + //------------------------------------------------------------------ + + //------------------------------------------------------------------ + // Output - Updated by NewFrame() or EndFrame()/Render() + // (when reading from the io.WantCaptureMouse, io.WantCaptureKeyboard flags to dispatch your inputs, it is + // generally easier and more correct to use their state BEFORE calling NewFrame(). See FAQ for details!) + //------------------------------------------------------------------ + + bool WantCaptureMouse; // Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving! + bool NavActive; // Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Estimate of application framerate (rolling average over 60 frames, based on io.DeltaTime), in frame per second. Solely for convenience. Slow applications may not want to use a moving average or may want to reset underlying buffers occasionally. + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsRenderWindows; // Number of visible windows + int MetricsActiveWindows; // Number of active windows + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + + //------------------------------------------------------------------ + // [Internal] Dear ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + + ImGuiContext* Ctx; // Parent UI context (needs to be set explicitly by parent). + + // Main Input State + // (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead) + // (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere) + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Other buttons allow us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. >0 scrolls Up, <0 scrolls Down. Hold SHIFT to turn vertical scroll into horizontal scroll. + float MouseWheelH; // Mouse wheel Horizontal. >0 scrolls Left, <0 scrolls Right. Most users don't have a mouse with a horizontal wheel, may not be filled by all backends. + ImGuiMouseSource MouseSource; // Mouse actual input peripheral (Mouse/TouchScreen/Pen). + ImGuiID MouseHoveredViewport; // (Optional) Modify using io.AddMouseViewportEvent(). With multi-viewports: viewport the OS mouse is hovering. If possible _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag is much better (few backends can handle that). Set io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport if you can provide this info. If you don't imgui will infer the value using the rectangles and last focused time of the viewports it knows about (ignoring other OS windows). + bool KeyCtrl; // Keyboard modifier down: Control + bool KeyShift; // Keyboard modifier down: Shift + bool KeyAlt; // Keyboard modifier down: Alt + bool KeySuper; // Keyboard modifier down: Cmd/Super/Windows + + // Other state maintained from data above + IO function calls + ImGuiKeyChord KeyMods; // Key mods flags (any of ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Alt/ImGuiMod_Super flags, same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags. Read-only, updated by NewFrame() + ImGuiKeyData KeysData[ImGuiKey_KeysData_SIZE]; // Key state for all known keys. Use IsKeyXXX() functions to access this. + bool WantCaptureMouseUnlessPopupClose; // Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose == false) when a click over void is expected to close a popup. + ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + double MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0) + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2) + ImU16 MouseClickedCount[5]; // == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc. when going from !Down to Down + ImU16 MouseClickedLastCount[5]; // Count successive number of clicks. Stays valid after mouse release. Reset after another click is done. + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request mouse capture from the application if click started outside ImGui bounds. + bool MouseDownOwnedUnlessPopupClose[5]; // Track if button was clicked inside a dear imgui window. + bool MouseWheelRequestAxisSwap; // On a non-Mac system, holding SHIFT requests WheelY to perform the equivalent of a WheelX event. On a Mac system this is already enforced by the system. + bool MouseCtrlLeftAsRightClick; // (OSX) Set to true when the current click was a ctrl-click that spawned a simulated right click + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point (used for moving thresholds) + float PenPressure; // Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui. + bool AppFocusLost; // Only modify via AddFocusEvent() + bool AppAcceptingEvents; // Only modify via SetAppAcceptingEvents() + ImS8 BackendUsingLegacyKeyArrays; // -1: unknown, 0: using AddKeyEvent(), 1: using legacy io.KeysDown[] + bool BackendUsingLegacyNavInputArray; // 0: using AddKeyAnalogEvent(), 1: writing to legacy io.NavInputs[] directly + ImWchar16 InputQueueSurrogate; // For AddInputCharacterUTF16() + ImVector_ImWchar InputQueueCharacters; // Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper. + + // Legacy: before 1.87, we required backend to fill io.KeyMap[] (imgui->native map) during initialization and io.KeysDown[] (native indices) every frame. + // This is still temporarily supported as a legacy feature. However the new preferred scheme is for backend to call io.AddKeyEvent(). + // Old (<1.87): ImGui::IsKeyPressed(ImGui::GetIO().KeyMap[ImGuiKey_Space]) --> New (1.87+) ImGui::IsKeyPressed(ImGuiKey_Space) +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + int KeyMap[ImGuiKey_COUNT]; // [LEGACY] Input: map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. The first 512 are now unused and should be kept zero. Legacy backend will write into KeyMap[] using ImGuiKey_ indices which are always >512. + bool KeysDown[ImGuiKey_COUNT]; // [LEGACY] Input: Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). This used to be [512] sized. It is now ImGuiKey_COUNT to allow legacy io.KeysDown[GetKeyIndex(...)] to work without an overflow. + float NavInputs[ImGuiNavInput_COUNT]; // [LEGACY] Since 1.88, NavInputs[] was removed. Backends from 1.60 to 1.86 won't build. Feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums. + //void* ImeWindowHandle; // [Obsoleted in 1.87] Set ImGuiViewport::PlatformHandleRaw instead. Set this to your HWND to get automatic IME cursor positioning. +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_KEYIO +} ImGuiIO; +// Input Functions +CIMGUI_API void ImGuiIO_AddKeyEvent(ImGuiIO* self, ImGuiKey key, bool down); // Queue a new key down/up event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character) +CIMGUI_API void ImGuiIO_AddKeyAnalogEvent(ImGuiIO* self, ImGuiKey key, bool down, float v); // Queue a new key down/up event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend. +CIMGUI_API void ImGuiIO_AddMousePosEvent(ImGuiIO* self, float x, float y); // Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered) +CIMGUI_API void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self, int button, bool down); // Queue a mouse button change +CIMGUI_API void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self, float wheel_x, float wheel_y); // Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left. +CIMGUI_API void ImGuiIO_AddMouseSourceEvent(ImGuiIO* self, ImGuiMouseSource source); // Queue a mouse source change (Mouse/TouchScreen/Pen) +CIMGUI_API void ImGuiIO_AddMouseViewportEvent(ImGuiIO* self, ImGuiID id); // Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support). +CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self, bool focused); // Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window) +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self, unsigned int c); // Queue a new character input +CIMGUI_API void ImGuiIO_AddInputCharacterUTF16(ImGuiIO* self, ImWchar16 c); // Queue a new character input from a UTF-16 character, it can be a surrogate +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self, const char* str); // Queue a new characters input from a UTF-8 string +CIMGUI_API void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self, ImGuiKey key, int native_keycode, int native_scancode); // Implied native_legacy_index = -1 +CIMGUI_API void ImGuiIO_SetKeyEventNativeDataEx(ImGuiIO* self, ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index /* = -1 */); // [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode. +CIMGUI_API void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self, bool accepting_events); // Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. +CIMGUI_API void ImGuiIO_ClearEventsQueue(ImGuiIO* self); // Clear all incoming events. +CIMGUI_API void ImGuiIO_ClearInputKeys(ImGuiIO* self); // Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. +CIMGUI_API void ImGuiIO_ClearInputMouse(ImGuiIO* self); // Clear current mouse state. +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // [Obsoleted in 1.89.8] Clear the current frame text input buffer. Now included within ClearInputKeys(). +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +//----------------------------------------------------------------------------- +// [SECTION] Misc data structures (ImGuiInputTextCallbackData, ImGuiSizeCallbackData, ImGuiPayload) +//----------------------------------------------------------------------------- + +// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used. +// The callback function should return 0 by default. +// Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details) +// - 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) +// - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration +// - ImGuiInputTextFlags_CallbackCompletion: Callback on pressing TAB +// - ImGuiInputTextFlags_CallbackHistory: Callback on pressing Up/Down arrows +// - ImGuiInputTextFlags_CallbackCharFilter: Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard. +// - ImGuiInputTextFlags_CallbackResize: Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. +typedef struct ImGuiInputTextCallbackData_t +{ + ImGuiContext* Ctx; // Parent UI context + ImGuiInputTextFlags EventFlag; // One ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + + // Arguments for the different callback events + // - During Resize callback, Buf will be same as your input buffer. + // - However, during Completion/History/Always callback, Buf always points to our own internal data (it is not the same as your buffer)! Changes to it will be reflected into your own buffer shortly after the callback. + // - To modify the text buffer in a callback, prefer using the InsertChars() / DeleteChars() function. InsertChars() will take care of calling the resize callback if necessary. + // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state. + ImWchar EventChar; // Character input // Read-write // [CharFilter] Replace character with another one, or set to zero to drop. return 1 is equivalent to setting EventChar=0; + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only // [Completion,History] + char* Buf; // Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer! + int BufTextLen; // Text length (in bytes) // Read-write // [Resize,Completion,History,Always] Exclude zero-terminator storage. In C land: == strlen(some_text), in C++ land: string.length() + int BufSize; // Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1 + bool BufDirty; // Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always] + int CursorPos; // // Read-write // [Completion,History,Always] + int SelectionStart; // // Read-write // [Completion,History,Always] == to SelectionEnd when no selection) + int SelectionEnd; // // Read-write // [Completion,History,Always] +} ImGuiInputTextCallbackData; +CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self, int pos, int bytes_count); +CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self, int pos, const char* text, const char* text_end /* = NULL */); +CIMGUI_API void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData* self); +CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self); +CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(const ImGuiInputTextCallbackData* self); + +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. +typedef struct ImGuiSizeCallbackData_t +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>). + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +} ImGuiSizeCallbackData; + +// [ALPHA] Rarely used / very advanced uses only. Use with SetNextWindowClass() and DockSpace() functions. +// Important: the content of this class is still highly WIP and likely to change and be refactored +// before we stabilize Docking features. Please be mindful if using this. +// Provide hints: +// - To the platform backend via altered viewport flags (enable/disable OS decoration, OS task bar icons, etc.) +// - To the platform backend for OS level parent/child relationships of viewport. +// - To the docking system for various options and filtering. +typedef struct ImGuiWindowClass_t +{ + ImGuiID ClassId; // User data. 0 = Default class (unclassed). Windows of different classes cannot be docked with each others. + ImGuiID ParentViewportId; // Hint for the platform backend. -1: use default. 0: request platform backend to not parent the platform. != 0: request platform backend to create a parent<>child relationship between the platform windows. Not conforming backends are free to e.g. parent every viewport to the main viewport or not. + ImGuiID FocusRouteParentWindowId; // ID of parent window for shortcut focus route evaluation, e.g. Shortcut() call from Parent Window will succeed when this window is focused. + ImGuiViewportFlags ViewportFlagsOverrideSet; // Viewport flags to set when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis. + ImGuiViewportFlags ViewportFlagsOverrideClear; // Viewport flags to clear when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis. + ImGuiTabItemFlags TabItemFlagsOverrideSet; // [EXPERIMENTAL] TabItem flags to set when a window of this class gets submitted into a dock node tab bar. May use with ImGuiTabItemFlags_Leading or ImGuiTabItemFlags_Trailing. + ImGuiDockNodeFlags DockNodeFlagsOverrideSet; // [EXPERIMENTAL] Dock node flags to set when a window of this class is hosted by a dock node (it doesn't have to be selected!) + bool DockingAlwaysTabBar; // Set to true to enforce single floating windows of this class always having their own docking node (equivalent of setting the global io.ConfigDockingAlwaysTabBar) + bool DockingAllowUnclassed; // Set to true to allow windows of this class to be docked/merged with an unclassed window. // FIXME-DOCK: Move to DockNodeFlags override? +} ImGuiWindowClass; + +// Data payload for Drag and Drop operations: AcceptDragDropPayload(), GetDragDropPayload() +typedef struct ImGuiPayload_t +{ + // Members + void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. +} ImGuiPayload; +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(const ImGuiPayload* self, const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(const ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(const ImGuiPayload* self); + +//----------------------------------------------------------------------------- +// [SECTION] Helpers (ImGuiOnceUponAFrame, ImGuiTextFilter, ImGuiTextBuffer, ImGuiStorage, ImGuiListClipper, Math Operators, ImColor) +//----------------------------------------------------------------------------- + +// Helper: Unicode defines +#define IM_UNICODE_CODEPOINT_INVALID 0xFFFD // Invalid Unicode code point (standard value). +#ifdef IMGUI_USE_WCHAR32 +#define IM_UNICODE_CODEPOINT_MAX 0x10FFFF // Maximum Unicode code point supported by this build. +#else +#define IM_UNICODE_CODEPOINT_MAX 0xFFFF // Maximum Unicode code point supported by this build. +#endif // #ifdef IMGUI_USE_WCHAR32 + +// [Internal] +typedef struct ImGuiTextFilter_ImGuiTextRange_t +{ + const char* b; + const char* e; +} ImGuiTextFilter_ImGuiTextRange; +CIMGUI_API bool ImGuiTextFilter_ImGuiTextRange_empty(const ImGuiTextFilter_ImGuiTextRange* self); +CIMGUI_API void ImGuiTextFilter_ImGuiTextRange_split(const ImGuiTextFilter_ImGuiTextRange* self, char separator, ImVector_ImGuiTextFilter_ImGuiTextRange* out); +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +typedef struct ImGuiTextFilter_t +{ + char InputBuf[256]; + ImVector_ImGuiTextFilter_ImGuiTextRange Filters; + int CountGrep; +} ImGuiTextFilter; +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self, const char* label /* = "Filter (inc,-exc)" */, float width /* = 0.0f */); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_PassFilter(const ImGuiTextFilter* self, const char* text, const char* text_end /* = NULL */); +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self); +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self); +CIMGUI_API bool ImGuiTextFilter_IsActive(const ImGuiTextFilter* self); + +// Helper: Growable text buffer for logging/accumulating text +// (this could be called 'ImGuiTextBuilder' / 'ImGuiStringBuilder') +typedef struct ImGuiTextBuffer_t +{ + ImVector_char Buf; +} ImGuiTextBuffer; +CIMGUI_API const char* ImGuiTextBuffer_begin(const ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(const ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API int ImGuiTextBuffer_size(const ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(const ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self, int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(const ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_append(ImGuiTextBuffer* self, const char* str, const char* str_end /* = NULL */); +CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self, const char* fmt, ...) IM_FMTARGS(2); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self, const char* fmt, va_list args) IM_FMTLIST(2); + +// [Internal] Key+Value for ImGuiStorage +typedef struct ImGuiStoragePair_t +{ + ImGuiID key; + union + { + int val_i; + float val_f; + void* val_p; + }; +} ImGuiStoragePair; + +// Helper: Key->Value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. +typedef struct ImGuiStorage_t +{ + // [Internal] + ImVector_ImGuiStoragePair Data; +} ImGuiStorage; +// - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) +// - Set***() functions find pair, insertion on demand if missing. +// - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(const ImGuiStorage* self, ImGuiID key, int default_val /* = 0 */); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self, ImGuiID key, int val); +CIMGUI_API bool ImGuiStorage_GetBool(const ImGuiStorage* self, ImGuiID key, bool default_val /* = false */); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self, ImGuiID key, bool val); +CIMGUI_API float ImGuiStorage_GetFloat(const ImGuiStorage* self, ImGuiID key, float default_val /* = 0.0f */); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self, ImGuiID key, float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(const ImGuiStorage* self, ImGuiID key); // default_val is NULL +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self, ImGuiID key, void* val); +// - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. +// - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. +// - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) +// float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self, ImGuiID key, int default_val /* = 0 */); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self, ImGuiID key, bool default_val /* = false */); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self, ImGuiID key, float default_val /* = 0.0f */); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self, ImGuiID key, void* default_val /* = NULL */); +// Advanced: for quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); +// Obsolete: use on your own storage if you know only integer are being stored (open/close all tree nodes) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self, int val); + +// Helper: Manually clip large list of items. +// If you have lots evenly spaced items and you have random access to the list, you can perform coarse +// clipping based on visibility to only submit items that are in view. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally +// fetching/submitting your own data incurs additional cost. Coarse clipping using ImGuiListClipper allows you to easily +// scale using lists with tens of thousands of items without a problem) +// Usage: +// ImGuiListClipper clipper; +// clipper.Begin(1000); // We have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number %d", i); +// Generally what happens is: +// - Clipper lets you process the first element (DisplayStart = 0, DisplayEnd = 1) regardless of it being visible or not. +// - User code submit that one element. +// - Clipper can measure the height of the first element +// - Clipper calculate the actual range of elements to display based on the current clipping rectangle, position the cursor before the first visible element. +// - User code submit visible elements. +// - The clipper also handles various subtleties related to keyboard/gamepad navigation, wrapping etc. +typedef struct ImGuiListClipper_t +{ + ImGuiContext* Ctx; // Parent UI context + int DisplayStart; // First item to display, updated by each call to Step() + int DisplayEnd; // End of items to display (exclusive) + int ItemsCount; // [Internal] Number of items + float ItemsHeight; // [Internal] Height of item after a first step and item submission can calculate it + float StartPosY; // [Internal] Cursor position at the time of Begin() or after table frozen rows are all processed + void* TempData; // [Internal] Internal data +} ImGuiListClipper; +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self, int items_count, float items_height /* = -1.0f */); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +// Call IncludeItemByIndex() or IncludeItemsByIndex() *BEFORE* first call to Step() if you need a range of items to not be clipped, regardless of their visibility. +// (Due to alignment / padding of certain items it is possible that an extra item may be included on either end of the display range). +CIMGUI_API void ImGuiListClipper_IncludeItemByIndex(ImGuiListClipper* self, int item_index); +CIMGUI_API void ImGuiListClipper_IncludeItemsByIndex(ImGuiListClipper* self, int item_begin, int item_end); // item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped. +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +CIMGUI_API void ImGuiListClipper_IncludeRangeByIndices(ImGuiListClipper* self, int item_begin, int item_end); // [renamed in 1.89.9] +CIMGUI_API void ImGuiListClipper_ForceDisplayRangeByIndices(ImGuiListClipper* self, int item_begin, int item_end); // [renamed in 1.89.6] +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +// Helpers: ImVec2/ImVec4 operators +// - It is important that we are keeping those disabled by default so they don't leak in user space. +// - This is in order to allow user enabling implicit cast operators between ImVec2/ImVec4 and their own types (using IM_VEC2_CLASS_EXTRA in imconfig.h) +// - You can use '#define IMGUI_DEFINE_MATH_OPERATORS' to import our operators, provided as a courtesy. +#ifdef IMGUI_DEFINE_MATH_OPERATORS +#define IMGUI_DEFINE_MATH_OPERATORS_IMPLEMENTED +IM_MSVC_RUNTIME_CHECKS_OFF +IM_MSVC_RUNTIME_CHECKS_RESTORE +#endif // #ifdef IMGUI_DEFINE_MATH_OPERATORS +// Helpers macros to generate 32-bit encoded colors +// User can declare their own format by #defining the 5 _SHIFT/_MASK macros in their imconfig file. +#ifndef IM_COL32_R_SHIFT +#ifdef IMGUI_USE_BGRA_PACKED_COLOR +#define IM_COL32_R_SHIFT 16 +#define IM_COL32_G_SHIFT 8 +#define IM_COL32_B_SHIFT 0 +#define IM_COL32_A_SHIFT 24 +#define IM_COL32_A_MASK 0xFF000000 +#else +#define IM_COL32_R_SHIFT 0 +#define IM_COL32_G_SHIFT 8 +#define IM_COL32_B_SHIFT 16 +#define IM_COL32_A_SHIFT 24 +#define IM_COL32_A_MASK 0xFF000000 +#endif // #ifdef IMGUI_USE_BGRA_PACKED_COLOR +#endif // #ifndef IM_COL32_R_SHIFT +#define IM_COL32(R,G,B,A) (((ImU32)(A)<DisplayPos to get clipping rectangle in "viewport" coordinates + ImTextureID TextureId; // 4-8 // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + unsigned int VtxOffset; // 4 // Start offset in vertex buffer. ImGuiBackendFlags_RendererHasVtxOffset: always 0, otherwise may be >0 to support meshes larger than 64K vertices with 16-bit indices. + unsigned int IdxOffset; // 4 // Start offset in index buffer. + unsigned int ElemCount; // 4 // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImDrawCallback UserCallback; // 4-8 // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // 4-8 // The draw callback code can access this. +} ImDrawCmd; +// 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) +CIMGUI_API ImTextureID ImDrawCmd_GetTexID(const ImDrawCmd* self); + +// Vertex layout +#ifndef IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT +typedef struct ImDrawVert_t +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +} ImDrawVert; +#else +// You can override the vertex format layout by defining IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT in imconfig.h +// The code expect ImVec2 pos (8 bytes), ImVec2 uv (8 bytes), ImU32 col (4 bytes), but you can re-order them or add other fields as needed to simplify integration in your engine. +// The type has to be described within the macro (you can either declare the struct or use a typedef). This is because ImVec2/ImU32 are likely not declared at the time you'd want to set your type up. +// NOTE: IMGUI DOESN'T CLEAR THE STRUCTURE AND DOESN'T CALL A CONSTRUCTOR SO ANY CUSTOM FIELD WILL BE UNINITIALIZED. IF YOU ADD EXTRA FIELDS (SUCH AS A 'Z' COORDINATES) YOU WILL NEED TO CLEAR THEM DURING RENDER OR TO IGNORE THEM. +IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT +#endif // #ifndef IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT +// [Internal] For use by ImDrawList +typedef struct ImDrawCmdHeader_t +{ + ImVec4 ClipRect; + ImTextureID TextureId; + unsigned int VtxOffset; +} ImDrawCmdHeader; + +// [Internal] For use by ImDrawListSplitter +typedef struct ImDrawChannel_t +{ + ImVector_ImDrawCmd _CmdBuffer; + ImVector_ImDrawIdx _IdxBuffer; +} ImDrawChannel; + +// Split/Merge functions are used to split the draw list into different layers which can be drawn into out of order. +// This is used by the Columns/Tables API, so items of each column can be batched together in a same draw call. +typedef struct ImDrawListSplitter_t +{ + int _Current; // Current channel number (0) + int _Count; // Number of active channels (1+) + ImVector_ImDrawChannel _Channels; // Draw channels (not resized down so _Count might be < Channels.Size) +} ImDrawListSplitter; +CIMGUI_API void ImDrawListSplitter_Clear(ImDrawListSplitter* self); // Do not clear Channels[] so our allocations are reused next frame +CIMGUI_API void ImDrawListSplitter_ClearFreeMemory(ImDrawListSplitter* self); +CIMGUI_API void ImDrawListSplitter_Split(ImDrawListSplitter* self, ImDrawList* draw_list, int count); +CIMGUI_API void ImDrawListSplitter_Merge(ImDrawListSplitter* self, ImDrawList* draw_list); +CIMGUI_API void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self, ImDrawList* draw_list, int channel_idx); + +// Flags for ImDrawList functions +// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused) +typedef enum +{ + ImDrawFlags_None = 0, + ImDrawFlags_Closed = 1<<0, // PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason) + ImDrawFlags_RoundCornersTopLeft = 1<<4, // AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01. + ImDrawFlags_RoundCornersTopRight = 1<<5, // AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02. + ImDrawFlags_RoundCornersBottomLeft = 1<<6, // AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04. + ImDrawFlags_RoundCornersBottomRight = 1<<7, // AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08. + ImDrawFlags_RoundCornersNone = 1<<8, // AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag! + ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight, + ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, + ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft, + ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight, + ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, + ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll, // Default to ALL corners if none of the _RoundCornersXX flags are specified. + ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone, +} ImDrawFlags_; + +// Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly. +// It is however possible to temporarily alter flags between calls to ImDrawList:: functions. +typedef enum +{ + ImDrawListFlags_None = 0, + ImDrawListFlags_AntiAliasedLines = 1<<0, // Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles) + ImDrawListFlags_AntiAliasedLinesUseTex = 1<<1, // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). + ImDrawListFlags_AntiAliasedFill = 1<<2, // Enable anti-aliased edge around filled shapes (rounded rectangles, circles). + ImDrawListFlags_AllowVtxOffset = 1<<3, // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled. +} ImDrawListFlags_; + +// Draw command list +// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame, +// all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each dear imgui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to +// access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize). +// 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!) +// 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. +typedef struct ImDrawList_t +{ + // This is what you have to render + ImVector_ImDrawCmd CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector_ImDrawIdx IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector_ImDrawVert VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + + // [Internal, used while building lists] + unsigned int _VtxCurrentIdx; // [Internal] generally == VtxBuffer.Size unless we are past 64K vertices, in which case this gets reset to 0. + ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector_ImVec2 _Path; // [Internal] current path building + ImDrawCmdHeader _CmdHeader; // [Internal] template of active commands. Fields should match those of CmdBuffer.back(). + ImDrawListSplitter _Splitter; // [Internal] for channels api (note: prefer using your own persistent instance of ImDrawListSplitter!) + ImVector_ImVec4 _ClipRectStack; // [Internal] + ImVector_ImTextureID _TextureIdStack; // [Internal] + float _FringeScale; // [Internal] anti-alias fringe is scaled by this value, this helps to keep things sharp while zooming at vertex buffer content + const char* _OwnerName; // Pointer to owner window's name for debugging + + // Obsolete names + //inline void AddEllipse(const ImVec2& center, float radius_x, float radius_y, ImU32 col, float rot = 0.0f, int num_segments = 0, float thickness = 1.0f) { AddEllipse(center, ImVec2(radius_x, radius_y), col, rot, num_segments, thickness); } // OBSOLETED in 1.90.5 (Mar 2024) + //inline void AddEllipseFilled(const ImVec2& center, float radius_x, float radius_y, ImU32 col, float rot = 0.0f, int num_segments = 0) { AddEllipseFilled(center, ImVec2(radius_x, radius_y), col, rot, num_segments); } // OBSOLETED in 1.90.5 (Mar 2024) + //inline void PathEllipticalArcTo(const ImVec2& center, float radius_x, float radius_y, float rot, float a_min, float a_max, int num_segments = 0) { PathEllipticalArcTo(center, ImVec2(radius_x, radius_y), rot, a_min, a_max, num_segments); } // OBSOLETED in 1.90.5 (Mar 2024) + //inline void AddBezierCurve(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0) { AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments); } // OBSOLETED in 1.80 (Jan 2021) + //inline void PathBezierCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0) { PathBezierCubicCurveTo(p2, p3, p4, num_segments); } // OBSOLETED in 1.80 (Jan 2021) +} ImDrawList; +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self, ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_current_clip_rect /* = false */); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self, ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(const ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(const ImDrawList* self); +// Primitives +// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. +// - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. +// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). +// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. +// In future versions we will use textures to provide cheaper and higher-quality circles. +// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImU32 col); // Implied thickness = 1.0f +CIMGUI_API void ImDrawList_AddLineEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImU32 col, float thickness /* = 1.0f */); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col); // Implied rounding = 0.0f, flags = 0, thickness = 1.0f +CIMGUI_API void ImDrawList_AddRectEx(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col, float rounding /* = 0.0f */, ImDrawFlags flags /* = 0 */, float thickness /* = 1.0f */); // a: upper-left, b: lower-right (== upper-left + size) +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col); // Implied rounding = 0.0f, flags = 0 +CIMGUI_API void ImDrawList_AddRectFilledEx(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col, float rounding /* = 0.0f */, ImDrawFlags flags /* = 0 */); // a: upper-left, b: lower-right (== upper-left + size) +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImU32 col); // Implied thickness = 1.0f +CIMGUI_API void ImDrawList_AddQuadEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImU32 col, float thickness /* = 1.0f */); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImU32 col); // Implied thickness = 1.0f +CIMGUI_API void ImDrawList_AddTriangleEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImU32 col, float thickness /* = 1.0f */); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self, ImVec2 center, float radius, ImU32 col); // Implied num_segments = 0, thickness = 1.0f +CIMGUI_API void ImDrawList_AddCircleEx(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments /* = 0 */, float thickness /* = 1.0f */); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments /* = 0 */); +CIMGUI_API void ImDrawList_AddNgon(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments); // Implied thickness = 1.0f +CIMGUI_API void ImDrawList_AddNgonEx(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments, float thickness /* = 1.0f */); +CIMGUI_API void ImDrawList_AddNgonFilled(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments); +CIMGUI_API void ImDrawList_AddEllipse(ImDrawList* self, ImVec2 center, ImVec2 radius, ImU32 col); // Implied rot = 0.0f, num_segments = 0, thickness = 1.0f +CIMGUI_API void ImDrawList_AddEllipseEx(ImDrawList* self, ImVec2 center, ImVec2 radius, ImU32 col, float rot /* = 0.0f */, int num_segments /* = 0 */, float thickness /* = 1.0f */); +CIMGUI_API void ImDrawList_AddEllipseFilled(ImDrawList* self, ImVec2 center, ImVec2 radius, ImU32 col); // Implied rot = 0.0f, num_segments = 0 +CIMGUI_API void ImDrawList_AddEllipseFilledEx(ImDrawList* self, ImVec2 center, ImVec2 radius, ImU32 col, float rot /* = 0.0f */, int num_segments /* = 0 */); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self, ImVec2 pos, ImU32 col, const char* text_begin); // Implied text_end = NULL +CIMGUI_API void ImDrawList_AddTextEx(ImDrawList* self, ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end /* = NULL */); +CIMGUI_API void ImDrawList_AddTextImFontPtr(ImDrawList* self, const ImFont* font, float font_size, ImVec2 pos, ImU32 col, const char* text_begin); // Implied text_end = NULL, wrap_width = 0.0f, cpu_fine_clip_rect = NULL +CIMGUI_API void ImDrawList_AddTextImFontPtrEx(ImDrawList* self, const ImFont* font, float font_size, ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end /* = NULL */, float wrap_width /* = 0.0f */, const ImVec4* cpu_fine_clip_rect /* = NULL */); +CIMGUI_API void ImDrawList_AddBezierCubic(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImU32 col, float thickness, int num_segments /* = 0 */); // Cubic Bezier (4 control points) +CIMGUI_API void ImDrawList_AddBezierQuadratic(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImU32 col, float thickness, int num_segments /* = 0 */); // Quadratic Bezier (3 control points) +// General polygon +// - Only simple polygons are supported by filling functions (no self-intersections, no holes). +// - 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. +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col); +CIMGUI_API void ImDrawList_AddConcavePolyFilled(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col); +// Image primitives +// - Read FAQ to understand what ImTextureID is. +// - "p_min" and "p_max" represent the upper-left and lower-right corners of the rectangle. +// - "uv_min" and "uv_max" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture. +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self, ImTextureID user_texture_id, ImVec2 p_min, ImVec2 p_max); // Implied uv_min = ImVec2(0, 0), uv_max = ImVec2(1, 1), col = IM_COL32_WHITE +CIMGUI_API void ImDrawList_AddImageEx(ImDrawList* self, ImTextureID user_texture_id, ImVec2 p_min, ImVec2 p_max, ImVec2 uv_min /* = ImVec2(0, 0) */, ImVec2 uv_max /* = ImVec2(1, 1) */, ImU32 col /* = IM_COL32_WHITE */); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self, ImTextureID user_texture_id, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4); // Implied uv1 = ImVec2(0, 0), uv2 = ImVec2(1, 0), uv3 = ImVec2(1, 1), uv4 = ImVec2(0, 1), col = IM_COL32_WHITE +CIMGUI_API void ImDrawList_AddImageQuadEx(ImDrawList* self, ImTextureID user_texture_id, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImVec2 uv1 /* = ImVec2(0, 0) */, ImVec2 uv2 /* = ImVec2(1, 0) */, ImVec2 uv3 /* = ImVec2(1, 1) */, ImVec2 uv4 /* = ImVec2(0, 1) */, ImU32 col /* = IM_COL32_WHITE */); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self, ImTextureID user_texture_id, ImVec2 p_min, ImVec2 p_max, ImVec2 uv_min, ImVec2 uv_max, ImU32 col, float rounding, ImDrawFlags flags /* = 0 */); +// Stateful path API, add points then finish with PathFillConvex() or PathStroke() +// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. +// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). +CIMGUI_API void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self, ImVec2 pos); +CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self, ImVec2 pos); +CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self, ImU32 col); +CIMGUI_API void ImDrawList_PathFillConcave(ImDrawList* self, ImU32 col); +CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self, ImU32 col, ImDrawFlags flags /* = 0 */, float thickness /* = 1.0f */); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self, ImVec2 center, float radius, float a_min, float a_max, int num_segments /* = 0 */); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self, ImVec2 center, float radius, int a_min_of_12, int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathEllipticalArcTo(ImDrawList* self, ImVec2 center, ImVec2 radius, float rot, float a_min, float a_max); // Implied num_segments = 0 +CIMGUI_API void ImDrawList_PathEllipticalArcToEx(ImDrawList* self, ImVec2 center, ImVec2 radius, float rot, float a_min, float a_max, int num_segments /* = 0 */); // Ellipse +CIMGUI_API void ImDrawList_PathBezierCubicCurveTo(ImDrawList* self, ImVec2 p2, ImVec2 p3, ImVec2 p4, int num_segments /* = 0 */); // Cubic Bezier (4 control points) +CIMGUI_API void ImDrawList_PathBezierQuadraticCurveTo(ImDrawList* self, ImVec2 p2, ImVec2 p3, int num_segments /* = 0 */); // Quadratic Bezier (3 control points) +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self, ImVec2 rect_min, ImVec2 rect_max, float rounding /* = 0.0f */, ImDrawFlags flags /* = 0 */); +// Advanced +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self, ImDrawCallback callback, void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(const ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. +// Advanced: Channels +// - Use to split render into layers. By switching channels to can render out-of-order (e.g. submit FG primitives before BG primitives) +// - Use to minimize draw calls (e.g. if going back-and-forth between multiple clipping rectangles, prefer to append into separate channels then merge at the end) +// - This API shouldn't have been in ImDrawList in the first place! +// Prefer using your own persistent instance of ImDrawListSplitter as you can stack them. +// Using the ImDrawList::ChannelsXXXX you cannot stack a split over another. +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self, int count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self, int n); +// Advanced: Primitives allocations +// - We render triangles (three vertices) +// - All primitives needs to be reserved via PrimReserve() beforehand. +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self, int idx_count, int vtx_count); +CIMGUI_API void ImDrawList_PrimUnreserve(ImDrawList* self, int idx_count, int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self, ImVec2 a, ImVec2 b, ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self, ImVec2 a, ImVec2 b, ImVec2 uv_a, ImVec2 uv_b, ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self, ImVec2 a, ImVec2 b, ImVec2 c, ImVec2 d, ImVec2 uv_a, ImVec2 uv_b, ImVec2 uv_c, ImVec2 uv_d, ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self, ImVec2 pos, ImVec2 uv, ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self, ImDrawIdx idx); +CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self, ImVec2 pos, ImVec2 uv, ImU32 col); // Write vertex with unique index +// [Internal helpers] +CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self); +CIMGUI_API void ImDrawList__ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList__PopUnusedDrawCmd(ImDrawList* self); +CIMGUI_API void ImDrawList__TryMergeDrawCmds(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self); +CIMGUI_API int ImDrawList__CalcCircleAutoSegmentCount(const ImDrawList* self, float radius); +CIMGUI_API void ImDrawList__PathArcToFastEx(ImDrawList* self, ImVec2 center, float radius, int a_min_sample, int a_max_sample, int a_step); +CIMGUI_API void ImDrawList__PathArcToN(ImDrawList* self, ImVec2 center, float radius, float a_min, float a_max, int num_segments); + +// All draw data to render a Dear ImGui frame +// (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose, +// as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList) +typedef struct ImDrawData_t +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + ImVector_ImDrawListPtr CmdLists; // Array of ImDrawList* to render. The ImDrawLists are owned by ImGuiContext and only pointed to from here. + ImVec2 DisplayPos; // Top-left position of the viewport to render (== top-left of the orthogonal projection matrix to use) (== GetMainViewport()->Pos for the main viewport, == (0.0) in most single-viewport applications) + ImVec2 DisplaySize; // Size of the viewport to render (== GetMainViewport()->Size for the main viewport, == io.DisplaySize in most single-viewport applications) + ImVec2 FramebufferScale; // Amount of pixels for each unit of DisplaySize. Based on io.DisplayFramebufferScale. Generally (1,1) on normal display, (2,2) on OSX with Retina display. + ImGuiViewport* OwnerViewport; // Viewport carrying the ImDrawData instance, might be of use to the renderer (generally not). +} ImDrawData; +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); +CIMGUI_API void ImDrawData_AddDrawList(ImDrawData* self, ImDrawList* draw_list); // Helper to add an external draw list into an existing ImDrawData. +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self, ImVec2 fb_scale); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. + +//----------------------------------------------------------------------------- +// [SECTION] Font API (ImFontConfig, ImFontGlyph, ImFontAtlasFlags, ImFontAtlas, ImFontGlyphRangesBuilder, ImFont) +//----------------------------------------------------------------------------- + +typedef struct ImFontConfig_t +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). + int OversampleH; // 2 // Rasterize at higher quality for sub-pixel positioning. Note the difference between 2 and 3 is minimal. You can reduce this to 1 for large glyphs save memory. Read https://github.com/nothings/stb/blob/master/tests/oversample/README.md for details. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. This is not really useful as we don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). + float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font + float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int FontBuilderFlags; // 0 // Settings for custom font builder. THIS IS BUILDER IMPLEMENTATION DEPENDENT. Leave as zero if unsure. + float RasterizerMultiply; // 1.0f // Linearly brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. This is a silly thing we may remove in the future. + float RasterizerDensity; // 1.0f // DPI scale for rasterization, not altering other font metrics: make it easy to swap between e.g. a 100% and a 400% fonts for a zooming display. IMPORTANT: If you increase this it is expected that you increase font scale accordingly, otherwise quality may look lowered. + ImWchar EllipsisChar; // -1 // Explicitly specify unicode codepoint of ellipsis character. When fonts are being merged first specified ellipsis will be used. + + // [Internal] + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; +} ImFontConfig; + +// Hold rendering data for one glyph. +// (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) +typedef struct ImFontGlyph_t +{ + unsigned int Colored : 1; // Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on little-endian as this is used in loops) + unsigned int Visible : 1; // Flag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering. + unsigned int Codepoint : 30; // 0x0000..0x10FFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +} ImFontGlyph; + +// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges(). +// This is essentially a tightly packed of vector of 64k booleans = 8KB storage. +typedef struct ImFontGlyphRangesBuilder_t +{ + ImVector_ImU32 UsedChars; // Store 1-bit per Unicode code point (0=unused, 1=used) +} ImFontGlyphRangesBuilder; +CIMGUI_API void ImFontGlyphRangesBuilder_Clear(ImFontGlyphRangesBuilder* self); +CIMGUI_API bool ImFontGlyphRangesBuilder_GetBit(const ImFontGlyphRangesBuilder* self, size_t n); // Get bit n in the array +CIMGUI_API void ImFontGlyphRangesBuilder_SetBit(ImFontGlyphRangesBuilder* self, size_t n); // Set bit n in the array +CIMGUI_API void ImFontGlyphRangesBuilder_AddChar(ImFontGlyphRangesBuilder* self, ImWchar c); // Add character +CIMGUI_API void ImFontGlyphRangesBuilder_AddText(ImFontGlyphRangesBuilder* self, const char* text, const char* text_end /* = NULL */); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void ImFontGlyphRangesBuilder_AddRanges(ImFontGlyphRangesBuilder* self, const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext +CIMGUI_API void ImFontGlyphRangesBuilder_BuildRanges(ImFontGlyphRangesBuilder* self, ImVector_ImWchar* out_ranges); // Output new ranges (ImVector_Construct()/ImVector_Destruct() can be used to safely construct out_ranges) + +// See ImFontAtlas::AddCustomRectXXX functions. +typedef struct ImFontAtlasCustomRect_t +{ + unsigned short Width, Height; // Input // Desired rectangle dimension + unsigned short X, Y; // Output // Packed position in Atlas + unsigned int GlyphID; // Input // For custom font glyphs only (ID < 0x110000) + float GlyphAdvanceX; // Input // For custom font glyphs only: glyph xadvance + ImVec2 GlyphOffset; // Input // For custom font glyphs only: glyph display offset + ImFont* Font; // Input // For custom font glyphs only: target font +} ImFontAtlasCustomRect; +CIMGUI_API bool ImFontAtlasCustomRect_IsPacked(const ImFontAtlasCustomRect* self); + +// Flags for ImFontAtlas build +typedef enum +{ + ImFontAtlasFlags_None = 0, + ImFontAtlasFlags_NoPowerOfTwoHeight = 1<<0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1<<1, // Don't build software mouse cursors into the atlas (save a little texture memory) + ImFontAtlasFlags_NoBakedLines = 1<<2, // Don't build thick line textures into the atlas (save a little texture memory, allow support for point/nearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU). +} ImFontAtlasFlags_; + +// Load and rasterize multiple TTF/OTF fonts into a same texture. The font atlas will build a single texture holding: +// - One or more fonts. +// - Custom graphics data needed to render the shapes needed by Dear ImGui. +// - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas). +// It is the user-code responsibility to setup/build the atlas, then upload the pixel data into a texture accessible by your graphics api. +// - 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. +// - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples) +// - Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture in a format natural to your graphics API. +// This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details. +// Common pitfalls: +// - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the +// atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +// - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction. +// You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed, +// - Even though many functions are suffixed with "TTF", OTF data is supported just as well. +// - This is an old API and it is currently awkward for those and various other reasons! We will address them in the future! +typedef struct ImFontAtlas_t +{ + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + + //------------------------------------------- + // [BETA] Custom Rectangles/Glyphs API + //------------------------------------------- + + //------------------------------------------- + // Members + //------------------------------------------- + + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0 (will also need to set AntiAliasedLinesUseTex = false). + bool Locked; // Marked as Locked by ImGui::NewFrame() so attempt to modify the atlas will assert. + void* UserData; // Store your own atlas related user-data (if e.g. you have multiple font atlas). + + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + bool TexReady; // Set when texture was built matching current font input + bool TexPixelsUseColors; // Tell whether our texture data is known to use colors (rather than just alpha channel), in order to help backend select a format. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector_ImFontPtr Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector_ImFontAtlasCustomRect CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector_ImFontConfig ConfigData; // Configuration data + ImVec4 TexUvLines[IM_DRAWLIST_TEX_LINES_WIDTH_MAX+1]; // UVs for baked anti-aliased lines + + // [Internal] Font builder + const ImFontBuilderIO* FontBuilderIO; // Opaque interface to a font builder (default to stb_truetype, can be changed to use FreeType by defining IMGUI_ENABLE_FREETYPE). + unsigned int FontBuilderFlags; // Shared flags (for all fonts) for custom font builder. THIS IS BUILD IMPLEMENTATION DEPENDENT. Per-font override is also available in ImFontConfig. + + // [Internal] Packing data + int PackIdMouseCursors; // Custom texture rectangle ID for white pixel and mouse cursors + int PackIdLines; // Custom texture rectangle ID for baked anti-aliased lines + + // [Obsolete] + //typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ + //typedef ImFontGlyphRangesBuilder GlyphRangesBuilder; // OBSOLETED in 1.67+ +} ImFontAtlas; +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self, const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self, const ImFontConfig* font_cfg /* = NULL */); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self, const char* filename, float size_pixels, const ImFontConfig* font_cfg /* = NULL */, const ImWchar* glyph_ranges /* = NULL */); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self, void* font_data, int font_data_size, float size_pixels, const ImFontConfig* font_cfg /* = NULL */, const ImWchar* glyph_ranges /* = NULL */); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self, const void* compressed_font_data, int compressed_font_data_size, float size_pixels, const ImFontConfig* font_cfg /* = NULL */, const ImWchar* glyph_ranges /* = NULL */); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self, const char* compressed_font_data_base85, float size_pixels, const ImFontConfig* font_cfg /* = NULL */, const ImWchar* glyph_ranges /* = NULL */); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. +// Build atlas, retrieve pixel data. +// 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(). +// The pitch is always = Width * BytesPerPixels (1 or 4) +// Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into +// the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75% of memory/bandwidth waste. +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self, unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel /* = NULL */); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self, unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel /* = NULL */); // 4 bytes-per-pixel +CIMGUI_API bool ImFontAtlas_IsBuilt(const ImFontAtlas* self); // Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent... +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self, ImTextureID id); +// Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) +// NB: Make sure that your string are UTF-8 and NOT in your local code page. +// Read https://github.com/ocornut/imgui/blob/master/docs/FONTS.md/#about-utf-8-encoding for details. +// NB: Consider using ImFontGlyphRangesBuilder to build glyph ranges from textual data. +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesGreek(ImFontAtlas* self); // Default + Greek and Coptic +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesVietnamese(ImFontAtlas* self); // Default + Vietnamese characters +// You can request arbitrary rectangles to be packed into the atlas, for your own purposes. +// - After calling Build(), you can query the rectangle position and render your pixels. +// - If you render colored output, set 'atlas->TexPixelsUseColors = true' as this may help some backends decide of preferred texture format. +// - You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), +// so you can render e.g. custom colorful icons and use them as regular glyphs. +// - Read docs/FONTS.md for more details about using colorful icons. +// - Note: this API may be redesigned later in order to support multi-monitor varying DPI settings. +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self, int width, int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self, ImFont* font, ImWchar id, int width, int height, float advance_x, ImVec2 offset /* = ImVec2(0, 0) */); +CIMGUI_API ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self, int index); +// [Internal] +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(const ImFontAtlas* self, const ImFontAtlasCustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self, ImGuiMouseCursor cursor, ImVec2* out_offset, ImVec2* out_size, ImVec2 out_uv_border[2], ImVec2 out_uv_fill[2]); + +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). +typedef struct ImFont_t +{ + // Members: Hot ~20/24 bytes (for CalcTextSize) + ImVector_float IndexAdvanceX; // 12-16 // out // // Sparse. Glyphs->AdvanceX in a directly indexable way (cache-friendly for CalcTextSize functions which only this this info, and are often bottleneck in large UI). + float FallbackAdvanceX; // 4 // out // = FallbackGlyph->AdvanceX + float FontSize; // 4 // in // // Height of characters/line, set during loading (don't change after loading) + + // Members: Hot ~28/40 bytes (for CalcTextSize + render loop) + ImVector_ImWchar IndexLookup; // 12-16 // out // // Sparse. Index glyphs by Unicode code-point. + ImVector_ImFontGlyph Glyphs; // 12-16 // out // // All glyphs. + const ImFontGlyph* FallbackGlyph; // 4-8 // out // = FindGlyph(FontFallbackChar) + + // Members: Cold ~32/40 bytes + ImFontAtlas* ContainerAtlas; // 4-8 // out // // What we has been loaded into + const ImFontConfig* ConfigData; // 4-8 // in // // Pointer within ContainerAtlas->ConfigData + short ConfigDataCount; // 2 // in // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImWchar FallbackChar; // 2 // out // = FFFD/'?' // Character used if a glyph isn't found. + ImWchar EllipsisChar; // 2 // out // = '...'/'.'// Character used for ellipsis rendering. + short EllipsisCharCount; // 1 // out // 1 or 3 + float EllipsisWidth; // 4 // out // Width + float EllipsisCharStep; // 4 // out // Step between characters when EllipsisCount > 0 + bool DirtyLookupTables; // 1 // out // + float Scale; // 4 // in // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetWindowFontScale() + float Ascent, Descent; // 4+4 // out // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + int MetricsTotalSurface; // 4 // out // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + ImU8 Used4kPagesMap[(IM_UNICODE_CODEPOINT_MAX +1)/4096/8]; // 2 bytes if ImWchar=ImWchar16, 34 bytes if ImWchar==ImWchar32. Store 1-bit for each block of 4K codepoints that has one active glyph. This is mainly used to facilitate iterations across all used codepoints. +} ImFont; +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(const ImFont* self, ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(const ImFont* self, ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(const ImFont* self, ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(const ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(const ImFont* self); +// 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. +// 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(const ImFont* self, float size, float max_width, float wrap_width, const char* text_begin); // Implied text_end = NULL, remaining = NULL +CIMGUI_API ImVec2 ImFont_CalcTextSizeAEx(const ImFont* self, float size, float max_width, float wrap_width, const char* text_begin, const char* text_end /* = NULL */, const char** remaining /* = NULL */); // utf8 +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(const ImFont* self, float scale, const char* text, const char* text_end, float wrap_width); +CIMGUI_API void ImFont_RenderChar(const ImFont* self, ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c); +CIMGUI_API void ImFont_RenderText(const ImFont* self, ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImVec4 clip_rect, const char* text_begin, const char* text_end, float wrap_width /* = 0.0f */, bool cpu_fine_clip /* = false */); +// [Internal] Don't use! +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_GrowIndex(ImFont* self, int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self, const ImFontConfig* src_cfg, ImWchar c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self, ImWchar dst, ImWchar src, bool overwrite_dst /* = true */); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. +CIMGUI_API void ImFont_SetGlyphVisible(ImFont* self, ImWchar c, bool visible); +CIMGUI_API bool ImFont_IsGlyphRangeUnused(ImFont* self, unsigned int c_begin, unsigned int c_last); + +//----------------------------------------------------------------------------- +// [SECTION] Viewports +//----------------------------------------------------------------------------- + +// Flags stored in ImGuiViewport::Flags, giving indications to the platform backends. +typedef enum +{ + ImGuiViewportFlags_None = 0, + ImGuiViewportFlags_IsPlatformWindow = 1<<0, // Represent a Platform Window + ImGuiViewportFlags_IsPlatformMonitor = 1<<1, // Represent a Platform Monitor (unused yet) + ImGuiViewportFlags_OwnedByApp = 1<<2, // Platform Window: Was created/managed by the user application? (rather than our backend) + ImGuiViewportFlags_NoDecoration = 1<<3, // Platform Window: Disable platform decorations: title bar, borders, etc. (generally set all windows, but if ImGuiConfigFlags_ViewportsDecoration is set we only set this on popups/tooltips) + ImGuiViewportFlags_NoTaskBarIcon = 1<<4, // Platform Window: Disable platform task bar icon (generally set on popups/tooltips, or all windows if ImGuiConfigFlags_ViewportsNoTaskBarIcon is set) + ImGuiViewportFlags_NoFocusOnAppearing = 1<<5, // Platform Window: Don't take focus when created. + ImGuiViewportFlags_NoFocusOnClick = 1<<6, // Platform Window: Don't take focus when clicked on. + ImGuiViewportFlags_NoInputs = 1<<7, // Platform Window: Make mouse pass through so we can drag this window while peaking behind it. + ImGuiViewportFlags_NoRendererClear = 1<<8, // Platform Window: Renderer doesn't need to clear the framebuffer ahead (because we will fill it entirely). + ImGuiViewportFlags_NoAutoMerge = 1<<9, // Platform Window: Avoid merging this window into another host window. This can only be set via ImGuiWindowClass viewport flags override (because we need to now ahead if we are going to create a viewport in the first place!). + ImGuiViewportFlags_TopMost = 1<<10, // Platform Window: Display on top (for tooltips only). + ImGuiViewportFlags_CanHostOtherWindows = 1<<11, // Viewport can host multiple imgui windows (secondary viewports are associated to a single window). // FIXME: In practice there's still probably code making the assumption that this is always and only on the MainViewport. Will fix once we add support for "no main viewport". + + // Output status flags (from Platform) + ImGuiViewportFlags_IsMinimized = 1<<12, // Platform Window: Window is minimized, can skip render. When minimized we tend to avoid using the viewport pos/size for clipping window or testing if they are contained in the viewport. + ImGuiViewportFlags_IsFocused = 1<<13, // Platform Window: Window is focused (last call to Platform_GetWindowFocus() returned true) +} ImGuiViewportFlags_; + +// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows. +// - With multi-viewport enabled, we extend this concept to have multiple active viewports. +// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode. +// - About Main Area vs Work Area: +// - Main Area = entire viewport. +// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor). +// - Windows are generally trying to stay within the Work Area of their host viewport. +typedef struct ImGuiViewport_t +{ + ImGuiID ID; // Unique identifier for the viewport + ImGuiViewportFlags Flags; // See ImGuiViewportFlags_ + ImVec2 Pos; // Main Area: Position of the viewport (Dear ImGui coordinates are the same as OS desktop/native coordinates) + ImVec2 Size; // Main Area: Size of the viewport. + ImVec2 WorkPos; // Work Area: Position of the viewport minus task bars, menus bars, status bars (>= Pos) + ImVec2 WorkSize; // Work Area: Size of the viewport minus task bars, menu bars, status bars (<= Size) + float DpiScale; // 1.0f = 96 DPI = No extra scale. + ImGuiID ParentViewportId; // (Advanced) 0: no parent. Instruct the platform backend to setup a parent/child relationship between platform windows. + ImDrawData* DrawData; // The ImDrawData corresponding to this viewport. Valid after Render() and until the next call to NewFrame(). + + // Platform/Backend Dependent Data + // Our design separate the Renderer and Platform backends to facilitate combining default backends with each others. + // When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled + // by the same system and you may not need to use all the UserData/Handle fields. + // The library never uses those fields, they are merely storage to facilitate backend implementation. + void* RendererUserData; // void* to hold custom data structure for the renderer (e.g. swap chain, framebuffers etc.). generally set by your Renderer_CreateWindow function. + void* PlatformUserData; // void* to hold custom data structure for the OS / platform (e.g. windowing info, render context). generally set by your Platform_CreateWindow function. + void* PlatformHandle; // void* to hold higher-level, platform window handle (e.g. HWND, GLFWWindow*, SDL_Window*), for FindViewportByPlatformHandle(). + void* PlatformHandleRaw; // void* to hold lower-level, platform-native window handle (under Win32 this is expected to be a HWND, unused for other platforms), when using an abstraction layer like GLFW or SDL (where PlatformHandle would be a SDL_Window*) + bool PlatformWindowCreated; // Platform window has been created (Platform_CreateWindow() has been called). This is false during the first frame where a viewport is being created. + bool PlatformRequestMove; // Platform window requested move (e.g. window was moved by the OS / host window manager, authoritative position will be OS window position) + bool PlatformRequestResize; // Platform window requested resize (e.g. window was resized by the OS / host window manager, authoritative size will be OS window size) + bool PlatformRequestClose; // Platform window requested closure (e.g. window was moved by the OS / host window manager, e.g. pressing ALT-F4) +} ImGuiViewport; +// Helpers +CIMGUI_API ImVec2 ImGuiViewport_GetCenter(const ImGuiViewport* self); +CIMGUI_API ImVec2 ImGuiViewport_GetWorkCenter(const ImGuiViewport* self); + +//----------------------------------------------------------------------------- +// [SECTION] Platform Dependent Interfaces (for e.g. multi-viewport support) +//----------------------------------------------------------------------------- +// [BETA] (Optional) This is completely optional, for advanced users! +// If you are new to Dear ImGui and trying to integrate it into your engine, you can probably ignore this for now. +// +// This feature allows you to seamlessly drag Dear ImGui windows outside of your application viewport. +// This is achieved by creating new Platform/OS windows on the fly, and rendering into them. +// Dear ImGui manages the viewport structures, and the backend create and maintain one Platform/OS window for each of those viewports. +// +// See Glossary https://github.com/ocornut/imgui/wiki/Glossary for details about some of the terminology. +// See Thread https://github.com/ocornut/imgui/issues/1542 for gifs, news and questions about this evolving feature. +// +// About the coordinates system: +// - When multi-viewports are enabled, all Dear ImGui coordinates become absolute coordinates (same as OS coordinates!) +// - So e.g. ImGui::SetNextWindowPos(ImVec2(0,0)) will position a window relative to your primary monitor! +// - If you want to position windows relative to your main application viewport, use ImGui::GetMainViewport()->Pos as a base position. +// +// Steps to use multi-viewports in your application, when using a default backend from the examples/ folder: +// - Application: Enable feature with 'io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable'. +// - Backend: The backend initialization will setup all necessary ImGuiPlatformIO's functions and update monitors info every frame. +// - Application: In your main loop, call ImGui::UpdatePlatformWindows(), ImGui::RenderPlatformWindowsDefault() after EndFrame() or Render(). +// - Application: Fix absolute coordinates used in ImGui::SetWindowPos() or ImGui::SetNextWindowPos() calls. +// +// Steps to use multi-viewports in your application, when using a custom backend: +// - Important: THIS IS NOT EASY TO DO and comes with many subtleties not described here! +// It's also an experimental feature, so some of the requirements may evolve. +// Consider using default backends if you can. Either way, carefully follow and refer to examples/ backends for details. +// - Application: Enable feature with 'io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable'. +// - Backend: Hook ImGuiPlatformIO's Platform_* and Renderer_* callbacks (see below). +// Set 'io.BackendFlags |= ImGuiBackendFlags_PlatformHasViewports' and 'io.BackendFlags |= ImGuiBackendFlags_PlatformHasViewports'. +// Update ImGuiPlatformIO's Monitors list every frame. +// Update MousePos every frame, in absolute coordinates. +// - Application: In your main loop, call ImGui::UpdatePlatformWindows(), ImGui::RenderPlatformWindowsDefault() after EndFrame() or Render(). +// You may skip calling RenderPlatformWindowsDefault() if its API is not convenient for your needs. Read comments below. +// - Application: Fix absolute coordinates used in ImGui::SetWindowPos() or ImGui::SetNextWindowPos() calls. +// +// About ImGui::RenderPlatformWindowsDefault(): +// - This function is a mostly a _helper_ for the common-most cases, and to facilitate using default backends. +// - You can check its simple source code to understand what it does. +// It basically iterates secondary viewports and call 4 functions that are setup in ImGuiPlatformIO, if available: +// Platform_RenderWindow(), Renderer_RenderWindow(), Platform_SwapBuffers(), Renderer_SwapBuffers() +// Those functions pointers exists only for the benefit of RenderPlatformWindowsDefault(). +// - If you have very specific rendering needs (e.g. flipping multiple swap-chain simultaneously, unusual sync/threading issues, etc.), +// you may be tempted to ignore RenderPlatformWindowsDefault() and write customized code to perform your renderingg. +// You may decide to setup the platform_io's *RenderWindow and *SwapBuffers pointers and call your functions through those pointers, +// or you may decide to never setup those pointers and call your code directly. They are a convenience, not an obligatory interface. +//----------------------------------------------------------------------------- + +// (Optional) Access via ImGui::GetPlatformIO() +typedef struct ImGuiPlatformIO_t +{ + //------------------------------------------------------------------ + // Input - Backend interface/functions + Monitor List + //------------------------------------------------------------------ + + // (Optional) Platform functions (e.g. Win32, GLFW, SDL2) + // For reference, the second column shows which function are generally calling the Platform Functions: + // N = ImGui::NewFrame() ~ beginning of the dear imgui frame: read info from platform/OS windows (latest size/position) + // F = ImGui::Begin(), ImGui::EndFrame() ~ during the dear imgui frame + // U = ImGui::UpdatePlatformWindows() ~ after the dear imgui frame: create and update all platform/OS windows + // R = ImGui::RenderPlatformWindowsDefault() ~ render + // D = ImGui::DestroyPlatformWindows() ~ shutdown + // The general idea is that NewFrame() we will read the current Platform/OS state, and UpdatePlatformWindows() will write to it. + // + // The functions are designed so we can mix and match 2 imgui_impl_xxxx files, one for the Platform (~window/input handling), one for Renderer. + // Custom engine backends will often provide both Platform and Renderer interfaces and so may not need to use all functions. + // Platform functions are typically called before their Renderer counterpart, apart from Destroy which are called the other way. + + // Platform function --------------------------------------------------- Called by ----- + void (*Platform_CreateWindow)(ImGuiViewport* vp); // . . U . . // Create a new platform window for the given viewport + void (*Platform_DestroyWindow)(ImGuiViewport* vp); // N . U . D // + void (*Platform_ShowWindow)(ImGuiViewport* vp); // . . U . . // Newly created windows are initially hidden so SetWindowPos/Size/Title can be called on them before showing the window + void (*Platform_SetWindowPos)(ImGuiViewport* vp, ImVec2 pos); // . . U . . // Set platform window position (given the upper-left corner of client area) + ImVec2 (*Platform_GetWindowPos)(ImGuiViewport* vp); // N . . . . // + void (*Platform_SetWindowSize)(ImGuiViewport* vp, ImVec2 size); // . . U . . // Set platform window client area size (ignoring OS decorations such as OS title bar etc.) + ImVec2 (*Platform_GetWindowSize)(ImGuiViewport* vp); // N . . . . // Get platform window client area size + void (*Platform_SetWindowFocus)(ImGuiViewport* vp); // N . . . . // Move window to front and set input focus + bool (*Platform_GetWindowFocus)(ImGuiViewport* vp); // . . U . . // + bool (*Platform_GetWindowMinimized)(ImGuiViewport* vp); // N . . . . // Get platform window minimized state. When minimized, we generally won't attempt to get/set size and contents will be culled more easily + void (*Platform_SetWindowTitle)(ImGuiViewport* vp, const char* str); // . . U . . // Set platform window title (given an UTF-8 string) + void (*Platform_SetWindowAlpha)(ImGuiViewport* vp, float alpha); // . . U . . // (Optional) Setup global transparency (not per-pixel transparency) + void (*Platform_UpdateWindow)(ImGuiViewport* vp); // . . U . . // (Optional) Called by UpdatePlatformWindows(). Optional hook to allow the platform backend from doing general book-keeping every frame. + void (*Platform_RenderWindow)(ImGuiViewport* vp, void* render_arg); // . . . R . // (Optional) Main rendering (platform side! This is often unused, or just setting a "current" context for OpenGL bindings). 'render_arg' is the value passed to RenderPlatformWindowsDefault(). + void (*Platform_SwapBuffers)(ImGuiViewport* vp, void* render_arg); // . . . R . // (Optional) Call Present/SwapBuffers (platform side! This is often unused!). 'render_arg' is the value passed to RenderPlatformWindowsDefault(). + float (*Platform_GetWindowDpiScale)(ImGuiViewport* vp); // N . . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Return DPI scale for this viewport. 1.0f = 96 DPI. + void (*Platform_OnChangedViewport)(ImGuiViewport* vp); // . F . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Called during Begin() every time the viewport we are outputting into changes, so backend has a chance to swap fonts to adjust style. + int (*Platform_CreateVkSurface)(ImGuiViewport* vp, ImU64 vk_inst, const void* vk_allocators, ImU64* out_vk_surface); // (Optional) For a Vulkan Renderer to call into Platform code (since the surface creation needs to tie them both). + + // (Optional) Renderer functions (e.g. DirectX, OpenGL, Vulkan) + void (*Renderer_CreateWindow)(ImGuiViewport* vp); // . . U . . // Create swap chain, frame buffers etc. (called after Platform_CreateWindow) + void (*Renderer_DestroyWindow)(ImGuiViewport* vp); // N . U . D // Destroy swap chain, frame buffers etc. (called before Platform_DestroyWindow) + void (*Renderer_SetWindowSize)(ImGuiViewport* vp, ImVec2 size); // . . U . . // Resize swap chain, frame buffers etc. (called after Platform_SetWindowSize) + void (*Renderer_RenderWindow)(ImGuiViewport* vp, void* render_arg); // . . . R . // (Optional) Clear framebuffer, setup render target, then render the viewport->DrawData. 'render_arg' is the value passed to RenderPlatformWindowsDefault(). + void (*Renderer_SwapBuffers)(ImGuiViewport* vp, void* render_arg); // . . . R . // (Optional) Call Present/SwapBuffers. 'render_arg' is the value passed to RenderPlatformWindowsDefault(). + + // (Optional) Monitor list + // - Updated by: app/backend. Update every frame to dynamically support changing monitor or DPI configuration. + // - Used by: dear imgui to query DPI info, clamp popups/tooltips within same monitor and not have them straddle monitors. + ImVector_ImGuiPlatformMonitor Monitors; + + //------------------------------------------------------------------ + // Output - List of viewports to render into platform windows + //------------------------------------------------------------------ + + // Viewports list (the list is updated by calling ImGui::EndFrame or ImGui::Render) + // (in the future we will attempt to organize this feature to remove the need for a "main viewport") + ImVector_ImGuiViewportPtr Viewports; // Main viewports, followed by all secondary viewports. +} ImGuiPlatformIO; + +// (Optional) This is required when enabling multi-viewport. Represent the bounds of each connected monitor/display and their DPI. +// We use this information for multiple DPI support + clamping the position of popups and tooltips so they don't straddle multiple monitors. +typedef struct ImGuiPlatformMonitor_t +{ + ImVec2 MainPos, MainSize; // Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right) + ImVec2 WorkPos, WorkSize; // Coordinates without task bars / side bars / menu bars. Used to avoid positioning popups/tooltips inside this region. If you don't have this info, please copy the value for MainPos/MainSize. + float DpiScale; // 1.0f = 96 DPI + void* PlatformHandle; // Backend dependant data (e.g. HMONITOR, GLFWmonitor*, SDL Display Index, NSScreen*) +} ImGuiPlatformMonitor; + +// (Optional) Support for IME (Input Method Editor) via the io.SetPlatformImeDataFn() function. +typedef struct ImGuiPlatformImeData_t +{ + bool WantVisible; // A widget wants the IME to be visible + ImVec2 InputPos; // Position of the input cursor + float InputLineHeight; // Line height +} ImGuiPlatformImeData; + +//----------------------------------------------------------------------------- +// [SECTION] Obsolete functions and types +// (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +// Please keep your copy of dear imgui up to date! Occasionally set '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' in imconfig.h to stay ahead. +//----------------------------------------------------------------------------- + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// OBSOLETED in 1.90.0 (from September 2023) +CIMGUI_API bool ImGui_BeginChildFrame(ImGuiID id, ImVec2 size); // Implied window_flags = 0 +CIMGUI_API bool ImGui_BeginChildFrameEx(ImGuiID id, ImVec2 size, ImGuiWindowFlags window_flags /* = 0 */); +CIMGUI_API void ImGui_EndChildFrame(void); +//static inline bool BeginChild(const char* str_id, const ImVec2& 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 +//static inline bool BeginChild(ImGuiID id, const ImVec2& size_arg, bool border, ImGuiWindowFlags window_flags) { return BeginChild(id, size_arg, border ? ImGuiChildFlags_Border : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Border +CIMGUI_API void ImGui_ShowStackToolWindow(bool* p_open /* = NULL */); +CIMGUI_API bool ImGui_ListBoxObsolete(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count); // Implied height_in_items = -1 +CIMGUI_API bool ImGui_ListBoxObsoleteEx(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int height_in_items /* = -1 */); +CIMGUI_API bool ImGui_ComboObsolete(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count); // Implied popup_max_height_in_items = -1 +CIMGUI_API bool ImGui_ComboObsoleteEx(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int popup_max_height_in_items /* = -1 */); +// OBSOLETED in 1.89.7 (from June 2023) +CIMGUI_API void ImGui_SetItemAllowOverlap(void); // Use SetNextItemAllowOverlap() before item. +// OBSOLETED in 1.89.4 (from March 2023) +CIMGUI_API void ImGui_PushAllowKeyboardFocus(bool tab_stop); +CIMGUI_API void ImGui_PopAllowKeyboardFocus(void); +// OBSOLETED in 1.89 (from August 2022) +CIMGUI_API bool ImGui_ImageButtonImTextureID(ImTextureID user_texture_id, ImVec2 size, ImVec2 uv0 /* = ImVec2(0, 0) */, ImVec2 uv1 /* = ImVec2(1, 1) */, int frame_padding /* = -1 */, ImVec4 bg_col /* = ImVec4(0, 0, 0, 0) */, ImVec4 tint_col /* = ImVec4(1, 1, 1, 1) */); // Use new ImageButton() signature (explicit item id, regular FramePadding) +// OBSOLETED in 1.87 (from February 2022 but more formally obsoleted April 2024) +CIMGUI_API ImGuiKey ImGui_GetKeyIndex(ImGuiKey key); // Map ImGuiKey_* values into legacy native key index. == io.KeyMap[key]. When using a 1.87+ backend using io.AddKeyEvent(), calling GetKeyIndex() with ANY ImGuiKey_XXXX values will return the same value! +//static inline ImGuiKey GetKeyIndex(ImGuiKey key) { IM_ASSERT(key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END); return key; } + +// Some of the older obsolete names along with their replacement (commented out so they are not reported in IDE) +//-- OBSOLETED in 1.88 (from May 2022) +//static inline void CaptureKeyboardFromApp(bool want_capture_keyboard = true) { SetNextFrameWantCaptureKeyboard(want_capture_keyboard); } // Renamed as name was misleading + removed default value. +//static inline void CaptureMouseFromApp(bool want_capture_mouse = true) { SetNextFrameWantCaptureMouse(want_capture_mouse); } // Renamed as name was misleading + removed default value. +//-- OBSOLETED in 1.86 (from November 2021) +//IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end); // Code removed, see 1.90 for last version of the code. Calculate range of visible items for large list of evenly sized items. Prefer using ImGuiListClipper. +//-- OBSOLETED in 1.85 (from August 2021) +//static inline float GetWindowContentRegionWidth() { return GetWindowContentRegionMax().x - GetWindowContentRegionMin().x; } +//-- OBSOLETED in 1.81 (from February 2021) +//static inline bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0, 0)) { return BeginListBox(label, size); } +//static inline bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1) { float height = GetTextLineHeightWithSpacing() * ((height_in_items < 0 ? ImMin(items_count, 7) : height_in_items) + 0.25f) + GetStyle().FramePadding.y * 2.0f; return BeginListBox(label, ImVec2(0.0f, height)); } // Helper to calculate size from items_count and height_in_items +//static inline void ListBoxFooter() { EndListBox(); } +//-- OBSOLETED in 1.79 (from August 2020) +//static inline void OpenPopupContextItem(const char* str_id = NULL, ImGuiMouseButton mb = 1) { OpenPopupOnItemClick(str_id, mb); } // Bool return value removed. Use IsWindowAppearing() in BeginPopup() instead. Renamed in 1.77, renamed back in 1.79. Sorry! +//-- OBSOLETED in 1.78 (from June 2020): Old drag/sliders functions that took a 'float power > 1.0f' argument instead of ImGuiSliderFlags_Logarithmic. See github.com/ocornut/imgui/issues/3361 for details. +//IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f) // OBSOLETED in 1.78 (from June 2020) +//IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) +//IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) +//IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) +//static inline bool DragFloat(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalar(label, ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//static inline bool DragFloat2(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//static inline bool DragFloat3(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//static inline bool DragFloat4(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//static inline bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalar(label, ImGuiDataType_Float, v, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//static inline bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 2, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//static inline bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 3, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//static inline bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 4, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) +//-- OBSOLETED in 1.77 and before +//static inline bool BeginPopupContextWindow(const char* str_id, ImGuiMouseButton mb, bool over_items) { return BeginPopupContextWindow(str_id, mb | (over_items ? 0 : ImGuiPopupFlags_NoOpenOverItems)); } // OBSOLETED in 1.77 (from June 2020) +//static inline void TreeAdvanceToLabelPos() { SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()); } // OBSOLETED in 1.72 (from July 2019) +//static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); } // OBSOLETED in 1.71 (from June 2019) +//static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; } // OBSOLETED in 1.70 (from May 2019) +//static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); } // OBSOLETED in 1.69 (from Mar 2019) +//static inline void SetScrollHere(float ratio = 0.5f) { SetScrollHereY(ratio); } // OBSOLETED in 1.66 (from Nov 2018) +//static inline bool IsItemDeactivatedAfterChange() { return IsItemDeactivatedAfterEdit(); } // OBSOLETED in 1.63 (from Aug 2018) +//-- OBSOLETED in 1.60 and before +//static inline bool IsAnyWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_AnyWindow); } // OBSOLETED in 1.60 (from Apr 2018) +//static inline bool IsAnyWindowHovered() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.60 (between Dec 2017 and Apr 2018) +//static inline void ShowTestWindow() { return ShowDemoWindow(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) +//static inline bool IsRootWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootWindow); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) +//static inline bool IsRootWindowOrAnyChildFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) +//static inline void SetNextWindowContentWidth(float w) { SetNextWindowContentSize(ImVec2(w, 0.0f)); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) +//static inline float GetItemsLineHeightWithSpacing() { return GetFrameHeightWithSpacing(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) +//IMGUI_API bool Begin(char* name, bool* p_open, ImVec2 size_first_use, float bg_alpha = -1.0f, ImGuiWindowFlags flags=0); // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017): Equivalent of using SetNextWindowSize(size, ImGuiCond_FirstUseEver) and SetNextWindowBgAlpha(). +//static inline bool IsRootWindowOrAnyChildHovered() { return IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) +//static inline void AlignFirstTextHeightToWidgets() { AlignTextToFramePadding(); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) +//static inline void SetNextWindowPosCenter(ImGuiCond c=0) { SetNextWindowPos(GetMainViewport()->GetCenter(), c, ImVec2(0.5f,0.5f)); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) +//static inline bool IsItemHoveredRect() { return IsItemHovered(ImGuiHoveredFlags_RectOnly); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) +//static inline bool IsPosHoveringAnyWindow(const ImVec2&) { IM_ASSERT(0); return false; } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017): This was misleading and partly broken. You probably want to use the io.WantCaptureMouse flag instead. +//static inline bool IsMouseHoveringAnyWindow() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) +//static inline bool IsMouseHoveringWindow() { return IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) +//-- OBSOLETED in 1.50 and before +//static inline bool CollapsingHeader(char* label, const char* str_id, bool framed = true, bool default_open = false) { return CollapsingHeader(label, (default_open ? (1 << 5) : 0)); } // OBSOLETED in 1.49 +//static inline ImFont*GetWindowFont() { return GetFont(); } // OBSOLETED in 1.48 +//static inline float GetWindowFontSize() { return GetFontSize(); } // OBSOLETED in 1.48 +//static inline void SetScrollPosHere() { SetScrollHere(); } // OBSOLETED in 1.42 + +//-- OBSOLETED in 1.82 (from Mars 2021): flags for AddRect(), AddRectFilled(), AddImageRounded(), PathRect() +//typedef ImDrawFlags ImDrawCornerFlags; +//enum ImDrawCornerFlags_ +//{ +// ImDrawCornerFlags_None = ImDrawFlags_RoundCornersNone, // Was == 0 prior to 1.82, this is now == ImDrawFlags_RoundCornersNone which is != 0 and not implicit +// ImDrawCornerFlags_TopLeft = ImDrawFlags_RoundCornersTopLeft, // Was == 0x01 (1 << 0) prior to 1.82. Order matches ImDrawFlags_NoRoundCorner* flag (we exploit this internally). +// ImDrawCornerFlags_TopRight = ImDrawFlags_RoundCornersTopRight, // Was == 0x02 (1 << 1) prior to 1.82. +// ImDrawCornerFlags_BotLeft = ImDrawFlags_RoundCornersBottomLeft, // Was == 0x04 (1 << 2) prior to 1.82. +// ImDrawCornerFlags_BotRight = ImDrawFlags_RoundCornersBottomRight, // Was == 0x08 (1 << 3) prior to 1.82. +// ImDrawCornerFlags_All = ImDrawFlags_RoundCornersAll, // Was == 0x0F prior to 1.82 +// ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, +// ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, +// ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, +// ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, +//}; + +// RENAMED and MERGED both ImGuiKey_ModXXX and ImGuiModFlags_XXX into ImGuiMod_XXX (from September 2022) +// RENAMED ImGuiKeyModFlags -> ImGuiModFlags in 1.88 (from April 2022). Exceptionally commented out ahead of obscolescence schedule to reduce confusion and because they were not meant to be used in the first place. +typedef ImGuiKeyChord ImGuiModFlags; // == int. We generally use ImGuiKeyChord to mean "a ImGuiKey or-ed with any number of ImGuiMod_XXX value", but you may store only mods in there. +typedef enum +{ + ImGuiModFlags_None = 0, + ImGuiModFlags_Ctrl = ImGuiMod_Ctrl, + ImGuiModFlags_Shift = ImGuiMod_Shift, + ImGuiModFlags_Alt = ImGuiMod_Alt, + ImGuiModFlags_Super = ImGuiMod_Super, +} ImGuiModFlags_; +//typedef ImGuiKeyChord ImGuiKeyModFlags; // == int +//enum ImGuiKeyModFlags_ { ImGuiKeyModFlags_None = 0, ImGuiKeyModFlags_Ctrl = ImGuiMod_Ctrl, ImGuiKeyModFlags_Shift = ImGuiMod_Shift, ImGuiKeyModFlags_Alt = ImGuiMod_Alt, ImGuiKeyModFlags_Super = ImGuiMod_Super }; + +#define IM_OFFSETOF(_TYPE,_MEMBER) offsetof(_TYPE, _MEMBER) // OBSOLETED IN 1.90 (now using C++11 standard version) +#endif// #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// RENAMED IMGUI_DISABLE_METRICS_WINDOW > IMGUI_DISABLE_DEBUG_TOOLS in 1.88 (from June 2022) +#if defined(IMGUI_DISABLE_METRICS_WINDOW)&&!defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_DEBUG_TOOLS) +#define IMGUI_DISABLE_DEBUG_TOOLS +#endif // #if defined(IMGUI_DISABLE_METRICS_WINDOW)&&!defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_DEBUG_TOOLS) +#if defined(IMGUI_DISABLE_METRICS_WINDOW)&& defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS) +#error IMGUI_DISABLE_METRICS_WINDOW was renamed to IMGUI_DISABLE_DEBUG_TOOLS, please use new name. +#endif // #if defined(IMGUI_DISABLE_METRICS_WINDOW)&& defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS) +//----------------------------------------------------------------------------- + +#if defined(__clang__) +#pragma clang diagnostic pop +#else +#if defined(__GNUC__) +#pragma GCC diagnostic pop +#endif // #if defined(__GNUC__) +#endif // #if defined(__clang__) +#ifdef _MSC_VER +#pragma warning (pop) +#endif // #ifdef _MSC_VER +// Include imgui_user.h at the end of imgui.h +// May be convenient for some users to only explicitly include vanilla imgui.h and have extra stuff included. +#ifdef IMGUI_INCLUDE_IMGUI_USER_H +#ifdef IMGUI_USER_H_FILENAME +#include IMGUI_USER_H_FILENAME +#else +#include "imgui_user.h" +#endif // #ifdef IMGUI_USER_H_FILENAME +#endif // #ifdef IMGUI_INCLUDE_IMGUI_USER_H +#endif// #ifndef IMGUI_DISABLE +#ifdef __cplusplus +} // End of extern "C" block +#endif diff --git a/src/cached/cimgui.json b/src/cached/cimgui.json new file mode 100644 index 0000000..f19ab8b --- /dev/null +++ b/src/cached/cimgui.json @@ -0,0 +1,69600 @@ +{ + "defines": [ + { + "name": "IMGUI_VERSION", + "content": "\"1.90.9\"", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 30 + } + }, + { + "name": "IMGUI_VERSION_NUM", + "content": "19090", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 31 + } + }, + { + "name": "IMGUI_HAS_TABLE", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 32 + } + }, + { + "name": "IMGUI_HAS_VIEWPORT", + "comments": { + "attached": "// Viewport WIP branch" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 33 + } + }, + { + "name": "IMGUI_HAS_DOCK", + "comments": { + "attached": "// Docking WIP branch" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 34 + } + }, + { + "name": "IMGUI_API", + "conditionals": [ + { + "condition": "ifndef", + "expression": "CIMGUI_API" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 82 + } + }, + { + "name": "IMGUI_IMPL_API", + "content": "IMGUI_API", + "conditionals": [ + { + "condition": "ifndef", + "expression": "CIMGUI_IMPL_API" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 85 + } + }, + { + "name": "IM_MSVC_RUNTIME_CHECKS_OFF", + "content": "__pragma(runtime_checks(\"\",off)) __pragma(check_stack(off)) __pragma(strict_gs_check(push,off))", + "conditionals": [ + { + "condition": "if", + "expression": "defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 115 + } + }, + { + "name": "IM_MSVC_RUNTIME_CHECKS_RESTORE", + "content": "__pragma(runtime_checks(\"\",restore)) __pragma(check_stack()) __pragma(strict_gs_check(pop))", + "conditionals": [ + { + "condition": "if", + "expression": "defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 116 + } + }, + { + "name": "IM_MSVC_RUNTIME_CHECKS_OFF", + "conditionals": [ + { + "condition": "ifnot", + "expression": "defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 118 + } + }, + { + "name": "IM_MSVC_RUNTIME_CHECKS_RESTORE", + "conditionals": [ + { + "condition": "ifnot", + "expression": "defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 119 + } + }, + { + "name": "IMGUI_PAYLOAD_TYPE_COLOR_3F", + "content": "\"_COL3F\"", + "comments": { + "attached": "// float[3]: Standard type for colors, without alpha. User code may use this type." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1379 + } + }, + { + "name": "IMGUI_PAYLOAD_TYPE_COLOR_4F", + "content": "\"_COL4F\"", + "comments": { + "attached": "// float[4]: Standard type for colors. User code may use this type." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1380 + } + }, + { + "name": "IMGUI_DISABLE_OBSOLETE_KEYIO", + "conditionals": [ + { + "condition": "if", + "expression": "defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_OBSOLETE_KEYIO)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1419 + } + }, + { + "name": "IM_UNICODE_CODEPOINT_INVALID", + "content": "0xFFFD", + "comments": { + "attached": "// Invalid Unicode code point (standard value)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2539 + } + }, + { + "name": "IM_UNICODE_CODEPOINT_MAX", + "content": "0x10FFFF", + "comments": { + "attached": "// Maximum Unicode code point supported by this build." + }, + "conditionals": [ + { + "condition": "ifdef", + "expression": "IMGUI_USE_WCHAR32" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2541 + } + }, + { + "name": "IM_UNICODE_CODEPOINT_MAX", + "content": "0xFFFF", + "comments": { + "attached": "// Maximum Unicode code point supported by this build." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_USE_WCHAR32" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2543 + } + }, + { + "name": "IMGUI_DEFINE_MATH_OPERATORS_IMPLEMENTED", + "conditionals": [ + { + "condition": "ifdef", + "expression": "IMGUI_DEFINE_MATH_OPERATORS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2712 + } + }, + { + "name": "IM_COL32_R_SHIFT", + "content": "16", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifdef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2741 + } + }, + { + "name": "IM_COL32_G_SHIFT", + "content": "8", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifdef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2742 + } + }, + { + "name": "IM_COL32_B_SHIFT", + "content": "0", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifdef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2743 + } + }, + { + "name": "IM_COL32_A_SHIFT", + "content": "24", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifdef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2744 + } + }, + { + "name": "IM_COL32_A_MASK", + "content": "0xFF000000", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifdef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2745 + } + }, + { + "name": "IM_COL32_R_SHIFT", + "content": "0", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifndef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2747 + } + }, + { + "name": "IM_COL32_G_SHIFT", + "content": "8", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifndef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2748 + } + }, + { + "name": "IM_COL32_B_SHIFT", + "content": "16", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifndef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2749 + } + }, + { + "name": "IM_COL32_A_SHIFT", + "content": "24", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifndef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2750 + } + }, + { + "name": "IM_COL32_A_MASK", + "content": "0xFF000000", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_COL32_R_SHIFT" + }, + { + "condition": "ifndef", + "expression": "IMGUI_USE_BGRA_PACKED_COLOR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2751 + } + }, + { + "name": "IM_DRAWLIST_TEX_LINES_WIDTH_MAX", + "content": "63", + "conditionals": [ + { + "condition": "ifndef", + "expression": "IM_DRAWLIST_TEX_LINES_WIDTH_MAX" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2787 + } + }, + { + "name": "IMGUI_DISABLE_DEBUG_TOOLS", + "conditionals": [ + { + "condition": "if", + "expression": "defined(IMGUI_DISABLE_METRICS_WINDOW)&&!defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_DEBUG_TOOLS)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3647 + } + } + ], + "enums": [ + { + "name": "ImGuiWindowFlags_", + "original_fully_qualified_name": "ImGuiWindowFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiWindowFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1063 + } + }, + { + "name": "ImGuiWindowFlags_NoTitleBar", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Disable title-bar" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1064 + } + }, + { + "name": "ImGuiWindowFlags_NoResize", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Disable user resizing with the lower-right grip" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1065 + } + }, + { + "name": "ImGuiWindowFlags_NoMove", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Disable user moving the window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1066 + } + }, + { + "name": "ImGuiWindowFlags_NoScrollbar", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Disable scrollbars (window can still scroll with mouse or programmatically)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1067 + } + }, + { + "name": "ImGuiWindowFlags_NoScrollWithMouse", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1068 + } + }, + { + "name": "ImGuiWindowFlags_NoCollapse", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1069 + } + }, + { + "name": "ImGuiWindowFlags_AlwaysAutoResize", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Resize every window to its content every frame" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1070 + } + }, + { + "name": "ImGuiWindowFlags_NoBackground", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1071 + } + }, + { + "name": "ImGuiWindowFlags_NoSavedSettings", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Never load/save settings in .ini file" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1072 + } + }, + { + "name": "ImGuiWindowFlags_NoMouseInputs", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "attached": "// Disable catching mouse, hovering test with pass through." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1073 + } + }, + { + "name": "ImGuiWindowFlags_MenuBar", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// Has a menu-bar" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1074 + } + }, + { + "name": "ImGuiWindowFlags_HorizontalScrollbar", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the \"Horizontal Scrolling\" section." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1075 + } + }, + { + "name": "ImGuiWindowFlags_NoFocusOnAppearing", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Disable taking focus when transitioning from hidden to visible state" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1076 + } + }, + { + "name": "ImGuiWindowFlags_NoBringToFrontOnFocus", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "attached": "// Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1077 + } + }, + { + "name": "ImGuiWindowFlags_AlwaysVerticalScrollbar", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// Always show vertical scrollbar (even if ContentSize.y < Size.y)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1078 + } + }, + { + "name": "ImGuiWindowFlags_AlwaysHorizontalScrollbar", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// Always show horizontal scrollbar (even if ContentSize.x < Size.x)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1079 + } + }, + { + "name": "ImGuiWindowFlags_NoNavInputs", + "value_expression": "1<<16", + "value": 65536, + "is_count": false, + "comments": { + "attached": "// No gamepad/keyboard navigation within the window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1080 + } + }, + { + "name": "ImGuiWindowFlags_NoNavFocus", + "value_expression": "1<<17", + "value": 131072, + "is_count": false, + "comments": { + "attached": "// No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1081 + } + }, + { + "name": "ImGuiWindowFlags_UnsavedDocument", + "value_expression": "1<<18", + "value": 262144, + "is_count": false, + "comments": { + "attached": "// Display a dot next to the title. When used in a tab/docking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1082 + } + }, + { + "name": "ImGuiWindowFlags_NoDocking", + "value_expression": "1<<19", + "value": 524288, + "is_count": false, + "comments": { + "attached": "// Disable docking of this window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1083 + } + }, + { + "name": "ImGuiWindowFlags_NoNav", + "value_expression": "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus", + "value": 196608, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1084 + } + }, + { + "name": "ImGuiWindowFlags_NoDecoration", + "value_expression": "ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse", + "value": 43, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1085 + } + }, + { + "name": "ImGuiWindowFlags_NoInputs", + "value_expression": "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus", + "value": 197120, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1086 + } + }, + { + "name": "ImGuiWindowFlags_ChildWindow", + "value_expression": "1<<24", + "value": 16777216, + "is_count": false, + "comments": { + "preceding": [ + "// [Internal]" + ], + "attached": "// Don't use! For internal use by BeginChild()" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1089 + } + }, + { + "name": "ImGuiWindowFlags_Tooltip", + "value_expression": "1<<25", + "value": 33554432, + "is_count": false, + "comments": { + "attached": "// Don't use! For internal use by BeginTooltip()" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1090 + } + }, + { + "name": "ImGuiWindowFlags_Popup", + "value_expression": "1<<26", + "value": 67108864, + "is_count": false, + "comments": { + "attached": "// Don't use! For internal use by BeginPopup()" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1091 + } + }, + { + "name": "ImGuiWindowFlags_Modal", + "value_expression": "1<<27", + "value": 134217728, + "is_count": false, + "comments": { + "attached": "// Don't use! For internal use by BeginPopupModal()" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1092 + } + }, + { + "name": "ImGuiWindowFlags_ChildMenu", + "value_expression": "1<<28", + "value": 268435456, + "is_count": false, + "comments": { + "attached": "// Don't use! For internal use by BeginMenu()" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1093 + } + }, + { + "name": "ImGuiWindowFlags_DockNodeHost", + "value_expression": "1<<29", + "value": 536870912, + "is_count": false, + "comments": { + "attached": "// Don't use! For internal use by Begin()/NewFrame()" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1094 + } + }, + { + "name": "ImGuiWindowFlags_AlwaysUseWindowPadding", + "value_expression": "1<<30", + "value": 1073741824, + "is_count": false, + "comments": { + "attached": "// Obsoleted in 1.90: Use ImGuiChildFlags_AlwaysUseWindowPadding in BeginChild() call." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1098 + } + }, + { + "name": "ImGuiWindowFlags_NavFlattened", + "value_expression": "1<<31", + "value": 2147483648, + "is_count": false, + "comments": { + "attached": "// Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1099 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::Begin()", + "// (Those are per-window flags. There are shared flags in ImGuiIO: io.ConfigWindowsResizeFromEdges and io.ConfigWindowsMoveFromTitleBarOnly)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1061 + } + }, + { + "name": "ImGuiChildFlags_", + "original_fully_qualified_name": "ImGuiChildFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiChildFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1114 + } + }, + { + "name": "ImGuiChildFlags_Border", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy reason)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1115 + } + }, + { + "name": "ImGuiChildFlags_AlwaysUseWindowPadding", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child windows because it makes more sense)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1116 + } + }, + { + "name": "ImGuiChildFlags_ResizeX", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Allow resize from right border (layout direction). Enable .ini saving (unless ImGuiWindowFlags_NoSavedSettings passed to window flags)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1117 + } + }, + { + "name": "ImGuiChildFlags_ResizeY", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Allow resize from bottom border (layout direction). \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1118 + } + }, + { + "name": "ImGuiChildFlags_AutoResizeX", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Enable auto-resizing width. Read \"IMPORTANT: Size measurement\" details above." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1119 + } + }, + { + "name": "ImGuiChildFlags_AutoResizeY", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Enable auto-resizing height. Read \"IMPORTANT: Size measurement\" details above." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1120 + } + }, + { + "name": "ImGuiChildFlags_AlwaysAutoResize", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Combined with AutoResizeX/AutoResizeY. Always measure size even when child is hidden, always return true, always disable clipping optimization! NOT RECOMMENDED." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1121 + } + }, + { + "name": "ImGuiChildFlags_FrameStyle", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1122 + } + }, + { + "name": "ImGuiChildFlags_NavFlattened", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Share focus scope, allow gamepad/keyboard navigation to cross over parent border to this child or between sibling child windows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1123 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::BeginChild()", + "// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Border to be backward compatible with old API using 'bool border = false'.", + "// About using AutoResizeX/AutoResizeY flags:", + "// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see \"Demo->Child->Auto-resize with Constraints\").", + "// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.", + "// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.", + "// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional \"resizing after becoming visible again\" glitch.", + "// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.", + "// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1112 + } + }, + { + "name": "ImGuiInputTextFlags_", + "original_fully_qualified_name": "ImGuiInputTextFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiInputTextFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "preceding": [ + "// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1131 + } + }, + { + "name": "ImGuiInputTextFlags_CharsDecimal", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Allow 0123456789.+-*/" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1132 + } + }, + { + "name": "ImGuiInputTextFlags_CharsHexadecimal", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Allow 0123456789ABCDEFabcdef" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1133 + } + }, + { + "name": "ImGuiInputTextFlags_CharsScientific", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Allow 0123456789.+-*/eE (Scientific notation input)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1134 + } + }, + { + "name": "ImGuiInputTextFlags_CharsUppercase", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Turn a..z into A..Z" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1135 + } + }, + { + "name": "ImGuiInputTextFlags_CharsNoBlank", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Filter out spaces, tabs" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1136 + } + }, + { + "name": "ImGuiInputTextFlags_AllowTabInput", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "preceding": [ + "// Inputs" + ], + "attached": "// Pressing TAB input a '\\t' character into the text field" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1139 + } + }, + { + "name": "ImGuiInputTextFlags_EnterReturnsTrue", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider looking at the IsItemDeactivatedAfterEdit() function." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1140 + } + }, + { + "name": "ImGuiInputTextFlags_EscapeClearsAll", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Escape key clears content if not empty, and deactivate otherwise (contrast to default behavior of Escape to revert)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1141 + } + }, + { + "name": "ImGuiInputTextFlags_CtrlEnterForNewLine", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1142 + } + }, + { + "name": "ImGuiInputTextFlags_ReadOnly", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "preceding": [ + "// Other options" + ], + "attached": "// Read-only mode" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1145 + } + }, + { + "name": "ImGuiInputTextFlags_Password", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// Password mode, display all characters as '*', disable copy" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1146 + } + }, + { + "name": "ImGuiInputTextFlags_AlwaysOverwrite", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// Overwrite mode" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1147 + } + }, + { + "name": "ImGuiInputTextFlags_AutoSelectAll", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Select entire text when first taking mouse focus" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1148 + } + }, + { + "name": "ImGuiInputTextFlags_ParseEmptyRefVal", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "attached": "// InputFloat(), InputInt(), InputScalar() etc. only: parse empty string as zero value." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1149 + } + }, + { + "name": "ImGuiInputTextFlags_DisplayEmptyRefVal", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// InputFloat(), InputInt(), InputScalar() etc. only: when value is zero, do not display it. Generally used with ImGuiInputTextFlags_ParseEmptyRefVal." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1150 + } + }, + { + "name": "ImGuiInputTextFlags_NoHorizontalScroll", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// Disable following the cursor horizontally" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1151 + } + }, + { + "name": "ImGuiInputTextFlags_NoUndoRedo", + "value_expression": "1<<16", + "value": 65536, + "is_count": false, + "comments": { + "attached": "// Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1152 + } + }, + { + "name": "ImGuiInputTextFlags_CallbackCompletion", + "value_expression": "1<<17", + "value": 131072, + "is_count": false, + "comments": { + "preceding": [ + "// Callback features" + ], + "attached": "// Callback on pressing TAB (for completion handling)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1155 + } + }, + { + "name": "ImGuiInputTextFlags_CallbackHistory", + "value_expression": "1<<18", + "value": 262144, + "is_count": false, + "comments": { + "attached": "// Callback on pressing Up/Down arrows (for history handling)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1156 + } + }, + { + "name": "ImGuiInputTextFlags_CallbackAlways", + "value_expression": "1<<19", + "value": 524288, + "is_count": false, + "comments": { + "attached": "// Callback on each iteration. User code may query cursor position, modify text buffer." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1157 + } + }, + { + "name": "ImGuiInputTextFlags_CallbackCharFilter", + "value_expression": "1<<20", + "value": 1048576, + "is_count": false, + "comments": { + "attached": "// Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1158 + } + }, + { + "name": "ImGuiInputTextFlags_CallbackResize", + "value_expression": "1<<21", + "value": 2097152, + "is_count": false, + "comments": { + "attached": "// 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)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1159 + } + }, + { + "name": "ImGuiInputTextFlags_CallbackEdit", + "value_expression": "1<<22", + "value": 4194304, + "is_count": false, + "comments": { + "attached": "// 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)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1160 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::InputText()", + "// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigInputTextCursorBlink and io.ConfigInputTextEnterKeepActive)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1128 + } + }, + { + "name": "ImGuiTreeNodeFlags_", + "original_fully_qualified_name": "ImGuiTreeNodeFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiTreeNodeFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1169 + } + }, + { + "name": "ImGuiTreeNodeFlags_Selected", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Draw as selected" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1170 + } + }, + { + "name": "ImGuiTreeNodeFlags_Framed", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Draw frame with background (e.g. for CollapsingHeader)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1171 + } + }, + { + "name": "ImGuiTreeNodeFlags_AllowOverlap", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Hit testing to allow subsequent widgets to overlap this one" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1172 + } + }, + { + "name": "ImGuiTreeNodeFlags_NoTreePushOnOpen", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1173 + } + }, + { + "name": "ImGuiTreeNodeFlags_NoAutoOpenOnLog", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1174 + } + }, + { + "name": "ImGuiTreeNodeFlags_DefaultOpen", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Default node to be open" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1175 + } + }, + { + "name": "ImGuiTreeNodeFlags_OpenOnDoubleClick", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Need double-click to open node" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1176 + } + }, + { + "name": "ImGuiTreeNodeFlags_OpenOnArrow", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1177 + } + }, + { + "name": "ImGuiTreeNodeFlags_Leaf", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// No collapsing, no arrow (use as a convenience for leaf nodes)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1178 + } + }, + { + "name": "ImGuiTreeNodeFlags_Bullet", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "attached": "// Display a bullet instead of arrow. IMPORTANT: node can still be marked open/close if you don't set the _Leaf flag!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1179 + } + }, + { + "name": "ImGuiTreeNodeFlags_FramePadding", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1180 + } + }, + { + "name": "ImGuiTreeNodeFlags_SpanAvailWidth", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line without using AllowOverlap mode." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1181 + } + }, + { + "name": "ImGuiTreeNodeFlags_SpanFullWidth", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Extend hit box to the left-most and right-most edges (cover the indent area)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1182 + } + }, + { + "name": "ImGuiTreeNodeFlags_SpanTextWidth", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "attached": "// Narrow hit box + narrow hovering highlight, will only cover the label text." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1183 + } + }, + { + "name": "ImGuiTreeNodeFlags_SpanAllColumns", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// Frame will span all columns of its container table (text will still fit in current column)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1184 + } + }, + { + "name": "ImGuiTreeNodeFlags_NavLeftJumpsBackHere", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1185 + } + }, + { + "name": "ImGuiTreeNodeFlags_CollapsingHeader", + "value_expression": "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog", + "value": 26, + "is_count": false, + "comments": { + "preceding": [ + "//ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 16, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1187 + } + }, + { + "name": "ImGuiTreeNodeFlags_AllowItemOverlap", + "value_expression": "ImGuiTreeNodeFlags_AllowOverlap", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Renamed in 1.89.7" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1190 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1167 + } + }, + { + "name": "ImGuiPopupFlags_", + "original_fully_qualified_name": "ImGuiPopupFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiPopupFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1204 + } + }, + { + "name": "ImGuiPopupFlags_MouseButtonLeft", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "attached": "// For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1205 + } + }, + { + "name": "ImGuiPopupFlags_MouseButtonRight", + "value_expression": "1", + "value": 1, + "is_count": false, + "comments": { + "attached": "// For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1206 + } + }, + { + "name": "ImGuiPopupFlags_MouseButtonMiddle", + "value_expression": "2", + "value": 2, + "is_count": false, + "comments": { + "attached": "// For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1207 + } + }, + { + "name": "ImGuiPopupFlags_MouseButtonMask_", + "value_expression": "0x1F", + "value": 31, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1208 + } + }, + { + "name": "ImGuiPopupFlags_MouseButtonDefault_", + "value_expression": "1", + "value": 1, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1209 + } + }, + { + "name": "ImGuiPopupFlags_NoReopen", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// For OpenPopup*(), BeginPopupContext*(): don't reopen same popup if already open (won't reposition, won't reinitialize navigation)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1210 + } + }, + { + "name": "ImGuiPopupFlags_NoOpenOverExistingPopup", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "preceding": [ + "//ImGuiPopupFlags_NoReopenAlwaysNavInit = 1 << 6, // For OpenPopup*(), BeginPopupContext*(): focus and initialize navigation even when not reopening." + ], + "attached": "// For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1212 + } + }, + { + "name": "ImGuiPopupFlags_NoOpenOverItems", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1213 + } + }, + { + "name": "ImGuiPopupFlags_AnyPopupId", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1214 + } + }, + { + "name": "ImGuiPopupFlags_AnyPopupLevel", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1215 + } + }, + { + "name": "ImGuiPopupFlags_AnyPopup", + "value_expression": "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel", + "value": 3072, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1216 + } + } + ], + "comments": { + "preceding": [ + "// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.", + "// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',", + "// 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.", + "// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.", + "// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.", + "// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter", + "// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.", + "// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later)." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1202 + } + }, + { + "name": "ImGuiSelectableFlags_", + "original_fully_qualified_name": "ImGuiSelectableFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiSelectableFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1222 + } + }, + { + "name": "ImGuiSelectableFlags_DontClosePopups", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Clicking this doesn't close parent popup window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1223 + } + }, + { + "name": "ImGuiSelectableFlags_SpanAllColumns", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Frame will span all columns of its container table (text will still fit in current column)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1224 + } + }, + { + "name": "ImGuiSelectableFlags_AllowDoubleClick", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Generate press events on double clicks too" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1225 + } + }, + { + "name": "ImGuiSelectableFlags_Disabled", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Cannot be selected, display grayed out text" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1226 + } + }, + { + "name": "ImGuiSelectableFlags_AllowOverlap", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// (WIP) Hit testing to allow subsequent widgets to overlap this one" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1227 + } + }, + { + "name": "ImGuiSelectableFlags_AllowItemOverlap", + "value_expression": "ImGuiSelectableFlags_AllowOverlap", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Renamed in 1.89.7" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1230 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::Selectable()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1220 + } + }, + { + "name": "ImGuiComboFlags_", + "original_fully_qualified_name": "ImGuiComboFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiComboFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1237 + } + }, + { + "name": "ImGuiComboFlags_PopupAlignLeft", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Align the popup toward the left by default" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1238 + } + }, + { + "name": "ImGuiComboFlags_HeightSmall", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1239 + } + }, + { + "name": "ImGuiComboFlags_HeightRegular", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Max ~8 items visible (default)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1240 + } + }, + { + "name": "ImGuiComboFlags_HeightLarge", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Max ~20 items visible" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1241 + } + }, + { + "name": "ImGuiComboFlags_HeightLargest", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// As many fitting items as possible" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1242 + } + }, + { + "name": "ImGuiComboFlags_NoArrowButton", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Display on the preview box without the square arrow button" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1243 + } + }, + { + "name": "ImGuiComboFlags_NoPreview", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Display only a square arrow button" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1244 + } + }, + { + "name": "ImGuiComboFlags_WidthFitPreview", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Width dynamically calculated from preview contents" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1245 + } + }, + { + "name": "ImGuiComboFlags_HeightMask_", + "value_expression": "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest", + "value": 30, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1246 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::BeginCombo()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1235 + } + }, + { + "name": "ImGuiTabBarFlags_", + "original_fully_qualified_name": "ImGuiTabBarFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiTabBarFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1252 + } + }, + { + "name": "ImGuiTabBarFlags_Reorderable", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Allow manually dragging tabs to re-order them + New tabs are appended at the end of list" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1253 + } + }, + { + "name": "ImGuiTabBarFlags_AutoSelectNewTabs", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Automatically select new tabs when they appear" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1254 + } + }, + { + "name": "ImGuiTabBarFlags_TabListPopupButton", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Disable buttons to open the tab list popup" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1255 + } + }, + { + "name": "ImGuiTabBarFlags_NoCloseWithMiddleMouseButton", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1256 + } + }, + { + "name": "ImGuiTabBarFlags_NoTabListScrollingButtons", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1257 + } + }, + { + "name": "ImGuiTabBarFlags_NoTooltip", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Disable tooltips when hovering a tab" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1258 + } + }, + { + "name": "ImGuiTabBarFlags_DrawSelectedOverline", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Draw selected overline markers over selected tab" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1259 + } + }, + { + "name": "ImGuiTabBarFlags_FittingPolicyResizeDown", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Resize tabs when they don't fit" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1260 + } + }, + { + "name": "ImGuiTabBarFlags_FittingPolicyScroll", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Add scroll buttons when tabs don't fit" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1261 + } + }, + { + "name": "ImGuiTabBarFlags_FittingPolicyMask_", + "value_expression": "ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll", + "value": 384, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1262 + } + }, + { + "name": "ImGuiTabBarFlags_FittingPolicyDefault_", + "value_expression": "ImGuiTabBarFlags_FittingPolicyResizeDown", + "value": 128, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1263 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::BeginTabBar()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1250 + } + }, + { + "name": "ImGuiTabItemFlags_", + "original_fully_qualified_name": "ImGuiTabItemFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiTabItemFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1269 + } + }, + { + "name": "ImGuiTabItemFlags_UnsavedDocument", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1270 + } + }, + { + "name": "ImGuiTabItemFlags_SetSelected", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Trigger flag to programmatically make the tab selected when calling BeginTabItem()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1271 + } + }, + { + "name": "ImGuiTabItemFlags_NoCloseWithMiddleMouseButton", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1272 + } + }, + { + "name": "ImGuiTabItemFlags_NoPushId", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Don't call PushID()/PopID() on BeginTabItem()/EndTabItem()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1273 + } + }, + { + "name": "ImGuiTabItemFlags_NoTooltip", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Disable tooltip for the given tab" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1274 + } + }, + { + "name": "ImGuiTabItemFlags_NoReorder", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Disable reordering this tab or having another tab cross over this tab" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1275 + } + }, + { + "name": "ImGuiTabItemFlags_Leading", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Enforce the tab position to the left of the tab bar (after the tab list popup button)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1276 + } + }, + { + "name": "ImGuiTabItemFlags_Trailing", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Enforce the tab position to the right of the tab bar (before the scrolling buttons)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1277 + } + }, + { + "name": "ImGuiTabItemFlags_NoAssumedClosure", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Tab is selected when trying to close + closure is not immediately assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1278 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::BeginTabItem()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1267 + } + }, + { + "name": "ImGuiFocusedFlags_", + "original_fully_qualified_name": "ImGuiFocusedFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiFocusedFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1284 + } + }, + { + "name": "ImGuiFocusedFlags_ChildWindows", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Return true if any children of the window is focused" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1285 + } + }, + { + "name": "ImGuiFocusedFlags_RootWindow", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Test from root window (top most parent of the current hierarchy)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1286 + } + }, + { + "name": "ImGuiFocusedFlags_AnyWindow", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1287 + } + }, + { + "name": "ImGuiFocusedFlags_NoPopupHierarchy", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1288 + } + }, + { + "name": "ImGuiFocusedFlags_DockHierarchy", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1289 + } + }, + { + "name": "ImGuiFocusedFlags_RootAndChildWindows", + "value_expression": "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows", + "value": 3, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1290 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::IsWindowFocused()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1282 + } + }, + { + "name": "ImGuiHoveredFlags_", + "original_fully_qualified_name": "ImGuiHoveredFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiHoveredFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "attached": "// Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1298 + } + }, + { + "name": "ImGuiHoveredFlags_ChildWindows", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// IsWindowHovered() only: Return true if any children of the window is hovered" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1299 + } + }, + { + "name": "ImGuiHoveredFlags_RootWindow", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1300 + } + }, + { + "name": "ImGuiHoveredFlags_AnyWindow", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// IsWindowHovered() only: Return true if any window is hovered" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1301 + } + }, + { + "name": "ImGuiHoveredFlags_NoPopupHierarchy", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1302 + } + }, + { + "name": "ImGuiHoveredFlags_DockHierarchy", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1303 + } + }, + { + "name": "ImGuiHoveredFlags_AllowWhenBlockedByPopup", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Return true even if a popup window is normally blocking access to this item/window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1304 + } + }, + { + "name": "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "preceding": [ + "//ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 6, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet." + ], + "attached": "// Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1306 + } + }, + { + "name": "ImGuiHoveredFlags_AllowWhenOverlappedByItem", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1307 + } + }, + { + "name": "ImGuiHoveredFlags_AllowWhenOverlappedByWindow", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1308 + } + }, + { + "name": "ImGuiHoveredFlags_AllowWhenDisabled", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Return true even if the item is disabled" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1309 + } + }, + { + "name": "ImGuiHoveredFlags_NoNavOverride", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Disable using gamepad/keyboard navigation state when active, always query mouse" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1310 + } + }, + { + "name": "ImGuiHoveredFlags_AllowWhenOverlapped", + "value_expression": "ImGuiHoveredFlags_AllowWhenOverlappedByItem | ImGuiHoveredFlags_AllowWhenOverlappedByWindow", + "value": 768, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1311 + } + }, + { + "name": "ImGuiHoveredFlags_RectOnly", + "value_expression": "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped", + "value": 928, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1312 + } + }, + { + "name": "ImGuiHoveredFlags_RootAndChildWindows", + "value_expression": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows", + "value": 3, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1313 + } + }, + { + "name": "ImGuiHoveredFlags_ForTooltip", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "preceding": [ + "// Tooltips mode", + "// - typically used in IsItemHovered() + SetTooltip() sequence.", + "// - this is a shortcut to pull flags from 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' where you can reconfigure desired behavior.", + "// e.g. 'TooltipHoveredFlagsForMouse' defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'.", + "// - for frequently actioned or hovered items providing a tooltip, you want may to use ImGuiHoveredFlags_ForTooltip (stationary + delay) so the tooltip doesn't show too often.", + "// - for items which main purpose is to be hovered, or items with low affordance, or in less consistent apps, prefer no delay or shorter delay." + ], + "attached": "// Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1321 + } + }, + { + "name": "ImGuiHoveredFlags_Stationary", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "preceding": [ + "// (Advanced) Mouse Hovering delays.", + "// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.", + "// - use those if you need specific overrides." + ], + "attached": "// Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) _at least one time_. After this, can move on same item/window. Using the stationary test tends to reduces the need for a long delay." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1326 + } + }, + { + "name": "ImGuiHoveredFlags_DelayNone", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1327 + } + }, + { + "name": "ImGuiHoveredFlags_DelayShort", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1328 + } + }, + { + "name": "ImGuiHoveredFlags_DelayNormal", + "value_expression": "1<<16", + "value": 65536, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1329 + } + }, + { + "name": "ImGuiHoveredFlags_NoSharedDelay", + "value_expression": "1<<17", + "value": 131072, + "is_count": false, + "comments": { + "attached": "// IsItemHovered() only: Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1330 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()", + "// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!", + "// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1296 + } + }, + { + "name": "ImGuiDockNodeFlags_", + "original_fully_qualified_name": "ImGuiDockNodeFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiDockNodeFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1338 + } + }, + { + "name": "ImGuiDockNodeFlags_KeepAliveOnly", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// // Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1339 + } + }, + { + "name": "ImGuiDockNodeFlags_NoDockingOverCentralNode", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "preceding": [ + "//ImGuiDockNodeFlags_NoCentralNode = 1 << 1, // // Disable Central Node (the node which can stay empty)" + ], + "attached": "// // Disable docking over the Central Node, which will be always kept empty." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1341 + } + }, + { + "name": "ImGuiDockNodeFlags_PassthruCentralNode", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// // Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1342 + } + }, + { + "name": "ImGuiDockNodeFlags_NoDockingSplit", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// // Disable other windows/nodes from splitting this node." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1343 + } + }, + { + "name": "ImGuiDockNodeFlags_NoResize", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Saved // Disable resizing node using the splitter/separators. Useful with programmatically setup dockspaces." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1344 + } + }, + { + "name": "ImGuiDockNodeFlags_AutoHideTabBar", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// // Tab bar will automatically hide when there is a single window in the dock node." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1345 + } + }, + { + "name": "ImGuiDockNodeFlags_NoUndocking", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// // Disable undocking this node." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1346 + } + }, + { + "name": "ImGuiDockNodeFlags_NoSplit", + "value_expression": "ImGuiDockNodeFlags_NoDockingSplit", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Renamed in 1.90" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1349 + } + }, + { + "name": "ImGuiDockNodeFlags_NoDockingInCentralNode", + "value_expression": "ImGuiDockNodeFlags_NoDockingOverCentralNode", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Renamed in 1.90" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1350 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::DockSpace(), shared/inherited by child nodes.", + "// (Some flags can be applied to individual nodes directly)", + "// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1336 + } + }, + { + "name": "ImGuiDragDropFlags_", + "original_fully_qualified_name": "ImGuiDragDropFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiDragDropFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1357 + } + }, + { + "name": "ImGuiDragDropFlags_SourceNoPreviewTooltip", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "preceding": [ + "// BeginDragDropSource() flags" + ], + "attached": "// Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1359 + } + }, + { + "name": "ImGuiDragDropFlags_SourceNoDisableHover", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1360 + } + }, + { + "name": "ImGuiDragDropFlags_SourceNoHoldToOpenOthers", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1361 + } + }, + { + "name": "ImGuiDragDropFlags_SourceAllowNullID", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1362 + } + }, + { + "name": "ImGuiDragDropFlags_SourceExtern", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1363 + } + }, + { + "name": "ImGuiDragDropFlags_PayloadAutoExpire", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1364 + } + }, + { + "name": "ImGuiDragDropFlags_PayloadNoCrossContext", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Hint to specify that the payload may not be copied outside current dear imgui context." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1365 + } + }, + { + "name": "ImGuiDragDropFlags_PayloadNoCrossProcess", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Hint to specify that the payload may not be copied outside current process." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1366 + } + }, + { + "name": "ImGuiDragDropFlags_AcceptBeforeDelivery", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "preceding": [ + "// AcceptDragDropPayload() flags" + ], + "attached": "// AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1368 + } + }, + { + "name": "ImGuiDragDropFlags_AcceptNoDrawDefaultRect", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// Do not draw the default highlight rectangle when hovering over target." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1369 + } + }, + { + "name": "ImGuiDragDropFlags_AcceptNoPreviewTooltip", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1370 + } + }, + { + "name": "ImGuiDragDropFlags_AcceptPeekOnly", + "value_expression": "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect", + "value": 3072, + "is_count": false, + "comments": { + "attached": "// For peeking ahead and inspecting the payload before delivery." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1371 + } + }, + { + "name": "ImGuiDragDropFlags_SourceAutoExpirePayload", + "value_expression": "ImGuiDragDropFlags_PayloadAutoExpire", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Renamed in 1.90.9" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1374 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1355 + } + }, + { + "name": "ImGuiDataType_", + "original_fully_qualified_name": "ImGuiDataType_", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiDataType_S8", + "value": 0, + "is_count": false, + "comments": { + "attached": "// signed char / char (with sensible compilers)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1385 + } + }, + { + "name": "ImGuiDataType_U8", + "value": 1, + "is_count": false, + "comments": { + "attached": "// unsigned char" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1386 + } + }, + { + "name": "ImGuiDataType_S16", + "value": 2, + "is_count": false, + "comments": { + "attached": "// short" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1387 + } + }, + { + "name": "ImGuiDataType_U16", + "value": 3, + "is_count": false, + "comments": { + "attached": "// unsigned short" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1388 + } + }, + { + "name": "ImGuiDataType_S32", + "value": 4, + "is_count": false, + "comments": { + "attached": "// int" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1389 + } + }, + { + "name": "ImGuiDataType_U32", + "value": 5, + "is_count": false, + "comments": { + "attached": "// unsigned int" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1390 + } + }, + { + "name": "ImGuiDataType_S64", + "value": 6, + "is_count": false, + "comments": { + "attached": "// long long / __int64" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1391 + } + }, + { + "name": "ImGuiDataType_U64", + "value": 7, + "is_count": false, + "comments": { + "attached": "// unsigned long long / unsigned __int64" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1392 + } + }, + { + "name": "ImGuiDataType_Float", + "value": 8, + "is_count": false, + "comments": { + "attached": "// float" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1393 + } + }, + { + "name": "ImGuiDataType_Double", + "value": 9, + "is_count": false, + "comments": { + "attached": "// double" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1394 + } + }, + { + "name": "ImGuiDataType_COUNT", + "value": 10, + "is_count": true, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1395 + } + } + ], + "comments": { + "preceding": [ + "// A primary data type" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1383 + } + }, + { + "name": "ImGuiDir", + "original_fully_qualified_name": "ImGuiDir", + "storage_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiDir_None", + "value_expression": "-1", + "value": -1, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1401 + } + }, + { + "name": "ImGuiDir_Left", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1402 + } + }, + { + "name": "ImGuiDir_Right", + "value_expression": "1", + "value": 1, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1403 + } + }, + { + "name": "ImGuiDir_Up", + "value_expression": "2", + "value": 2, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1404 + } + }, + { + "name": "ImGuiDir_Down", + "value_expression": "3", + "value": 3, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1405 + } + }, + { + "name": "ImGuiDir_COUNT", + "value": 4, + "is_count": true, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1406 + } + } + ], + "comments": { + "preceding": [ + "// A cardinal direction" + ], + "attached": "// Forward declared enum type ImGuiDir" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1399 + } + }, + { + "name": "ImGuiSortDirection", + "original_fully_qualified_name": "ImGuiSortDirection", + "storage_type": { + "declaration": "ImU8", + "description": { + "kind": "User", + "name": "ImU8" + } + }, + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiSortDirection_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1412 + } + }, + { + "name": "ImGuiSortDirection_Ascending", + "value_expression": "1", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Ascending = 0->9, A->Z etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1413 + } + }, + { + "name": "ImGuiSortDirection_Descending", + "value_expression": "2", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Descending = 9->0, Z->A etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1414 + } + } + ], + "comments": { + "preceding": [ + "// A sorting direction" + ], + "attached": "// Forward declared enum type ImGuiSortDirection" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1410 + } + }, + { + "name": "ImGuiKey", + "original_fully_qualified_name": "ImGuiKey", + "storage_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiKey_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "preceding": [ + "// Keyboard" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1431 + } + }, + { + "name": "ImGuiKey_Tab", + "value_expression": "512", + "value": 512, + "is_count": false, + "comments": { + "attached": "// == ImGuiKey_NamedKey_BEGIN" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1432 + } + }, + { + "name": "ImGuiKey_LeftArrow", + "value": 513, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1433 + } + }, + { + "name": "ImGuiKey_RightArrow", + "value": 514, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1434 + } + }, + { + "name": "ImGuiKey_UpArrow", + "value": 515, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1435 + } + }, + { + "name": "ImGuiKey_DownArrow", + "value": 516, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1436 + } + }, + { + "name": "ImGuiKey_PageUp", + "value": 517, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1437 + } + }, + { + "name": "ImGuiKey_PageDown", + "value": 518, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1438 + } + }, + { + "name": "ImGuiKey_Home", + "value": 519, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1439 + } + }, + { + "name": "ImGuiKey_End", + "value": 520, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1440 + } + }, + { + "name": "ImGuiKey_Insert", + "value": 521, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1441 + } + }, + { + "name": "ImGuiKey_Delete", + "value": 522, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1442 + } + }, + { + "name": "ImGuiKey_Backspace", + "value": 523, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1443 + } + }, + { + "name": "ImGuiKey_Space", + "value": 524, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1444 + } + }, + { + "name": "ImGuiKey_Enter", + "value": 525, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1445 + } + }, + { + "name": "ImGuiKey_Escape", + "value": 526, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1446 + } + }, + { + "name": "ImGuiKey_LeftCtrl", + "value": 527, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1447 + } + }, + { + "name": "ImGuiKey_LeftShift", + "value": 528, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1447 + } + }, + { + "name": "ImGuiKey_LeftAlt", + "value": 529, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1447 + } + }, + { + "name": "ImGuiKey_LeftSuper", + "value": 530, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1447 + } + }, + { + "name": "ImGuiKey_RightCtrl", + "value": 531, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1448 + } + }, + { + "name": "ImGuiKey_RightShift", + "value": 532, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1448 + } + }, + { + "name": "ImGuiKey_RightAlt", + "value": 533, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1448 + } + }, + { + "name": "ImGuiKey_RightSuper", + "value": 534, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1448 + } + }, + { + "name": "ImGuiKey_Menu", + "value": 535, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1449 + } + }, + { + "name": "ImGuiKey_0", + "value": 536, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_1", + "value": 537, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_2", + "value": 538, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_3", + "value": 539, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_4", + "value": 540, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_5", + "value": 541, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_6", + "value": 542, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_7", + "value": 543, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_8", + "value": 544, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_9", + "value": 545, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1450 + } + }, + { + "name": "ImGuiKey_A", + "value": 546, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_B", + "value": 547, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_C", + "value": 548, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_D", + "value": 549, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_E", + "value": 550, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_F", + "value": 551, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_G", + "value": 552, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_H", + "value": 553, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_I", + "value": 554, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_J", + "value": 555, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1451 + } + }, + { + "name": "ImGuiKey_K", + "value": 556, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_L", + "value": 557, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_M", + "value": 558, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_N", + "value": 559, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_O", + "value": 560, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_P", + "value": 561, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_Q", + "value": 562, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_R", + "value": 563, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_S", + "value": 564, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_T", + "value": 565, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1452 + } + }, + { + "name": "ImGuiKey_U", + "value": 566, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1453 + } + }, + { + "name": "ImGuiKey_V", + "value": 567, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1453 + } + }, + { + "name": "ImGuiKey_W", + "value": 568, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1453 + } + }, + { + "name": "ImGuiKey_X", + "value": 569, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1453 + } + }, + { + "name": "ImGuiKey_Y", + "value": 570, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1453 + } + }, + { + "name": "ImGuiKey_Z", + "value": 571, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1453 + } + }, + { + "name": "ImGuiKey_F1", + "value": 572, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1454 + } + }, + { + "name": "ImGuiKey_F2", + "value": 573, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1454 + } + }, + { + "name": "ImGuiKey_F3", + "value": 574, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1454 + } + }, + { + "name": "ImGuiKey_F4", + "value": 575, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1454 + } + }, + { + "name": "ImGuiKey_F5", + "value": 576, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1454 + } + }, + { + "name": "ImGuiKey_F6", + "value": 577, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1454 + } + }, + { + "name": "ImGuiKey_F7", + "value": 578, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1455 + } + }, + { + "name": "ImGuiKey_F8", + "value": 579, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1455 + } + }, + { + "name": "ImGuiKey_F9", + "value": 580, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1455 + } + }, + { + "name": "ImGuiKey_F10", + "value": 581, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1455 + } + }, + { + "name": "ImGuiKey_F11", + "value": 582, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1455 + } + }, + { + "name": "ImGuiKey_F12", + "value": 583, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1455 + } + }, + { + "name": "ImGuiKey_F13", + "value": 584, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1456 + } + }, + { + "name": "ImGuiKey_F14", + "value": 585, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1456 + } + }, + { + "name": "ImGuiKey_F15", + "value": 586, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1456 + } + }, + { + "name": "ImGuiKey_F16", + "value": 587, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1456 + } + }, + { + "name": "ImGuiKey_F17", + "value": 588, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1456 + } + }, + { + "name": "ImGuiKey_F18", + "value": 589, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1456 + } + }, + { + "name": "ImGuiKey_F19", + "value": 590, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1457 + } + }, + { + "name": "ImGuiKey_F20", + "value": 591, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1457 + } + }, + { + "name": "ImGuiKey_F21", + "value": 592, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1457 + } + }, + { + "name": "ImGuiKey_F22", + "value": 593, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1457 + } + }, + { + "name": "ImGuiKey_F23", + "value": 594, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1457 + } + }, + { + "name": "ImGuiKey_F24", + "value": 595, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1457 + } + }, + { + "name": "ImGuiKey_Apostrophe", + "value": 596, + "is_count": false, + "comments": { + "attached": "// '" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1458 + } + }, + { + "name": "ImGuiKey_Comma", + "value": 597, + "is_count": false, + "comments": { + "attached": "// ," + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1459 + } + }, + { + "name": "ImGuiKey_Minus", + "value": 598, + "is_count": false, + "comments": { + "attached": "// -" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1460 + } + }, + { + "name": "ImGuiKey_Period", + "value": 599, + "is_count": false, + "comments": { + "attached": "// ." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1461 + } + }, + { + "name": "ImGuiKey_Slash", + "value": 600, + "is_count": false, + "comments": { + "attached": "// /" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1462 + } + }, + { + "name": "ImGuiKey_Semicolon", + "value": 601, + "is_count": false, + "comments": { + "attached": "// ;" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1463 + } + }, + { + "name": "ImGuiKey_Equal", + "value": 602, + "is_count": false, + "comments": { + "attached": "// =" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1464 + } + }, + { + "name": "ImGuiKey_LeftBracket", + "value": 603, + "is_count": false, + "comments": { + "attached": "// [" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1465 + } + }, + { + "name": "ImGuiKey_Backslash", + "value": 604, + "is_count": false, + "comments": { + "attached": "// \\ (this text inhibit multiline comment caused by backslash)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1466 + } + }, + { + "name": "ImGuiKey_RightBracket", + "value": 605, + "is_count": false, + "comments": { + "attached": "// ]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1467 + } + }, + { + "name": "ImGuiKey_GraveAccent", + "value": 606, + "is_count": false, + "comments": { + "attached": "// `" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1468 + } + }, + { + "name": "ImGuiKey_CapsLock", + "value": 607, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1469 + } + }, + { + "name": "ImGuiKey_ScrollLock", + "value": 608, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1470 + } + }, + { + "name": "ImGuiKey_NumLock", + "value": 609, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1471 + } + }, + { + "name": "ImGuiKey_PrintScreen", + "value": 610, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1472 + } + }, + { + "name": "ImGuiKey_Pause", + "value": 611, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1473 + } + }, + { + "name": "ImGuiKey_Keypad0", + "value": 612, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1474 + } + }, + { + "name": "ImGuiKey_Keypad1", + "value": 613, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1474 + } + }, + { + "name": "ImGuiKey_Keypad2", + "value": 614, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1474 + } + }, + { + "name": "ImGuiKey_Keypad3", + "value": 615, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1474 + } + }, + { + "name": "ImGuiKey_Keypad4", + "value": 616, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1474 + } + }, + { + "name": "ImGuiKey_Keypad5", + "value": 617, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1475 + } + }, + { + "name": "ImGuiKey_Keypad6", + "value": 618, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1475 + } + }, + { + "name": "ImGuiKey_Keypad7", + "value": 619, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1475 + } + }, + { + "name": "ImGuiKey_Keypad8", + "value": 620, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1475 + } + }, + { + "name": "ImGuiKey_Keypad9", + "value": 621, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1475 + } + }, + { + "name": "ImGuiKey_KeypadDecimal", + "value": 622, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1476 + } + }, + { + "name": "ImGuiKey_KeypadDivide", + "value": 623, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1477 + } + }, + { + "name": "ImGuiKey_KeypadMultiply", + "value": 624, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1478 + } + }, + { + "name": "ImGuiKey_KeypadSubtract", + "value": 625, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1479 + } + }, + { + "name": "ImGuiKey_KeypadAdd", + "value": 626, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1480 + } + }, + { + "name": "ImGuiKey_KeypadEnter", + "value": 627, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1481 + } + }, + { + "name": "ImGuiKey_KeypadEqual", + "value": 628, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1482 + } + }, + { + "name": "ImGuiKey_AppBack", + "value": 629, + "is_count": false, + "comments": { + "attached": "// Available on some keyboard/mouses. Often referred as \"Browser Back\"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1483 + } + }, + { + "name": "ImGuiKey_AppForward", + "value": 630, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1484 + } + }, + { + "name": "ImGuiKey_GamepadStart", + "value": 631, + "is_count": false, + "comments": { + "preceding": [ + "// Gamepad (some of those are analog values, 0.0f to 1.0f) // NAVIGATION ACTION", + "// (download controller mapping PNG/PSD at http://dearimgui.com/controls_sheets)" + ], + "attached": "// Menu (Xbox) + (Switch) Start/Options (PS)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1488 + } + }, + { + "name": "ImGuiKey_GamepadBack", + "value": 632, + "is_count": false, + "comments": { + "attached": "// View (Xbox) - (Switch) Share (PS)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1489 + } + }, + { + "name": "ImGuiKey_GamepadFaceLeft", + "value": 633, + "is_count": false, + "comments": { + "attached": "// X (Xbox) Y (Switch) Square (PS) // Tap: Toggle Menu. Hold: Windowing mode (Focus/Move/Resize windows)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1490 + } + }, + { + "name": "ImGuiKey_GamepadFaceRight", + "value": 634, + "is_count": false, + "comments": { + "attached": "// B (Xbox) A (Switch) Circle (PS) // Cancel / Close / Exit" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1491 + } + }, + { + "name": "ImGuiKey_GamepadFaceUp", + "value": 635, + "is_count": false, + "comments": { + "attached": "// Y (Xbox) X (Switch) Triangle (PS) // Text Input / On-screen Keyboard" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1492 + } + }, + { + "name": "ImGuiKey_GamepadFaceDown", + "value": 636, + "is_count": false, + "comments": { + "attached": "// A (Xbox) B (Switch) Cross (PS) // Activate / Open / Toggle / Tweak" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1493 + } + }, + { + "name": "ImGuiKey_GamepadDpadLeft", + "value": 637, + "is_count": false, + "comments": { + "attached": "// D-pad Left // Move / Tweak / Resize Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1494 + } + }, + { + "name": "ImGuiKey_GamepadDpadRight", + "value": 638, + "is_count": false, + "comments": { + "attached": "// D-pad Right // Move / Tweak / Resize Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1495 + } + }, + { + "name": "ImGuiKey_GamepadDpadUp", + "value": 639, + "is_count": false, + "comments": { + "attached": "// D-pad Up // Move / Tweak / Resize Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1496 + } + }, + { + "name": "ImGuiKey_GamepadDpadDown", + "value": 640, + "is_count": false, + "comments": { + "attached": "// D-pad Down // Move / Tweak / Resize Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1497 + } + }, + { + "name": "ImGuiKey_GamepadL1", + "value": 641, + "is_count": false, + "comments": { + "attached": "// L Bumper (Xbox) L (Switch) L1 (PS) // Tweak Slower / Focus Previous (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1498 + } + }, + { + "name": "ImGuiKey_GamepadR1", + "value": 642, + "is_count": false, + "comments": { + "attached": "// R Bumper (Xbox) R (Switch) R1 (PS) // Tweak Faster / Focus Next (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1499 + } + }, + { + "name": "ImGuiKey_GamepadL2", + "value": 643, + "is_count": false, + "comments": { + "attached": "// L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1500 + } + }, + { + "name": "ImGuiKey_GamepadR2", + "value": 644, + "is_count": false, + "comments": { + "attached": "// R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1501 + } + }, + { + "name": "ImGuiKey_GamepadL3", + "value": 645, + "is_count": false, + "comments": { + "attached": "// L Stick (Xbox) L3 (Switch) L3 (PS)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1502 + } + }, + { + "name": "ImGuiKey_GamepadR3", + "value": 646, + "is_count": false, + "comments": { + "attached": "// R Stick (Xbox) R3 (Switch) R3 (PS)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1503 + } + }, + { + "name": "ImGuiKey_GamepadLStickLeft", + "value": 647, + "is_count": false, + "comments": { + "attached": "// [Analog] // Move Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1504 + } + }, + { + "name": "ImGuiKey_GamepadLStickRight", + "value": 648, + "is_count": false, + "comments": { + "attached": "// [Analog] // Move Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1505 + } + }, + { + "name": "ImGuiKey_GamepadLStickUp", + "value": 649, + "is_count": false, + "comments": { + "attached": "// [Analog] // Move Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1506 + } + }, + { + "name": "ImGuiKey_GamepadLStickDown", + "value": 650, + "is_count": false, + "comments": { + "attached": "// [Analog] // Move Window (in Windowing mode)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1507 + } + }, + { + "name": "ImGuiKey_GamepadRStickLeft", + "value": 651, + "is_count": false, + "comments": { + "attached": "// [Analog]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1508 + } + }, + { + "name": "ImGuiKey_GamepadRStickRight", + "value": 652, + "is_count": false, + "comments": { + "attached": "// [Analog]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1509 + } + }, + { + "name": "ImGuiKey_GamepadRStickUp", + "value": 653, + "is_count": false, + "comments": { + "attached": "// [Analog]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1510 + } + }, + { + "name": "ImGuiKey_GamepadRStickDown", + "value": 654, + "is_count": false, + "comments": { + "attached": "// [Analog]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1511 + } + }, + { + "name": "ImGuiKey_MouseLeft", + "value": 655, + "is_count": false, + "comments": { + "preceding": [ + "// 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." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1515 + } + }, + { + "name": "ImGuiKey_MouseRight", + "value": 656, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1515 + } + }, + { + "name": "ImGuiKey_MouseMiddle", + "value": 657, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1515 + } + }, + { + "name": "ImGuiKey_MouseX1", + "value": 658, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1515 + } + }, + { + "name": "ImGuiKey_MouseX2", + "value": 659, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1515 + } + }, + { + "name": "ImGuiKey_MouseWheelX", + "value": 660, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1515 + } + }, + { + "name": "ImGuiKey_MouseWheelY", + "value": 661, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1515 + } + }, + { + "name": "ImGuiKey_ReservedForModCtrl", + "value": 662, + "is_count": false, + "comments": { + "preceding": [ + "// [Internal] Reserved for mod storage" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1518 + } + }, + { + "name": "ImGuiKey_ReservedForModShift", + "value": 663, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1518 + } + }, + { + "name": "ImGuiKey_ReservedForModAlt", + "value": 664, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1518 + } + }, + { + "name": "ImGuiKey_ReservedForModSuper", + "value": 665, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1518 + } + }, + { + "name": "ImGuiKey_COUNT", + "value": 666, + "is_count": true, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1519 + } + }, + { + "name": "ImGuiMod_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "preceding": [ + "// 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." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1530 + } + }, + { + "name": "ImGuiMod_Ctrl", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Ctrl (non-macOS), Cmd (macOS)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1531 + } + }, + { + "name": "ImGuiMod_Shift", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "attached": "// Shift" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1532 + } + }, + { + "name": "ImGuiMod_Alt", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// Option/Menu" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1533 + } + }, + { + "name": "ImGuiMod_Super", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// Windows/Super (non-macOS), Ctrl (macOS)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1534 + } + }, + { + "name": "ImGuiMod_Mask_", + "value_expression": "0xF000", + "value": 61440, + "is_count": false, + "comments": { + "attached": "// 4-bits" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1535 + } + }, + { + "name": "ImGuiKey_NamedKey_BEGIN", + "value_expression": "512", + "value": 512, + "is_count": false, + "comments": { + "preceding": [ + "// [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." + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1540 + } + }, + { + "name": "ImGuiKey_NamedKey_END", + "value_expression": "ImGuiKey_COUNT", + "value": 666, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1541 + } + }, + { + "name": "ImGuiKey_NamedKey_COUNT", + "value_expression": "ImGuiKey_NamedKey_END-ImGuiKey_NamedKey_BEGIN", + "value": 154, + "is_count": true, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1542 + } + }, + { + "name": "ImGuiKey_KeysData_SIZE", + "value_expression": "ImGuiKey_NamedKey_COUNT", + "value": 154, + "is_count": false, + "comments": { + "attached": "// Size of KeysData[]: only hold named keys" + }, + "conditionals": [ + { + "condition": "ifdef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1544 + } + }, + { + "name": "ImGuiKey_KeysData_OFFSET", + "value_expression": "ImGuiKey_NamedKey_BEGIN", + "value": 512, + "is_count": false, + "comments": { + "attached": "// Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET) index." + }, + "conditionals": [ + { + "condition": "ifdef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1545 + } + }, + { + "name": "ImGuiKey_KeysData_SIZE", + "value_expression": "ImGuiKey_COUNT", + "value": 666, + "is_count": false, + "comments": { + "attached": "// Size of KeysData[]: hold legacy 0..512 keycodes + named keys" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1547 + } + }, + { + "name": "ImGuiKey_KeysData_OFFSET", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "attached": "// Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET) index." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1548 + } + }, + { + "name": "ImGuiMod_Shortcut", + "value_expression": "ImGuiMod_Ctrl", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Removed in 1.90.7, you can now simply use ImGuiMod_Ctrl" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1552 + } + }, + { + "name": "ImGuiKey_ModCtrl", + "value_expression": "ImGuiMod_Ctrl", + "value": 4096, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1553 + } + }, + { + "name": "ImGuiKey_ModShift", + "value_expression": "ImGuiMod_Shift", + "value": 8192, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1553 + } + }, + { + "name": "ImGuiKey_ModAlt", + "value_expression": "ImGuiMod_Alt", + "value": 16384, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1553 + } + }, + { + "name": "ImGuiKey_ModSuper", + "value_expression": "ImGuiMod_Super", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// Renamed in 1.89" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1553 + } + } + ], + "comments": { + "preceding": [ + "// A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value): can represent Keyboard, Mouse and Gamepad values.", + "// All our named keys are >= 512. Keys value 0 to 511 are left unused as legacy native/opaque key values (< 1.87).", + "// Since >= 1.89 we increased typing (went from int to enum), some legacy code may need a cast to ImGuiKey.", + "// Read details about the 1.87 and 1.89 transition : https://github.com/ocornut/imgui/issues/4921", + "// Note that \"Keys\" related to physical keys and are not the same concept as input \"Characters\", the later are submitted via io.AddInputCharacter().", + "// 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." + ], + "attached": "// Forward declared enum type ImGuiKey" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1428 + } + }, + { + "name": "ImGuiInputFlags_", + "original_fully_qualified_name": "ImGuiInputFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiInputFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1563 + } + }, + { + "name": "ImGuiInputFlags_Repeat", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Enable repeat. Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1564 + } + }, + { + "name": "ImGuiInputFlags_RouteActive", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "preceding": [ + "// Flags for Shortcut(), SetNextItemShortcut()", + "// - Routing policies: RouteGlobal+OverActive >> RouteActive or RouteFocused (if owner is active item) >> RouteGlobal+OverFocused >> RouteFocused (if in focused window stack) >> RouteGlobal.", + "// - Default policy is RouteFocused. Can select only 1 policy among all available." + ], + "attached": "// Route to active item only." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1569 + } + }, + { + "name": "ImGuiInputFlags_RouteFocused", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// Route to windows in the focus stack (DEFAULT). Deep-most focused window takes inputs. Active item takes inputs over deep-most focused window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1570 + } + }, + { + "name": "ImGuiInputFlags_RouteGlobal", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Global route (unless a focused window or active item registered the route)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1571 + } + }, + { + "name": "ImGuiInputFlags_RouteAlways", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "attached": "// Do not register route, poll keys directly." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1572 + } + }, + { + "name": "ImGuiInputFlags_RouteOverFocused", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "preceding": [ + "// - Routing options" + ], + "attached": "// Option: global route: higher priority than focused route (unless active item in focused route)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1574 + } + }, + { + "name": "ImGuiInputFlags_RouteOverActive", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// 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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1575 + } + }, + { + "name": "ImGuiInputFlags_RouteUnlessBgFocused", + "value_expression": "1<<16", + "value": 65536, + "is_count": false, + "comments": { + "attached": "// Option: global route: will not be applied if underlying background/void is focused (== no Dear ImGui windows are focused). Useful for overlay applications." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1576 + } + }, + { + "name": "ImGuiInputFlags_RouteFromRootWindow", + "value_expression": "1<<17", + "value": 131072, + "is_count": false, + "comments": { + "attached": "// Option: route evaluated from the point of view of root window rather than current window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1577 + } + }, + { + "name": "ImGuiInputFlags_Tooltip", + "value_expression": "1<<18", + "value": 262144, + "is_count": false, + "comments": { + "preceding": [ + "// Flags for SetNextItemShortcut()" + ], + "attached": "// Automatically display a tooltip when hovering item [BETA] Unsure of right api (opt-in/opt-out)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1580 + } + } + ], + "comments": { + "preceding": [ + "// Flags for Shortcut(), SetNextItemShortcut(),", + "// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h)", + "// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1561 + } + }, + { + "name": "ImGuiNavInput", + "original_fully_qualified_name": "ImGuiNavInput", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiNavInput_Activate", + "value": 0, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_Cancel", + "value": 1, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_Input", + "value": 2, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_Menu", + "value": 3, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_DpadLeft", + "value": 4, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_DpadRight", + "value": 5, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_DpadUp", + "value": 6, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_DpadDown", + "value": 7, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1589 + } + }, + { + "name": "ImGuiNavInput_LStickLeft", + "value": 8, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_LStickRight", + "value": 9, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_LStickUp", + "value": 10, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_LStickDown", + "value": 11, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_FocusPrev", + "value": 12, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_FocusNext", + "value": 13, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_TweakSlow", + "value": 14, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_TweakFast", + "value": 15, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1590 + } + }, + { + "name": "ImGuiNavInput_COUNT", + "value": 16, + "is_count": true, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1591 + } + } + ], + "comments": { + "preceding": [ + "// OBSOLETED in 1.88 (from July 2022): ImGuiNavInput and io.NavInputs[].", + "// 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.", + "// Custom backends: feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums." + ] + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1587 + } + }, + { + "name": "ImGuiConfigFlags_", + "original_fully_qualified_name": "ImGuiConfigFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiConfigFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1598 + } + }, + { + "name": "ImGuiConfigFlags_NavEnableKeyboard", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + space/enter to activate." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1599 + } + }, + { + "name": "ImGuiConfigFlags_NavEnableGamepad", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1600 + } + }, + { + "name": "ImGuiConfigFlags_NavEnableSetMousePos", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// 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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1601 + } + }, + { + "name": "ImGuiConfigFlags_NavNoCaptureKeyboard", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1602 + } + }, + { + "name": "ImGuiConfigFlags_NoMouse", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Instruct dear imgui to disable mouse inputs and interactions." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1603 + } + }, + { + "name": "ImGuiConfigFlags_NoMouseCursorChange", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// 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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1604 + } + }, + { + "name": "ImGuiConfigFlags_NoKeyboard", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Instruct dear imgui to disable keyboard inputs and interactions. This is done by ignoring keyboard events and clearing existing states." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1605 + } + }, + { + "name": "ImGuiConfigFlags_DockingEnable", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "preceding": [ + "// [BETA] Docking" + ], + "attached": "// Docking enable flags." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1608 + } + }, + { + "name": "ImGuiConfigFlags_ViewportsEnable", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "preceding": [ + "// [BETA] Viewports", + "// When using viewports it is recommended that your default value for ImGuiCol_WindowBg is opaque (Alpha=1.0) so transition to a viewport won't be noticeable." + ], + "attached": "// Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1612 + } + }, + { + "name": "ImGuiConfigFlags_DpiEnableScaleViewports", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// [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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1613 + } + }, + { + "name": "ImGuiConfigFlags_DpiEnableScaleFonts", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// [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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1614 + } + }, + { + "name": "ImGuiConfigFlags_IsSRGB", + "value_expression": "1<<20", + "value": 1048576, + "is_count": false, + "comments": { + "preceding": [ + "// User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui)" + ], + "attached": "// Application is SRGB-aware." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1617 + } + }, + { + "name": "ImGuiConfigFlags_IsTouchScreen", + "value_expression": "1<<21", + "value": 2097152, + "is_count": false, + "comments": { + "attached": "// Application is using a touch screen instead of a mouse." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1618 + } + } + ], + "comments": { + "preceding": [ + "// Configuration flags stored in io.ConfigFlags. Set by user/application." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1596 + } + }, + { + "name": "ImGuiBackendFlags_", + "original_fully_qualified_name": "ImGuiBackendFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiBackendFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1624 + } + }, + { + "name": "ImGuiBackendFlags_HasGamepad", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Backend Platform supports gamepad and currently has one connected." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1625 + } + }, + { + "name": "ImGuiBackendFlags_HasMouseCursors", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1626 + } + }, + { + "name": "ImGuiBackendFlags_HasSetMousePos", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1627 + } + }, + { + "name": "ImGuiBackendFlags_RendererHasVtxOffset", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1628 + } + }, + { + "name": "ImGuiBackendFlags_PlatformHasViewports", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "preceding": [ + "// [BETA] Viewports" + ], + "attached": "// Backend Platform supports multiple viewports." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1631 + } + }, + { + "name": "ImGuiBackendFlags_HasMouseHoveredViewport", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// 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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1632 + } + }, + { + "name": "ImGuiBackendFlags_RendererHasViewports", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// Backend Renderer supports multiple viewports." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1633 + } + } + ], + "comments": { + "preceding": [ + "// Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1622 + } + }, + { + "name": "ImGuiCol_", + "original_fully_qualified_name": "ImGuiCol_", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiCol_Text", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1639 + } + }, + { + "name": "ImGuiCol_TextDisabled", + "value": 1, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1640 + } + }, + { + "name": "ImGuiCol_WindowBg", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Background of normal windows" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1641 + } + }, + { + "name": "ImGuiCol_ChildBg", + "value": 3, + "is_count": false, + "comments": { + "attached": "// Background of child windows" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1642 + } + }, + { + "name": "ImGuiCol_PopupBg", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Background of popups, menus, tooltips windows" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1643 + } + }, + { + "name": "ImGuiCol_Border", + "value": 5, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1644 + } + }, + { + "name": "ImGuiCol_BorderShadow", + "value": 6, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1645 + } + }, + { + "name": "ImGuiCol_FrameBg", + "value": 7, + "is_count": false, + "comments": { + "attached": "// Background of checkbox, radio button, plot, slider, text input" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1646 + } + }, + { + "name": "ImGuiCol_FrameBgHovered", + "value": 8, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1647 + } + }, + { + "name": "ImGuiCol_FrameBgActive", + "value": 9, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1648 + } + }, + { + "name": "ImGuiCol_TitleBg", + "value": 10, + "is_count": false, + "comments": { + "attached": "// Title bar" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1649 + } + }, + { + "name": "ImGuiCol_TitleBgActive", + "value": 11, + "is_count": false, + "comments": { + "attached": "// Title bar when focused" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1650 + } + }, + { + "name": "ImGuiCol_TitleBgCollapsed", + "value": 12, + "is_count": false, + "comments": { + "attached": "// Title bar when collapsed" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1651 + } + }, + { + "name": "ImGuiCol_MenuBarBg", + "value": 13, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1652 + } + }, + { + "name": "ImGuiCol_ScrollbarBg", + "value": 14, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1653 + } + }, + { + "name": "ImGuiCol_ScrollbarGrab", + "value": 15, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1654 + } + }, + { + "name": "ImGuiCol_ScrollbarGrabHovered", + "value": 16, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1655 + } + }, + { + "name": "ImGuiCol_ScrollbarGrabActive", + "value": 17, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1656 + } + }, + { + "name": "ImGuiCol_CheckMark", + "value": 18, + "is_count": false, + "comments": { + "attached": "// Checkbox tick and RadioButton circle" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1657 + } + }, + { + "name": "ImGuiCol_SliderGrab", + "value": 19, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1658 + } + }, + { + "name": "ImGuiCol_SliderGrabActive", + "value": 20, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1659 + } + }, + { + "name": "ImGuiCol_Button", + "value": 21, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1660 + } + }, + { + "name": "ImGuiCol_ButtonHovered", + "value": 22, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1661 + } + }, + { + "name": "ImGuiCol_ButtonActive", + "value": 23, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1662 + } + }, + { + "name": "ImGuiCol_Header", + "value": 24, + "is_count": false, + "comments": { + "attached": "// Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1663 + } + }, + { + "name": "ImGuiCol_HeaderHovered", + "value": 25, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1664 + } + }, + { + "name": "ImGuiCol_HeaderActive", + "value": 26, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1665 + } + }, + { + "name": "ImGuiCol_Separator", + "value": 27, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1666 + } + }, + { + "name": "ImGuiCol_SeparatorHovered", + "value": 28, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1667 + } + }, + { + "name": "ImGuiCol_SeparatorActive", + "value": 29, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1668 + } + }, + { + "name": "ImGuiCol_ResizeGrip", + "value": 30, + "is_count": false, + "comments": { + "attached": "// Resize grip in lower-right and lower-left corners of windows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1669 + } + }, + { + "name": "ImGuiCol_ResizeGripHovered", + "value": 31, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1670 + } + }, + { + "name": "ImGuiCol_ResizeGripActive", + "value": 32, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1671 + } + }, + { + "name": "ImGuiCol_TabHovered", + "value": 33, + "is_count": false, + "comments": { + "attached": "// Tab background, when hovered" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1672 + } + }, + { + "name": "ImGuiCol_Tab", + "value": 34, + "is_count": false, + "comments": { + "attached": "// Tab background, when tab-bar is focused & tab is unselected" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1673 + } + }, + { + "name": "ImGuiCol_TabSelected", + "value": 35, + "is_count": false, + "comments": { + "attached": "// Tab background, when tab-bar is focused & tab is selected" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1674 + } + }, + { + "name": "ImGuiCol_TabSelectedOverline", + "value": 36, + "is_count": false, + "comments": { + "attached": "// Tab horizontal overline, when tab-bar is focused & tab is selected" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1675 + } + }, + { + "name": "ImGuiCol_TabDimmed", + "value": 37, + "is_count": false, + "comments": { + "attached": "// Tab background, when tab-bar is unfocused & tab is unselected" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1676 + } + }, + { + "name": "ImGuiCol_TabDimmedSelected", + "value": 38, + "is_count": false, + "comments": { + "attached": "// Tab background, when tab-bar is unfocused & tab is selected" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1677 + } + }, + { + "name": "ImGuiCol_TabDimmedSelectedOverline", + "value": 39, + "is_count": false, + "comments": { + "attached": "//..horizontal overline, when tab-bar is unfocused & tab is selected" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1678 + } + }, + { + "name": "ImGuiCol_DockingPreview", + "value": 40, + "is_count": false, + "comments": { + "attached": "// Preview overlay color when about to docking something" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1679 + } + }, + { + "name": "ImGuiCol_DockingEmptyBg", + "value": 41, + "is_count": false, + "comments": { + "attached": "// Background color for empty node (e.g. CentralNode with no window docked into it)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1680 + } + }, + { + "name": "ImGuiCol_PlotLines", + "value": 42, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1681 + } + }, + { + "name": "ImGuiCol_PlotLinesHovered", + "value": 43, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1682 + } + }, + { + "name": "ImGuiCol_PlotHistogram", + "value": 44, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1683 + } + }, + { + "name": "ImGuiCol_PlotHistogramHovered", + "value": 45, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1684 + } + }, + { + "name": "ImGuiCol_TableHeaderBg", + "value": 46, + "is_count": false, + "comments": { + "attached": "// Table header background" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1685 + } + }, + { + "name": "ImGuiCol_TableBorderStrong", + "value": 47, + "is_count": false, + "comments": { + "attached": "// Table outer and header borders (prefer using Alpha=1.0 here)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1686 + } + }, + { + "name": "ImGuiCol_TableBorderLight", + "value": 48, + "is_count": false, + "comments": { + "attached": "// Table inner borders (prefer using Alpha=1.0 here)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1687 + } + }, + { + "name": "ImGuiCol_TableRowBg", + "value": 49, + "is_count": false, + "comments": { + "attached": "// Table row background (even rows)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1688 + } + }, + { + "name": "ImGuiCol_TableRowBgAlt", + "value": 50, + "is_count": false, + "comments": { + "attached": "// Table row background (odd rows)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1689 + } + }, + { + "name": "ImGuiCol_TextSelectedBg", + "value": 51, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1690 + } + }, + { + "name": "ImGuiCol_DragDropTarget", + "value": 52, + "is_count": false, + "comments": { + "attached": "// Rectangle highlighting a drop target" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1691 + } + }, + { + "name": "ImGuiCol_NavHighlight", + "value": 53, + "is_count": false, + "comments": { + "attached": "// Gamepad/keyboard: current highlighted item" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1692 + } + }, + { + "name": "ImGuiCol_NavWindowingHighlight", + "value": 54, + "is_count": false, + "comments": { + "attached": "// Highlight window when using CTRL+TAB" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1693 + } + }, + { + "name": "ImGuiCol_NavWindowingDimBg", + "value": 55, + "is_count": false, + "comments": { + "attached": "// Darken/colorize entire screen behind the CTRL+TAB window list, when active" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1694 + } + }, + { + "name": "ImGuiCol_ModalWindowDimBg", + "value": 56, + "is_count": false, + "comments": { + "attached": "// Darken/colorize entire screen behind a modal window, when one is active" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1695 + } + }, + { + "name": "ImGuiCol_COUNT", + "value": 57, + "is_count": true, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1696 + } + }, + { + "name": "ImGuiCol_TabActive", + "value_expression": "ImGuiCol_TabSelected", + "value": 35, + "is_count": false, + "comments": { + "attached": "// [renamed in 1.90.9]" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1699 + } + }, + { + "name": "ImGuiCol_TabUnfocused", + "value_expression": "ImGuiCol_TabDimmed", + "value": 37, + "is_count": false, + "comments": { + "attached": "// [renamed in 1.90.9]" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1700 + } + }, + { + "name": "ImGuiCol_TabUnfocusedActive", + "value_expression": "ImGuiCol_TabDimmedSelected", + "value": 38, + "is_count": false, + "comments": { + "attached": "// [renamed in 1.90.9]" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1701 + } + } + ], + "comments": { + "preceding": [ + "// Enumeration for PushStyleColor() / PopStyleColor()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1637 + } + }, + { + "name": "ImGuiStyleVar_", + "original_fully_qualified_name": "ImGuiStyleVar_", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiStyleVar_Alpha", + "value": 0, + "is_count": false, + "comments": { + "preceding": [ + "// Enum name -------------------------- // Member in ImGuiStyle structure (see ImGuiStyle for descriptions)" + ], + "attached": "// float Alpha" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1716 + } + }, + { + "name": "ImGuiStyleVar_DisabledAlpha", + "value": 1, + "is_count": false, + "comments": { + "attached": "// float DisabledAlpha" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1717 + } + }, + { + "name": "ImGuiStyleVar_WindowPadding", + "value": 2, + "is_count": false, + "comments": { + "attached": "// ImVec2 WindowPadding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1718 + } + }, + { + "name": "ImGuiStyleVar_WindowRounding", + "value": 3, + "is_count": false, + "comments": { + "attached": "// float WindowRounding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1719 + } + }, + { + "name": "ImGuiStyleVar_WindowBorderSize", + "value": 4, + "is_count": false, + "comments": { + "attached": "// float WindowBorderSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1720 + } + }, + { + "name": "ImGuiStyleVar_WindowMinSize", + "value": 5, + "is_count": false, + "comments": { + "attached": "// ImVec2 WindowMinSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1721 + } + }, + { + "name": "ImGuiStyleVar_WindowTitleAlign", + "value": 6, + "is_count": false, + "comments": { + "attached": "// ImVec2 WindowTitleAlign" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1722 + } + }, + { + "name": "ImGuiStyleVar_ChildRounding", + "value": 7, + "is_count": false, + "comments": { + "attached": "// float ChildRounding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1723 + } + }, + { + "name": "ImGuiStyleVar_ChildBorderSize", + "value": 8, + "is_count": false, + "comments": { + "attached": "// float ChildBorderSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1724 + } + }, + { + "name": "ImGuiStyleVar_PopupRounding", + "value": 9, + "is_count": false, + "comments": { + "attached": "// float PopupRounding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1725 + } + }, + { + "name": "ImGuiStyleVar_PopupBorderSize", + "value": 10, + "is_count": false, + "comments": { + "attached": "// float PopupBorderSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1726 + } + }, + { + "name": "ImGuiStyleVar_FramePadding", + "value": 11, + "is_count": false, + "comments": { + "attached": "// ImVec2 FramePadding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1727 + } + }, + { + "name": "ImGuiStyleVar_FrameRounding", + "value": 12, + "is_count": false, + "comments": { + "attached": "// float FrameRounding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1728 + } + }, + { + "name": "ImGuiStyleVar_FrameBorderSize", + "value": 13, + "is_count": false, + "comments": { + "attached": "// float FrameBorderSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1729 + } + }, + { + "name": "ImGuiStyleVar_ItemSpacing", + "value": 14, + "is_count": false, + "comments": { + "attached": "// ImVec2 ItemSpacing" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1730 + } + }, + { + "name": "ImGuiStyleVar_ItemInnerSpacing", + "value": 15, + "is_count": false, + "comments": { + "attached": "// ImVec2 ItemInnerSpacing" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1731 + } + }, + { + "name": "ImGuiStyleVar_IndentSpacing", + "value": 16, + "is_count": false, + "comments": { + "attached": "// float IndentSpacing" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1732 + } + }, + { + "name": "ImGuiStyleVar_CellPadding", + "value": 17, + "is_count": false, + "comments": { + "attached": "// ImVec2 CellPadding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1733 + } + }, + { + "name": "ImGuiStyleVar_ScrollbarSize", + "value": 18, + "is_count": false, + "comments": { + "attached": "// float ScrollbarSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1734 + } + }, + { + "name": "ImGuiStyleVar_ScrollbarRounding", + "value": 19, + "is_count": false, + "comments": { + "attached": "// float ScrollbarRounding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1735 + } + }, + { + "name": "ImGuiStyleVar_GrabMinSize", + "value": 20, + "is_count": false, + "comments": { + "attached": "// float GrabMinSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1736 + } + }, + { + "name": "ImGuiStyleVar_GrabRounding", + "value": 21, + "is_count": false, + "comments": { + "attached": "// float GrabRounding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1737 + } + }, + { + "name": "ImGuiStyleVar_TabRounding", + "value": 22, + "is_count": false, + "comments": { + "attached": "// float TabRounding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1738 + } + }, + { + "name": "ImGuiStyleVar_TabBorderSize", + "value": 23, + "is_count": false, + "comments": { + "attached": "// float TabBorderSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1739 + } + }, + { + "name": "ImGuiStyleVar_TabBarBorderSize", + "value": 24, + "is_count": false, + "comments": { + "attached": "// float TabBarBorderSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1740 + } + }, + { + "name": "ImGuiStyleVar_TableAngledHeadersAngle", + "value": 25, + "is_count": false, + "comments": { + "attached": "// float TableAngledHeadersAngle" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1741 + } + }, + { + "name": "ImGuiStyleVar_TableAngledHeadersTextAlign", + "value": 26, + "is_count": false, + "comments": { + "attached": "// ImVec2 TableAngledHeadersTextAlign" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1742 + } + }, + { + "name": "ImGuiStyleVar_ButtonTextAlign", + "value": 27, + "is_count": false, + "comments": { + "attached": "// ImVec2 ButtonTextAlign" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1743 + } + }, + { + "name": "ImGuiStyleVar_SelectableTextAlign", + "value": 28, + "is_count": false, + "comments": { + "attached": "// ImVec2 SelectableTextAlign" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1744 + } + }, + { + "name": "ImGuiStyleVar_SeparatorTextBorderSize", + "value": 29, + "is_count": false, + "comments": { + "attached": "// float SeparatorTextBorderSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1745 + } + }, + { + "name": "ImGuiStyleVar_SeparatorTextAlign", + "value": 30, + "is_count": false, + "comments": { + "attached": "// ImVec2 SeparatorTextAlign" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1746 + } + }, + { + "name": "ImGuiStyleVar_SeparatorTextPadding", + "value": 31, + "is_count": false, + "comments": { + "attached": "// ImVec2 SeparatorTextPadding" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1747 + } + }, + { + "name": "ImGuiStyleVar_DockingSeparatorSize", + "value": 32, + "is_count": false, + "comments": { + "attached": "// float DockingSeparatorSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1748 + } + }, + { + "name": "ImGuiStyleVar_COUNT", + "value": 33, + "is_count": true, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1749 + } + } + ], + "comments": { + "preceding": [ + "// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure.", + "// - The enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code.", + "// During initialization or between frames, feel free to just poke into ImGuiStyle directly.", + "// - Tip: Use your programming IDE navigation facilities on the names in the _second column_ below to find the actual members and their description.", + "// - In Visual Studio: CTRL+comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas CTRL+F12 (\"Edit.GoToImplementation\") cannot.", + "// - In Visual Studio w/ Visual Assist installed: ALT+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments.", + "// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments.", + "// - 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." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1713 + } + }, + { + "name": "ImGuiButtonFlags_", + "original_fully_qualified_name": "ImGuiButtonFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiButtonFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1755 + } + }, + { + "name": "ImGuiButtonFlags_MouseButtonLeft", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// React on left mouse button (default)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1756 + } + }, + { + "name": "ImGuiButtonFlags_MouseButtonRight", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// React on right mouse button" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1757 + } + }, + { + "name": "ImGuiButtonFlags_MouseButtonMiddle", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// React on center mouse button" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1758 + } + }, + { + "name": "ImGuiButtonFlags_MouseButtonMask_", + "value_expression": "ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle", + "value": 7, + "is_count": false, + "comments": { + "attached": "// [Internal]" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1759 + } + } + ], + "comments": { + "preceding": [ + "// Flags for InvisibleButton() [extended in imgui_internal.h]" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1753 + } + }, + { + "name": "ImGuiColorEditFlags_", + "original_fully_qualified_name": "ImGuiColorEditFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiColorEditFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1766 + } + }, + { + "name": "ImGuiColorEditFlags_NoAlpha", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1767 + } + }, + { + "name": "ImGuiColorEditFlags_NoPicker", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// // ColorEdit: disable picker when clicking on color square." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1768 + } + }, + { + "name": "ImGuiColorEditFlags_NoOptions", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1769 + } + }, + { + "name": "ImGuiColorEditFlags_NoSmallPreview", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// // ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1770 + } + }, + { + "name": "ImGuiColorEditFlags_NoInputs", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview color square)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1771 + } + }, + { + "name": "ImGuiColorEditFlags_NoTooltip", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1772 + } + }, + { + "name": "ImGuiColorEditFlags_NoLabel", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1773 + } + }, + { + "name": "ImGuiColorEditFlags_NoSidePreview", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// // ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1774 + } + }, + { + "name": "ImGuiColorEditFlags_NoDragDrop", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "attached": "// // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1775 + } + }, + { + "name": "ImGuiColorEditFlags_NoBorder", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// // ColorButton: disable border (which is enforced by default)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1776 + } + }, + { + "name": "ImGuiColorEditFlags_AlphaBar", + "value_expression": "1<<16", + "value": 65536, + "is_count": false, + "comments": { + "preceding": [ + "// User Options (right-click on widget to change some of them)." + ], + "attached": "// // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1779 + } + }, + { + "name": "ImGuiColorEditFlags_AlphaPreview", + "value_expression": "1<<17", + "value": 131072, + "is_count": false, + "comments": { + "attached": "// // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1780 + } + }, + { + "name": "ImGuiColorEditFlags_AlphaPreviewHalf", + "value_expression": "1<<18", + "value": 262144, + "is_count": false, + "comments": { + "attached": "// // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1781 + } + }, + { + "name": "ImGuiColorEditFlags_HDR", + "value_expression": "1<<19", + "value": 524288, + "is_count": false, + "comments": { + "attached": "// // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1782 + } + }, + { + "name": "ImGuiColorEditFlags_DisplayRGB", + "value_expression": "1<<20", + "value": 1048576, + "is_count": false, + "comments": { + "attached": "// [Display] // ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1783 + } + }, + { + "name": "ImGuiColorEditFlags_DisplayHSV", + "value_expression": "1<<21", + "value": 2097152, + "is_count": false, + "comments": { + "attached": "// [Display] // \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1784 + } + }, + { + "name": "ImGuiColorEditFlags_DisplayHex", + "value_expression": "1<<22", + "value": 4194304, + "is_count": false, + "comments": { + "attached": "// [Display] // \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1785 + } + }, + { + "name": "ImGuiColorEditFlags_Uint8", + "value_expression": "1<<23", + "value": 8388608, + "is_count": false, + "comments": { + "attached": "// [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1786 + } + }, + { + "name": "ImGuiColorEditFlags_Float", + "value_expression": "1<<24", + "value": 16777216, + "is_count": false, + "comments": { + "attached": "// [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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1787 + } + }, + { + "name": "ImGuiColorEditFlags_PickerHueBar", + "value_expression": "1<<25", + "value": 33554432, + "is_count": false, + "comments": { + "attached": "// [Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1788 + } + }, + { + "name": "ImGuiColorEditFlags_PickerHueWheel", + "value_expression": "1<<26", + "value": 67108864, + "is_count": false, + "comments": { + "attached": "// [Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1789 + } + }, + { + "name": "ImGuiColorEditFlags_InputRGB", + "value_expression": "1<<27", + "value": 134217728, + "is_count": false, + "comments": { + "attached": "// [Input] // ColorEdit, ColorPicker: input and output data in RGB format." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1790 + } + }, + { + "name": "ImGuiColorEditFlags_InputHSV", + "value_expression": "1<<28", + "value": 268435456, + "is_count": false, + "comments": { + "attached": "// [Input] // ColorEdit, ColorPicker: input and output data in HSV format." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1791 + } + }, + { + "name": "ImGuiColorEditFlags_DefaultOptions_", + "value_expression": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar", + "value": 177209344, + "is_count": false, + "comments": { + "preceding": [ + "// 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." + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1795 + } + }, + { + "name": "ImGuiColorEditFlags_DisplayMask_", + "value_expression": "ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex", + "value": 7340032, + "is_count": false, + "comments": { + "preceding": [ + "// [Internal] Masks" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1798 + } + }, + { + "name": "ImGuiColorEditFlags_DataTypeMask_", + "value_expression": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float", + "value": 25165824, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1799 + } + }, + { + "name": "ImGuiColorEditFlags_PickerMask_", + "value_expression": "ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar", + "value": 100663296, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1800 + } + }, + { + "name": "ImGuiColorEditFlags_InputMask_", + "value_expression": "ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV", + "value": 402653184, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1801 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1764 + } + }, + { + "name": "ImGuiSliderFlags_", + "original_fully_qualified_name": "ImGuiSliderFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiSliderFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1812 + } + }, + { + "name": "ImGuiSliderFlags_AlwaysClamp", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1813 + } + }, + { + "name": "ImGuiSliderFlags_Logarithmic", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1814 + } + }, + { + "name": "ImGuiSliderFlags_NoRoundToFormat", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1815 + } + }, + { + "name": "ImGuiSliderFlags_NoInput", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Disable CTRL+Click or Enter key allowing to input text directly into the widget." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1816 + } + }, + { + "name": "ImGuiSliderFlags_WrapAround", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Enable wrapping around from max to min and from min to max (only supported by DragXXX() functions for now." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1817 + } + }, + { + "name": "ImGuiSliderFlags_InvalidMask_", + "value_expression": "0x7000000F", + "value": 1879048207, + "is_count": false, + "comments": { + "attached": "// [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." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1818 + } + } + ], + "comments": { + "preceding": [ + "// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.", + "// 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.", + "// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigDragClickToInputText)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1810 + } + }, + { + "name": "ImGuiMouseButton_", + "original_fully_qualified_name": "ImGuiMouseButton_", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiMouseButton_Left", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1828 + } + }, + { + "name": "ImGuiMouseButton_Right", + "value_expression": "1", + "value": 1, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1829 + } + }, + { + "name": "ImGuiMouseButton_Middle", + "value_expression": "2", + "value": 2, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1830 + } + }, + { + "name": "ImGuiMouseButton_COUNT", + "value_expression": "5", + "value": 5, + "is_count": true, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1831 + } + } + ], + "comments": { + "preceding": [ + "// Identify a mouse button.", + "// Those values are guaranteed to be stable and we frequently use 0/1 directly. Named enums provided for convenience." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1826 + } + }, + { + "name": "ImGuiMouseCursor_", + "original_fully_qualified_name": "ImGuiMouseCursor_", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiMouseCursor_None", + "value_expression": "-1", + "value": -1, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1838 + } + }, + { + "name": "ImGuiMouseCursor_Arrow", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1839 + } + }, + { + "name": "ImGuiMouseCursor_TextInput", + "value": 1, + "is_count": false, + "comments": { + "attached": "// When hovering over InputText, etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1840 + } + }, + { + "name": "ImGuiMouseCursor_ResizeAll", + "value": 2, + "is_count": false, + "comments": { + "attached": "// (Unused by Dear ImGui functions)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1841 + } + }, + { + "name": "ImGuiMouseCursor_ResizeNS", + "value": 3, + "is_count": false, + "comments": { + "attached": "// When hovering over a horizontal border" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1842 + } + }, + { + "name": "ImGuiMouseCursor_ResizeEW", + "value": 4, + "is_count": false, + "comments": { + "attached": "// When hovering over a vertical border or a column" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1843 + } + }, + { + "name": "ImGuiMouseCursor_ResizeNESW", + "value": 5, + "is_count": false, + "comments": { + "attached": "// When hovering over the bottom-left corner of a window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1844 + } + }, + { + "name": "ImGuiMouseCursor_ResizeNWSE", + "value": 6, + "is_count": false, + "comments": { + "attached": "// When hovering over the bottom-right corner of a window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1845 + } + }, + { + "name": "ImGuiMouseCursor_Hand", + "value": 7, + "is_count": false, + "comments": { + "attached": "// (Unused by Dear ImGui functions. Use for e.g. hyperlinks)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1846 + } + }, + { + "name": "ImGuiMouseCursor_NotAllowed", + "value": 8, + "is_count": false, + "comments": { + "attached": "// When hovering something with disallowed interaction. Usually a crossed circle." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1847 + } + }, + { + "name": "ImGuiMouseCursor_COUNT", + "value": 9, + "is_count": true, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1848 + } + } + ], + "comments": { + "preceding": [ + "// Enumeration for GetMouseCursor()", + "// User code may request backend to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1836 + } + }, + { + "name": "ImGuiMouseSource", + "original_fully_qualified_name": "ImGuiMouseSource", + "storage_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiMouseSource_Mouse", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "attached": "// Input is coming from an actual mouse." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1857 + } + }, + { + "name": "ImGuiMouseSource_TouchScreen", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Input is coming from a touch screen (no hovering prior to initial press, less precise initial press aiming, dual-axis wheeling possible)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1858 + } + }, + { + "name": "ImGuiMouseSource_Pen", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Input is coming from a pressure/magnetic pen (often used in conjunction with high-sampling rates)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1859 + } + }, + { + "name": "ImGuiMouseSource_COUNT", + "value": 3, + "is_count": true, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1860 + } + } + ], + "comments": { + "preceding": [ + "// Enumeration for AddMouseSourceEvent() actual source of Mouse Input data.", + "// Historically we use \"Mouse\" terminology everywhere to indicate pointer data, e.g. MousePos, IsMousePressed(), io.AddMousePosEvent()", + "// But that \"Mouse\" data can come from different source which occasionally may be useful for application to know about.", + "// You can submit a change of pointer type using io.AddMouseSourceEvent()." + ], + "attached": "// Forward declared enum type ImGuiMouseSource" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1855 + } + }, + { + "name": "ImGuiCond_", + "original_fully_qualified_name": "ImGuiCond_", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiCond_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "attached": "// No condition (always set the variable), same as _Always" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1868 + } + }, + { + "name": "ImGuiCond_Always", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// No condition (always set the variable), same as _None" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1869 + } + }, + { + "name": "ImGuiCond_Once", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Set the variable once per runtime session (only the first call will succeed)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1870 + } + }, + { + "name": "ImGuiCond_FirstUseEver", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Set the variable if the object/window has no persistently saved data (no entry in .ini file)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1871 + } + }, + { + "name": "ImGuiCond_Appearing", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Set the variable if the object/window is appearing after being hidden/inactive (or the first time)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1872 + } + } + ], + "comments": { + "preceding": [ + "// Enumeration for ImGui::SetNextWindow***(), SetWindow***(), SetNextItem***() functions", + "// Represent a condition.", + "// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1866 + } + }, + { + "name": "ImGuiTableFlags_", + "original_fully_qualified_name": "ImGuiTableFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiTableFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "preceding": [ + "// Features" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1904 + } + }, + { + "name": "ImGuiTableFlags_Resizable", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Enable resizing columns." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1905 + } + }, + { + "name": "ImGuiTableFlags_Reorderable", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1906 + } + }, + { + "name": "ImGuiTableFlags_Hideable", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Enable hiding/disabling columns in context menu." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1907 + } + }, + { + "name": "ImGuiTableFlags_Sortable", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1908 + } + }, + { + "name": "ImGuiTableFlags_NoSavedSettings", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Disable persisting columns order, width and sort settings in the .ini file." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1909 + } + }, + { + "name": "ImGuiTableFlags_ContextMenuInBody", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Right-click on columns body/contents will display table context menu. By default it is available in TableHeadersRow()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1910 + } + }, + { + "name": "ImGuiTableFlags_RowBg", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "preceding": [ + "// Decorations" + ], + "attached": "// Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1912 + } + }, + { + "name": "ImGuiTableFlags_BordersInnerH", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Draw horizontal borders between rows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1913 + } + }, + { + "name": "ImGuiTableFlags_BordersOuterH", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Draw horizontal borders at the top and bottom." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1914 + } + }, + { + "name": "ImGuiTableFlags_BordersInnerV", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "attached": "// Draw vertical borders between columns." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1915 + } + }, + { + "name": "ImGuiTableFlags_BordersOuterV", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// Draw vertical borders on the left and right sides." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1916 + } + }, + { + "name": "ImGuiTableFlags_BordersH", + "value_expression": "ImGuiTableFlags_BordersInnerH | ImGuiTableFlags_BordersOuterH", + "value": 384, + "is_count": false, + "comments": { + "attached": "// Draw horizontal borders." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1917 + } + }, + { + "name": "ImGuiTableFlags_BordersV", + "value_expression": "ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersOuterV", + "value": 1536, + "is_count": false, + "comments": { + "attached": "// Draw vertical borders." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1918 + } + }, + { + "name": "ImGuiTableFlags_BordersInner", + "value_expression": "ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH", + "value": 640, + "is_count": false, + "comments": { + "attached": "// Draw inner borders." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1919 + } + }, + { + "name": "ImGuiTableFlags_BordersOuter", + "value_expression": "ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH", + "value": 1280, + "is_count": false, + "comments": { + "attached": "// Draw outer borders." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1920 + } + }, + { + "name": "ImGuiTableFlags_Borders", + "value_expression": "ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter", + "value": 1920, + "is_count": false, + "comments": { + "attached": "// Draw all borders." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1921 + } + }, + { + "name": "ImGuiTableFlags_NoBordersInBody", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1922 + } + }, + { + "name": "ImGuiTableFlags_NoBordersInBodyUntilResize", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1923 + } + }, + { + "name": "ImGuiTableFlags_SizingFixedFit", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "preceding": [ + "// Sizing Policy (read above for defaults)" + ], + "attached": "// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1925 + } + }, + { + "name": "ImGuiTableFlags_SizingFixedSame", + "value_expression": "2<<13", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1926 + } + }, + { + "name": "ImGuiTableFlags_SizingStretchProp", + "value_expression": "3<<13", + "value": 24576, + "is_count": false, + "comments": { + "attached": "// Columns default to _WidthStretch with default weights proportional to each columns contents widths." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1927 + } + }, + { + "name": "ImGuiTableFlags_SizingStretchSame", + "value_expression": "4<<13", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1928 + } + }, + { + "name": "ImGuiTableFlags_NoHostExtendX", + "value_expression": "1<<16", + "value": 65536, + "is_count": false, + "comments": { + "preceding": [ + "// Sizing Extra Options" + ], + "attached": "// Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollX/ScrollY are disabled and Stretch columns are not used." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1930 + } + }, + { + "name": "ImGuiTableFlags_NoHostExtendY", + "value_expression": "1<<17", + "value": 131072, + "is_count": false, + "comments": { + "attached": "// Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollX/ScrollY are disabled. Data below the limit will be clipped and not visible." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1931 + } + }, + { + "name": "ImGuiTableFlags_NoKeepColumnsVisible", + "value_expression": "1<<18", + "value": 262144, + "is_count": false, + "comments": { + "attached": "// Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1932 + } + }, + { + "name": "ImGuiTableFlags_PreciseWidths", + "value_expression": "1<<19", + "value": 524288, + "is_count": false, + "comments": { + "attached": "// Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1933 + } + }, + { + "name": "ImGuiTableFlags_NoClip", + "value_expression": "1<<20", + "value": 1048576, + "is_count": false, + "comments": { + "preceding": [ + "// Clipping" + ], + "attached": "// Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1935 + } + }, + { + "name": "ImGuiTableFlags_PadOuterX", + "value_expression": "1<<21", + "value": 2097152, + "is_count": false, + "comments": { + "preceding": [ + "// Padding" + ], + "attached": "// Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1937 + } + }, + { + "name": "ImGuiTableFlags_NoPadOuterX", + "value_expression": "1<<22", + "value": 4194304, + "is_count": false, + "comments": { + "attached": "// Default if BordersOuterV is off. Disable outermost padding." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1938 + } + }, + { + "name": "ImGuiTableFlags_NoPadInnerX", + "value_expression": "1<<23", + "value": 8388608, + "is_count": false, + "comments": { + "attached": "// Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1939 + } + }, + { + "name": "ImGuiTableFlags_ScrollX", + "value_expression": "1<<24", + "value": 16777216, + "is_count": false, + "comments": { + "preceding": [ + "// Scrolling" + ], + "attached": "// Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1941 + } + }, + { + "name": "ImGuiTableFlags_ScrollY", + "value_expression": "1<<25", + "value": 33554432, + "is_count": false, + "comments": { + "attached": "// Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1942 + } + }, + { + "name": "ImGuiTableFlags_SortMulti", + "value_expression": "1<<26", + "value": 67108864, + "is_count": false, + "comments": { + "preceding": [ + "// Sorting" + ], + "attached": "// Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1944 + } + }, + { + "name": "ImGuiTableFlags_SortTristate", + "value_expression": "1<<27", + "value": 134217728, + "is_count": false, + "comments": { + "attached": "// Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1945 + } + }, + { + "name": "ImGuiTableFlags_HighlightHoveredColumn", + "value_expression": "1<<28", + "value": 268435456, + "is_count": false, + "comments": { + "preceding": [ + "// Miscellaneous" + ], + "attached": "// Highlight column headers when hovered (may evolve into a fuller highlight)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1947 + } + }, + { + "name": "ImGuiTableFlags_SizingMask_", + "value_expression": "ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame", + "value": 57344, + "is_count": false, + "comments": { + "preceding": [ + "// [Internal] Combinations and masks" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1950 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::BeginTable()", + "// - Important! Sizing policies have complex and subtle side effects, much more so than you would expect.", + "// Read comments/demos carefully + experiment with live demos to get acquainted with them.", + "// - The DEFAULT sizing policies are:", + "// - Default to ImGuiTableFlags_SizingFixedFit if ScrollX is on, or if host window has ImGuiWindowFlags_AlwaysAutoResize.", + "// - Default to ImGuiTableFlags_SizingStretchSame if ScrollX is off.", + "// - When ScrollX is off:", + "// - Table defaults to ImGuiTableFlags_SizingStretchSame -> all Columns defaults to ImGuiTableColumnFlags_WidthStretch with same weight.", + "// - Columns sizing policy allowed: Stretch (default), Fixed/Auto.", + "// - Fixed Columns (if any) will generally obtain their requested width (unless the table cannot fit them all).", + "// - Stretch Columns will share the remaining width according to their respective weight.", + "// - Mixed Fixed/Stretch columns is possible but has various side-effects on resizing behaviors.", + "// The typical use of mixing sizing policies is: any number of LEADING Fixed columns, followed by one or two TRAILING Stretch columns.", + "// (this is because the visible order of columns have subtle but necessary effects on how they react to manual resizing).", + "// - When ScrollX is on:", + "// - Table defaults to ImGuiTableFlags_SizingFixedFit -> all Columns defaults to ImGuiTableColumnFlags_WidthFixed", + "// - Columns sizing policy allowed: Fixed/Auto mostly.", + "// - Fixed Columns can be enlarged as needed. Table will show a horizontal scrollbar if needed.", + "// - When using auto-resizing (non-resizable) fixed columns, querying the content width to use item right-alignment e.g. SetNextItemWidth(-FLT_MIN) doesn't make sense, would create a feedback loop.", + "// - Using Stretch columns OFTEN DOES NOT MAKE SENSE if ScrollX is on, UNLESS you have specified a value for 'inner_width' in BeginTable().", + "// If you specify a value for 'inner_width' then effectively the scrolling space is known and Stretch or mixed Fixed/Stretch columns become meaningful again.", + "// - Read on documentation at the top of imgui_tables.cpp for details." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1901 + } + }, + { + "name": "ImGuiTableColumnFlags_", + "original_fully_qualified_name": "ImGuiTableColumnFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiTableColumnFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "comments": { + "preceding": [ + "// Input configuration flags" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1957 + } + }, + { + "name": "ImGuiTableColumnFlags_Disabled", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Overriding/master disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1958 + } + }, + { + "name": "ImGuiTableColumnFlags_DefaultHide", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Default as a hidden/disabled column." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1959 + } + }, + { + "name": "ImGuiTableColumnFlags_DefaultSort", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Default as a sorting column." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1960 + } + }, + { + "name": "ImGuiTableColumnFlags_WidthStretch", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1961 + } + }, + { + "name": "ImGuiTableColumnFlags_WidthFixed", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1962 + } + }, + { + "name": "ImGuiTableColumnFlags_NoResize", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Disable manual resizing." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1963 + } + }, + { + "name": "ImGuiTableColumnFlags_NoReorder", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Disable manual reordering this column, this will also prevent other columns from crossing over this column." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1964 + } + }, + { + "name": "ImGuiTableColumnFlags_NoHide", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Disable ability to hide/disable this column." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1965 + } + }, + { + "name": "ImGuiTableColumnFlags_NoClip", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Disable clipping for this column (all NoClip columns will render in a same draw command)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1966 + } + }, + { + "name": "ImGuiTableColumnFlags_NoSort", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "attached": "// Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1967 + } + }, + { + "name": "ImGuiTableColumnFlags_NoSortAscending", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// Disable ability to sort in the ascending direction." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1968 + } + }, + { + "name": "ImGuiTableColumnFlags_NoSortDescending", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// Disable ability to sort in the descending direction." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1969 + } + }, + { + "name": "ImGuiTableColumnFlags_NoHeaderLabel", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "attached": "// 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." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1970 + } + }, + { + "name": "ImGuiTableColumnFlags_NoHeaderWidth", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "attached": "// Disable header text width contribution to automatic column width." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1971 + } + }, + { + "name": "ImGuiTableColumnFlags_PreferSortAscending", + "value_expression": "1<<14", + "value": 16384, + "is_count": false, + "comments": { + "attached": "// Make the initial sort direction Ascending when first sorting on this column (default)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1972 + } + }, + { + "name": "ImGuiTableColumnFlags_PreferSortDescending", + "value_expression": "1<<15", + "value": 32768, + "is_count": false, + "comments": { + "attached": "// Make the initial sort direction Descending when first sorting on this column." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1973 + } + }, + { + "name": "ImGuiTableColumnFlags_IndentEnable", + "value_expression": "1<<16", + "value": 65536, + "is_count": false, + "comments": { + "attached": "// Use current Indent value when entering cell (default for column 0)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1974 + } + }, + { + "name": "ImGuiTableColumnFlags_IndentDisable", + "value_expression": "1<<17", + "value": 131072, + "is_count": false, + "comments": { + "attached": "// Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1975 + } + }, + { + "name": "ImGuiTableColumnFlags_AngledHeader", + "value_expression": "1<<18", + "value": 262144, + "is_count": false, + "comments": { + "attached": "// TableHeadersRow() will submit an angled header row for this column. Note this will add an extra row." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1976 + } + }, + { + "name": "ImGuiTableColumnFlags_IsEnabled", + "value_expression": "1<<24", + "value": 16777216, + "is_count": false, + "comments": { + "preceding": [ + "// Output status flags, read-only via TableGetColumnFlags()" + ], + "attached": "// Status: is enabled == not hidden by user/api (referred to as \"Hide\" in _DefaultHide and _NoHide) flags." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1979 + } + }, + { + "name": "ImGuiTableColumnFlags_IsVisible", + "value_expression": "1<<25", + "value": 33554432, + "is_count": false, + "comments": { + "attached": "// Status: is visible == is enabled AND not clipped by scrolling." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1980 + } + }, + { + "name": "ImGuiTableColumnFlags_IsSorted", + "value_expression": "1<<26", + "value": 67108864, + "is_count": false, + "comments": { + "attached": "// Status: is currently part of the sort specs" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1981 + } + }, + { + "name": "ImGuiTableColumnFlags_IsHovered", + "value_expression": "1<<27", + "value": 134217728, + "is_count": false, + "comments": { + "attached": "// Status: is hovered by mouse" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1982 + } + }, + { + "name": "ImGuiTableColumnFlags_WidthMask_", + "value_expression": "ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed", + "value": 24, + "is_count": false, + "comments": { + "preceding": [ + "// [Internal] Combinations and masks" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1985 + } + }, + { + "name": "ImGuiTableColumnFlags_IndentMask_", + "value_expression": "ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable", + "value": 196608, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1986 + } + }, + { + "name": "ImGuiTableColumnFlags_StatusMask_", + "value_expression": "ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered", + "value": 251658240, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1987 + } + }, + { + "name": "ImGuiTableColumnFlags_NoDirectResize_", + "value_expression": "1<<30", + "value": 1073741824, + "is_count": false, + "comments": { + "attached": "// [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 1988 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::TableSetupColumn()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1954 + } + }, + { + "name": "ImGuiTableRowFlags_", + "original_fully_qualified_name": "ImGuiTableRowFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiTableRowFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1994 + } + }, + { + "name": "ImGuiTableRowFlags_Headers", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Identify header row (set default background color + width of its contents accounted differently for auto column width)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1995 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImGui::TableNextRow()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1992 + } + }, + { + "name": "ImGuiTableBgTarget_", + "original_fully_qualified_name": "ImGuiTableBgTarget_", + "is_flags_enum": false, + "elements": [ + { + "name": "ImGuiTableBgTarget_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2009 + } + }, + { + "name": "ImGuiTableBgTarget_RowBg0", + "value_expression": "1", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2010 + } + }, + { + "name": "ImGuiTableBgTarget_RowBg1", + "value_expression": "2", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Set row background color 1 (generally used for selection marking)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2011 + } + }, + { + "name": "ImGuiTableBgTarget_CellBg", + "value_expression": "3", + "value": 3, + "is_count": false, + "comments": { + "attached": "// Set cell background color (top-most color)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2012 + } + } + ], + "comments": { + "preceding": [ + "// Enum for ImGui::TableSetBgColor()", + "// Background colors are rendering in 3 layers:", + "// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set.", + "// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set.", + "// - Layer 2: draw with CellBg color if set.", + "// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color.", + "// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows.", + "// If you set the color of RowBg0 target, your color will override the existing RowBg0 color.", + "// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2007 + } + }, + { + "name": "ImDrawFlags_", + "original_fully_qualified_name": "ImDrawFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImDrawFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2881 + } + }, + { + "name": "ImDrawFlags_Closed", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2882 + } + }, + { + "name": "ImDrawFlags_RoundCornersTopLeft", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2883 + } + }, + { + "name": "ImDrawFlags_RoundCornersTopRight", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2884 + } + }, + { + "name": "ImDrawFlags_RoundCornersBottomLeft", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2885 + } + }, + { + "name": "ImDrawFlags_RoundCornersBottomRight", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2886 + } + }, + { + "name": "ImDrawFlags_RoundCornersNone", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2887 + } + }, + { + "name": "ImDrawFlags_RoundCornersTop", + "value_expression": "ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight", + "value": 48, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2888 + } + }, + { + "name": "ImDrawFlags_RoundCornersBottom", + "value_expression": "ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight", + "value": 192, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2889 + } + }, + { + "name": "ImDrawFlags_RoundCornersLeft", + "value_expression": "ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft", + "value": 80, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2890 + } + }, + { + "name": "ImDrawFlags_RoundCornersRight", + "value_expression": "ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight", + "value": 160, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2891 + } + }, + { + "name": "ImDrawFlags_RoundCornersAll", + "value_expression": "ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight", + "value": 240, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2892 + } + }, + { + "name": "ImDrawFlags_RoundCornersDefault_", + "value_expression": "ImDrawFlags_RoundCornersAll", + "value": 240, + "is_count": false, + "comments": { + "attached": "// Default to ALL corners if none of the _RoundCornersXX flags are specified." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2893 + } + }, + { + "name": "ImDrawFlags_RoundCornersMask_", + "value_expression": "ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone", + "value": 496, + "is_count": false, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2894 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImDrawList functions", + "// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2879 + } + }, + { + "name": "ImDrawListFlags_", + "original_fully_qualified_name": "ImDrawListFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImDrawListFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2901 + } + }, + { + "name": "ImDrawListFlags_AntiAliasedLines", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2902 + } + }, + { + "name": "ImDrawListFlags_AntiAliasedLinesUseTex", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering (NOT point/nearest filtering)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2903 + } + }, + { + "name": "ImDrawListFlags_AntiAliasedFill", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Enable anti-aliased edge around filled shapes (rounded rectangles, circles)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2904 + } + }, + { + "name": "ImDrawListFlags_AllowVtxOffset", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2905 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly.", + "// It is however possible to temporarily alter flags between calls to ImDrawList:: functions." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2899 + } + }, + { + "name": "ImFontAtlasFlags_", + "original_fully_qualified_name": "ImFontAtlasFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImFontAtlasFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3153 + } + }, + { + "name": "ImFontAtlasFlags_NoPowerOfTwoHeight", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Don't round the height to next power of two" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3154 + } + }, + { + "name": "ImFontAtlasFlags_NoMouseCursors", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Don't build software mouse cursors into the atlas (save a little texture memory)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3155 + } + }, + { + "name": "ImFontAtlasFlags_NoBakedLines", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Don't build thick line textures into the atlas (save a little texture memory, allow support for point/nearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3156 + } + } + ], + "comments": { + "preceding": [ + "// Flags for ImFontAtlas build" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3151 + } + }, + { + "name": "ImGuiViewportFlags_", + "original_fully_qualified_name": "ImGuiViewportFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiViewportFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3340 + } + }, + { + "name": "ImGuiViewportFlags_IsPlatformWindow", + "value_expression": "1<<0", + "value": 1, + "is_count": false, + "comments": { + "attached": "// Represent a Platform Window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3341 + } + }, + { + "name": "ImGuiViewportFlags_IsPlatformMonitor", + "value_expression": "1<<1", + "value": 2, + "is_count": false, + "comments": { + "attached": "// Represent a Platform Monitor (unused yet)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3342 + } + }, + { + "name": "ImGuiViewportFlags_OwnedByApp", + "value_expression": "1<<2", + "value": 4, + "is_count": false, + "comments": { + "attached": "// Platform Window: Was created/managed by the user application? (rather than our backend)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3343 + } + }, + { + "name": "ImGuiViewportFlags_NoDecoration", + "value_expression": "1<<3", + "value": 8, + "is_count": false, + "comments": { + "attached": "// Platform Window: Disable platform decorations: title bar, borders, etc. (generally set all windows, but if ImGuiConfigFlags_ViewportsDecoration is set we only set this on popups/tooltips)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3344 + } + }, + { + "name": "ImGuiViewportFlags_NoTaskBarIcon", + "value_expression": "1<<4", + "value": 16, + "is_count": false, + "comments": { + "attached": "// Platform Window: Disable platform task bar icon (generally set on popups/tooltips, or all windows if ImGuiConfigFlags_ViewportsNoTaskBarIcon is set)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3345 + } + }, + { + "name": "ImGuiViewportFlags_NoFocusOnAppearing", + "value_expression": "1<<5", + "value": 32, + "is_count": false, + "comments": { + "attached": "// Platform Window: Don't take focus when created." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3346 + } + }, + { + "name": "ImGuiViewportFlags_NoFocusOnClick", + "value_expression": "1<<6", + "value": 64, + "is_count": false, + "comments": { + "attached": "// Platform Window: Don't take focus when clicked on." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3347 + } + }, + { + "name": "ImGuiViewportFlags_NoInputs", + "value_expression": "1<<7", + "value": 128, + "is_count": false, + "comments": { + "attached": "// Platform Window: Make mouse pass through so we can drag this window while peaking behind it." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3348 + } + }, + { + "name": "ImGuiViewportFlags_NoRendererClear", + "value_expression": "1<<8", + "value": 256, + "is_count": false, + "comments": { + "attached": "// Platform Window: Renderer doesn't need to clear the framebuffer ahead (because we will fill it entirely)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3349 + } + }, + { + "name": "ImGuiViewportFlags_NoAutoMerge", + "value_expression": "1<<9", + "value": 512, + "is_count": false, + "comments": { + "attached": "// Platform Window: Avoid merging this window into another host window. This can only be set via ImGuiWindowClass viewport flags override (because we need to now ahead if we are going to create a viewport in the first place!)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3350 + } + }, + { + "name": "ImGuiViewportFlags_TopMost", + "value_expression": "1<<10", + "value": 1024, + "is_count": false, + "comments": { + "attached": "// Platform Window: Display on top (for tooltips only)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3351 + } + }, + { + "name": "ImGuiViewportFlags_CanHostOtherWindows", + "value_expression": "1<<11", + "value": 2048, + "is_count": false, + "comments": { + "attached": "// Viewport can host multiple imgui windows (secondary viewports are associated to a single window). // FIXME: In practice there's still probably code making the assumption that this is always and only on the MainViewport. Will fix once we add support for \"no main viewport\"." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3352 + } + }, + { + "name": "ImGuiViewportFlags_IsMinimized", + "value_expression": "1<<12", + "value": 4096, + "is_count": false, + "comments": { + "preceding": [ + "// Output status flags (from Platform)" + ], + "attached": "// Platform Window: Window is minimized, can skip render. When minimized we tend to avoid using the viewport pos/size for clipping window or testing if they are contained in the viewport." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3355 + } + }, + { + "name": "ImGuiViewportFlags_IsFocused", + "value_expression": "1<<13", + "value": 8192, + "is_count": false, + "comments": { + "attached": "// Platform Window: Window is focused (last call to Platform_GetWindowFocus() returned true)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3356 + } + } + ], + "comments": { + "preceding": [ + "// Flags stored in ImGuiViewport::Flags, giving indications to the platform backends." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3338 + } + }, + { + "name": "ImGuiModFlags_", + "original_fully_qualified_name": "ImGuiModFlags_", + "is_flags_enum": true, + "elements": [ + { + "name": "ImGuiModFlags_None", + "value_expression": "0", + "value": 0, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3637 + } + }, + { + "name": "ImGuiModFlags_Ctrl", + "value_expression": "ImGuiMod_Ctrl", + "value": 4096, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3637 + } + }, + { + "name": "ImGuiModFlags_Shift", + "value_expression": "ImGuiMod_Shift", + "value": 8192, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3637 + } + }, + { + "name": "ImGuiModFlags_Alt", + "value_expression": "ImGuiMod_Alt", + "value": 16384, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3637 + } + }, + { + "name": "ImGuiModFlags_Super", + "value_expression": "ImGuiMod_Super", + "value": 32768, + "is_count": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3637 + } + } + ], + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3637 + } + } + ], + "typedefs": [ + { + "name": "ImGuiID", + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "preceding": [ + "// Scalar data types" + ], + "attached": "// A unique ID used by widgets (typically the result of hashing a stack of string)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImS8", + "type": { + "declaration": "signed char", + "description": { + "kind": "Builtin", + "builtin_type": "char" + } + }, + "comments": { + "attached": "// 8-bit signed integer" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImU8", + "type": { + "declaration": "unsigned char", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_char" + } + }, + "comments": { + "attached": "// 8-bit unsigned integer" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImS16", + "type": { + "declaration": "signed short", + "description": { + "kind": "Builtin", + "builtin_type": "short" + } + }, + "comments": { + "attached": "// 16-bit signed integer" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImU16", + "type": { + "declaration": "unsigned short", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_short" + } + }, + "comments": { + "attached": "// 16-bit unsigned integer" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImS32", + "type": { + "declaration": "signed int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// 32-bit signed integer == int" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImU32", + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// 32-bit unsigned integer (often used to store packed colors)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImS64", + "type": { + "declaration": "signed long long", + "description": { + "kind": "Builtin", + "builtin_type": "long_long" + } + }, + "comments": { + "attached": "// 64-bit signed integer" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImU64", + "type": { + "declaration": "unsigned long long", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_long_long" + } + }, + "comments": { + "attached": "// 64-bit unsigned integer" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiDir", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "preceding": [ + "// Enumerations", + "// - We don't use strongly typed enums much because they add constraints (can't extend in private code, can't store typed in bit fields, extra casting on iteration)", + "// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists!", + "// - In Visual Studio: CTRL+comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas CTRL+F12 (\"Edit.GoToImplementation\") cannot.", + "// - In Visual Studio w/ Visual Assist installed: ALT+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments.", + "// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments." + ], + "attached": "// -> enum ImGuiDir // Enum: A cardinal direction (Left, Right, Up, Down)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiKey", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiKey // Enum: A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiMouseSource", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiMouseSource // Enum; A mouse input source identifier (Mouse, TouchScreen, Pen)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiSortDirection", + "type": { + "declaration": "ImU8", + "description": { + "kind": "User", + "name": "ImU8" + } + }, + "comments": { + "attached": "// -> enum ImGuiSortDirection // Enum: A sorting direction (ascending or descending)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiCol", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiCol_ // Enum: A color identifier for styling" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiCond", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiCond_ // Enum: A condition for many Set*() functions" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiDataType", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiDataType_ // Enum: A primary data type" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiMouseButton", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiMouseButton_ // Enum: A mouse button identifier (0=left, 1=right, 2=middle)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiMouseCursor", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiMouseCursor_ // Enum: A mouse cursor shape" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiStyleVar", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiStyleVar_ // Enum: A variable identifier for styling" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiTableBgTarget", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiTableBgTarget_ // Enum: A color target for TableSetBgColor()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImDrawFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "preceding": [ + "// Flags (declared as int to allow using as flags without overhead, and to not pollute the top of this file)", + "// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists!", + "// - In Visual Studio: CTRL+comma (\"Edit.GoToAll\") can follow symbols inside comments, whereas CTRL+F12 (\"Edit.GoToImplementation\") cannot.", + "// - In Visual Studio w/ Visual Assist installed: ALT+G (\"VAssistX.GoToImplementation\") can also follow symbols inside comments.", + "// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments." + ], + "attached": "// -> enum ImDrawFlags_ // Flags: for ImDrawList functions" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImDrawListFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImDrawListFlags_ // Flags: for ImDrawList instance" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImFontAtlasFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImFontAtlasFlags_ // Flags: for ImFontAtlas build" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiBackendFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiBackendFlags_ // Flags: for io.BackendFlags" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiButtonFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiButtonFlags_ // Flags: for InvisibleButton()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiChildFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiChildFlags_ // Flags: for BeginChild()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiColorEditFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiColorEditFlags_ // Flags: for ColorEdit4(), ColorPicker4() etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiConfigFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiConfigFlags_ // Flags: for io.ConfigFlags" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiComboFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiComboFlags_ // Flags: for BeginCombo()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiDockNodeFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiDockNodeFlags_ // Flags: for DockSpace()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiDragDropFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiDragDropFlags_ // Flags: for BeginDragDropSource(), AcceptDragDropPayload()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiFocusedFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiFocusedFlags_ // Flags: for IsWindowFocused()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiHoveredFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiHoveredFlags_ // Flags: for IsItemHovered(), IsWindowHovered() etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiInputFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiInputFlags_ // Flags: for Shortcut(), SetNextItemShortcut()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiInputTextFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiInputTextFlags_ // Flags: for InputText(), InputTextMultiline()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiKeyChord", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> ImGuiKey | ImGuiMod_XXX // Flags: for IsKeyChordPressed(), Shortcut() etc. an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiPopupFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiPopupFlags_ // Flags: for OpenPopup*(), BeginPopupContext*(), IsPopupOpen()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiSelectableFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiSelectableFlags_ // Flags: for Selectable()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiSliderFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiSliderFlags_ // Flags: for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiTabBarFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiTabBarFlags_ // Flags: for BeginTabBar()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiTabItemFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiTabItemFlags_ // Flags: for BeginTabItem()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiTableFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiTableFlags_ // Flags: For BeginTable()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiTableColumnFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiTableColumnFlags_// Flags: For TableSetupColumn()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiTableRowFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiTableRowFlags_ // Flags: For TableNextRow()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiTreeNodeFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiTreeNodeFlags_ // Flags: for TreeNode(), TreeNodeEx(), CollapsingHeader()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiViewportFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiViewportFlags_ // Flags: for ImGuiViewport" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiWindowFlags", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// -> enum ImGuiWindowFlags_ // Flags: for Begin(), BeginChild()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImTextureID", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// Default: store a pointer or an integer fitting in a pointer (most renderer backends are ok with that)" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "ImTextureID" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + + { + "name": "ImDrawIdx", + "type": { + "declaration": "unsigned short", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_short" + } + }, + "comments": { + "attached": "// Default: 16-bit (for maximum compatibility with renderer backends)" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "ImDrawIdx" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImWchar32", + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "preceding": [ + "// Character types", + "// (we generally use UTF-8 encoded string in the API. This is storage specifically for a decoded character used for keyboard input and display)" + ], + "attached": "// A single decoded U32 character/code point. We encode them as multi bytes UTF-8 when used in strings." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImWchar16", + "type": { + "declaration": "unsigned short", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_short" + } + }, + "comments": { + "attached": "// A single decoded U16 character/code point. We encode them as multi bytes UTF-8 when used in strings." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImWchar", + "type": { + "declaration": "ImWchar32", + "description": { + "kind": "User", + "name": "ImWchar32" + } + }, + "conditionals": [ + { + "condition": "ifdef", + "expression": "IMGUI_USE_WCHAR32" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImWchar", + "type": { + "declaration": "ImWchar16", + "description": { + "kind": "User", + "name": "ImWchar16" + } + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_USE_WCHAR32" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiInputTextCallback", + "type": { + "declaration": "int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "data", + "type": { + "declaration": "ImGuiInputTextCallbackData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiInputTextCallbackData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "ImGuiInputTextCallback", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "int" + }, + "parameters": [ + { + "kind": "Type", + "name": "data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiInputTextCallbackData" + } + } + } + ] + } + } + } + }, + "comments": { + "preceding": [ + "// Callback and functions types" + ], + "attached": "// Callback function for ImGui::InputText()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiSizeCallback", + "type": { + "declaration": "void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "data", + "type": { + "declaration": "ImGuiSizeCallbackData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiSizeCallbackData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "ImGuiSizeCallback", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiSizeCallbackData" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// Callback function for ImGui::SetNextWindowSizeConstraints()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiMemAllocFunc", + "type": { + "declaration": "void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "arguments": [ + { + "name": "sz", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "ImGuiMemAllocFunc", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "parameters": [ + { + "kind": "Type", + "name": "sz", + "inner_type": { + "kind": "User", + "name": "size_t" + } + }, + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// Function signature for ImGui::SetAllocatorFunctions()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiMemFreeFunc", + "type": { + "declaration": "void (*ImGuiMemFreeFunc)(void* ptr, void* user_data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ptr", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "ImGuiMemFreeFunc", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "ptr", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// Function signature for ImGui::SetAllocatorFunctions()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImDrawCallback", + "type": { + "declaration": "void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "parent_list", + "type": { + "declaration": "const ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cmd", + "type": { + "declaration": "const ImDrawCmd*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawCmd", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "ImDrawCallback", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "parent_list", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList", + "storage_classes": [ + "const" + ] + } + } + }, + { + "kind": "Type", + "name": "cmd", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawCmd", + "storage_classes": [ + "const" + ] + } + } + } + ] + } + } + } + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "ImDrawCallback" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ImGuiModFlags", + "type": { + "declaration": "ImGuiKeyChord", + "description": { + "kind": "User", + "name": "ImGuiKeyChord" + } + }, + "comments": { + "preceding": [ + "// RENAMED and MERGED both ImGuiKey_ModXXX and ImGuiModFlags_XXX into ImGuiMod_XXX (from September 2022)", + "// RENAMED ImGuiKeyModFlags -> ImGuiModFlags in 1.88 (from April 2022). Exceptionally commented out ahead of obscolescence schedule to reduce confusion and because they were not meant to be used in the first place." + ], + "attached": "// == int. We generally use ImGuiKeyChord to mean \"a ImGuiKey or-ed with any number of ImGuiMod_XXX value\", but you may store only mods in there." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + } + ], + "structs": [ + { + "name": "ImDrawListSharedData", + "original_fully_qualified_name": "ImDrawListSharedData", + "kind": "struct", + "by_value": false, + "forward_declaration": true, + "is_anonymous": false, + "fields": [], + "comments": { + "attached": "// Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 164 + } + }, + { + "name": "ImFontBuilderIO", + "original_fully_qualified_name": "ImFontBuilderIO", + "kind": "struct", + "by_value": false, + "forward_declaration": true, + "is_anonymous": false, + "fields": [], + "comments": { + "attached": "// Opaque interface to a font builder (stb_truetype or FreeType)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 169 + } + }, + { + "name": "ImGuiContext", + "original_fully_qualified_name": "ImGuiContext", + "kind": "struct", + "by_value": false, + "forward_declaration": true, + "is_anonymous": false, + "fields": [], + "comments": { + "attached": "// Dear ImGui context (opaque structure, unless including imgui_internal.h)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 174 + } + }, + { + "name": "ImVec2", + "original_fully_qualified_name": "ImVec2", + "kind": "struct", + "by_value": true, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "x", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 282 + } + }, + { + "name": "y", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 282 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 280 + } + }, + { + "name": "ImVec4", + "original_fully_qualified_name": "ImVec4", + "kind": "struct", + "by_value": true, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "x", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 295 + } + }, + { + "name": "y", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 295 + } + }, + { + "name": "z", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 295 + } + }, + { + "name": "w", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 295 + } + } + ], + "comments": { + "preceding": [ + "// ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 293 + } + }, + { + "name": "ImGuiTableSortSpecs", + "original_fully_qualified_name": "ImGuiTableSortSpecs", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Specs", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const ImGuiTableColumnSortSpecs*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiTableColumnSortSpecs", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// Pointer to sort spec array." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2021 + } + }, + { + "name": "SpecsCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Sort spec count. Most often 1. May be > 1 when ImGuiTableFlags_SortMulti is enabled. May be == 0 when ImGuiTableFlags_SortTristate is enabled." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2022 + } + }, + { + "name": "SpecsDirty", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set to true when specs have changed since last time! Use this to sort again, then clear the flag." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2023 + } + } + ], + "comments": { + "preceding": [ + "// Sorting specifications for a table (often handling sort specs for a single column, occasionally more)", + "// Obtained by calling TableGetSortSpecs().", + "// When 'SpecsDirty == true' you can sort your data. It will be true with sorting specs have changed since last call, or the first time.", + "// Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame!" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2019 + } + }, + { + "name": "ImGuiTableColumnSortSpecs", + "original_fully_qualified_name": "ImGuiTableColumnSortSpecs", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "ColumnUserID", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// User id of the column (if specified by a TableSetupColumn() call)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2031 + } + }, + { + "name": "ColumnIndex", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImS16", + "description": { + "kind": "User", + "name": "ImS16" + } + }, + "comments": { + "attached": "// Index of the column" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2032 + } + }, + { + "name": "SortOrder", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImS16", + "description": { + "kind": "User", + "name": "ImS16" + } + }, + "comments": { + "attached": "// Index within parent ImGuiTableSortSpecs (always stored in order starting from 0, tables sorted on a single criteria will always have a 0 here)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2033 + } + }, + { + "name": "SortDirection", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiSortDirection", + "description": { + "kind": "User", + "name": "ImGuiSortDirection" + } + }, + "comments": { + "attached": "// ImGuiSortDirection_Ascending or ImGuiSortDirection_Descending" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2034 + } + } + ], + "comments": { + "preceding": [ + "// Sorting specification for one column of a table (sizeof == 12 bytes)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2029 + } + }, + { + "name": "ImVector_ImWchar", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImGuiTextFilter_ImGuiTextRange", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiTextFilter_ImGuiTextRange*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter_ImGuiTextRange" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_char", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImGuiStoragePair", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiStoragePair*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiStoragePair" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImDrawCmd", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawCmd*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawCmd" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImDrawIdx", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawIdx*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawIdx" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImDrawChannel", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawChannel*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawChannel" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImDrawVert", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawVert*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawVert" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImVec2", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImVec4", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec4*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec4" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImTextureID", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImTextureID*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImTextureID" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImDrawListPtr", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawList**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImU32", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImU32*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImU32" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImFontPtr", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFont**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImFontAtlasCustomRect", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFontAtlasCustomRect*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontAtlasCustomRect" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImFontConfig", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_float", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImFontGlyph", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFontGlyph*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontGlyph" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImGuiPlatformMonitor", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiPlatformMonitor*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiPlatformMonitor" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImVector_ImGuiViewportPtr", + "original_fully_qualified_name": "ImVector", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2073 + } + }, + { + "name": "Capacity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2074 + } + }, + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiViewport**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2075 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2071 + } + }, + { + "name": "ImGuiStyle", + "original_fully_qualified_name": "ImGuiStyle", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Alpha", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Global alpha applies to everything in Dear ImGui." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2145 + } + }, + { + "name": "DisabledAlpha", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2146 + } + }, + { + "name": "WindowPadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Padding within a window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2147 + } + }, + { + "name": "WindowRounding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2148 + } + }, + { + "name": "WindowBorderSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2149 + } + }, + { + "name": "WindowMinSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Minimum window size. This is a global setting. If you want to constrain individual windows, use SetNextWindowSizeConstraints()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2150 + } + }, + { + "name": "WindowTitleAlign", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2151 + } + }, + { + "name": "WindowMenuButtonPosition", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiDir", + "description": { + "kind": "User", + "name": "ImGuiDir" + } + }, + "comments": { + "attached": "// Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2152 + } + }, + { + "name": "ChildRounding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Radius of child window corners rounding. Set to 0.0f to have rectangular windows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2153 + } + }, + { + "name": "ChildBorderSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2154 + } + }, + { + "name": "PopupRounding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2155 + } + }, + { + "name": "PopupBorderSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2156 + } + }, + { + "name": "FramePadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Padding within a framed rectangle (used by most widgets)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2157 + } + }, + { + "name": "FrameRounding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2158 + } + }, + { + "name": "FrameBorderSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2159 + } + }, + { + "name": "ItemSpacing", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Horizontal and vertical spacing between widgets/lines." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2160 + } + }, + { + "name": "ItemInnerSpacing", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2161 + } + }, + { + "name": "CellPadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered between different rows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2162 + } + }, + { + "name": "TouchExtraPadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2163 + } + }, + { + "name": "IndentSpacing", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2164 + } + }, + { + "name": "ColumnsMinSpacing", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2165 + } + }, + { + "name": "ScrollbarSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Width of the vertical scrollbar, Height of the horizontal scrollbar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2166 + } + }, + { + "name": "ScrollbarRounding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Radius of grab corners for scrollbar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2167 + } + }, + { + "name": "GrabMinSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Minimum width/height of a grab box for slider/scrollbar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2168 + } + }, + { + "name": "GrabRounding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2169 + } + }, + { + "name": "LogSliderDeadzone", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2170 + } + }, + { + "name": "TabRounding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2171 + } + }, + { + "name": "TabBorderSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickness of border around tabs." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2172 + } + }, + { + "name": "TabMinWidthForCloseButton", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Minimum width for close button to appear on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2173 + } + }, + { + "name": "TabBarBorderSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickness of tab-bar separator, which takes on the tab active color to denote focus." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2174 + } + }, + { + "name": "TableAngledHeadersAngle", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Angle of angled headers (supported values range from -50.0f degrees to +50.0f degrees)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2175 + } + }, + { + "name": "TableAngledHeadersTextAlign", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Alignment of angled headers within the cell" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2176 + } + }, + { + "name": "ColorButtonPosition", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiDir", + "description": { + "kind": "User", + "name": "ImGuiDir" + } + }, + "comments": { + "attached": "// Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2177 + } + }, + { + "name": "ButtonTextAlign", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2178 + } + }, + { + "name": "SelectableTextAlign", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2179 + } + }, + { + "name": "SeparatorTextBorderSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickkness of border in SeparatorText()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2180 + } + }, + { + "name": "SeparatorTextAlign", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Alignment of text within the separator. Defaults to (0.0f, 0.5f) (left aligned, center)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2181 + } + }, + { + "name": "SeparatorTextPadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Horizontal offset of text from each edge of the separator + spacing on other axis. Generally small values. .y is recommended to be == FramePadding.y." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2182 + } + }, + { + "name": "DisplayWindowPadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Apply to regular windows: amount which we enforce to keep visible when moving near edges of your screen." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2183 + } + }, + { + "name": "DisplaySafeAreaPadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Apply to every windows, menus, popups, tooltips: amount where we avoid displaying contents. Adjust if you cannot see the edges of your screen (e.g. on a TV where scaling has not been configured)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2184 + } + }, + { + "name": "DockingSeparatorSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Thickness of resizing border between docked windows" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2185 + } + }, + { + "name": "MouseCursorScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). We apply per-monitor DPI scaling over this scale. May be removed later." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2186 + } + }, + { + "name": "AntiAliasedLines", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2187 + } + }, + { + "name": "AntiAliasedLinesUseTex", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). Latched at the beginning of the frame (copied to ImDrawList)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2188 + } + }, + { + "name": "AntiAliasedFill", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2189 + } + }, + { + "name": "CurveTessellationTol", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2190 + } + }, + { + "name": "CircleTessellationMaxError", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2191 + } + }, + { + "name": "Colors", + "is_array": true, + "array_bounds": "ImGuiCol_COUNT", + "is_anonymous": false, + "type": { + "declaration": "ImVec4[ImGuiCol_COUNT]", + "description": { + "kind": "Array", + "bounds": "ImGuiCol_COUNT", + "inner_type": { + "kind": "User", + "name": "ImVec4" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2192 + } + }, + { + "name": "HoverStationaryDelay", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "preceding": [ + "// Behaviors", + "// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)" + ], + "attached": "// Delay for IsItemHovered(ImGuiHoveredFlags_Stationary). Time required to consider mouse stationary." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2196 + } + }, + { + "name": "HoverDelayShort", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Delay for IsItemHovered(ImGuiHoveredFlags_DelayShort). Usually used along with HoverStationaryDelay." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2197 + } + }, + { + "name": "HoverDelayNormal", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Delay for IsItemHovered(ImGuiHoveredFlags_DelayNormal). \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2198 + } + }, + { + "name": "HoverFlagsForTooltipMouse", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiHoveredFlags", + "description": { + "kind": "User", + "name": "ImGuiHoveredFlags" + } + }, + "comments": { + "attached": "// Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using mouse." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2199 + } + }, + { + "name": "HoverFlagsForTooltipNav", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiHoveredFlags", + "description": { + "kind": "User", + "name": "ImGuiHoveredFlags" + } + }, + "comments": { + "attached": "// Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using keyboard/gamepad." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2200 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2143 + } + }, + { + "name": "ImGuiKeyData", + "original_fully_qualified_name": "ImGuiKeyData", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Down", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// True for if key is down" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2220 + } + }, + { + "name": "DownDuration", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Duration the key has been down (<0.0f: not pressed, 0.0f: just pressed, >0.0f: time held)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2221 + } + }, + { + "name": "DownDurationPrev", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Last frame duration the key has been down" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2222 + } + }, + { + "name": "AnalogValue", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 0.0f..1.0f for gamepad values" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2223 + } + } + ], + "comments": { + "preceding": [ + "// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions.", + "// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration." + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2218 + } + }, + { + "name": "ImGuiIO", + "original_fully_qualified_name": "ImGuiIO", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "ConfigFlags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiConfigFlags", + "description": { + "kind": "User", + "name": "ImGuiConfigFlags" + } + }, + "comments": { + "attached": "// = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2232 + } + }, + { + "name": "BackendFlags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiBackendFlags", + "description": { + "kind": "User", + "name": "ImGuiBackendFlags" + } + }, + "comments": { + "attached": "// = 0 // See ImGuiBackendFlags_ enum. Set by backend (imgui_impl_xxx files or custom backend) to communicate features supported by the backend." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2233 + } + }, + { + "name": "DisplaySize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// // Main display size, in pixels (generally == GetMainViewport()->Size). May change every frame." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2234 + } + }, + { + "name": "DeltaTime", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 1.0f/60.0f // Time elapsed since last frame, in seconds. May change every frame." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2235 + } + }, + { + "name": "IniSavingRate", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2236 + } + }, + { + "name": "IniFilename", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// = \"imgui.ini\" // Path to .ini file (important: default \"imgui.ini\" is relative to current working dir!). Set NULL to disable automatic .ini loading/saving or if you want to manually call LoadIniSettingsXXX() / SaveIniSettingsXXX() functions." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2237 + } + }, + { + "name": "LogFilename", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// = \"imgui_log.txt\"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2238 + } + }, + { + "name": "UserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// = NULL // Store your own data." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2239 + } + }, + { + "name": "Fonts", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "comments": { + "attached": "// // Font atlas: load, rasterize and pack one or more fonts into a single texture." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2241 + } + }, + { + "name": "FontGlobalScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 1.0f // Global scale all fonts" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2242 + } + }, + { + "name": "FontAllowUserScaling", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // Allow user scaling text of individual window with CTRL+Wheel." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2243 + } + }, + { + "name": "FontDefault", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "comments": { + "attached": "// = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2244 + } + }, + { + "name": "DisplayFramebufferScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// = (1, 1) // For retina display or other situations where window coordinates are different from framebuffer coordinates. This generally ends up in ImDrawData::FramebufferScale." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2245 + } + }, + { + "name": "ConfigDockingNoSplit", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// Docking options (when ImGuiConfigFlags_DockingEnable is set)" + ], + "attached": "// = false // Simplified docking mode: disable window splitting, so docking is limited to merging multiple windows together into tab-bars." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2248 + } + }, + { + "name": "ConfigDockingWithShift", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // Enable docking with holding Shift key (reduce visual noise, allows dropping in wider space)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2249 + } + }, + { + "name": "ConfigDockingAlwaysTabBar", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // [BETA] [FIXME: This currently creates regression with auto-sizing and general overhead] Make every single floating window display within a docking node." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2250 + } + }, + { + "name": "ConfigDockingTransparentPayload", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // [BETA] Make window or viewport transparent when docking and only display docking boxes on the target viewport. Useful if rendering of multiple viewport cannot be synced. Best used with ConfigViewportsNoAutoMerge." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2251 + } + }, + { + "name": "ConfigViewportsNoAutoMerge", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)" + ], + "attached": "// = false; // Set to make all floating imgui windows always create their own viewport. Otherwise, they are merged into the main host viewports when overlapping it. May also set ImGuiViewportFlags_NoAutoMerge on individual viewport." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2254 + } + }, + { + "name": "ConfigViewportsNoTaskBarIcon", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // Disable default OS task bar icon flag for secondary viewports. When a viewport doesn't want a task bar icon, ImGuiViewportFlags_NoTaskBarIcon will be set on it." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2255 + } + }, + { + "name": "ConfigViewportsNoDecoration", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = true // Disable default OS window decoration flag for secondary viewports. When a viewport doesn't want window decorations, ImGuiViewportFlags_NoDecoration will be set on it. Enabling decoration can create subsequent issues at OS levels (e.g. minimum window size)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2256 + } + }, + { + "name": "ConfigViewportsNoDefaultParent", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // Disable default OS parenting to main viewport for secondary viewports. By default, viewports are marked with ParentViewportId = , expecting the platform backend to setup a parent/child relationship between the OS windows (some backend may ignore this). Set to true if you want the default to be 0, then all viewports will be top-level OS windows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2257 + } + }, + { + "name": "MouseDrawCursor", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// Miscellaneous options" + ], + "attached": "// = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by backend implementations." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2260 + } + }, + { + "name": "ConfigMacOSXBehaviors", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = defined(__APPLE__) // Swap Cmd<>Ctrl keys + OS X style text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2261 + } + }, + { + "name": "ConfigInputTrickleEventQueue", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = true // Enable input queue trickling: some types of events submitted during the same frame (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2262 + } + }, + { + "name": "ConfigInputTextCursorBlink", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = true // Enable blinking cursor (optional as some users consider it to be distracting)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2263 + } + }, + { + "name": "ConfigInputTextEnterKeepActive", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // [BETA] Pressing Enter will keep item active and select contents (single-line only)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2264 + } + }, + { + "name": "ConfigDragClickToInputText", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // [BETA] Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). Not desirable on devices without a keyboard." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2265 + } + }, + { + "name": "ConfigWindowsResizeFromEdges", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = true // Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2266 + } + }, + { + "name": "ConfigWindowsMoveFromTitleBarOnly", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // Enable allowing to move windows only when clicking on their title bar. Does not apply to windows without a title bar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2267 + } + }, + { + "name": "ConfigMemoryCompactTimer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 60.0f // Timer (in seconds) to free transient windows/tables memory buffers when unused. Set to -1.0f to disable." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2268 + } + }, + { + "name": "MouseDoubleClickTime", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "preceding": [ + "// Inputs Behaviors", + "// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)" + ], + "attached": "// = 0.30f // Time for a double-click, in seconds." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2272 + } + }, + { + "name": "MouseDoubleClickMaxDist", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 6.0f // Distance threshold to stay in to validate a double-click, in pixels." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2273 + } + }, + { + "name": "MouseDragThreshold", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 6.0f // Distance threshold before considering we are dragging." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2274 + } + }, + { + "name": "KeyRepeatDelay", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 0.275f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2275 + } + }, + { + "name": "KeyRepeatRate", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// = 0.050f // When holding a key/button, rate at which it repeats, in seconds." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2276 + } + }, + { + "name": "ConfigDebugIsDebuggerPresent", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// Option to enable various debug tools showing buttons that will call the IM_DEBUG_BREAK() macro.", + "// - The Item Picker tool will be available regardless of this being enabled, in order to maximize its discoverability.", + "// - Requires a debugger being attached, otherwise IM_DEBUG_BREAK() options will appear to crash your application.", + "// e.g. io.ConfigDebugIsDebuggerPresent = ::IsDebuggerPresent() on Win32, or refer to ImOsIsDebuggerPresent() imgui_test_engine/imgui_te_utils.cpp for a Unix compatible version)." + ], + "attached": "// = false // Enable various tools calling IM_DEBUG_BREAK()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2286 + } + }, + { + "name": "ConfigDebugBeginReturnValueOnce", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// Tools to test correct Begin/End and BeginChild/EndChild behaviors.", + "// - Presently Begin()/End() and BeginChild()/EndChild() needs to ALWAYS be called in tandem, regardless of return value of BeginXXX()", + "// - This is inconsistent with other BeginXXX functions and create confusion for many users.", + "// - We expect to update the API eventually. In the meanwhile we provide tools to facilitate checking user-code behavior." + ], + "attached": "// = false // First-time calls to Begin()/BeginChild() will return false. NEEDS TO BE SET AT APPLICATION BOOT TIME if you don't want to miss windows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2292 + } + }, + { + "name": "ConfigDebugBeginReturnValueLoop", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// = false // Some calls to Begin()/BeginChild() will return false. Will cycle through window depths then repeat. Suggested use: add \"io.ConfigDebugBeginReturnValue = io.KeyShift\" in your main loop then occasionally press SHIFT. Windows should be flickering while running." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2293 + } + }, + { + "name": "ConfigDebugIgnoreFocusLoss", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// Option to deactivate io.AddFocusEvent(false) handling.", + "// - May facilitate interactions with a debugger when focus loss leads to clearing inputs data.", + "// - Backends may have other side-effects on focus loss, so this will reduce side-effects but not necessary remove all of them." + ], + "attached": "// = false // Ignore io.AddFocusEvent(false), consequently not calling io.ClearInputKeys()/io.ClearInputMouse() in input processing." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2298 + } + }, + { + "name": "ConfigDebugIniSettings", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// Option to audit .ini data" + ], + "attached": "// = false // Save .ini data with extra comments (particularly helpful for Docking, but makes saving slower)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2301 + } + }, + { + "name": "BackendPlatformName", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "preceding": [ + "// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff." + ], + "attached": "// = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2309 + } + }, + { + "name": "BackendRendererName", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2310 + } + }, + { + "name": "BackendPlatformUserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// = NULL // User data for platform backend" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2311 + } + }, + { + "name": "BackendRendererUserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// = NULL // User data for renderer backend" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2312 + } + }, + { + "name": "BackendLanguageUserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// = NULL // User data for non C++ programming language backend" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2313 + } + }, + { + "name": "GetClipboardTextFn", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char* (*GetClipboardTextFn)(void* user_data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "GetClipboardTextFn", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "comments": { + "preceding": [ + "// Optional: Access OS clipboard", + "// (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "SetClipboardTextFn", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*SetClipboardTextFn)(void* user_data, const char* text)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "SetClipboardTextFn", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "text", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + ] + } + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "ClipboardUserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2319 + } + }, + { + "name": "SetPlatformImeDataFn", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "viewport", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data", + "type": { + "declaration": "ImGuiPlatformImeData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiPlatformImeData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "SetPlatformImeDataFn", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "viewport", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiPlatformImeData" + } + } + } + ] + } + } + } + }, + "comments": { + "preceding": [ + "// Optional: Notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME on Windows)", + "// (default to use native imm32 api on Windows)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "PlatformLocaleDecimalPoint", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "comments": { + "preceding": [ + "// Optional: Platform locale" + ], + "attached": "// '.' // [Experimental] Configure decimal point e.g. '.' or ',' useful for some languages (e.g. German), generally pulled from *localeconv()->decimal_point" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2326 + } + }, + { + "name": "WantCaptureMouse", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2360 + } + }, + { + "name": "WantCaptureKeyboard", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2361 + } + }, + { + "name": "WantTextInput", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2362 + } + }, + { + "name": "WantSetMousePos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2363 + } + }, + { + "name": "WantSaveIniSettings", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2364 + } + }, + { + "name": "NavActive", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2365 + } + }, + { + "name": "NavVisible", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2366 + } + }, + { + "name": "Framerate", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Estimate of application framerate (rolling average over 60 frames, based on io.DeltaTime), in frame per second. Solely for convenience. Slow applications may not want to use a moving average or may want to reset underlying buffers occasionally." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2367 + } + }, + { + "name": "MetricsRenderVertices", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Vertices output during last call to Render()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2368 + } + }, + { + "name": "MetricsRenderIndices", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Indices output during last call to Render() = number of triangles * 3" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2369 + } + }, + { + "name": "MetricsRenderWindows", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Number of visible windows" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2370 + } + }, + { + "name": "MetricsActiveWindows", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Number of active windows" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2371 + } + }, + { + "name": "MouseDelta", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2372 + } + }, + { + "name": "Ctx", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiContext*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiContext" + } + } + }, + "comments": { + "attached": "// Parent UI context (needs to be set explicitly by parent)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2378 + } + }, + { + "name": "MousePos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "preceding": [ + "// Main Input State", + "// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)", + "// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)" + ], + "attached": "// Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2383 + } + }, + { + "name": "MouseDown", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "bool[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "comments": { + "attached": "// Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Other buttons allow us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2384 + } + }, + { + "name": "MouseWheel", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Mouse wheel Vertical: 1 unit scrolls about 5 lines text. >0 scrolls Up, <0 scrolls Down. Hold SHIFT to turn vertical scroll into horizontal scroll." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2385 + } + }, + { + "name": "MouseWheelH", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Mouse wheel Horizontal. >0 scrolls Left, <0 scrolls Right. Most users don't have a mouse with a horizontal wheel, may not be filled by all backends." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2386 + } + }, + { + "name": "MouseSource", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiMouseSource", + "description": { + "kind": "User", + "name": "ImGuiMouseSource" + } + }, + "comments": { + "attached": "// Mouse actual input peripheral (Mouse/TouchScreen/Pen)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2387 + } + }, + { + "name": "MouseHoveredViewport", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// (Optional) Modify using io.AddMouseViewportEvent(). With multi-viewports: viewport the OS mouse is hovering. If possible _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag is much better (few backends can handle that). Set io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport if you can provide this info. If you don't imgui will infer the value using the rectangles and last focused time of the viewports it knows about (ignoring other OS windows)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2388 + } + }, + { + "name": "KeyCtrl", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Keyboard modifier down: Control" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2389 + } + }, + { + "name": "KeyShift", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Keyboard modifier down: Shift" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2390 + } + }, + { + "name": "KeyAlt", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Keyboard modifier down: Alt" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2391 + } + }, + { + "name": "KeySuper", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Keyboard modifier down: Cmd/Super/Windows" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2392 + } + }, + { + "name": "KeyMods", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiKeyChord", + "description": { + "kind": "User", + "name": "ImGuiKeyChord" + } + }, + "comments": { + "preceding": [ + "// Other state maintained from data above + IO function calls" + ], + "attached": "// Key mods flags (any of ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Alt/ImGuiMod_Super flags, same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags. Read-only, updated by NewFrame()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2395 + } + }, + { + "name": "KeysData", + "is_array": true, + "array_bounds": "ImGuiKey_KeysData_SIZE", + "is_anonymous": false, + "type": { + "declaration": "ImGuiKeyData[ImGuiKey_KeysData_SIZE]", + "description": { + "kind": "Array", + "bounds": "ImGuiKey_KeysData_SIZE", + "inner_type": { + "kind": "User", + "name": "ImGuiKeyData" + } + } + }, + "comments": { + "attached": "// Key state for all known keys. Use IsKeyXXX() functions to access this." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2396 + } + }, + { + "name": "WantCaptureMouseUnlessPopupClose", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose == false) when a click over void is expected to close a popup." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2397 + } + }, + { + "name": "MousePosPrev", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2398 + } + }, + { + "name": "MouseClickedPos", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "ImVec2[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "comments": { + "attached": "// Position at time of clicking" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2399 + } + }, + { + "name": "MouseClickedTime", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "double[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "double" + } + } + }, + "comments": { + "attached": "// Time of last click (used to figure out double-click)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2400 + } + }, + { + "name": "MouseClicked", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "bool[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "comments": { + "attached": "// Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2401 + } + }, + { + "name": "MouseDoubleClicked", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "bool[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "comments": { + "attached": "// Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2402 + } + }, + { + "name": "MouseClickedCount", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "ImU16[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "User", + "name": "ImU16" + } + } + }, + "comments": { + "attached": "// == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc. when going from !Down to Down" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2403 + } + }, + { + "name": "MouseClickedLastCount", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "ImU16[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "User", + "name": "ImU16" + } + } + }, + "comments": { + "attached": "// Count successive number of clicks. Stays valid after mouse release. Reset after another click is done." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2404 + } + }, + { + "name": "MouseReleased", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "bool[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "comments": { + "attached": "// Mouse button went from Down to !Down" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2405 + } + }, + { + "name": "MouseDownOwned", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "bool[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "comments": { + "attached": "// Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request mouse capture from the application if click started outside ImGui bounds." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2406 + } + }, + { + "name": "MouseDownOwnedUnlessPopupClose", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "bool[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "comments": { + "attached": "// Track if button was clicked inside a dear imgui window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2407 + } + }, + { + "name": "MouseWheelRequestAxisSwap", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// On a non-Mac system, holding SHIFT requests WheelY to perform the equivalent of a WheelX event. On a Mac system this is already enforced by the system." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2408 + } + }, + { + "name": "MouseCtrlLeftAsRightClick", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// (OSX) Set to true when the current click was a ctrl-click that spawned a simulated right click" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2409 + } + }, + { + "name": "MouseDownDuration", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "float[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "comments": { + "attached": "// Duration the mouse button has been down (0.0f == just clicked)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2410 + } + }, + { + "name": "MouseDownDurationPrev", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "float[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "comments": { + "attached": "// Previous time the mouse button has been down" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2411 + } + }, + { + "name": "MouseDragMaxDistanceAbs", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "ImVec2[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "comments": { + "attached": "// Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2412 + } + }, + { + "name": "MouseDragMaxDistanceSqr", + "is_array": true, + "array_bounds": "5", + "is_anonymous": false, + "type": { + "declaration": "float[5]", + "description": { + "kind": "Array", + "bounds": "5", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "comments": { + "attached": "// Squared maximum distance of how much mouse has traveled from the clicking point (used for moving thresholds)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2413 + } + }, + { + "name": "PenPressure", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2414 + } + }, + { + "name": "AppFocusLost", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Only modify via AddFocusEvent()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2415 + } + }, + { + "name": "AppAcceptingEvents", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Only modify via SetAppAcceptingEvents()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2416 + } + }, + { + "name": "BackendUsingLegacyKeyArrays", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImS8", + "description": { + "kind": "User", + "name": "ImS8" + } + }, + "comments": { + "attached": "// -1: unknown, 0: using AddKeyEvent(), 1: using legacy io.KeysDown[]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2417 + } + }, + { + "name": "BackendUsingLegacyNavInputArray", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// 0: using AddKeyAnalogEvent(), 1: writing to legacy io.NavInputs[] directly" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2418 + } + }, + { + "name": "InputQueueSurrogate", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImWchar16", + "description": { + "kind": "User", + "name": "ImWchar16" + } + }, + "comments": { + "attached": "// For AddInputCharacterUTF16()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2419 + } + }, + { + "name": "InputQueueCharacters", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImWchar", + "description": { + "kind": "User", + "name": "ImVector_ImWchar" + } + }, + "comments": { + "attached": "// Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2420 + } + }, + { + "name": "KeyMap", + "is_array": true, + "array_bounds": "ImGuiKey_COUNT", + "is_anonymous": false, + "type": { + "declaration": "int[ImGuiKey_COUNT]", + "description": { + "kind": "Array", + "bounds": "ImGuiKey_COUNT", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "comments": { + "attached": "// [LEGACY] Input: map of indices into the KeysDown[512] entries array which represent your \"native\" keyboard state. The first 512 are now unused and should be kept zero. Legacy backend will write into KeyMap[] using ImGuiKey_ indices which are always >512." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2426 + } + }, + { + "name": "KeysDown", + "is_array": true, + "array_bounds": "ImGuiKey_COUNT", + "is_anonymous": false, + "type": { + "declaration": "bool[ImGuiKey_COUNT]", + "description": { + "kind": "Array", + "bounds": "ImGuiKey_COUNT", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "comments": { + "attached": "// [LEGACY] Input: Keyboard keys that are pressed (ideally left in the \"native\" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). This used to be [512] sized. It is now ImGuiKey_COUNT to allow legacy io.KeysDown[GetKeyIndex(...)] to work without an overflow." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2427 + } + }, + { + "name": "NavInputs", + "is_array": true, + "array_bounds": "ImGuiNavInput_COUNT", + "is_anonymous": false, + "type": { + "declaration": "float[ImGuiNavInput_COUNT]", + "description": { + "kind": "Array", + "bounds": "ImGuiNavInput_COUNT", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "comments": { + "attached": "// [LEGACY] Since 1.88, NavInputs[] was removed. Backends from 1.60 to 1.86 won't build. Feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_KEYIO" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2428 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2226 + } + }, + { + "name": "ImGuiInputTextCallbackData", + "original_fully_qualified_name": "ImGuiInputTextCallbackData", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Ctx", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiContext*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiContext" + } + } + }, + "comments": { + "attached": "// Parent UI context" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2450 + } + }, + { + "name": "EventFlag", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "comments": { + "attached": "// One ImGuiInputTextFlags_Callback* // Read-only" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2451 + } + }, + { + "name": "Flags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "comments": { + "attached": "// What user passed to InputText() // Read-only" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2452 + } + }, + { + "name": "UserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// What user passed to InputText() // Read-only" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2453 + } + }, + { + "name": "EventChar", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "comments": { + "preceding": [ + "// Arguments for the different callback events", + "// - During Resize callback, Buf will be same as your input buffer.", + "// - However, during Completion/History/Always callback, Buf always points to our own internal data (it is not the same as your buffer)! Changes to it will be reflected into your own buffer shortly after the callback.", + "// - To modify the text buffer in a callback, prefer using the InsertChars() / DeleteChars() function. InsertChars() will take care of calling the resize callback if necessary.", + "// - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state." + ], + "attached": "// Character input // Read-write // [CharFilter] Replace character with another one, or set to zero to drop. return 1 is equivalent to setting EventChar=0;" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2460 + } + }, + { + "name": "EventKey", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "comments": { + "attached": "// Key pressed (Up/Down/TAB) // Read-only // [Completion,History]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2461 + } + }, + { + "name": "Buf", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "comments": { + "attached": "// Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2462 + } + }, + { + "name": "BufTextLen", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Text length (in bytes) // Read-write // [Resize,Completion,History,Always] Exclude zero-terminator storage. In C land: == strlen(some_text), in C++ land: string.length()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2463 + } + }, + { + "name": "BufSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2464 + } + }, + { + "name": "BufDirty", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2465 + } + }, + { + "name": "CursorPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// // Read-write // [Completion,History,Always]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2466 + } + }, + { + "name": "SelectionStart", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// // Read-write // [Completion,History,Always] == to SelectionEnd when no selection)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2467 + } + }, + { + "name": "SelectionEnd", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// // Read-write // [Completion,History,Always]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2468 + } + } + ], + "comments": { + "preceding": [ + "// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used.", + "// The callback function should return 0 by default.", + "// Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details)", + "// - 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)", + "// - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration", + "// - ImGuiInputTextFlags_CallbackCompletion: Callback on pressing TAB", + "// - ImGuiInputTextFlags_CallbackHistory: Callback on pressing Up/Down arrows", + "// - ImGuiInputTextFlags_CallbackCharFilter: Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.", + "// - ImGuiInputTextFlags_CallbackResize: Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2448 + } + }, + { + "name": "ImGuiSizeCallbackData", + "original_fully_qualified_name": "ImGuiSizeCallbackData", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "UserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2484 + } + }, + { + "name": "Pos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Read-only. Window position, for reference." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2485 + } + }, + { + "name": "CurrentSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Read-only. Current window size." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2486 + } + }, + { + "name": "DesiredSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2487 + } + } + ], + "comments": { + "preceding": [ + "// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin().", + "// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2482 + } + }, + { + "name": "ImGuiWindowClass", + "original_fully_qualified_name": "ImGuiWindowClass", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "ClassId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// User data. 0 = Default class (unclassed). Windows of different classes cannot be docked with each others." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2499 + } + }, + { + "name": "ParentViewportId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// Hint for the platform backend. -1: use default. 0: request platform backend to not parent the platform. != 0: request platform backend to create a parent<>child relationship between the platform windows. Not conforming backends are free to e.g. parent every viewport to the main viewport or not." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2500 + } + }, + { + "name": "FocusRouteParentWindowId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// ID of parent window for shortcut focus route evaluation, e.g. Shortcut() call from Parent Window will succeed when this window is focused." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2501 + } + }, + { + "name": "ViewportFlagsOverrideSet", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiViewportFlags", + "description": { + "kind": "User", + "name": "ImGuiViewportFlags" + } + }, + "comments": { + "attached": "// Viewport flags to set when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2502 + } + }, + { + "name": "ViewportFlagsOverrideClear", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiViewportFlags", + "description": { + "kind": "User", + "name": "ImGuiViewportFlags" + } + }, + "comments": { + "attached": "// Viewport flags to clear when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2503 + } + }, + { + "name": "TabItemFlagsOverrideSet", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiTabItemFlags", + "description": { + "kind": "User", + "name": "ImGuiTabItemFlags" + } + }, + "comments": { + "attached": "// [EXPERIMENTAL] TabItem flags to set when a window of this class gets submitted into a dock node tab bar. May use with ImGuiTabItemFlags_Leading or ImGuiTabItemFlags_Trailing." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2504 + } + }, + { + "name": "DockNodeFlagsOverrideSet", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiDockNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiDockNodeFlags" + } + }, + "comments": { + "attached": "// [EXPERIMENTAL] Dock node flags to set when a window of this class is hosted by a dock node (it doesn't have to be selected!)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2505 + } + }, + { + "name": "DockingAlwaysTabBar", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set to true to enforce single floating windows of this class always having their own docking node (equivalent of setting the global io.ConfigDockingAlwaysTabBar)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2506 + } + }, + { + "name": "DockingAllowUnclassed", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set to true to allow windows of this class to be docked/merged with an unclassed window. // FIXME-DOCK: Move to DockNodeFlags override?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2507 + } + } + ], + "comments": { + "preceding": [ + "// [ALPHA] Rarely used / very advanced uses only. Use with SetNextWindowClass() and DockSpace() functions.", + "// Important: the content of this class is still highly WIP and likely to change and be refactored", + "// before we stabilize Docking features. Please be mindful if using this.", + "// Provide hints:", + "// - To the platform backend via altered viewport flags (enable/disable OS decoration, OS task bar icons, etc.)", + "// - To the platform backend for OS level parent/child relationships of viewport.", + "// - To the docking system for various options and filtering." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2497 + } + }, + { + "name": "ImGuiPayload", + "original_fully_qualified_name": "ImGuiPayload", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "preceding": [ + "// Members" + ], + "attached": "// Data (copied and owned by dear imgui)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2516 + } + }, + { + "name": "DataSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Data size" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2517 + } + }, + { + "name": "SourceId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "preceding": [ + "// [Internal]" + ], + "attached": "// Source item id" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2520 + } + }, + { + "name": "SourceParentId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// Source parent id (if available)" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2521 + } + }, + { + "name": "DataFrameCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Data timestamp" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2522 + } + }, + { + "name": "DataType", + "is_array": true, + "array_bounds": "32+1", + "is_anonymous": false, + "type": { + "declaration": "char[32+1]", + "description": { + "kind": "Array", + "bounds": "32+1", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "comments": { + "attached": "// Data type tag (short user-supplied string, 32 characters max)" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2523 + } + }, + { + "name": "Preview", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets)" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2524 + } + }, + { + "name": "Delivery", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Set when AcceptDragDropPayload() was called and mouse button is released over the target item." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2525 + } + } + ], + "comments": { + "preceding": [ + "// Data payload for Drag and Drop operations: AcceptDragDropPayload(), GetDragDropPayload()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2513 + } + }, + { + "name": "ImGuiTextFilter_ImGuiTextRange", + "original_fully_qualified_name": "ImGuiTextFilter::ImGuiTextRange", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "b", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2568 + } + }, + { + "name": "e", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2569 + } + } + ], + "comments": { + "preceding": [ + "// [Internal]" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2566 + } + }, + { + "name": "ImGuiTextFilter", + "original_fully_qualified_name": "ImGuiTextFilter", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "InputBuf", + "is_array": true, + "array_bounds": "256", + "is_anonymous": false, + "type": { + "declaration": "char[256]", + "description": { + "kind": "Array", + "bounds": "256", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2576 + } + }, + { + "name": "Filters", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImGuiTextFilter_ImGuiTextRange", + "description": { + "kind": "User", + "name": "ImVector_ImGuiTextFilter_ImGuiTextRange" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2577 + } + }, + { + "name": "CountGrep", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2578 + } + } + ], + "comments": { + "preceding": [ + "// Helper: Parse and apply text filters. In format \"aaaaa[,bbbb][,ccccc]\"" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2556 + } + }, + { + "name": "ImGuiTextBuffer", + "original_fully_qualified_name": "ImGuiTextBuffer", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Buf", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_char", + "description": { + "kind": "User", + "name": "ImVector_char" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2585 + } + } + ], + "comments": { + "preceding": [ + "// Helper: Growable text buffer for logging/accumulating text", + "// (this could be called 'ImGuiTextBuilder' / 'ImGuiStringBuilder')" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2583 + } + }, + { + "name": "ImGuiStoragePair", + "original_fully_qualified_name": "ImGuiStoragePair", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "key", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2605 + } + }, + { + "name": "__anonymous_type0", + "is_array": false, + "is_anonymous": true, + "type": { + "declaration": "__anonymous_type0", + "description": { + "kind": "User", + "name": "__anonymous_type0" + } + }, + "is_internal": false + } + ], + "comments": { + "preceding": [ + "// [Internal] Key+Value for ImGuiStorage" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2603 + } + }, + { + "name": "__anonymous_type0", + "original_fully_qualified_name": "ImGuiStoragePair::", + "kind": "union", + "by_value": false, + "forward_declaration": false, + "is_anonymous": true, + "fields": [ + { + "name": "val_i", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2606 + } + }, + { + "name": "val_f", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2606 + } + }, + { + "name": "val_p", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2606 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2606 + } + }, + { + "name": "ImGuiStorage", + "original_fully_qualified_name": "ImGuiStorage", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImGuiStoragePair", + "description": { + "kind": "User", + "name": "ImVector_ImGuiStoragePair" + } + }, + "comments": { + "preceding": [ + "// [Internal]" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2623 + } + } + ], + "comments": { + "preceding": [ + "// Helper: Key->Value storage", + "// Typically you don't have to worry about this since a storage is held within each Window.", + "// We use it to e.g. store collapse state for a tree (Int 0/1)", + "// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame)", + "// You can use it as custom user storage for temporary values. Declare your own storage if, for example:", + "// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state).", + "// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient)", + "// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2620 + } + }, + { + "name": "ImGuiListClipper", + "original_fully_qualified_name": "ImGuiListClipper", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Ctx", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiContext*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiContext" + } + } + }, + "comments": { + "attached": "// Parent UI context" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2679 + } + }, + { + "name": "DisplayStart", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// First item to display, updated by each call to Step()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2680 + } + }, + { + "name": "DisplayEnd", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// End of items to display (exclusive)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2681 + } + }, + { + "name": "ItemsCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// [Internal] Number of items" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2682 + } + }, + { + "name": "ItemsHeight", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// [Internal] Height of item after a first step and item submission can calculate it" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2683 + } + }, + { + "name": "StartPosY", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// [Internal] Cursor position at the time of Begin() or after table frozen rows are all processed" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2684 + } + }, + { + "name": "TempData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// [Internal] Internal data" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2685 + } + } + ], + "comments": { + "preceding": [ + "// Helper: Manually clip large list of items.", + "// If you have lots evenly spaced items and you have random access to the list, you can perform coarse", + "// clipping based on visibility to only submit items that are in view.", + "// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped.", + "// (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally", + "// fetching/submitting your own data incurs additional cost. Coarse clipping using ImGuiListClipper allows you to easily", + "// scale using lists with tens of thousands of items without a problem)", + "// Usage:", + "// ImGuiListClipper clipper;", + "// clipper.Begin(1000); // We have 1000 elements, evenly spaced.", + "// while (clipper.Step())", + "// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)", + "// ImGui::Text(\"line number %d\", i);", + "// Generally what happens is:", + "// - Clipper lets you process the first element (DisplayStart = 0, DisplayEnd = 1) regardless of it being visible or not.", + "// - User code submit that one element.", + "// - Clipper can measure the height of the first element", + "// - Clipper calculate the actual range of elements to display based on the current clipping rectangle, position the cursor before the first visible element.", + "// - User code submit visible elements.", + "// - The clipper also handles various subtleties related to keyboard/gamepad navigation, wrapping etc." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2677 + } + }, + { + "name": "ImColor", + "original_fully_qualified_name": "ImColor", + "kind": "struct", + "by_value": true, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Value", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2765 + } + } + ], + "comments": { + "preceding": [ + "// Helper: ImColor() implicitly converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float)", + "// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API.", + "// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE.", + "// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2763 + } + }, + { + "name": "ImDrawCmd", + "original_fully_qualified_name": "ImDrawCmd", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "ClipRect", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "comments": { + "attached": "// 4*4 // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in \"viewport\" coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2814 + } + }, + { + "name": "TextureId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "comments": { + "attached": "// 4-8 // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2815 + } + }, + { + "name": "VtxOffset", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// 4 // Start offset in vertex buffer. ImGuiBackendFlags_RendererHasVtxOffset: always 0, otherwise may be >0 to support meshes larger than 64K vertices with 16-bit indices." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2816 + } + }, + { + "name": "IdxOffset", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// 4 // Start offset in index buffer." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2817 + } + }, + { + "name": "ElemCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// 4 // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2818 + } + }, + { + "name": "UserCallback", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawCallback", + "description": { + "kind": "User", + "name": "ImDrawCallback" + } + }, + "comments": { + "attached": "// 4-8 // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2819 + } + }, + { + "name": "UserCallbackData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// 4-8 // The draw callback code can access this." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2820 + } + } + ], + "comments": { + "preceding": [ + "// Typically, 1 command = 1 GPU draw call (unless command is a callback)", + "// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled,", + "// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices.", + "// Backends made for <1.71. will typically ignore the VtxOffset fields.", + "// - The ClipRect/TextureId/VtxOffset fields must be contiguous as we memcmp() them together (this is asserted for)." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2812 + } + }, + { + "name": "ImDrawVert", + "original_fully_qualified_name": "ImDrawVert", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "pos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2832 + } + }, + { + "name": "uv", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2833 + } + }, + { + "name": "col", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2834 + } + } + ], + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2830 + } + }, + { + "name": "ImDrawCmdHeader", + "original_fully_qualified_name": "ImDrawCmdHeader", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "ClipRect", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2847 + } + }, + { + "name": "TextureId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2848 + } + }, + { + "name": "VtxOffset", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2849 + } + } + ], + "comments": { + "preceding": [ + "// [Internal] For use by ImDrawList" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2845 + } + }, + { + "name": "ImDrawChannel", + "original_fully_qualified_name": "ImDrawChannel", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "_CmdBuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImDrawCmd", + "description": { + "kind": "User", + "name": "ImVector_ImDrawCmd" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2855 + } + }, + { + "name": "_IdxBuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImDrawIdx", + "description": { + "kind": "User", + "name": "ImVector_ImDrawIdx" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2856 + } + } + ], + "comments": { + "preceding": [ + "// [Internal] For use by ImDrawListSplitter" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 2853 + } + }, + { + "name": "ImDrawListSplitter", + "original_fully_qualified_name": "ImDrawListSplitter", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "_Current", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Current channel number (0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2864 + } + }, + { + "name": "_Count", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Number of active channels (1+)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2865 + } + }, + { + "name": "_Channels", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImDrawChannel", + "description": { + "kind": "User", + "name": "ImVector_ImDrawChannel" + } + }, + "comments": { + "attached": "// Draw channels (not resized down so _Count might be < Channels.Size)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2866 + } + } + ], + "comments": { + "preceding": [ + "// Split/Merge functions are used to split the draw list into different layers which can be drawn into out of order.", + "// This is used by the Columns/Tables API, so items of each column can be batched together in a same draw call." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2862 + } + }, + { + "name": "ImDrawList", + "original_fully_qualified_name": "ImDrawList", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "CmdBuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImDrawCmd", + "description": { + "kind": "User", + "name": "ImVector_ImDrawCmd" + } + }, + "comments": { + "preceding": [ + "// This is what you have to render" + ], + "attached": "// Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2920 + } + }, + { + "name": "IdxBuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImDrawIdx", + "description": { + "kind": "User", + "name": "ImVector_ImDrawIdx" + } + }, + "comments": { + "attached": "// Index buffer. Each command consume ImDrawCmd::ElemCount of those" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2921 + } + }, + { + "name": "VtxBuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImDrawVert", + "description": { + "kind": "User", + "name": "ImVector_ImDrawVert" + } + }, + "comments": { + "attached": "// Vertex buffer." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2922 + } + }, + { + "name": "Flags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawListFlags", + "description": { + "kind": "User", + "name": "ImDrawListFlags" + } + }, + "comments": { + "attached": "// Flags, you may poke into these to adjust anti-aliasing settings per-primitive." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2923 + } + }, + { + "name": "_VtxCurrentIdx", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "preceding": [ + "// [Internal, used while building lists]" + ], + "attached": "// [Internal] generally == VtxBuffer.Size unless we are past 64K vertices, in which case this gets reset to 0." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2926 + } + }, + { + "name": "_Data", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawListSharedData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawListSharedData" + } + } + }, + "comments": { + "attached": "// Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2927 + } + }, + { + "name": "_VtxWritePtr", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawVert*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawVert" + } + } + }, + "comments": { + "attached": "// [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2928 + } + }, + { + "name": "_IdxWritePtr", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawIdx*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawIdx" + } + } + }, + "comments": { + "attached": "// [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2929 + } + }, + { + "name": "_Path", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImVec2", + "description": { + "kind": "User", + "name": "ImVector_ImVec2" + } + }, + "comments": { + "attached": "// [Internal] current path building" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2930 + } + }, + { + "name": "_CmdHeader", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawCmdHeader", + "description": { + "kind": "User", + "name": "ImDrawCmdHeader" + } + }, + "comments": { + "attached": "// [Internal] template of active commands. Fields should match those of CmdBuffer.back()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2931 + } + }, + { + "name": "_Splitter", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawListSplitter", + "description": { + "kind": "User", + "name": "ImDrawListSplitter" + } + }, + "comments": { + "attached": "// [Internal] for channels api (note: prefer using your own persistent instance of ImDrawListSplitter!)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2932 + } + }, + { + "name": "_ClipRectStack", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImVec4", + "description": { + "kind": "User", + "name": "ImVector_ImVec4" + } + }, + "comments": { + "attached": "// [Internal]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2933 + } + }, + { + "name": "_TextureIdStack", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImTextureID", + "description": { + "kind": "User", + "name": "ImVector_ImTextureID" + } + }, + "comments": { + "attached": "// [Internal]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2934 + } + }, + { + "name": "_FringeScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// [Internal] anti-alias fringe is scaled by this value, this helps to keep things sharp while zooming at vertex buffer content" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2935 + } + }, + { + "name": "_OwnerName", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// Pointer to owner window's name for debugging" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2936 + } + } + ], + "comments": { + "preceding": [ + "// Draw command list", + "// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame,", + "// all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering.", + "// Each dear imgui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to", + "// access the current window draw list and draw custom primitives.", + "// You can interleave normal ImGui:: calls and adding primitives to the current draw list.", + "// In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize).", + "// 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!)", + "// 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." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2917 + } + }, + { + "name": "ImDrawData", + "original_fully_qualified_name": "ImDrawData", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Valid", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Only valid after Render() is called and before the next NewFrame() is called." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3059 + } + }, + { + "name": "CmdListsCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Number of ImDrawList* to render" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3060 + } + }, + { + "name": "TotalIdxCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// For convenience, sum of all ImDrawList's IdxBuffer.Size" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3061 + } + }, + { + "name": "TotalVtxCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// For convenience, sum of all ImDrawList's VtxBuffer.Size" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3062 + } + }, + { + "name": "CmdLists", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImDrawListPtr", + "description": { + "kind": "User", + "name": "ImVector_ImDrawListPtr" + } + }, + "comments": { + "attached": "// Array of ImDrawList* to render. The ImDrawLists are owned by ImGuiContext and only pointed to from here." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3063 + } + }, + { + "name": "DisplayPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Top-left position of the viewport to render (== top-left of the orthogonal projection matrix to use) (== GetMainViewport()->Pos for the main viewport, == (0.0) in most single-viewport applications)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3064 + } + }, + { + "name": "DisplaySize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Size of the viewport to render (== GetMainViewport()->Size for the main viewport, == io.DisplaySize in most single-viewport applications)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3065 + } + }, + { + "name": "FramebufferScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Amount of pixels for each unit of DisplaySize. Based on io.DisplayFramebufferScale. Generally (1,1) on normal display, (2,2) on OSX with Retina display." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3066 + } + }, + { + "name": "OwnerViewport", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "comments": { + "attached": "// Viewport carrying the ImDrawData instance, might be of use to the renderer (generally not)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3067 + } + } + ], + "comments": { + "preceding": [ + "// All draw data to render a Dear ImGui frame", + "// (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose,", + "// as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3057 + } + }, + { + "name": "ImFontConfig", + "original_fully_qualified_name": "ImFontConfig", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "FontData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// // TTF/OTF data" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3083 + } + }, + { + "name": "FontDataSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// // TTF/OTF data size" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3084 + } + }, + { + "name": "FontDataOwnedByAtlas", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3085 + } + }, + { + "name": "FontNo", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// 0 // Index of font within TTF/OTF file" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3086 + } + }, + { + "name": "SizePixels", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// // Size in pixels for rasterizer (more or less maps to the resulting font height)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3087 + } + }, + { + "name": "OversampleH", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// 2 // Rasterize at higher quality for sub-pixel positioning. Note the difference between 2 and 3 is minimal. You can reduce this to 1 for large glyphs save memory. Read https://github.com/nothings/stb/blob/master/tests/oversample/README.md for details." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3088 + } + }, + { + "name": "OversampleV", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// 1 // Rasterize at higher quality for sub-pixel positioning. This is not really useful as we don't use sub-pixel positions on the Y axis." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3089 + } + }, + { + "name": "PixelSnapH", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3090 + } + }, + { + "name": "GlyphExtraSpacing", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3091 + } + }, + { + "name": "GlyphOffset", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// 0, 0 // Offset all glyphs from this font input." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3092 + } + }, + { + "name": "GlyphRanges", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// NULL // THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3093 + } + }, + { + "name": "GlyphMinAdvanceX", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3094 + } + }, + { + "name": "GlyphMaxAdvanceX", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// FLT_MAX // Maximum AdvanceX for glyphs" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3095 + } + }, + { + "name": "MergeMode", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3096 + } + }, + { + "name": "FontBuilderFlags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// 0 // Settings for custom font builder. THIS IS BUILDER IMPLEMENTATION DEPENDENT. Leave as zero if unsure." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3097 + } + }, + { + "name": "RasterizerMultiply", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 1.0f // Linearly brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. This is a silly thing we may remove in the future." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3098 + } + }, + { + "name": "RasterizerDensity", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 1.0f // DPI scale for rasterization, not altering other font metrics: make it easy to swap between e.g. a 100% and a 400% fonts for a zooming display. IMPORTANT: If you increase this it is expected that you increase font scale accordingly, otherwise quality may look lowered." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3099 + } + }, + { + "name": "EllipsisChar", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "comments": { + "attached": "// -1 // Explicitly specify unicode codepoint of ellipsis character. When fonts are being merged first specified ellipsis will be used." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3100 + } + }, + { + "name": "Name", + "is_array": true, + "array_bounds": "40", + "is_anonymous": false, + "type": { + "declaration": "char[40]", + "description": { + "kind": "Array", + "bounds": "40", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "comments": { + "preceding": [ + "// [Internal]" + ], + "attached": "// Name (strictly to ease debugging)" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3103 + } + }, + { + "name": "DstFont", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3104 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3081 + } + }, + { + "name": "ImFontGlyph", + "original_fully_qualified_name": "ImFontGlyph", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Colored", + "is_array": false, + "width": "1", + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on little-endian as this is used in loops)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3113 + } + }, + { + "name": "Visible", + "is_array": false, + "width": "1", + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// Flag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3114 + } + }, + { + "name": "Codepoint", + "is_array": false, + "width": "30", + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// 0x0000..0x10FFFF" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3115 + } + }, + { + "name": "AdvanceX", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3116 + } + }, + { + "name": "X0", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Glyph corners" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3117 + } + }, + { + "name": "Y0", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Glyph corners" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3117 + } + }, + { + "name": "X1", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Glyph corners" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3117 + } + }, + { + "name": "Y1", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Glyph corners" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3117 + } + }, + { + "name": "U0", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Texture coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3118 + } + }, + { + "name": "V0", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Texture coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3118 + } + }, + { + "name": "U1", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Texture coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3118 + } + }, + { + "name": "V1", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Texture coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3118 + } + } + ], + "comments": { + "preceding": [ + "// Hold rendering data for one glyph.", + "// (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)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3111 + } + }, + { + "name": "ImFontGlyphRangesBuilder", + "original_fully_qualified_name": "ImFontGlyphRangesBuilder", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "UsedChars", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImU32", + "description": { + "kind": "User", + "name": "ImVector_ImU32" + } + }, + "comments": { + "attached": "// Store 1-bit per Unicode code point (0=unused, 1=used)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3125 + } + } + ], + "comments": { + "preceding": [ + "// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges().", + "// This is essentially a tightly packed of vector of 64k booleans = 8KB storage." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3123 + } + }, + { + "name": "ImFontAtlasCustomRect", + "original_fully_qualified_name": "ImFontAtlasCustomRect", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Width", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned short", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_short" + } + }, + "comments": { + "attached": "// Input // Desired rectangle dimension" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3140 + } + }, + { + "name": "Height", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned short", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_short" + } + }, + "comments": { + "attached": "// Input // Desired rectangle dimension" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3140 + } + }, + { + "name": "X", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned short", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_short" + } + }, + "comments": { + "attached": "// Output // Packed position in Atlas" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3141 + } + }, + { + "name": "Y", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned short", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_short" + } + }, + "comments": { + "attached": "// Output // Packed position in Atlas" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3141 + } + }, + { + "name": "GlyphID", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// Input // For custom font glyphs only (ID < 0x110000)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3142 + } + }, + { + "name": "GlyphAdvanceX", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Input // For custom font glyphs only: glyph xadvance" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3143 + } + }, + { + "name": "GlyphOffset", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Input // For custom font glyphs only: glyph display offset" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3144 + } + }, + { + "name": "Font", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "comments": { + "attached": "// Input // For custom font glyphs only: target font" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3145 + } + } + ], + "comments": { + "preceding": [ + "// See ImFontAtlas::AddCustomRectXXX functions." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3138 + } + }, + { + "name": "ImFontAtlas", + "original_fully_qualified_name": "ImFontAtlas", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Flags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFontAtlasFlags", + "description": { + "kind": "User", + "name": "ImFontAtlasFlags" + } + }, + "comments": { + "attached": "// Build flags (see ImFontAtlasFlags_)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3243 + } + }, + { + "name": "TexID", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "comments": { + "attached": "// User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3244 + } + }, + { + "name": "TexDesiredWidth", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3245 + } + }, + { + "name": "TexGlyphPadding", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0 (will also need to set AntiAliasedLinesUseTex = false)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3246 + } + }, + { + "name": "Locked", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Marked as Locked by ImGui::NewFrame() so attempt to modify the atlas will assert." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3247 + } + }, + { + "name": "UserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// Store your own atlas related user-data (if e.g. you have multiple font atlas)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3248 + } + }, + { + "name": "TexReady", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// [Internal]", + "// NB: Access texture data via GetTexData*() calls! Which will setup a default font for you." + ], + "attached": "// Set when texture was built matching current font input" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3252 + } + }, + { + "name": "TexPixelsUseColors", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Tell whether our texture data is known to use colors (rather than just alpha channel), in order to help backend select a format." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3253 + } + }, + { + "name": "TexPixelsAlpha8", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "unsigned_char" + } + } + }, + "comments": { + "attached": "// 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3254 + } + }, + { + "name": "TexPixelsRGBA32", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + } + }, + "comments": { + "attached": "// 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3255 + } + }, + { + "name": "TexWidth", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Texture width calculated during Build()." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3256 + } + }, + { + "name": "TexHeight", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Texture height calculated during Build()." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3257 + } + }, + { + "name": "TexUvScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// = (1.0f/TexWidth, 1.0f/TexHeight)" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3258 + } + }, + { + "name": "TexUvWhitePixel", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Texture coordinates to a white pixel" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3259 + } + }, + { + "name": "Fonts", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImFontPtr", + "description": { + "kind": "User", + "name": "ImVector_ImFontPtr" + } + }, + "comments": { + "attached": "// Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3260 + } + }, + { + "name": "CustomRects", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImFontAtlasCustomRect", + "description": { + "kind": "User", + "name": "ImVector_ImFontAtlasCustomRect" + } + }, + "comments": { + "attached": "// Rectangles for packing custom texture data into the atlas." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3261 + } + }, + { + "name": "ConfigData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImFontConfig", + "description": { + "kind": "User", + "name": "ImVector_ImFontConfig" + } + }, + "comments": { + "attached": "// Configuration data" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3262 + } + }, + { + "name": "TexUvLines", + "is_array": true, + "array_bounds": "IM_DRAWLIST_TEX_LINES_WIDTH_MAX+1", + "is_anonymous": false, + "type": { + "declaration": "ImVec4[IM_DRAWLIST_TEX_LINES_WIDTH_MAX+1]", + "description": { + "kind": "Array", + "bounds": "IM_DRAWLIST_TEX_LINES_WIDTH_MAX+1", + "inner_type": { + "kind": "User", + "name": "ImVec4" + } + } + }, + "comments": { + "attached": "// UVs for baked anti-aliased lines" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3263 + } + }, + { + "name": "FontBuilderIO", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const ImFontBuilderIO*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontBuilderIO", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "preceding": [ + "// [Internal] Font builder" + ], + "attached": "// Opaque interface to a font builder (default to stb_truetype, can be changed to use FreeType by defining IMGUI_ENABLE_FREETYPE)." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3266 + } + }, + { + "name": "FontBuilderFlags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "comments": { + "attached": "// Shared flags (for all fonts) for custom font builder. THIS IS BUILD IMPLEMENTATION DEPENDENT. Per-font override is also available in ImFontConfig." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3267 + } + }, + { + "name": "PackIdMouseCursors", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "preceding": [ + "// [Internal] Packing data" + ], + "attached": "// Custom texture rectangle ID for white pixel and mouse cursors" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3270 + } + }, + { + "name": "PackIdLines", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// Custom texture rectangle ID for baked anti-aliased lines" + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3271 + } + } + ], + "comments": { + "preceding": [ + "// Load and rasterize multiple TTF/OTF fonts into a same texture. The font atlas will build a single texture holding:", + "// - One or more fonts.", + "// - Custom graphics data needed to render the shapes needed by Dear ImGui.", + "// - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas).", + "// It is the user-code responsibility to setup/build the atlas, then upload the pixel data into a texture accessible by your graphics api.", + "// - 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.", + "// - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data.", + "// - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples)", + "// - Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture in a format natural to your graphics API.", + "// This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details.", + "// Common pitfalls:", + "// - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the", + "// atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data.", + "// - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction.", + "// You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed,", + "// - Even though many functions are suffixed with \"TTF\", OTF data is supported just as well.", + "// - This is an old API and it is currently awkward for those and various other reasons! We will address them in the future!" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3176 + } + }, + { + "name": "ImFont", + "original_fully_qualified_name": "ImFont", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "IndexAdvanceX", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_float", + "description": { + "kind": "User", + "name": "ImVector_float" + } + }, + "comments": { + "preceding": [ + "// Members: Hot ~20/24 bytes (for CalcTextSize)" + ], + "attached": "// 12-16 // out // // Sparse. Glyphs->AdvanceX in a directly indexable way (cache-friendly for CalcTextSize functions which only this this info, and are often bottleneck in large UI)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3283 + } + }, + { + "name": "FallbackAdvanceX", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 4 // out // = FallbackGlyph->AdvanceX" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3284 + } + }, + { + "name": "FontSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 4 // in // // Height of characters/line, set during loading (don't change after loading)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3285 + } + }, + { + "name": "IndexLookup", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImWchar", + "description": { + "kind": "User", + "name": "ImVector_ImWchar" + } + }, + "comments": { + "preceding": [ + "// Members: Hot ~28/40 bytes (for CalcTextSize + render loop)" + ], + "attached": "// 12-16 // out // // Sparse. Index glyphs by Unicode code-point." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3288 + } + }, + { + "name": "Glyphs", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImFontGlyph", + "description": { + "kind": "User", + "name": "ImVector_ImFontGlyph" + } + }, + "comments": { + "attached": "// 12-16 // out // // All glyphs." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3289 + } + }, + { + "name": "FallbackGlyph", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const ImFontGlyph*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontGlyph", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// 4-8 // out // = FindGlyph(FontFallbackChar)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3290 + } + }, + { + "name": "ContainerAtlas", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "comments": { + "preceding": [ + "// Members: Cold ~32/40 bytes" + ], + "attached": "// 4-8 // out // // What we has been loaded into" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3293 + } + }, + { + "name": "ConfigData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "attached": "// 4-8 // in // // Pointer within ContainerAtlas->ConfigData" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3294 + } + }, + { + "name": "ConfigDataCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "short", + "description": { + "kind": "Builtin", + "builtin_type": "short" + } + }, + "comments": { + "attached": "// 2 // in // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3295 + } + }, + { + "name": "FallbackChar", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "comments": { + "attached": "// 2 // out // = FFFD/'?' // Character used if a glyph isn't found." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3296 + } + }, + { + "name": "EllipsisChar", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "comments": { + "attached": "// 2 // out // = '...'/'.'// Character used for ellipsis rendering." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3297 + } + }, + { + "name": "EllipsisCharCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "short", + "description": { + "kind": "Builtin", + "builtin_type": "short" + } + }, + "comments": { + "attached": "// 1 // out // 1 or 3" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3298 + } + }, + { + "name": "EllipsisWidth", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 4 // out // Width" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3299 + } + }, + { + "name": "EllipsisCharStep", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 4 // out // Step between characters when EllipsisCount > 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3300 + } + }, + { + "name": "DirtyLookupTables", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// 1 // out //" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3301 + } + }, + { + "name": "Scale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 4 // in // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetWindowFontScale()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3302 + } + }, + { + "name": "Ascent", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 4+4 // out // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3303 + } + }, + { + "name": "Descent", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 4+4 // out // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3303 + } + }, + { + "name": "MetricsTotalSurface", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "comments": { + "attached": "// 4 // out // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3304 + } + }, + { + "name": "Used4kPagesMap", + "is_array": true, + "array_bounds": "(IM_UNICODE_CODEPOINT_MAX +1)/4096/8", + "is_anonymous": false, + "type": { + "declaration": "ImU8[(IM_UNICODE_CODEPOINT_MAX +1)/4096/8]", + "description": { + "kind": "Array", + "bounds": "(IM_UNICODE_CODEPOINT_MAX +1)/4096/8", + "inner_type": { + "kind": "User", + "name": "ImU8" + } + } + }, + "comments": { + "attached": "// 2 bytes if ImWchar=ImWchar16, 34 bytes if ImWchar==ImWchar32. Store 1-bit for each block of 4K codepoints that has one active glyph. This is mainly used to facilitate iterations across all used codepoints." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3305 + } + } + ], + "comments": { + "preceding": [ + "// Font runtime data and rendering", + "// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32()." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3280 + } + }, + { + "name": "ImGuiViewport", + "original_fully_qualified_name": "ImGuiViewport", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "ID", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// Unique identifier for the viewport" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3368 + } + }, + { + "name": "Flags", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiViewportFlags", + "description": { + "kind": "User", + "name": "ImGuiViewportFlags" + } + }, + "comments": { + "attached": "// See ImGuiViewportFlags_" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3369 + } + }, + { + "name": "Pos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Main Area: Position of the viewport (Dear ImGui coordinates are the same as OS desktop/native coordinates)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3370 + } + }, + { + "name": "Size", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Main Area: Size of the viewport." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3371 + } + }, + { + "name": "WorkPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Work Area: Position of the viewport minus task bars, menus bars, status bars (>= Pos)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3372 + } + }, + { + "name": "WorkSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Work Area: Size of the viewport minus task bars, menu bars, status bars (<= Size)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3373 + } + }, + { + "name": "DpiScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 1.0f = 96 DPI = No extra scale." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3374 + } + }, + { + "name": "ParentViewportId", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "comments": { + "attached": "// (Advanced) 0: no parent. Instruct the platform backend to setup a parent/child relationship between platform windows." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3375 + } + }, + { + "name": "DrawData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "comments": { + "attached": "// The ImDrawData corresponding to this viewport. Valid after Render() and until the next call to NewFrame()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3376 + } + }, + { + "name": "RendererUserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "preceding": [ + "// Platform/Backend Dependent Data", + "// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.", + "// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled", + "// by the same system and you may not need to use all the UserData/Handle fields.", + "// The library never uses those fields, they are merely storage to facilitate backend implementation." + ], + "attached": "// void* to hold custom data structure for the renderer (e.g. swap chain, framebuffers etc.). generally set by your Renderer_CreateWindow function." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3383 + } + }, + { + "name": "PlatformUserData", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// void* to hold custom data structure for the OS / platform (e.g. windowing info, render context). generally set by your Platform_CreateWindow function." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3384 + } + }, + { + "name": "PlatformHandle", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// void* to hold higher-level, platform window handle (e.g. HWND, GLFWWindow*, SDL_Window*), for FindViewportByPlatformHandle()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3385 + } + }, + { + "name": "PlatformHandleRaw", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// void* to hold lower-level, platform-native window handle (under Win32 this is expected to be a HWND, unused for other platforms), when using an abstraction layer like GLFW or SDL (where PlatformHandle would be a SDL_Window*)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3386 + } + }, + { + "name": "PlatformWindowCreated", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Platform window has been created (Platform_CreateWindow() has been called). This is false during the first frame where a viewport is being created." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3387 + } + }, + { + "name": "PlatformRequestMove", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Platform window requested move (e.g. window was moved by the OS / host window manager, authoritative position will be OS window position)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3388 + } + }, + { + "name": "PlatformRequestResize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Platform window requested resize (e.g. window was resized by the OS / host window manager, authoritative size will be OS window size)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3389 + } + }, + { + "name": "PlatformRequestClose", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// Platform window requested closure (e.g. window was moved by the OS / host window manager, e.g. pressing ALT-F4)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3390 + } + } + ], + "comments": { + "preceding": [ + "// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.", + "// - With multi-viewport enabled, we extend this concept to have multiple active viewports.", + "// - In the future we will extend this concept further to also represent Platform Monitor and support a \"no main platform window\" operation mode.", + "// - About Main Area vs Work Area:", + "// - Main Area = entire viewport.", + "// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).", + "// - Windows are generally trying to stay within the Work Area of their host viewport." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3366 + } + }, + { + "name": "ImGuiPlatformIO", + "original_fully_qualified_name": "ImGuiPlatformIO", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Platform_CreateWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_CreateWindow)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_CreateWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "preceding": [ + "// Platform function --------------------------------------------------- Called by -----" + ], + "attached": "// . . U . . // Create a new platform window for the given viewport" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_DestroyWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_DestroyWindow)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_DestroyWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// N . U . D //" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_ShowWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_ShowWindow)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_ShowWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . // Newly created windows are initially hidden so SetWindowPos/Size/Title can be called on them before showing the window" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_SetWindowPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_SetWindowPos)(ImGuiViewport* vp, ImVec2 pos)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_SetWindowPos", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "pos", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . // Set platform window position (given the upper-left corner of client area)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_GetWindowPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2 (*Platform_GetWindowPos)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_GetWindowPos", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "User", + "name": "ImVec2" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// N . . . . //" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_SetWindowSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_SetWindowSize)(ImGuiViewport* vp, ImVec2 size)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_SetWindowSize", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "size", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . // Set platform window client area size (ignoring OS decorations such as OS title bar etc.)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_GetWindowSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2 (*Platform_GetWindowSize)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_GetWindowSize", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "User", + "name": "ImVec2" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// N . . . . // Get platform window client area size" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_SetWindowFocus", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_SetWindowFocus)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_SetWindowFocus", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// N . . . . // Move window to front and set input focus" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_GetWindowFocus", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool (*Platform_GetWindowFocus)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_GetWindowFocus", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "bool" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . //" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_GetWindowMinimized", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool (*Platform_GetWindowMinimized)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_GetWindowMinimized", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "bool" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// N . . . . // Get platform window minimized state. When minimized, we generally won't attempt to get/set size and contents will be culled more easily" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_SetWindowTitle", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_SetWindowTitle)(ImGuiViewport* vp, const char* str)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "str", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_SetWindowTitle", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "str", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . // Set platform window title (given an UTF-8 string)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_SetWindowAlpha", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_SetWindowAlpha)(ImGuiViewport* vp, float alpha)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "alpha", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_SetWindowAlpha", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "alpha", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . // (Optional) Setup global transparency (not per-pixel transparency)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_UpdateWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_UpdateWindow)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_UpdateWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . // (Optional) Called by UpdatePlatformWindows(). Optional hook to allow the platform backend from doing general book-keeping every frame." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_RenderWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_RenderWindow)(ImGuiViewport* vp, void* render_arg)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "render_arg", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_RenderWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "render_arg", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . . R . // (Optional) Main rendering (platform side! This is often unused, or just setting a \"current\" context for OpenGL bindings). 'render_arg' is the value passed to RenderPlatformWindowsDefault()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_SwapBuffers", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_SwapBuffers)(ImGuiViewport* vp, void* render_arg)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "render_arg", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_SwapBuffers", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "render_arg", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . . R . // (Optional) Call Present/SwapBuffers (platform side! This is often unused!). 'render_arg' is the value passed to RenderPlatformWindowsDefault()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_GetWindowDpiScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float (*Platform_GetWindowDpiScale)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_GetWindowDpiScale", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "float" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// N . . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Return DPI scale for this viewport. 1.0f = 96 DPI." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_OnChangedViewport", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Platform_OnChangedViewport)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_OnChangedViewport", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . F . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Called during Begin() every time the viewport we are outputting into changes, so backend has a chance to swap fonts to adjust style." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Platform_CreateVkSurface", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int (*Platform_CreateVkSurface)(ImGuiViewport* vp, ImU64 vk_inst, const void* vk_allocators, ImU64* out_vk_surface)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "vk_inst", + "type": { + "declaration": "ImU64", + "description": { + "kind": "User", + "name": "ImU64" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "vk_allocators", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_vk_surface", + "type": { + "declaration": "ImU64*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImU64" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Platform_CreateVkSurface", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "int" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "vk_inst", + "inner_type": { + "kind": "User", + "name": "ImU64" + } + }, + { + "kind": "Type", + "name": "vk_allocators", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + { + "kind": "Type", + "name": "out_vk_surface", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImU64" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// (Optional) For a Vulkan Renderer to call into Platform code (since the surface creation needs to tie them both)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Renderer_CreateWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Renderer_CreateWindow)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Renderer_CreateWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "preceding": [ + "// (Optional) Renderer functions (e.g. DirectX, OpenGL, Vulkan)" + ], + "attached": "// . . U . . // Create swap chain, frame buffers etc. (called after Platform_CreateWindow)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Renderer_DestroyWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Renderer_DestroyWindow)(ImGuiViewport* vp)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Renderer_DestroyWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// N . U . D // Destroy swap chain, frame buffers etc. (called before Platform_DestroyWindow)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Renderer_SetWindowSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Renderer_SetWindowSize)(ImGuiViewport* vp, ImVec2 size)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Renderer_SetWindowSize", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "size", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . U . . // Resize swap chain, frame buffers etc. (called after Platform_SetWindowSize)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Renderer_RenderWindow", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Renderer_RenderWindow)(ImGuiViewport* vp, void* render_arg)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "render_arg", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Renderer_RenderWindow", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "render_arg", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . . R . // (Optional) Clear framebuffer, setup render target, then render the viewport->DrawData. 'render_arg' is the value passed to RenderPlatformWindowsDefault()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Renderer_SwapBuffers", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*Renderer_SwapBuffers)(ImGuiViewport* vp, void* render_arg)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vp", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "render_arg", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "Renderer_SwapBuffers", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "vp", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + { + "kind": "Type", + "name": "render_arg", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "comments": { + "attached": "// . . . R . // (Optional) Call Present/SwapBuffers. 'render_arg' is the value passed to RenderPlatformWindowsDefault()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h" + } + }, + { + "name": "Monitors", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImGuiPlatformMonitor", + "description": { + "kind": "User", + "name": "ImVector_ImGuiPlatformMonitor" + } + }, + "comments": { + "preceding": [ + "// (Optional) Monitor list", + "// - Updated by: app/backend. Update every frame to dynamically support changing monitor or DPI configuration.", + "// - Used by: dear imgui to query DPI info, clamp popups/tooltips within same monitor and not have them straddle monitors." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3499 + } + }, + { + "name": "Viewports", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVector_ImGuiViewportPtr", + "description": { + "kind": "User", + "name": "ImVector_ImGuiViewportPtr" + } + }, + "comments": { + "preceding": [ + "// Viewports list (the list is updated by calling ImGui::EndFrame or ImGui::Render)", + "// (in the future we will attempt to organize this feature to remove the need for a \"main viewport\")" + ], + "attached": "// Main viewports, followed by all secondary viewports." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3507 + } + } + ], + "comments": { + "preceding": [ + "// (Optional) Access via ImGui::GetPlatformIO()" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3450 + } + }, + { + "name": "ImGuiPlatformMonitor", + "original_fully_qualified_name": "ImGuiPlatformMonitor", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "MainPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3515 + } + }, + { + "name": "MainSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3515 + } + }, + { + "name": "WorkPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Coordinates without task bars / side bars / menu bars. Used to avoid positioning popups/tooltips inside this region. If you don't have this info, please copy the value for MainPos/MainSize." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3516 + } + }, + { + "name": "WorkSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Coordinates without task bars / side bars / menu bars. Used to avoid positioning popups/tooltips inside this region. If you don't have this info, please copy the value for MainPos/MainSize." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3516 + } + }, + { + "name": "DpiScale", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// 1.0f = 96 DPI" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3517 + } + }, + { + "name": "PlatformHandle", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "comments": { + "attached": "// Backend dependant data (e.g. HMONITOR, GLFWmonitor*, SDL Display Index, NSScreen*)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3518 + } + } + ], + "comments": { + "preceding": [ + "// (Optional) This is required when enabling multi-viewport. Represent the bounds of each connected monitor/display and their DPI.", + "// We use this information for multiple DPI support + clamping the position of popups and tooltips so they don't straddle multiple monitors." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3513 + } + }, + { + "name": "ImGuiPlatformImeData", + "original_fully_qualified_name": "ImGuiPlatformImeData", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "WantVisible", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "attached": "// A widget wants the IME to be visible" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3525 + } + }, + { + "name": "InputPos", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "comments": { + "attached": "// Position of the input cursor" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3526 + } + }, + { + "name": "InputLineHeight", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "comments": { + "attached": "// Line height" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3527 + } + } + ], + "comments": { + "preceding": [ + "// (Optional) Support for IME (Input Method Editor) via the io.SetPlatformImeDataFn() function." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3523 + } + } + ], + "functions": [ + { + "name": "ImGui_CreateContext", + "original_fully_qualified_name": "ImGui::CreateContext", + "return_type": { + "declaration": "ImGuiContext*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiContext" + } + } + }, + "arguments": [ + { + "name": "shared_font_atlas", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Context creation and access", + "// - 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.", + "// - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()", + "// for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for details." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 315 + } + }, + { + "name": "ImGui_DestroyContext", + "original_fully_qualified_name": "ImGui::DestroyContext", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ctx", + "type": { + "declaration": "ImGuiContext*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiContext" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// NULL = destroy current context" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 316 + } + }, + { + "name": "ImGui_GetCurrentContext", + "original_fully_qualified_name": "ImGui::GetCurrentContext", + "return_type": { + "declaration": "ImGuiContext*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiContext" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 317 + } + }, + { + "name": "ImGui_SetCurrentContext", + "original_fully_qualified_name": "ImGui::SetCurrentContext", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ctx", + "type": { + "declaration": "ImGuiContext*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiContext" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 318 + } + }, + { + "name": "ImGui_GetIO", + "original_fully_qualified_name": "ImGui::GetIO", + "return_type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Main" + ], + "attached": "// access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 321 + } + }, + { + "name": "ImGui_GetStyle", + "original_fully_qualified_name": "ImGui::GetStyle", + "return_type": { + "declaration": "ImGuiStyle*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStyle" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// access the Style structure (colors, sizes). Always use PushStyleColor(), PushStyleVar() to modify style mid-frame!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 322 + } + }, + { + "name": "ImGui_NewFrame", + "original_fully_qualified_name": "ImGui::NewFrame", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// start a new Dear ImGui frame, you can submit any command from this point until Render()/EndFrame()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 323 + } + }, + { + "name": "ImGui_EndFrame", + "original_fully_qualified_name": "ImGui::EndFrame", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 324 + } + }, + { + "name": "ImGui_Render", + "original_fully_qualified_name": "ImGui::Render", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 325 + } + }, + { + "name": "ImGui_GetDrawData", + "original_fully_qualified_name": "ImGui::GetDrawData", + "return_type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// valid after Render() and until the next call to NewFrame(). this is what you have to render." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 326 + } + }, + { + "name": "ImGui_ShowDemoWindow", + "original_fully_qualified_name": "ImGui::ShowDemoWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Demo, Debug, Information" + ], + "attached": "// create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 329 + } + }, + { + "name": "ImGui_ShowMetricsWindow", + "original_fully_qualified_name": "ImGui::ShowMetricsWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 330 + } + }, + { + "name": "ImGui_ShowDebugLogWindow", + "original_fully_qualified_name": "ImGui::ShowDebugLogWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create Debug Log window. display a simplified log of important dear imgui events." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 331 + } + }, + { + "name": "ImGui_ShowIDStackToolWindow", + "original_fully_qualified_name": "ImGui::ShowIDStackToolWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied p_open = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 332 + } + }, + { + "name": "ImGui_ShowIDStackToolWindowEx", + "original_fully_qualified_name": "ImGui::ShowIDStackToolWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create Stack Tool window. hover items with mouse to query information about the source of their unique ID." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 332 + } + }, + { + "name": "ImGui_ShowAboutWindow", + "original_fully_qualified_name": "ImGui::ShowAboutWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create About window. display Dear ImGui version, credits and build/system information." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 333 + } + }, + { + "name": "ImGui_ShowStyleEditor", + "original_fully_qualified_name": "ImGui::ShowStyleEditor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ref", + "type": { + "declaration": "ImGuiStyle*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiStyle" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 334 + } + }, + { + "name": "ImGui_ShowStyleSelector", + "original_fully_qualified_name": "ImGui::ShowStyleSelector", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// add style selector block (not a window), essentially a combo listing the default styles." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 335 + } + }, + { + "name": "ImGui_ShowFontSelector", + "original_fully_qualified_name": "ImGui::ShowFontSelector", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// add font selector block (not a window), essentially a combo listing the loaded fonts." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 336 + } + }, + { + "name": "ImGui_ShowUserGuide", + "original_fully_qualified_name": "ImGui::ShowUserGuide", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 337 + } + }, + { + "name": "ImGui_GetVersion", + "original_fully_qualified_name": "ImGui::GetVersion", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get the compiled version string e.g. \"1.80 WIP\" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 338 + } + }, + { + "name": "ImGui_StyleColorsDark", + "original_fully_qualified_name": "ImGui::StyleColorsDark", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "dst", + "type": { + "declaration": "ImGuiStyle*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiStyle" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Styles" + ], + "attached": "// new, recommended style (default)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 341 + } + }, + { + "name": "ImGui_StyleColorsLight", + "original_fully_qualified_name": "ImGui::StyleColorsLight", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "dst", + "type": { + "declaration": "ImGuiStyle*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiStyle" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// best used with borders and a custom, thicker font" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 342 + } + }, + { + "name": "ImGui_StyleColorsClassic", + "original_fully_qualified_name": "ImGui::StyleColorsClassic", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "dst", + "type": { + "declaration": "ImGuiStyle*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiStyle" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// classic imgui style" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 343 + } + }, + { + "name": "ImGui_Begin", + "original_fully_qualified_name": "ImGui::Begin", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiWindowFlags", + "description": { + "kind": "User", + "name": "ImGuiWindowFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Windows", + "// - Begin() = push window to the stack and start appending to it. End() = pop window from the stack.", + "// - Passing 'bool* p_open != NULL' shows a window-closing widget in the upper-right corner of the window,", + "// which clicking will set the boolean to false when clicked.", + "// - You may append multiple times to the same window during the same frame by calling Begin()/End() pairs multiple times.", + "// Some information such as 'flags' or 'p_open' will only be considered by the first call to Begin().", + "// - Begin() return false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting", + "// anything to the window. Always call a matching End() for each Begin() call, regardless of its return value!", + "// [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions", + "// such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding", + "// BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]", + "// - Note that the bottom of window stack always contains a window called \"Debug\"." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 357 + } + }, + { + "name": "ImGui_End", + "original_fully_qualified_name": "ImGui::End", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 358 + } + }, + { + "name": "ImGui_BeginChild", + "original_fully_qualified_name": "ImGui::BeginChild", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "child_flags", + "type": { + "declaration": "ImGuiChildFlags", + "description": { + "kind": "User", + "name": "ImGuiChildFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "window_flags", + "type": { + "declaration": "ImGuiWindowFlags", + "description": { + "kind": "User", + "name": "ImGuiWindowFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Child Windows", + "// - Use child windows to begin into a self-contained independent scrolling/clipping regions within a host window. Child windows can embed their own child.", + "// - Before 1.90 (November 2023), the \"ImGuiChildFlags child_flags = 0\" parameter was \"bool border = false\".", + "// This API is backward compatible with old code, as we guarantee that ImGuiChildFlags_Border == true.", + "// Consider updating your old code:", + "// BeginChild(\"Name\", size, false) -> Begin(\"Name\", size, 0); or Begin(\"Name\", size, ImGuiChildFlags_None);", + "// BeginChild(\"Name\", size, true) -> Begin(\"Name\", size, ImGuiChildFlags_Border);", + "// - Manual sizing (each axis can use a different setting e.g. ImVec2(0.0f, 400.0f)):", + "// == 0.0f: use remaining parent window size for this axis.", + "// > 0.0f: use specified size for this axis.", + "// < 0.0f: right/bottom-align to specified distance from available content boundaries.", + "// - Specifying ImGuiChildFlags_AutoResizeX or ImGuiChildFlags_AutoResizeY makes the sizing automatic based on child contents.", + "// Combining both ImGuiChildFlags_AutoResizeX _and_ ImGuiChildFlags_AutoResizeY defeats purpose of a scrolling region and is NOT recommended.", + "// - BeginChild() returns false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting", + "// anything to the window. Always call a matching EndChild() for each BeginChild() call, regardless of its return value.", + "// [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions", + "// such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding", + "// BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 378 + } + }, + { + "name": "ImGui_BeginChildID", + "original_fully_qualified_name": "ImGui::BeginChild", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "child_flags", + "type": { + "declaration": "ImGuiChildFlags", + "description": { + "kind": "User", + "name": "ImGuiChildFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "window_flags", + "type": { + "declaration": "ImGuiWindowFlags", + "description": { + "kind": "User", + "name": "ImGuiWindowFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 379 + } + }, + { + "name": "ImGui_EndChild", + "original_fully_qualified_name": "ImGui::EndChild", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 380 + } + }, + { + "name": "ImGui_IsWindowAppearing", + "original_fully_qualified_name": "ImGui::IsWindowAppearing", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Windows Utilities", + "// - 'current window' = the window we are appending into while inside a Begin()/End() block. 'next window' = next window we will Begin() into." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 384 + } + }, + { + "name": "ImGui_IsWindowCollapsed", + "original_fully_qualified_name": "ImGui::IsWindowCollapsed", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 385 + } + }, + { + "name": "ImGui_IsWindowFocused", + "original_fully_qualified_name": "ImGui::IsWindowFocused", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "flags", + "type": { + "declaration": "ImGuiFocusedFlags", + "description": { + "kind": "User", + "name": "ImGuiFocusedFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is current window focused? or its root/child, depending on flags. see flags for options." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 386 + } + }, + { + "name": "ImGui_IsWindowHovered", + "original_fully_qualified_name": "ImGui::IsWindowHovered", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "flags", + "type": { + "declaration": "ImGuiHoveredFlags", + "description": { + "kind": "User", + "name": "ImGuiHoveredFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry \"How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?\" for details." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 387 + } + }, + { + "name": "ImGui_GetWindowDrawList", + "original_fully_qualified_name": "ImGui::GetWindowDrawList", + "return_type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get draw list associated to the current window, to append your own drawing primitives" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 388 + } + }, + { + "name": "ImGui_GetWindowDpiScale", + "original_fully_qualified_name": "ImGui::GetWindowDpiScale", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get DPI scale currently associated to the current window's viewport." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 389 + } + }, + { + "name": "ImGui_GetWindowPos", + "original_fully_qualified_name": "ImGui::GetWindowPos", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get current window position in screen space (note: it is unlikely you need to use this. Consider using current layout pos instead, GetCursorScreenPos())" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 390 + } + }, + { + "name": "ImGui_GetWindowSize", + "original_fully_qualified_name": "ImGui::GetWindowSize", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get current window size (note: it is unlikely you need to use this. Consider using GetCursorScreenPos() and e.g. GetContentRegionAvail() instead)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 391 + } + }, + { + "name": "ImGui_GetWindowWidth", + "original_fully_qualified_name": "ImGui::GetWindowWidth", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get current window width (shortcut for GetWindowSize().x)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 392 + } + }, + { + "name": "ImGui_GetWindowHeight", + "original_fully_qualified_name": "ImGui::GetWindowHeight", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get current window height (shortcut for GetWindowSize().y)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 393 + } + }, + { + "name": "ImGui_GetWindowViewport", + "original_fully_qualified_name": "ImGui::GetWindowViewport", + "return_type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get viewport currently associated to the current window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 394 + } + }, + { + "name": "ImGui_SetNextWindowPos", + "original_fully_qualified_name": "ImGui::SetNextWindowPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Window manipulation", + "// - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin)." + ], + "attached": "// Implied pivot = ImVec2(0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 398 + } + }, + { + "name": "ImGui_SetNextWindowPosEx", + "original_fully_qualified_name": "ImGui::SetNextWindowPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "pivot", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 398 + } + }, + { + "name": "ImGui_SetNextWindowSize", + "original_fully_qualified_name": "ImGui::SetNextWindowSize", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 399 + } + }, + { + "name": "ImGui_SetNextWindowSizeConstraints", + "original_fully_qualified_name": "ImGui::SetNextWindowSizeConstraints", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "size_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "custom_callback", + "type": { + "declaration": "ImGuiSizeCallback", + "description": { + "kind": "User", + "name": "ImGuiSizeCallback" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "custom_callback_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 400 + } + }, + { + "name": "ImGui_SetNextWindowContentSize", + "original_fully_qualified_name": "ImGui::SetNextWindowContentSize", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 401 + } + }, + { + "name": "ImGui_SetNextWindowCollapsed", + "original_fully_qualified_name": "ImGui::SetNextWindowCollapsed", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "collapsed", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window collapsed state. call before Begin()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 402 + } + }, + { + "name": "ImGui_SetNextWindowFocus", + "original_fully_qualified_name": "ImGui::SetNextWindowFocus", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window to be focused / top-most. call before Begin()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 403 + } + }, + { + "name": "ImGui_SetNextWindowScroll", + "original_fully_qualified_name": "ImGui::SetNextWindowScroll", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "scroll", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window scrolling value (use < 0.0f to not affect a given axis)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 404 + } + }, + { + "name": "ImGui_SetNextWindowBgAlpha", + "original_fully_qualified_name": "ImGui::SetNextWindowBgAlpha", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "alpha", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. you may also use ImGuiWindowFlags_NoBackground." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 405 + } + }, + { + "name": "ImGui_SetNextWindowViewport", + "original_fully_qualified_name": "ImGui::SetNextWindowViewport", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "viewport_id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window viewport" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 406 + } + }, + { + "name": "ImGui_SetWindowPos", + "original_fully_qualified_name": "ImGui::SetWindowPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 407 + } + }, + { + "name": "ImGui_SetWindowSize", + "original_fully_qualified_name": "ImGui::SetWindowSize", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 408 + } + }, + { + "name": "ImGui_SetWindowCollapsed", + "original_fully_qualified_name": "ImGui::SetWindowCollapsed", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "collapsed", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 409 + } + }, + { + "name": "ImGui_SetWindowFocus", + "original_fully_qualified_name": "ImGui::SetWindowFocus", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// (not recommended) set current window to be focused / top-most. prefer using SetNextWindowFocus()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 410 + } + }, + { + "name": "ImGui_SetWindowFontScale", + "original_fully_qualified_name": "ImGui::SetWindowFontScale", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "scale", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [OBSOLETE] set font scale. Adjust IO.FontGlobalScale if you want to scale all windows. This is an old API! For correct scaling, prefer to reload font + rebuild ImFontAtlas + call style.ScaleAllSizes()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 411 + } + }, + { + "name": "ImGui_SetWindowPosStr", + "original_fully_qualified_name": "ImGui::SetWindowPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set named window position." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 412 + } + }, + { + "name": "ImGui_SetWindowSizeStr", + "original_fully_qualified_name": "ImGui::SetWindowSize", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set named window size. set axis to 0.0f to force an auto-fit on this axis." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 413 + } + }, + { + "name": "ImGui_SetWindowCollapsedStr", + "original_fully_qualified_name": "ImGui::SetWindowCollapsed", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "collapsed", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set named window collapsed state" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 414 + } + }, + { + "name": "ImGui_SetWindowFocusStr", + "original_fully_qualified_name": "ImGui::SetWindowFocus", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set named window to be focused / top-most. use NULL to remove focus." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 415 + } + }, + { + "name": "ImGui_GetContentRegionAvail", + "original_fully_qualified_name": "ImGui::GetContentRegionAvail", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Content region", + "// - Retrieve available space from a given point. GetContentRegionAvail() is frequently useful.", + "// - 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)" + ], + "attached": "// == GetContentRegionMax() - GetCursorPos()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 420 + } + }, + { + "name": "ImGui_GetContentRegionMax", + "original_fully_qualified_name": "ImGui::GetContentRegionMax", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 421 + } + }, + { + "name": "ImGui_GetWindowContentRegionMin", + "original_fully_qualified_name": "ImGui::GetWindowContentRegionMin", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 422 + } + }, + { + "name": "ImGui_GetWindowContentRegionMax", + "original_fully_qualified_name": "ImGui::GetWindowContentRegionMax", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 423 + } + }, + { + "name": "ImGui_GetScrollX", + "original_fully_qualified_name": "ImGui::GetScrollX", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Windows Scrolling", + "// - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin().", + "// - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY()." + ], + "attached": "// get scrolling amount [0 .. GetScrollMaxX()]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 428 + } + }, + { + "name": "ImGui_GetScrollY", + "original_fully_qualified_name": "ImGui::GetScrollY", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get scrolling amount [0 .. GetScrollMaxY()]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 429 + } + }, + { + "name": "ImGui_SetScrollX", + "original_fully_qualified_name": "ImGui::SetScrollX", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "scroll_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set scrolling amount [0 .. GetScrollMaxX()]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 430 + } + }, + { + "name": "ImGui_SetScrollY", + "original_fully_qualified_name": "ImGui::SetScrollY", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "scroll_y", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set scrolling amount [0 .. GetScrollMaxY()]" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 431 + } + }, + { + "name": "ImGui_GetScrollMaxX", + "original_fully_qualified_name": "ImGui::GetScrollMaxX", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 432 + } + }, + { + "name": "ImGui_GetScrollMaxY", + "original_fully_qualified_name": "ImGui::GetScrollMaxY", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 433 + } + }, + { + "name": "ImGui_SetScrollHereX", + "original_fully_qualified_name": "ImGui::SetScrollHereX", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "center_x_ratio", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.5f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a \"default/current item\" visible, consider using SetItemDefaultFocus() instead." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 434 + } + }, + { + "name": "ImGui_SetScrollHereY", + "original_fully_qualified_name": "ImGui::SetScrollHereY", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "center_y_ratio", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.5f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a \"default/current item\" visible, consider using SetItemDefaultFocus() instead." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 435 + } + }, + { + "name": "ImGui_SetScrollFromPosX", + "original_fully_qualified_name": "ImGui::SetScrollFromPosX", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "local_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "center_x_ratio", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.5f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 436 + } + }, + { + "name": "ImGui_SetScrollFromPosY", + "original_fully_qualified_name": "ImGui::SetScrollFromPosY", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "local_y", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "center_y_ratio", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.5f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 437 + } + }, + { + "name": "ImGui_PushFont", + "original_fully_qualified_name": "ImGui::PushFont", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "font", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Parameters stacks (shared)" + ], + "attached": "// use NULL as a shortcut to push default font" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 440 + } + }, + { + "name": "ImGui_PopFont", + "original_fully_qualified_name": "ImGui::PopFont", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 441 + } + }, + { + "name": "ImGui_PushStyleColor", + "original_fully_qualified_name": "ImGui::PushStyleColor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiCol", + "description": { + "kind": "User", + "name": "ImGuiCol" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// modify a style color. always use this if you modify the style after NewFrame()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 442 + } + }, + { + "name": "ImGui_PushStyleColorImVec4", + "original_fully_qualified_name": "ImGui::PushStyleColor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiCol", + "description": { + "kind": "User", + "name": "ImGuiCol" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 443 + } + }, + { + "name": "ImGui_PopStyleColor", + "original_fully_qualified_name": "ImGui::PopStyleColor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied count = 1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 444 + } + }, + { + "name": "ImGui_PopStyleColorEx", + "original_fully_qualified_name": "ImGui::PopStyleColor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 444 + } + }, + { + "name": "ImGui_PushStyleVar", + "original_fully_qualified_name": "ImGui::PushStyleVar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiStyleVar", + "description": { + "kind": "User", + "name": "ImGuiStyleVar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "val", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// modify a style float variable. always use this if you modify the style after NewFrame()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 445 + } + }, + { + "name": "ImGui_PushStyleVarImVec2", + "original_fully_qualified_name": "ImGui::PushStyleVar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiStyleVar", + "description": { + "kind": "User", + "name": "ImGuiStyleVar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "val", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// modify a style ImVec2 variable. always use this if you modify the style after NewFrame()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 446 + } + }, + { + "name": "ImGui_PopStyleVar", + "original_fully_qualified_name": "ImGui::PopStyleVar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied count = 1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 447 + } + }, + { + "name": "ImGui_PopStyleVarEx", + "original_fully_qualified_name": "ImGui::PopStyleVar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 447 + } + }, + { + "name": "ImGui_PushTabStop", + "original_fully_qualified_name": "ImGui::PushTabStop", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "tab_stop", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// == tab stop enable. Allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 448 + } + }, + { + "name": "ImGui_PopTabStop", + "original_fully_qualified_name": "ImGui::PopTabStop", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 449 + } + }, + { + "name": "ImGui_PushButtonRepeat", + "original_fully_qualified_name": "ImGui::PushButtonRepeat", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "repeat", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 450 + } + }, + { + "name": "ImGui_PopButtonRepeat", + "original_fully_qualified_name": "ImGui::PopButtonRepeat", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 451 + } + }, + { + "name": "ImGui_PushItemWidth", + "original_fully_qualified_name": "ImGui::PushItemWidth", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "item_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Parameters stacks (current window)" + ], + "attached": "// push width of items for common large \"item+label\" widgets. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 454 + } + }, + { + "name": "ImGui_PopItemWidth", + "original_fully_qualified_name": "ImGui::PopItemWidth", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 455 + } + }, + { + "name": "ImGui_SetNextItemWidth", + "original_fully_qualified_name": "ImGui::SetNextItemWidth", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "item_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set width of the _next_ common large \"item+label\" widget. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 456 + } + }, + { + "name": "ImGui_CalcItemWidth", + "original_fully_qualified_name": "ImGui::CalcItemWidth", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 457 + } + }, + { + "name": "ImGui_PushTextWrapPos", + "original_fully_qualified_name": "ImGui::PushTextWrapPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "wrap_local_pos_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 458 + } + }, + { + "name": "ImGui_PopTextWrapPos", + "original_fully_qualified_name": "ImGui::PopTextWrapPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 459 + } + }, + { + "name": "ImGui_GetFont", + "original_fully_qualified_name": "ImGui::GetFont", + "return_type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Style read access", + "// - Use the ShowStyleEditor() function to interactively see/edit the colors." + ], + "attached": "// get current font" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 463 + } + }, + { + "name": "ImGui_GetFontSize", + "original_fully_qualified_name": "ImGui::GetFontSize", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get current font size (= height in pixels) of current font with current scale applied" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 464 + } + }, + { + "name": "ImGui_GetFontTexUvWhitePixel", + "original_fully_qualified_name": "ImGui::GetFontTexUvWhitePixel", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 465 + } + }, + { + "name": "ImGui_GetColorU32", + "original_fully_qualified_name": "ImGui::GetColorU32", + "return_type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiCol", + "description": { + "kind": "User", + "name": "ImGuiCol" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied alpha_mul = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 466 + } + }, + { + "name": "ImGui_GetColorU32Ex", + "original_fully_qualified_name": "ImGui::GetColorU32", + "return_type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiCol", + "description": { + "kind": "User", + "name": "ImGuiCol" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "alpha_mul", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 466 + } + }, + { + "name": "ImGui_GetColorU32ImVec4", + "original_fully_qualified_name": "ImGui::GetColorU32", + "return_type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "arguments": [ + { + "name": "col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 467 + } + }, + { + "name": "ImGui_GetColorU32ImU32", + "original_fully_qualified_name": "ImGui::GetColorU32", + "return_type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "arguments": [ + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied alpha_mul = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 468 + } + }, + { + "name": "ImGui_GetColorU32ImU32Ex", + "original_fully_qualified_name": "ImGui::GetColorU32", + "return_type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "arguments": [ + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "alpha_mul", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 468 + } + }, + { + "name": "ImGui_GetStyleColorVec4", + "original_fully_qualified_name": "ImGui::GetStyleColorVec4", + "return_type": { + "declaration": "const ImVec4*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImVec4", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiCol", + "description": { + "kind": "User", + "name": "ImGuiCol" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 469 + } + }, + { + "name": "ImGui_GetCursorScreenPos", + "original_fully_qualified_name": "ImGui::GetCursorScreenPos", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Layout cursor positioning", + "// - By \"cursor\" we mean the current output position.", + "// - The typical widget behavior is to output themselves at the current cursor position, then move the cursor one line down.", + "// - You can call SameLine() between widgets to undo the last carriage return and output at the right of the preceding widget.", + "// - Attention! We currently have inconsistencies between window-local and absolute positions we will aim to fix with future API:", + "// - Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions. -> this is the preferred way forward.", + "// - Window-local coordinates: SameLine(), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), GetContentRegionMax(), GetWindowContentRegion*(), PushTextWrapPos()", + "// - GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates." + ], + "attached": "// cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 479 + } + }, + { + "name": "ImGui_SetCursorScreenPos", + "original_fully_qualified_name": "ImGui::SetCursorScreenPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// cursor position in absolute coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 480 + } + }, + { + "name": "ImGui_GetCursorPos", + "original_fully_qualified_name": "ImGui::GetCursorPos", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [window-local] cursor position in window coordinates (relative to window position)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 481 + } + }, + { + "name": "ImGui_GetCursorPosX", + "original_fully_qualified_name": "ImGui::GetCursorPosX", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [window-local] \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 482 + } + }, + { + "name": "ImGui_GetCursorPosY", + "original_fully_qualified_name": "ImGui::GetCursorPosY", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [window-local] \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 483 + } + }, + { + "name": "ImGui_SetCursorPos", + "original_fully_qualified_name": "ImGui::SetCursorPos", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "local_pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [window-local] \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 484 + } + }, + { + "name": "ImGui_SetCursorPosX", + "original_fully_qualified_name": "ImGui::SetCursorPosX", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "local_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [window-local] \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 485 + } + }, + { + "name": "ImGui_SetCursorPosY", + "original_fully_qualified_name": "ImGui::SetCursorPosY", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "local_y", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [window-local] \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 486 + } + }, + { + "name": "ImGui_GetCursorStartPos", + "original_fully_qualified_name": "ImGui::GetCursorStartPos", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [window-local] initial cursor position, in window coordinates" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 487 + } + }, + { + "name": "ImGui_Separator", + "original_fully_qualified_name": "ImGui::Separator", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Other layout functions" + ], + "attached": "// separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 490 + } + }, + { + "name": "ImGui_SameLine", + "original_fully_qualified_name": "ImGui::SameLine", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied offset_from_start_x = 0.0f, spacing = -1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 491 + } + }, + { + "name": "ImGui_SameLineEx", + "original_fully_qualified_name": "ImGui::SameLine", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "offset_from_start_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "spacing", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// call between widgets or groups to layout them horizontally. X position given in window coordinates." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 491 + } + }, + { + "name": "ImGui_NewLine", + "original_fully_qualified_name": "ImGui::NewLine", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// undo a SameLine() or force a new line when in a horizontal-layout context." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 492 + } + }, + { + "name": "ImGui_Spacing", + "original_fully_qualified_name": "ImGui::Spacing", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// add vertical spacing." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 493 + } + }, + { + "name": "ImGui_Dummy", + "original_fully_qualified_name": "ImGui::Dummy", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 494 + } + }, + { + "name": "ImGui_Indent", + "original_fully_qualified_name": "ImGui::Indent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied indent_w = 0.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 495 + } + }, + { + "name": "ImGui_IndentEx", + "original_fully_qualified_name": "ImGui::Indent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "indent_w", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 495 + } + }, + { + "name": "ImGui_Unindent", + "original_fully_qualified_name": "ImGui::Unindent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied indent_w = 0.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 496 + } + }, + { + "name": "ImGui_UnindentEx", + "original_fully_qualified_name": "ImGui::Unindent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "indent_w", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 496 + } + }, + { + "name": "ImGui_BeginGroup", + "original_fully_qualified_name": "ImGui::BeginGroup", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// lock horizontal starting position" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 497 + } + }, + { + "name": "ImGui_EndGroup", + "original_fully_qualified_name": "ImGui::EndGroup", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// unlock horizontal starting position + capture the whole group bounding box into one \"item\" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 498 + } + }, + { + "name": "ImGui_AlignTextToFramePadding", + "original_fully_qualified_name": "ImGui::AlignTextToFramePadding", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 499 + } + }, + { + "name": "ImGui_GetTextLineHeight", + "original_fully_qualified_name": "ImGui::GetTextLineHeight", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ~ FontSize" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 500 + } + }, + { + "name": "ImGui_GetTextLineHeightWithSpacing", + "original_fully_qualified_name": "ImGui::GetTextLineHeightWithSpacing", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 501 + } + }, + { + "name": "ImGui_GetFrameHeight", + "original_fully_qualified_name": "ImGui::GetFrameHeight", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ~ FontSize + style.FramePadding.y * 2" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 502 + } + }, + { + "name": "ImGui_GetFrameHeightWithSpacing", + "original_fully_qualified_name": "ImGui::GetFrameHeightWithSpacing", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 503 + } + }, + { + "name": "ImGui_PushID", + "original_fully_qualified_name": "ImGui::PushID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// ID stack/scopes", + "// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.", + "// - Those questions are answered and impacted by understanding of the ID stack system:", + "// - \"Q: Why is my widget not reacting when I click on it?\"", + "// - \"Q: How can I have widgets with an empty label?\"", + "// - \"Q: How can I have multiple widgets with the same label?\"", + "// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely", + "// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.", + "// - You can also use the \"Label##foobar\" syntax within widget label to distinguish them from each others.", + "// - In this header file we use the \"label\"/\"name\" terminology to denote a string that will be displayed + used as an ID,", + "// whereas \"str_id\" denote a string that is only used as an ID and not normally displayed." + ], + "attached": "// push string into the ID stack (will hash string)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 516 + } + }, + { + "name": "ImGui_PushIDStr", + "original_fully_qualified_name": "ImGui::PushID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "str_id_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "str_id_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// push string into the ID stack (will hash string)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 517 + } + }, + { + "name": "ImGui_PushIDPtr", + "original_fully_qualified_name": "ImGui::PushID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ptr_id", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// push pointer into the ID stack (will hash pointer)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 518 + } + }, + { + "name": "ImGui_PushIDInt", + "original_fully_qualified_name": "ImGui::PushID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "int_id", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// push integer into the ID stack (will hash integer)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 519 + } + }, + { + "name": "ImGui_PopID", + "original_fully_qualified_name": "ImGui::PopID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// pop from the ID stack." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 520 + } + }, + { + "name": "ImGui_GetID", + "original_fully_qualified_name": "ImGui::GetID", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 521 + } + }, + { + "name": "ImGui_GetIDStr", + "original_fully_qualified_name": "ImGui::GetID", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [ + { + "name": "str_id_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "str_id_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 522 + } + }, + { + "name": "ImGui_GetIDPtr", + "original_fully_qualified_name": "ImGui::GetID", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [ + { + "name": "ptr_id", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 523 + } + }, + { + "name": "ImGui_TextUnformatted", + "original_fully_qualified_name": "ImGui::TextUnformatted", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Text" + ], + "attached": "// Implied text_end = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 526 + } + }, + { + "name": "ImGui_TextUnformattedEx", + "original_fully_qualified_name": "ImGui::TextUnformatted", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// raw text without formatting. Roughly equivalent to Text(\"%s\", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 526 + } + }, + { + "name": "ImGui_Text", + "original_fully_qualified_name": "ImGui::Text", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg1__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// formatted text" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 527 + } + }, + { + "name": "ImGui_TextV", + "original_fully_qualified_name": "ImGui::TextV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 528 + } + }, + { + "name": "ImGui_TextColored", + "original_fully_qualified_name": "ImGui::TextColored", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg2__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 529 + } + }, + { + "name": "ImGui_TextColoredV", + "original_fully_qualified_name": "ImGui::TextColoredV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 530 + } + }, + { + "name": "ImGui_TextDisabled", + "original_fully_qualified_name": "ImGui::TextDisabled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg1__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 531 + } + }, + { + "name": "ImGui_TextDisabledV", + "original_fully_qualified_name": "ImGui::TextDisabledV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 532 + } + }, + { + "name": "ImGui_TextWrapped", + "original_fully_qualified_name": "ImGui::TextWrapped", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg1__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 533 + } + }, + { + "name": "ImGui_TextWrappedV", + "original_fully_qualified_name": "ImGui::TextWrappedV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 534 + } + }, + { + "name": "ImGui_LabelText", + "original_fully_qualified_name": "ImGui::LabelText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg2__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// display text+label aligned the same way as value+label widgets" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 535 + } + }, + { + "name": "ImGui_LabelTextV", + "original_fully_qualified_name": "ImGui::LabelTextV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 536 + } + }, + { + "name": "ImGui_BulletText", + "original_fully_qualified_name": "ImGui::BulletText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg1__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// shortcut for Bullet()+Text()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 537 + } + }, + { + "name": "ImGui_BulletTextV", + "original_fully_qualified_name": "ImGui::BulletTextV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 538 + } + }, + { + "name": "ImGui_SeparatorText", + "original_fully_qualified_name": "ImGui::SeparatorText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// currently: formatted text with an horizontal line" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 539 + } + }, + { + "name": "ImGui_Button", + "original_fully_qualified_name": "ImGui::Button", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Main", + "// - Most widgets return true when the value has been changed or when pressed/selected", + "// - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state." + ], + "attached": "// Implied size = ImVec2(0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 544 + } + }, + { + "name": "ImGui_ButtonEx", + "original_fully_qualified_name": "ImGui::Button", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// button" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 544 + } + }, + { + "name": "ImGui_SmallButton", + "original_fully_qualified_name": "ImGui::SmallButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// button with (FramePadding.y == 0) to easily embed within text" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 545 + } + }, + { + "name": "ImGui_InvisibleButton", + "original_fully_qualified_name": "ImGui::InvisibleButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiButtonFlags", + "description": { + "kind": "User", + "name": "ImGuiButtonFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 546 + } + }, + { + "name": "ImGui_ArrowButton", + "original_fully_qualified_name": "ImGui::ArrowButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "dir", + "type": { + "declaration": "ImGuiDir", + "description": { + "kind": "User", + "name": "ImGuiDir" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// square button with an arrow shape" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 547 + } + }, + { + "name": "ImGui_Checkbox", + "original_fully_qualified_name": "ImGui::Checkbox", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 548 + } + }, + { + "name": "ImGui_CheckboxFlagsIntPtr", + "original_fully_qualified_name": "ImGui::CheckboxFlags", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags_value", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 549 + } + }, + { + "name": "ImGui_CheckboxFlagsUintPtr", + "original_fully_qualified_name": "ImGui::CheckboxFlags", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "unsigned int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags_value", + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 550 + } + }, + { + "name": "ImGui_RadioButton", + "original_fully_qualified_name": "ImGui::RadioButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "active", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// use with e.g. if (RadioButton(\"one\", my_value==1)) { my_value = 1; }" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 551 + } + }, + { + "name": "ImGui_RadioButtonIntPtr", + "original_fully_qualified_name": "ImGui::RadioButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_button", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// shortcut to handle the above pattern when value is an integer" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 552 + } + }, + { + "name": "ImGui_ProgressBar", + "original_fully_qualified_name": "ImGui::ProgressBar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fraction", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size_arg", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(-FLT_MIN, 0)", + "is_instance_pointer": false + }, + { + "name": "overlay", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 553 + } + }, + { + "name": "ImGui_Bullet", + "original_fully_qualified_name": "ImGui::Bullet", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 554 + } + }, + { + "name": "ImGui_Image", + "original_fully_qualified_name": "ImGui::Image", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "image_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Images", + "// - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples", + "// - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above.", + "// - Note that Image() may add +2.0f to provided size if a border is visible, ImageButton() adds style.FramePadding*2.0f to provided size." + ], + "attached": "// Implied uv0 = ImVec2(0, 0), uv1 = ImVec2(1, 1), tint_col = ImVec4(1, 1, 1, 1), border_col = ImVec4(0, 0, 0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 560 + } + }, + { + "name": "ImGui_ImageEx", + "original_fully_qualified_name": "ImGui::Image", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "image_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv0", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "uv1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(1, 1)", + "is_instance_pointer": false + }, + { + "name": "tint_col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec4(1, 1, 1, 1)", + "is_instance_pointer": false + }, + { + "name": "border_col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec4(0, 0, 0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 560 + } + }, + { + "name": "ImGui_ImageButton", + "original_fully_qualified_name": "ImGui::ImageButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "image_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied uv0 = ImVec2(0, 0), uv1 = ImVec2(1, 1), bg_col = ImVec4(0, 0, 0, 0), tint_col = ImVec4(1, 1, 1, 1)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 561 + } + }, + { + "name": "ImGui_ImageButtonEx", + "original_fully_qualified_name": "ImGui::ImageButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "image_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv0", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "uv1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(1, 1)", + "is_instance_pointer": false + }, + { + "name": "bg_col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec4(0, 0, 0, 0)", + "is_instance_pointer": false + }, + { + "name": "tint_col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec4(1, 1, 1, 1)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 561 + } + }, + { + "name": "ImGui_BeginCombo", + "original_fully_qualified_name": "ImGui::BeginCombo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "preview_value", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiComboFlags", + "description": { + "kind": "User", + "name": "ImGuiComboFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Combo Box (Dropdown)", + "// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items.", + "// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 566 + } + }, + { + "name": "ImGui_EndCombo", + "original_fully_qualified_name": "ImGui::EndCombo", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndCombo() if BeginCombo() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 567 + } + }, + { + "name": "ImGui_ComboChar", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items", + "type": { + "declaration": "const char*const[]", + "description": { + "kind": "Array", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + }, + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "", + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied popup_max_height_in_items = -1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 568 + } + }, + { + "name": "ImGui_ComboCharEx", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items", + "type": { + "declaration": "const char*const[]", + "description": { + "kind": "Array", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + }, + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "", + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "popup_max_height_in_items", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 568 + } + }, + { + "name": "ImGui_Combo", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_separated_by_zeros", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied popup_max_height_in_items = -1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 569 + } + }, + { + "name": "ImGui_ComboEx", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_separated_by_zeros", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "popup_max_height_in_items", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Separate items with \\0 within a string, end item-list with \\0\\0. e.g. \"One\\0Two\\0Three\\0\"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 569 + } + }, + { + "name": "ImGui_ComboCallback", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "getter", + "type": { + "declaration": "const char* (*getter)(void* user_data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied popup_max_height_in_items = -1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 570 + } + }, + { + "name": "ImGui_ComboCallbackEx", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "getter", + "type": { + "declaration": "const char* (*getter)(void* user_data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "popup_max_height_in_items", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 570 + } + }, + { + "name": "ImGui_DragFloat", + "original_fully_qualified_name": "ImGui::DragFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Drag Sliders", + "// - 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.", + "// - 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',", + "// the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x", + "// - 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.", + "// - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\").", + "// - 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).", + "// - Use v_min < v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used.", + "// - 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.", + "// - 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.", + "// - Legacy: Pre-1.78 there are DragXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument.", + "// If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361" + ], + "attached": "// Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 584 + } + }, + { + "name": "ImGui_DragFloatEx", + "original_fully_qualified_name": "ImGui::DragFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// If v_min >= v_max we have no bound" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 584 + } + }, + { + "name": "ImGui_DragFloat2", + "original_fully_qualified_name": "ImGui::DragFloat2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 585 + } + }, + { + "name": "ImGui_DragFloat2Ex", + "original_fully_qualified_name": "ImGui::DragFloat2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 585 + } + }, + { + "name": "ImGui_DragFloat3", + "original_fully_qualified_name": "ImGui::DragFloat3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 586 + } + }, + { + "name": "ImGui_DragFloat3Ex", + "original_fully_qualified_name": "ImGui::DragFloat3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 586 + } + }, + { + "name": "ImGui_DragFloat4", + "original_fully_qualified_name": "ImGui::DragFloat4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 587 + } + }, + { + "name": "ImGui_DragFloat4Ex", + "original_fully_qualified_name": "ImGui::DragFloat4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 587 + } + }, + { + "name": "ImGui_DragFloatRange2", + "original_fully_qualified_name": "ImGui::DragFloatRange2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_min", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_max", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = \"%.3f\", format_max = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 588 + } + }, + { + "name": "ImGui_DragFloatRange2Ex", + "original_fully_qualified_name": "ImGui::DragFloatRange2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_min", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_max", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "format_max", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 588 + } + }, + { + "name": "ImGui_DragInt", + "original_fully_qualified_name": "ImGui::DragInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 589 + } + }, + { + "name": "ImGui_DragIntEx", + "original_fully_qualified_name": "ImGui::DragInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// If v_min >= v_max we have no bound" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 589 + } + }, + { + "name": "ImGui_DragInt2", + "original_fully_qualified_name": "ImGui::DragInt2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 590 + } + }, + { + "name": "ImGui_DragInt2Ex", + "original_fully_qualified_name": "ImGui::DragInt2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 590 + } + }, + { + "name": "ImGui_DragInt3", + "original_fully_qualified_name": "ImGui::DragInt3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 591 + } + }, + { + "name": "ImGui_DragInt3Ex", + "original_fully_qualified_name": "ImGui::DragInt3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 591 + } + }, + { + "name": "ImGui_DragInt4", + "original_fully_qualified_name": "ImGui::DragInt4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 592 + } + }, + { + "name": "ImGui_DragInt4Ex", + "original_fully_qualified_name": "ImGui::DragInt4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 592 + } + }, + { + "name": "ImGui_DragIntRange2", + "original_fully_qualified_name": "ImGui::DragIntRange2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_min", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_max", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = \"%d\", format_max = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 593 + } + }, + { + "name": "ImGui_DragIntRange2Ex", + "original_fully_qualified_name": "ImGui::DragIntRange2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_min", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_current_max", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "format_max", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 593 + } + }, + { + "name": "ImGui_DragScalar", + "original_fully_qualified_name": "ImGui::DragScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, p_min = NULL, p_max = NULL, format = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 594 + } + }, + { + "name": "ImGui_DragScalarEx", + "original_fully_qualified_name": "ImGui::DragScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 594 + } + }, + { + "name": "ImGui_DragScalarN", + "original_fully_qualified_name": "ImGui::DragScalarN", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "components", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_speed = 1.0f, p_min = NULL, p_max = NULL, format = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 595 + } + }, + { + "name": "ImGui_DragScalarNEx", + "original_fully_qualified_name": "ImGui::DragScalarN", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "components", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_speed", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 595 + } + }, + { + "name": "ImGui_SliderFloat", + "original_fully_qualified_name": "ImGui::SliderFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Regular Sliders", + "// - 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.", + "// - 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.", + "// - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\").", + "// - Legacy: Pre-1.78 there are SliderXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument.", + "// If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361" + ], + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 603 + } + }, + { + "name": "ImGui_SliderFloatEx", + "original_fully_qualified_name": "ImGui::SliderFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 603 + } + }, + { + "name": "ImGui_SliderFloat2", + "original_fully_qualified_name": "ImGui::SliderFloat2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 604 + } + }, + { + "name": "ImGui_SliderFloat2Ex", + "original_fully_qualified_name": "ImGui::SliderFloat2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 604 + } + }, + { + "name": "ImGui_SliderFloat3", + "original_fully_qualified_name": "ImGui::SliderFloat3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 605 + } + }, + { + "name": "ImGui_SliderFloat3Ex", + "original_fully_qualified_name": "ImGui::SliderFloat3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 605 + } + }, + { + "name": "ImGui_SliderFloat4", + "original_fully_qualified_name": "ImGui::SliderFloat4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 606 + } + }, + { + "name": "ImGui_SliderFloat4Ex", + "original_fully_qualified_name": "ImGui::SliderFloat4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 606 + } + }, + { + "name": "ImGui_SliderAngle", + "original_fully_qualified_name": "ImGui::SliderAngle", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_rad", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied v_degrees_min = -360.0f, v_degrees_max = +360.0f, format = \"%.0f deg\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 607 + } + }, + { + "name": "ImGui_SliderAngleEx", + "original_fully_qualified_name": "ImGui::SliderAngle", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_rad", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_degrees_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-360.0f", + "is_instance_pointer": false + }, + { + "name": "v_degrees_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "+360.0f", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.0f deg\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 607 + } + }, + { + "name": "ImGui_SliderInt", + "original_fully_qualified_name": "ImGui::SliderInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 608 + } + }, + { + "name": "ImGui_SliderIntEx", + "original_fully_qualified_name": "ImGui::SliderInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 608 + } + }, + { + "name": "ImGui_SliderInt2", + "original_fully_qualified_name": "ImGui::SliderInt2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 609 + } + }, + { + "name": "ImGui_SliderInt2Ex", + "original_fully_qualified_name": "ImGui::SliderInt2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 609 + } + }, + { + "name": "ImGui_SliderInt3", + "original_fully_qualified_name": "ImGui::SliderInt3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 610 + } + }, + { + "name": "ImGui_SliderInt3Ex", + "original_fully_qualified_name": "ImGui::SliderInt3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 610 + } + }, + { + "name": "ImGui_SliderInt4", + "original_fully_qualified_name": "ImGui::SliderInt4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 611 + } + }, + { + "name": "ImGui_SliderInt4Ex", + "original_fully_qualified_name": "ImGui::SliderInt4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 611 + } + }, + { + "name": "ImGui_SliderScalar", + "original_fully_qualified_name": "ImGui::SliderScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 612 + } + }, + { + "name": "ImGui_SliderScalarEx", + "original_fully_qualified_name": "ImGui::SliderScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 612 + } + }, + { + "name": "ImGui_SliderScalarN", + "original_fully_qualified_name": "ImGui::SliderScalarN", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "components", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 613 + } + }, + { + "name": "ImGui_SliderScalarNEx", + "original_fully_qualified_name": "ImGui::SliderScalarN", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "components", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 613 + } + }, + { + "name": "ImGui_VSliderFloat", + "original_fully_qualified_name": "ImGui::VSliderFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 614 + } + }, + { + "name": "ImGui_VSliderFloatEx", + "original_fully_qualified_name": "ImGui::VSliderFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 614 + } + }, + { + "name": "ImGui_VSliderInt", + "original_fully_qualified_name": "ImGui::VSliderInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%d\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 615 + } + }, + { + "name": "ImGui_VSliderIntEx", + "original_fully_qualified_name": "ImGui::VSliderInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_min", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v_max", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%d\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 615 + } + }, + { + "name": "ImGui_VSliderScalar", + "original_fully_qualified_name": "ImGui::VSliderScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 616 + } + }, + { + "name": "ImGui_VSliderScalarEx", + "original_fully_qualified_name": "ImGui::VSliderScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSliderFlags", + "description": { + "kind": "User", + "name": "ImGuiSliderFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 616 + } + }, + { + "name": "ImGui_InputText", + "original_fully_qualified_name": "ImGui::InputText", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf", + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf_size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Input with Keyboard", + "// - 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.", + "// - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc." + ], + "attached": "// Implied callback = NULL, user_data = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 621 + } + }, + { + "name": "ImGui_InputTextEx", + "original_fully_qualified_name": "ImGui::InputText", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf", + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf_size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "callback", + "type": { + "declaration": "ImGuiInputTextCallback", + "description": { + "kind": "User", + "name": "ImGuiInputTextCallback" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 621 + } + }, + { + "name": "ImGui_InputTextMultiline", + "original_fully_qualified_name": "ImGui::InputTextMultiline", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf", + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf_size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied size = ImVec2(0, 0), flags = 0, callback = NULL, user_data = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 622 + } + }, + { + "name": "ImGui_InputTextMultilineEx", + "original_fully_qualified_name": "ImGui::InputTextMultiline", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf", + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf_size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "callback", + "type": { + "declaration": "ImGuiInputTextCallback", + "description": { + "kind": "User", + "name": "ImGuiInputTextCallback" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 622 + } + }, + { + "name": "ImGui_InputTextWithHint", + "original_fully_qualified_name": "ImGui::InputTextWithHint", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "hint", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf", + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf_size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied callback = NULL, user_data = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 623 + } + }, + { + "name": "ImGui_InputTextWithHintEx", + "original_fully_qualified_name": "ImGui::InputTextWithHint", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "hint", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf", + "type": { + "declaration": "char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "buf_size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "callback", + "type": { + "declaration": "ImGuiInputTextCallback", + "description": { + "kind": "User", + "name": "ImGuiInputTextCallback" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 623 + } + }, + { + "name": "ImGui_InputFloat", + "original_fully_qualified_name": "ImGui::InputFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied step = 0.0f, step_fast = 0.0f, format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 624 + } + }, + { + "name": "ImGui_InputFloatEx", + "original_fully_qualified_name": "ImGui::InputFloat", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "step", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "step_fast", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 624 + } + }, + { + "name": "ImGui_InputFloat2", + "original_fully_qualified_name": "ImGui::InputFloat2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 625 + } + }, + { + "name": "ImGui_InputFloat2Ex", + "original_fully_qualified_name": "ImGui::InputFloat2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 625 + } + }, + { + "name": "ImGui_InputFloat3", + "original_fully_qualified_name": "ImGui::InputFloat3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 626 + } + }, + { + "name": "ImGui_InputFloat3Ex", + "original_fully_qualified_name": "ImGui::InputFloat3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 626 + } + }, + { + "name": "ImGui_InputFloat4", + "original_fully_qualified_name": "ImGui::InputFloat4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied format = \"%.3f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 627 + } + }, + { + "name": "ImGui_InputFloat4Ex", + "original_fully_qualified_name": "ImGui::InputFloat4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.3f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 627 + } + }, + { + "name": "ImGui_InputInt", + "original_fully_qualified_name": "ImGui::InputInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied step = 1, step_fast = 100, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 628 + } + }, + { + "name": "ImGui_InputIntEx", + "original_fully_qualified_name": "ImGui::InputInt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "step", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + }, + { + "name": "step_fast", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "100", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 628 + } + }, + { + "name": "ImGui_InputInt2", + "original_fully_qualified_name": "ImGui::InputInt2", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 629 + } + }, + { + "name": "ImGui_InputInt3", + "original_fully_qualified_name": "ImGui::InputInt3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 630 + } + }, + { + "name": "ImGui_InputInt4", + "original_fully_qualified_name": "ImGui::InputInt4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "int[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 631 + } + }, + { + "name": "ImGui_InputDouble", + "original_fully_qualified_name": "ImGui::InputDouble", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "double*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "double" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied step = 0.0, step_fast = 0.0, format = \"%.6f\", flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 632 + } + }, + { + "name": "ImGui_InputDoubleEx", + "original_fully_qualified_name": "ImGui::InputDouble", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "double*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "double" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "step", + "type": { + "declaration": "double", + "description": { + "kind": "Builtin", + "builtin_type": "double" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0", + "is_instance_pointer": false + }, + { + "name": "step_fast", + "type": { + "declaration": "double", + "description": { + "kind": "Builtin", + "builtin_type": "double" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"%.6f\"", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 632 + } + }, + { + "name": "ImGui_InputScalar", + "original_fully_qualified_name": "ImGui::InputScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied p_step = NULL, p_step_fast = NULL, format = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 633 + } + }, + { + "name": "ImGui_InputScalarEx", + "original_fully_qualified_name": "ImGui::InputScalar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_step", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "p_step_fast", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 633 + } + }, + { + "name": "ImGui_InputScalarN", + "original_fully_qualified_name": "ImGui::InputScalarN", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "components", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied p_step = NULL, p_step_fast = NULL, format = NULL, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 634 + } + }, + { + "name": "ImGui_InputScalarNEx", + "original_fully_qualified_name": "ImGui::InputScalarN", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data_type", + "type": { + "declaration": "ImGuiDataType", + "description": { + "kind": "User", + "name": "ImGuiDataType" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "components", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_step", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "p_step_fast", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "format", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputTextFlags", + "description": { + "kind": "User", + "name": "ImGuiInputTextFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 634 + } + }, + { + "name": "ImGui_ColorEdit3", + "original_fully_qualified_name": "ImGui::ColorEdit3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiColorEditFlags", + "description": { + "kind": "User", + "name": "ImGuiColorEditFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little color square that can be left-clicked to open a picker, and right-clicked to open an option menu.)", + "// - Note that in C++ a 'float v[X]' function argument is the _same_ as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible.", + "// - You can pass the address of a first float element out of a contiguous structure, e.g. &myvector.x" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 639 + } + }, + { + "name": "ImGui_ColorEdit4", + "original_fully_qualified_name": "ImGui::ColorEdit4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiColorEditFlags", + "description": { + "kind": "User", + "name": "ImGuiColorEditFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 640 + } + }, + { + "name": "ImGui_ColorPicker3", + "original_fully_qualified_name": "ImGui::ColorPicker3", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "float[3]", + "description": { + "kind": "Array", + "bounds": "3", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "3", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiColorEditFlags", + "description": { + "kind": "User", + "name": "ImGuiColorEditFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 641 + } + }, + { + "name": "ImGui_ColorPicker4", + "original_fully_qualified_name": "ImGui::ColorPicker4", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "float[4]", + "description": { + "kind": "Array", + "bounds": "4", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "4", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiColorEditFlags", + "description": { + "kind": "User", + "name": "ImGuiColorEditFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "ref_col", + "type": { + "declaration": "const float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 642 + } + }, + { + "name": "ImGui_ColorButton", + "original_fully_qualified_name": "ImGui::ColorButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "desc_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiColorEditFlags", + "description": { + "kind": "User", + "name": "ImGuiColorEditFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied size = ImVec2(0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 643 + } + }, + { + "name": "ImGui_ColorButtonEx", + "original_fully_qualified_name": "ImGui::ColorButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "desc_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiColorEditFlags", + "description": { + "kind": "User", + "name": "ImGuiColorEditFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// display a color square/button, hover for details, return true when pressed." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 643 + } + }, + { + "name": "ImGui_SetColorEditOptions", + "original_fully_qualified_name": "ImGui::SetColorEditOptions", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "flags", + "type": { + "declaration": "ImGuiColorEditFlags", + "description": { + "kind": "User", + "name": "ImGuiColorEditFlags" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 644 + } + }, + { + "name": "ImGui_TreeNode", + "original_fully_qualified_name": "ImGui::TreeNode", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Trees", + "// - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 648 + } + }, + { + "name": "ImGui_TreeNodeStr", + "original_fully_qualified_name": "ImGui::TreeNode", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg2__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 649 + } + }, + { + "name": "ImGui_TreeNodePtr", + "original_fully_qualified_name": "ImGui::TreeNode", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "ptr_id", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg2__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 650 + } + }, + { + "name": "ImGui_TreeNodeV", + "original_fully_qualified_name": "ImGui::TreeNodeV", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 651 + } + }, + { + "name": "ImGui_TreeNodeVPtr", + "original_fully_qualified_name": "ImGui::TreeNodeV", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "ptr_id", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 652 + } + }, + { + "name": "ImGui_TreeNodeEx", + "original_fully_qualified_name": "ImGui::TreeNodeEx", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTreeNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiTreeNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 653 + } + }, + { + "name": "ImGui_TreeNodeExStr", + "original_fully_qualified_name": "ImGui::TreeNodeEx", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTreeNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiTreeNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg3__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 654 + } + }, + { + "name": "ImGui_TreeNodeExPtr", + "original_fully_qualified_name": "ImGui::TreeNodeEx", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "ptr_id", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTreeNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiTreeNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg3__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 655 + } + }, + { + "name": "ImGui_TreeNodeExV", + "original_fully_qualified_name": "ImGui::TreeNodeExV", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTreeNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiTreeNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 656 + } + }, + { + "name": "ImGui_TreeNodeExVPtr", + "original_fully_qualified_name": "ImGui::TreeNodeExV", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "ptr_id", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTreeNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiTreeNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 657 + } + }, + { + "name": "ImGui_TreePush", + "original_fully_qualified_name": "ImGui::TreePush", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 658 + } + }, + { + "name": "ImGui_TreePushPtr", + "original_fully_qualified_name": "ImGui::TreePush", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ptr_id", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// \"" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 659 + } + }, + { + "name": "ImGui_TreePop", + "original_fully_qualified_name": "ImGui::TreePop", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// ~ Unindent()+PopID()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 660 + } + }, + { + "name": "ImGui_GetTreeNodeToLabelSpacing", + "original_fully_qualified_name": "ImGui::GetTreeNodeToLabelSpacing", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 661 + } + }, + { + "name": "ImGui_CollapsingHeader", + "original_fully_qualified_name": "ImGui::CollapsingHeader", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTreeNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiTreeNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 662 + } + }, + { + "name": "ImGui_CollapsingHeaderBoolPtr", + "original_fully_qualified_name": "ImGui::CollapsingHeader", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_visible", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTreeNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiTreeNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 663 + } + }, + { + "name": "ImGui_SetNextItemOpen", + "original_fully_qualified_name": "ImGui::SetNextItemOpen", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "is_open", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next TreeNode/CollapsingHeader open state." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 664 + } + }, + { + "name": "ImGui_Selectable", + "original_fully_qualified_name": "ImGui::Selectable", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Selectables", + "// - A selectable highlights when hovered, and can display another color when selected.", + "// - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous." + ], + "attached": "// Implied selected = false, flags = 0, size = ImVec2(0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 669 + } + }, + { + "name": "ImGui_SelectableEx", + "original_fully_qualified_name": "ImGui::Selectable", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "selected", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSelectableFlags", + "description": { + "kind": "User", + "name": "ImGuiSelectableFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// \"bool selected\" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 669 + } + }, + { + "name": "ImGui_SelectableBoolPtr", + "original_fully_qualified_name": "ImGui::Selectable", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_selected", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSelectableFlags", + "description": { + "kind": "User", + "name": "ImGuiSelectableFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied size = ImVec2(0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 670 + } + }, + { + "name": "ImGui_SelectableBoolPtrEx", + "original_fully_qualified_name": "ImGui::Selectable", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_selected", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiSelectableFlags", + "description": { + "kind": "User", + "name": "ImGuiSelectableFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// \"bool* p_selected\" point to the selection state (read-write), as a convenient helper." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 670 + } + }, + { + "name": "ImGui_BeginListBox", + "original_fully_qualified_name": "ImGui::BeginListBox", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: List Boxes", + "// - This is essentially a thin wrapper to using BeginChild/EndChild with the ImGuiChildFlags_FrameStyle flag for stylistic changes + displaying a label.", + "// - You can submit contents and manage your selection state however you want it, by creating e.g. Selectable() or any other items.", + "// - 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.", + "// - Choose frame width: size.x > 0.0f: custom / size.x < 0.0f or -FLT_MIN: right-align / size.x = 0.0f (default): use current ItemWidth", + "// - Choose frame height: size.y > 0.0f: custom / size.y < 0.0f or -FLT_MIN: bottom-align / size.y = 0.0f (default): arbitrary default height which can fit ~7 items" + ], + "attached": "// open a framed scrolling region" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 678 + } + }, + { + "name": "ImGui_EndListBox", + "original_fully_qualified_name": "ImGui::EndListBox", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndListBox() if BeginListBox() returned true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 679 + } + }, + { + "name": "ImGui_ListBox", + "original_fully_qualified_name": "ImGui::ListBox", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items", + "type": { + "declaration": "const char*const[]", + "description": { + "kind": "Array", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + }, + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "", + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "height_in_items", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 680 + } + }, + { + "name": "ImGui_ListBoxCallback", + "original_fully_qualified_name": "ImGui::ListBox", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "getter", + "type": { + "declaration": "const char* (*getter)(void* user_data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied height_in_items = -1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 681 + } + }, + { + "name": "ImGui_ListBoxCallbackEx", + "original_fully_qualified_name": "ImGui::ListBox", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "getter", + "type": { + "declaration": "const char* (*getter)(void* user_data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "height_in_items", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 681 + } + }, + { + "name": "ImGui_PlotLines", + "original_fully_qualified_name": "ImGui::PlotLines", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values", + "type": { + "declaration": "const float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Data Plotting", + "// - Consider using ImPlot (https://github.com/epezent/implot) which is much better!" + ], + "attached": "// Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0), stride = sizeof(float)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 685 + } + }, + { + "name": "ImGui_PlotLinesEx", + "original_fully_qualified_name": "ImGui::PlotLines", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values", + "type": { + "declaration": "const float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_offset", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "overlay_text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "scale_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "scale_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "graph_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "stride", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "sizeof(float)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 685 + } + }, + { + "name": "ImGui_PlotLinesCallback", + "original_fully_qualified_name": "ImGui::PlotLines", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_getter", + "type": { + "declaration": "float (*values_getter)(void* data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "values_getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "float" + }, + "parameters": [ + { + "kind": "Type", + "name": "data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 686 + } + }, + { + "name": "ImGui_PlotLinesCallbackEx", + "original_fully_qualified_name": "ImGui::PlotLines", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_getter", + "type": { + "declaration": "float (*values_getter)(void* data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "values_getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "float" + }, + "parameters": [ + { + "kind": "Type", + "name": "data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_offset", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "overlay_text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "scale_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "scale_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "graph_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 686 + } + }, + { + "name": "ImGui_PlotHistogram", + "original_fully_qualified_name": "ImGui::PlotHistogram", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values", + "type": { + "declaration": "const float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0), stride = sizeof(float)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 687 + } + }, + { + "name": "ImGui_PlotHistogramEx", + "original_fully_qualified_name": "ImGui::PlotHistogram", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values", + "type": { + "declaration": "const float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_offset", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "overlay_text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "scale_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "scale_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "graph_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "stride", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "sizeof(float)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 687 + } + }, + { + "name": "ImGui_PlotHistogramCallback", + "original_fully_qualified_name": "ImGui::PlotHistogram", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_getter", + "type": { + "declaration": "float (*values_getter)(void* data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "values_getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "float" + }, + "parameters": [ + { + "kind": "Type", + "name": "data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied values_offset = 0, overlay_text = NULL, scale_min = FLT_MAX, scale_max = FLT_MAX, graph_size = ImVec2(0, 0)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 688 + } + }, + { + "name": "ImGui_PlotHistogramCallbackEx", + "original_fully_qualified_name": "ImGui::PlotHistogram", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_getter", + "type": { + "declaration": "float (*values_getter)(void* data, int idx)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "values_getter", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "float" + }, + "parameters": [ + { + "kind": "Type", + "name": "data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "values_offset", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "overlay_text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "scale_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "scale_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "FLT_MAX", + "is_instance_pointer": false + }, + { + "name": "graph_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 688 + } + }, + { + "name": "ImGui_BeginMenuBar", + "original_fully_qualified_name": "ImGui::BeginMenuBar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Widgets: Menus", + "// - Use BeginMenuBar() on a window ImGuiWindowFlags_MenuBar to append to its menu bar.", + "// - Use BeginMainMenuBar() to create a menu bar at the top of the screen and append to it.", + "// - Use BeginMenu() to create a menu. You can call BeginMenu() multiple time with the same identifier to append more items to it.", + "// - Not that MenuItem() keyboardshortcuts are displayed as a convenience but _not processed_ by Dear ImGui at the moment." + ], + "attached": "// append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 702 + } + }, + { + "name": "ImGui_EndMenuBar", + "original_fully_qualified_name": "ImGui::EndMenuBar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndMenuBar() if BeginMenuBar() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 703 + } + }, + { + "name": "ImGui_BeginMainMenuBar", + "original_fully_qualified_name": "ImGui::BeginMainMenuBar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create and append to a full screen menu-bar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 704 + } + }, + { + "name": "ImGui_EndMainMenuBar", + "original_fully_qualified_name": "ImGui::EndMainMenuBar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndMainMenuBar() if BeginMainMenuBar() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 705 + } + }, + { + "name": "ImGui_BeginMenu", + "original_fully_qualified_name": "ImGui::BeginMenu", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied enabled = true" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 706 + } + }, + { + "name": "ImGui_BeginMenuEx", + "original_fully_qualified_name": "ImGui::BeginMenu", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "enabled", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create a sub-menu entry. only call EndMenu() if this returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 706 + } + }, + { + "name": "ImGui_EndMenu", + "original_fully_qualified_name": "ImGui::EndMenu", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndMenu() if BeginMenu() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 707 + } + }, + { + "name": "ImGui_MenuItem", + "original_fully_qualified_name": "ImGui::MenuItem", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied shortcut = NULL, selected = false, enabled = true" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 708 + } + }, + { + "name": "ImGui_MenuItemEx", + "original_fully_qualified_name": "ImGui::MenuItem", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "shortcut", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "selected", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + }, + { + "name": "enabled", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return true when activated." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 708 + } + }, + { + "name": "ImGui_MenuItemBoolPtr", + "original_fully_qualified_name": "ImGui::MenuItem", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "shortcut", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_selected", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "enabled", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return true when activated + toggle (*p_selected) if p_selected != NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 709 + } + }, + { + "name": "ImGui_BeginTooltip", + "original_fully_qualified_name": "ImGui::BeginTooltip", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Tooltips", + "// - Tooltips are windows following the mouse. They do not take focus away.", + "// - A tooltip window can contain items of any types.", + "// - SetTooltip() is more or less a shortcut for the 'if (BeginTooltip()) { Text(...); EndTooltip(); }' idiom (with a subtlety that it discard any previously submitted tooltip)" + ], + "attached": "// begin/append a tooltip window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 715 + } + }, + { + "name": "ImGui_EndTooltip", + "original_fully_qualified_name": "ImGui::EndTooltip", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndTooltip() if BeginTooltip()/BeginItemTooltip() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 716 + } + }, + { + "name": "ImGui_SetTooltip", + "original_fully_qualified_name": "ImGui::SetTooltip", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg1__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 717 + } + }, + { + "name": "ImGui_SetTooltipV", + "original_fully_qualified_name": "ImGui::SetTooltipV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 718 + } + }, + { + "name": "ImGui_BeginItemTooltip", + "original_fully_qualified_name": "ImGui::BeginItemTooltip", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Tooltips: helpers for showing a tooltip when hovering an item", + "// - BeginItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip) && BeginTooltip())' idiom.", + "// - SetItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip)) { SetTooltip(...); }' idiom.", + "// - Where 'ImGuiHoveredFlags_ForTooltip' itself is a shortcut to use 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' depending on active input type. For mouse it defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'." + ], + "attached": "// begin/append a tooltip window if preceding item was hovered." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 724 + } + }, + { + "name": "ImGui_SetItemTooltip", + "original_fully_qualified_name": "ImGui::SetItemTooltip", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg1__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 725 + } + }, + { + "name": "ImGui_SetItemTooltipV", + "original_fully_qualified_name": "ImGui::SetItemTooltipV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 726 + } + }, + { + "name": "ImGui_BeginPopup", + "original_fully_qualified_name": "ImGui::BeginPopup", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiWindowFlags", + "description": { + "kind": "User", + "name": "ImGuiWindowFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Popups, Modals", + "// - They block normal mouse hovering detection (and therefore most mouse interactions) behind them.", + "// - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE.", + "// - Their visibility state (~bool) is held internally instead of being held by the programmer as we are used to with regular Begin*() calls.", + "// - The 3 properties above are related: we need to retain popup visibility state in the library because popups may be closed as any time.", + "// - You can bypass the hovering restriction by using ImGuiHoveredFlags_AllowWhenBlockedByPopup when calling IsItemHovered() or IsWindowHovered().", + "// - IMPORTANT: Popup identifiers are relative to the current ID stack, so OpenPopup and BeginPopup generally needs to be at the same level of the stack.", + "// This is sometimes leading to confusing mistakes. May rework this in the future.", + "// - BeginPopup(): query popup state, if open start appending into the window. Call EndPopup() afterwards if returned true. ImGuiWindowFlags are forwarded to the window.", + "// - BeginPopupModal(): block every interaction behind the window, cannot be closed by user, add a dimming background, has a title bar." + ], + "attached": "// return true if the popup is open, and you can start outputting to it." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 738 + } + }, + { + "name": "ImGui_BeginPopupModal", + "original_fully_qualified_name": "ImGui::BeginPopupModal", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiWindowFlags", + "description": { + "kind": "User", + "name": "ImGuiWindowFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return true if the modal is open, and you can start outputting to it." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 739 + } + }, + { + "name": "ImGui_EndPopup", + "original_fully_qualified_name": "ImGui::EndPopup", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndPopup() if BeginPopupXXX() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 740 + } + }, + { + "name": "ImGui_OpenPopup", + "original_fully_qualified_name": "ImGui::OpenPopup", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "popup_flags", + "type": { + "declaration": "ImGuiPopupFlags", + "description": { + "kind": "User", + "name": "ImGuiPopupFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Popups: open/close functions", + "// - OpenPopup(): set popup state to open. ImGuiPopupFlags are available for opening options.", + "// - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE.", + "// - CloseCurrentPopup(): use inside the BeginPopup()/EndPopup() scope to close manually.", + "// - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options).", + "// - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup().", + "// - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened.", + "// - 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" + ], + "attached": "// call to mark popup as open (don't call every frame!)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 750 + } + }, + { + "name": "ImGui_OpenPopupID", + "original_fully_qualified_name": "ImGui::OpenPopup", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "popup_flags", + "type": { + "declaration": "ImGuiPopupFlags", + "description": { + "kind": "User", + "name": "ImGuiPopupFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// id overload to facilitate calling from nested stacks" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 751 + } + }, + { + "name": "ImGui_OpenPopupOnItemClick", + "original_fully_qualified_name": "ImGui::OpenPopupOnItemClick", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "popup_flags", + "type": { + "declaration": "ImGuiPopupFlags", + "description": { + "kind": "User", + "name": "ImGuiPopupFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 752 + } + }, + { + "name": "ImGui_CloseCurrentPopup", + "original_fully_qualified_name": "ImGui::CloseCurrentPopup", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// manually close the popup we have begin-ed into." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 753 + } + }, + { + "name": "ImGui_BeginPopupContextItem", + "original_fully_qualified_name": "ImGui::BeginPopupContextItem", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Popups: open+begin combined functions helpers", + "// - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking.", + "// - They are convenient to easily create context menus, hence the name.", + "// - 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.", + "// - 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." + ], + "attached": "// Implied str_id = NULL, popup_flags = 1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 760 + } + }, + { + "name": "ImGui_BeginPopupContextItemEx", + "original_fully_qualified_name": "ImGui::BeginPopupContextItem", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "popup_flags", + "type": { + "declaration": "ImGuiPopupFlags", + "description": { + "kind": "User", + "name": "ImGuiPopupFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 760 + } + }, + { + "name": "ImGui_BeginPopupContextWindow", + "original_fully_qualified_name": "ImGui::BeginPopupContextWindow", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied str_id = NULL, popup_flags = 1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 761 + } + }, + { + "name": "ImGui_BeginPopupContextWindowEx", + "original_fully_qualified_name": "ImGui::BeginPopupContextWindow", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "popup_flags", + "type": { + "declaration": "ImGuiPopupFlags", + "description": { + "kind": "User", + "name": "ImGuiPopupFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// open+begin popup when clicked on current window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 761 + } + }, + { + "name": "ImGui_BeginPopupContextVoid", + "original_fully_qualified_name": "ImGui::BeginPopupContextVoid", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied str_id = NULL, popup_flags = 1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 762 + } + }, + { + "name": "ImGui_BeginPopupContextVoidEx", + "original_fully_qualified_name": "ImGui::BeginPopupContextVoid", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "popup_flags", + "type": { + "declaration": "ImGuiPopupFlags", + "description": { + "kind": "User", + "name": "ImGuiPopupFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// open+begin popup when clicked in void (where there are no windows)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 762 + } + }, + { + "name": "ImGui_IsPopupOpen", + "original_fully_qualified_name": "ImGui::IsPopupOpen", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiPopupFlags", + "description": { + "kind": "User", + "name": "ImGuiPopupFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Popups: query functions", + "// - IsPopupOpen(): return true if the popup is open at the current BeginPopup() level of the popup stack.", + "// - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId: return true if any popup is open at the current BeginPopup() level of the popup stack.", + "// - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId + ImGuiPopupFlags_AnyPopupLevel: return true if any popup is open." + ], + "attached": "// return true if the popup is open." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 768 + } + }, + { + "name": "ImGui_BeginTable", + "original_fully_qualified_name": "ImGui::BeginTable", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "columns", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTableFlags", + "description": { + "kind": "User", + "name": "ImGuiTableFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Tables", + "// - Full-featured replacement for old Columns API.", + "// - See Demo->Tables for demo code. See top of imgui_tables.cpp for general commentary.", + "// - See ImGuiTableFlags_ and ImGuiTableColumnFlags_ enums for a description of available flags.", + "// The typical call flow is:", + "// - 1. Call BeginTable(), early out if returning false.", + "// - 2. Optionally call TableSetupColumn() to submit column name/flags/defaults.", + "// - 3. Optionally call TableSetupScrollFreeze() to request scroll freezing of columns/rows.", + "// - 4. Optionally call TableHeadersRow() to submit a header row. Names are pulled from TableSetupColumn() data.", + "// - 5. Populate contents:", + "// - In most situations you can use TableNextRow() + TableSetColumnIndex(N) to start appending into a column.", + "// - If you are using tables as a sort of grid, where every column is holding the same type of contents,", + "// you may prefer using TableNextColumn() instead of TableNextRow() + TableSetColumnIndex().", + "// TableNextColumn() will automatically wrap-around into the next row if needed.", + "// - IMPORTANT: Comparatively to the old Columns() API, we need to call TableNextColumn() for the first column!", + "// - Summary of possible call flow:", + "// - TableNextRow() -> TableSetColumnIndex(0) -> Text(\"Hello 0\") -> TableSetColumnIndex(1) -> Text(\"Hello 1\") // OK", + "// - TableNextRow() -> TableNextColumn() -> Text(\"Hello 0\") -> TableNextColumn() -> Text(\"Hello 1\") // OK", + "// - TableNextColumn() -> Text(\"Hello 0\") -> TableNextColumn() -> Text(\"Hello 1\") // OK: TableNextColumn() automatically gets to next row!", + "// - TableNextRow() -> Text(\"Hello 0\") // Not OK! Missing TableSetColumnIndex() or TableNextColumn()! Text will not appear!", + "// - 5. Call EndTable()" + ], + "attached": "// Implied outer_size = ImVec2(0.0f, 0.0f), inner_width = 0.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 791 + } + }, + { + "name": "ImGui_BeginTableEx", + "original_fully_qualified_name": "ImGui::BeginTable", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "columns", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTableFlags", + "description": { + "kind": "User", + "name": "ImGuiTableFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "outer_size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0.0f, 0.0f)", + "is_instance_pointer": false + }, + { + "name": "inner_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 791 + } + }, + { + "name": "ImGui_EndTable", + "original_fully_qualified_name": "ImGui::EndTable", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndTable() if BeginTable() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 792 + } + }, + { + "name": "ImGui_TableNextRow", + "original_fully_qualified_name": "ImGui::TableNextRow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied row_flags = 0, min_row_height = 0.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 793 + } + }, + { + "name": "ImGui_TableNextRowEx", + "original_fully_qualified_name": "ImGui::TableNextRow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "row_flags", + "type": { + "declaration": "ImGuiTableRowFlags", + "description": { + "kind": "User", + "name": "ImGuiTableRowFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "min_row_height", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// append into the first cell of a new row." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 793 + } + }, + { + "name": "ImGui_TableNextColumn", + "original_fully_qualified_name": "ImGui::TableNextColumn", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// append into the next column (or first column of next row if currently in last column). Return true when column is visible." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 794 + } + }, + { + "name": "ImGui_TableSetColumnIndex", + "original_fully_qualified_name": "ImGui::TableSetColumnIndex", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "column_n", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// append into the specified column. Return true when column is visible." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 795 + } + }, + { + "name": "ImGui_TableSetupColumn", + "original_fully_qualified_name": "ImGui::TableSetupColumn", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTableColumnFlags", + "description": { + "kind": "User", + "name": "ImGuiTableColumnFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Tables: Headers & Columns declaration", + "// - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc.", + "// - Use TableHeadersRow() to create a header row and automatically submit a TableHeader() for each column.", + "// Headers are required to perform: reordering, sorting, and opening the context menu.", + "// The context menu can also be made available in columns body using ImGuiTableFlags_ContextMenuInBody.", + "// - You may manually submit headers using TableNextRow() + TableHeader() calls, but this is only useful in", + "// some advanced use cases (e.g. adding custom widgets in header row).", + "// - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled." + ], + "attached": "// Implied init_width_or_weight = 0.0f, user_id = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 805 + } + }, + { + "name": "ImGui_TableSetupColumnEx", + "original_fully_qualified_name": "ImGui::TableSetupColumn", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTableColumnFlags", + "description": { + "kind": "User", + "name": "ImGuiTableColumnFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "init_width_or_weight", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "user_id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 805 + } + }, + { + "name": "ImGui_TableSetupScrollFreeze", + "original_fully_qualified_name": "ImGui::TableSetupScrollFreeze", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "cols", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rows", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// lock columns/rows so they stay visible when scrolled." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 806 + } + }, + { + "name": "ImGui_TableHeader", + "original_fully_qualified_name": "ImGui::TableHeader", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// submit one header cell manually (rarely used)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 807 + } + }, + { + "name": "ImGui_TableHeadersRow", + "original_fully_qualified_name": "ImGui::TableHeadersRow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 808 + } + }, + { + "name": "ImGui_TableAngledHeadersRow", + "original_fully_qualified_name": "ImGui::TableAngledHeadersRow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 809 + } + }, + { + "name": "ImGui_TableGetSortSpecs", + "original_fully_qualified_name": "ImGui::TableGetSortSpecs", + "return_type": { + "declaration": "ImGuiTableSortSpecs*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiTableSortSpecs" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Tables: Sorting & Miscellaneous functions", + "// - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting.", + "// When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have", + "// changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting,", + "// else you may wastefully sort your data every frame!", + "// - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index." + ], + "attached": "// get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 817 + } + }, + { + "name": "ImGui_TableGetColumnCount", + "original_fully_qualified_name": "ImGui::TableGetColumnCount", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return number of columns (value passed to BeginTable)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 818 + } + }, + { + "name": "ImGui_TableGetColumnIndex", + "original_fully_qualified_name": "ImGui::TableGetColumnIndex", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return current column index." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 819 + } + }, + { + "name": "ImGui_TableGetRowIndex", + "original_fully_qualified_name": "ImGui::TableGetRowIndex", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return current row index." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 820 + } + }, + { + "name": "ImGui_TableGetColumnName", + "original_fully_qualified_name": "ImGui::TableGetColumnName", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "column_n", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return \"\" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 821 + } + }, + { + "name": "ImGui_TableGetColumnFlags", + "original_fully_qualified_name": "ImGui::TableGetColumnFlags", + "return_type": { + "declaration": "ImGuiTableColumnFlags", + "description": { + "kind": "User", + "name": "ImGuiTableColumnFlags" + } + }, + "arguments": [ + { + "name": "column_n", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return column flags so you can query their Enabled/Visible/Sorted/Hovered status flags. Pass -1 to use current column." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 822 + } + }, + { + "name": "ImGui_TableSetColumnEnabled", + "original_fully_qualified_name": "ImGui::TableSetColumnEnabled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "column_n", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// change user accessible enabled/disabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 823 + } + }, + { + "name": "ImGui_TableGetHoveredColumn", + "original_fully_qualified_name": "ImGui::TableGetHoveredColumn", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 824 + } + }, + { + "name": "ImGui_TableSetBgColor", + "original_fully_qualified_name": "ImGui::TableSetBgColor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "target", + "type": { + "declaration": "ImGuiTableBgTarget", + "description": { + "kind": "User", + "name": "ImGuiTableBgTarget" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "color", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "column_n", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 825 + } + }, + { + "name": "ImGui_Columns", + "original_fully_qualified_name": "ImGui::Columns", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Legacy Columns API (prefer using Tables!)", + "// - You can also use SameLine(pos_x) to mimic simplified columns." + ], + "attached": "// Implied count = 1, id = NULL, border = true" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 829 + } + }, + { + "name": "ImGui_ColumnsEx", + "original_fully_qualified_name": "ImGui::Columns", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1", + "is_instance_pointer": false + }, + { + "name": "id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "border", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 829 + } + }, + { + "name": "ImGui_NextColumn", + "original_fully_qualified_name": "ImGui::NextColumn", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// next column, defaults to current row or next row if the current row is finished" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 830 + } + }, + { + "name": "ImGui_GetColumnIndex", + "original_fully_qualified_name": "ImGui::GetColumnIndex", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get current column index" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 831 + } + }, + { + "name": "ImGui_GetColumnWidth", + "original_fully_qualified_name": "ImGui::GetColumnWidth", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "column_index", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get column width (in pixels). pass -1 to use current column" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 832 + } + }, + { + "name": "ImGui_SetColumnWidth", + "original_fully_qualified_name": "ImGui::SetColumnWidth", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "column_index", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set column width (in pixels). pass -1 to use current column" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 833 + } + }, + { + "name": "ImGui_GetColumnOffset", + "original_fully_qualified_name": "ImGui::GetColumnOffset", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "column_index", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 834 + } + }, + { + "name": "ImGui_SetColumnOffset", + "original_fully_qualified_name": "ImGui::SetColumnOffset", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "column_index", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "offset_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 835 + } + }, + { + "name": "ImGui_GetColumnsCount", + "original_fully_qualified_name": "ImGui::GetColumnsCount", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 836 + } + }, + { + "name": "ImGui_BeginTabBar", + "original_fully_qualified_name": "ImGui::BeginTabBar", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "str_id", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTabBarFlags", + "description": { + "kind": "User", + "name": "ImGuiTabBarFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Tab Bars, Tabs", + "// - Note: Tabs are automatically created by the docking system (when in 'docking' branch). Use this to create tab bars/tabs yourself." + ], + "attached": "// create and append into a TabBar" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 840 + } + }, + { + "name": "ImGui_EndTabBar", + "original_fully_qualified_name": "ImGui::EndTabBar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndTabBar() if BeginTabBar() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 841 + } + }, + { + "name": "ImGui_BeginTabItem", + "original_fully_qualified_name": "ImGui::BeginTabItem", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTabItemFlags", + "description": { + "kind": "User", + "name": "ImGuiTabItemFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create a Tab. Returns true if the Tab is selected." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 842 + } + }, + { + "name": "ImGui_EndTabItem", + "original_fully_qualified_name": "ImGui::EndTabItem", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndTabItem() if BeginTabItem() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 843 + } + }, + { + "name": "ImGui_TabItemButton", + "original_fully_qualified_name": "ImGui::TabItemButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiTabItemFlags", + "description": { + "kind": "User", + "name": "ImGuiTabItemFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 844 + } + }, + { + "name": "ImGui_SetTabItemClosed", + "original_fully_qualified_name": "ImGui::SetTabItemClosed", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "tab_or_docked_window_label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// notify TabBar or Docking system of a closed tab/window ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 845 + } + }, + { + "name": "ImGui_DockSpace", + "original_fully_qualified_name": "ImGui::DockSpace", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [ + { + "name": "dockspace_id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Docking", + "// [BETA API] Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable.", + "// Note: You can use most Docking facilities without calling any API. You DO NOT need to call DockSpace() to use Docking!", + "// - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking.", + "// - Drag from window menu button (upper-left button) to undock an entire node (all windows).", + "// - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to enable docking.", + "// About dockspaces:", + "// - Use DockSpaceOverViewport() to create a window covering the screen or a specific viewport + a dockspace inside it.", + "// This is often used with ImGuiDockNodeFlags_PassthruCentralNode to make it transparent.", + "// - Use DockSpace() to create an explicit dock node _within_ an existing window. See Docking demo for details.", + "// - Important: Dockspaces need to be submitted _before_ any window they can host. Submit it early in your frame!", + "// - Important: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked.", + "// e.g. if you have multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly." + ], + "attached": "// Implied size = ImVec2(0, 0), flags = 0, window_class = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 860 + } + }, + { + "name": "ImGui_DockSpaceEx", + "original_fully_qualified_name": "ImGui::DockSpace", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [ + { + "name": "dockspace_id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiDockNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiDockNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "window_class", + "type": { + "declaration": "const ImGuiWindowClass*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiWindowClass", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 860 + } + }, + { + "name": "ImGui_DockSpaceOverViewport", + "original_fully_qualified_name": "ImGui::DockSpaceOverViewport", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied dockspace_id = 0, viewport = NULL, flags = 0, window_class = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 861 + } + }, + { + "name": "ImGui_DockSpaceOverViewportEx", + "original_fully_qualified_name": "ImGui::DockSpaceOverViewport", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [ + { + "name": "dockspace_id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "viewport", + "type": { + "declaration": "const ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiDockNodeFlags", + "description": { + "kind": "User", + "name": "ImGuiDockNodeFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "window_class", + "type": { + "declaration": "const ImGuiWindowClass*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiWindowClass", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 861 + } + }, + { + "name": "ImGui_SetNextWindowDockID", + "original_fully_qualified_name": "ImGui::SetNextWindowDockID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "dock_id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window dock id" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 862 + } + }, + { + "name": "ImGui_SetNextWindowClass", + "original_fully_qualified_name": "ImGui::SetNextWindowClass", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "window_class", + "type": { + "declaration": "const ImGuiWindowClass*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiWindowClass", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set next window class (control docking compatibility + provide hints to platform backend via custom viewport flags and platform parent/child relationship)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 863 + } + }, + { + "name": "ImGui_GetWindowDockID", + "original_fully_qualified_name": "ImGui::GetWindowDockID", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 864 + } + }, + { + "name": "ImGui_IsWindowDocked", + "original_fully_qualified_name": "ImGui::IsWindowDocked", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is current window docked into another window?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 865 + } + }, + { + "name": "ImGui_LogToTTY", + "original_fully_qualified_name": "ImGui::LogToTTY", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "auto_open_depth", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Logging/Capture", + "// - All text output from the interface can be captured into tty/file/clipboard. By default, tree nodes are automatically opened during logging." + ], + "attached": "// start logging to tty (stdout)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 869 + } + }, + { + "name": "ImGui_LogToFile", + "original_fully_qualified_name": "ImGui::LogToFile", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "auto_open_depth", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + }, + { + "name": "filename", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// start logging to file" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 870 + } + }, + { + "name": "ImGui_LogToClipboard", + "original_fully_qualified_name": "ImGui::LogToClipboard", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "auto_open_depth", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// start logging to OS clipboard" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 871 + } + }, + { + "name": "ImGui_LogFinish", + "original_fully_qualified_name": "ImGui::LogFinish", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// stop logging (close file, etc.)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 872 + } + }, + { + "name": "ImGui_LogButtons", + "original_fully_qualified_name": "ImGui::LogButtons", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// helper to display buttons for logging to tty/file/clipboard" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 873 + } + }, + { + "name": "ImGui_LogText", + "original_fully_qualified_name": "ImGui::LogText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg1__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// pass text data straight to log (without being displayed)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 874 + } + }, + { + "name": "ImGui_LogTextV", + "original_fully_qualified_name": "ImGui::LogTextV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 875 + } + }, + { + "name": "ImGui_BeginDragDropSource", + "original_fully_qualified_name": "ImGui::BeginDragDropSource", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "flags", + "type": { + "declaration": "ImGuiDragDropFlags", + "description": { + "kind": "User", + "name": "ImGuiDragDropFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Drag and Drop", + "// - On source items, call BeginDragDropSource(), if it returns true also call SetDragDropPayload() + EndDragDropSource().", + "// - On target candidates, call BeginDragDropTarget(), if it returns true also call AcceptDragDropPayload() + EndDragDropTarget().", + "// - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback \"...\" tooltip, see #1725)", + "// - An item can be both drag source and drop target." + ], + "attached": "// call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 882 + } + }, + { + "name": "ImGui_SetDragDropPayload", + "original_fully_qualified_name": "ImGui::SetDragDropPayload", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "type", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "data", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "sz", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "cond", + "type": { + "declaration": "ImGuiCond", + "description": { + "kind": "User", + "name": "ImGuiCond" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 883 + } + }, + { + "name": "ImGui_EndDragDropSource", + "original_fully_qualified_name": "ImGui::EndDragDropSource", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndDragDropSource() if BeginDragDropSource() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 884 + } + }, + { + "name": "ImGui_BeginDragDropTarget", + "original_fully_qualified_name": "ImGui::BeginDragDropTarget", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 885 + } + }, + { + "name": "ImGui_AcceptDragDropPayload", + "original_fully_qualified_name": "ImGui::AcceptDragDropPayload", + "return_type": { + "declaration": "const ImGuiPayload*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiPayload", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "type", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiDragDropFlags", + "description": { + "kind": "User", + "name": "ImGuiDragDropFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 886 + } + }, + { + "name": "ImGui_EndDragDropTarget", + "original_fully_qualified_name": "ImGui::EndDragDropTarget", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// only call EndDragDropTarget() if BeginDragDropTarget() returns true!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 887 + } + }, + { + "name": "ImGui_GetDragDropPayload", + "original_fully_qualified_name": "ImGui::GetDragDropPayload", + "return_type": { + "declaration": "const ImGuiPayload*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiPayload", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// peek directly into the current payload from anywhere. returns NULL when drag and drop is finished or inactive. use ImGuiPayload::IsDataType() to test for the payload type." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 888 + } + }, + { + "name": "ImGui_BeginDisabled", + "original_fully_qualified_name": "ImGui::BeginDisabled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "disabled", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Disabling [BETA API]", + "// - Disable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors)", + "// - 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)", + "// - Tooltips windows by exception are opted out of disabling.", + "// - 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." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 895 + } + }, + { + "name": "ImGui_EndDisabled", + "original_fully_qualified_name": "ImGui::EndDisabled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 896 + } + }, + { + "name": "ImGui_PushClipRect", + "original_fully_qualified_name": "ImGui::PushClipRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "clip_rect_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "clip_rect_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "intersect_with_current_clip_rect", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Clipping", + "// - Mouse hovering is affected by ImGui::PushClipRect() calls, unlike direct calls to ImDrawList::PushClipRect() which are render only." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 900 + } + }, + { + "name": "ImGui_PopClipRect", + "original_fully_qualified_name": "ImGui::PopClipRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 901 + } + }, + { + "name": "ImGui_SetItemDefaultFocus", + "original_fully_qualified_name": "ImGui::SetItemDefaultFocus", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Focus, Activation", + "// - Prefer using \"SetItemDefaultFocus()\" over \"if (IsWindowAppearing()) SetScrollHereY()\" when applicable to signify \"this is the default item\"" + ], + "attached": "// make last item the default focused item of a window." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 905 + } + }, + { + "name": "ImGui_SetKeyboardFocusHere", + "original_fully_qualified_name": "ImGui::SetKeyboardFocusHere", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied offset = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 906 + } + }, + { + "name": "ImGui_SetKeyboardFocusHereEx", + "original_fully_qualified_name": "ImGui::SetKeyboardFocusHere", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "offset", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 906 + } + }, + { + "name": "ImGui_SetNextItemAllowOverlap", + "original_fully_qualified_name": "ImGui::SetNextItemAllowOverlap", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Overlapping mode" + ], + "attached": "// allow next item to be overlapped by a subsequent item. Useful with invisible buttons, selectable, treenode covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 909 + } + }, + { + "name": "ImGui_IsItemHovered", + "original_fully_qualified_name": "ImGui::IsItemHovered", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "flags", + "type": { + "declaration": "ImGuiHoveredFlags", + "description": { + "kind": "User", + "name": "ImGuiHoveredFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Item/Widgets Utilities and Query Functions", + "// - Most of the functions are referring to the previous Item that has been submitted.", + "// - See Demo Window under \"Widgets->Querying Status\" for an interactive visualization of most of those functions." + ], + "attached": "// is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 914 + } + }, + { + "name": "ImGui_IsItemActive", + "original_fully_qualified_name": "ImGui::IsItemActive", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 915 + } + }, + { + "name": "ImGui_IsItemFocused", + "original_fully_qualified_name": "ImGui::IsItemFocused", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is the last item focused for keyboard/gamepad navigation?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 916 + } + }, + { + "name": "ImGui_IsItemClicked", + "original_fully_qualified_name": "ImGui::IsItemClicked", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied mouse_button = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 917 + } + }, + { + "name": "ImGui_IsItemClickedEx", + "original_fully_qualified_name": "ImGui::IsItemClicked", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "mouse_button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 917 + } + }, + { + "name": "ImGui_IsItemVisible", + "original_fully_qualified_name": "ImGui::IsItemVisible", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is the last item visible? (items may be out of sight because of clipping/scrolling)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 918 + } + }, + { + "name": "ImGui_IsItemEdited", + "original_fully_qualified_name": "ImGui::IsItemEdited", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// did the last item modify its underlying value this frame? or was pressed? This is generally the same as the \"bool\" return value of many widgets." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 919 + } + }, + { + "name": "ImGui_IsItemActivated", + "original_fully_qualified_name": "ImGui::IsItemActivated", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// was the last item just made active (item was previously inactive)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 920 + } + }, + { + "name": "ImGui_IsItemDeactivated", + "original_fully_qualified_name": "ImGui::IsItemDeactivated", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 921 + } + }, + { + "name": "ImGui_IsItemDeactivatedAfterEdit", + "original_fully_qualified_name": "ImGui::IsItemDeactivatedAfterEdit", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 922 + } + }, + { + "name": "ImGui_IsItemToggledOpen", + "original_fully_qualified_name": "ImGui::IsItemToggledOpen", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// was the last item open state toggled? set by TreeNode()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 923 + } + }, + { + "name": "ImGui_IsAnyItemHovered", + "original_fully_qualified_name": "ImGui::IsAnyItemHovered", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is any item hovered?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 924 + } + }, + { + "name": "ImGui_IsAnyItemActive", + "original_fully_qualified_name": "ImGui::IsAnyItemActive", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is any item active?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 925 + } + }, + { + "name": "ImGui_IsAnyItemFocused", + "original_fully_qualified_name": "ImGui::IsAnyItemFocused", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is any item focused?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 926 + } + }, + { + "name": "ImGui_GetItemID", + "original_fully_qualified_name": "ImGui::GetItemID", + "return_type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get ID of last item (~~ often same ImGui::GetID(label) beforehand)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 927 + } + }, + { + "name": "ImGui_GetItemRectMin", + "original_fully_qualified_name": "ImGui::GetItemRectMin", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get upper-left bounding rectangle of the last item (screen space)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 928 + } + }, + { + "name": "ImGui_GetItemRectMax", + "original_fully_qualified_name": "ImGui::GetItemRectMax", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get lower-right bounding rectangle of the last item (screen space)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 929 + } + }, + { + "name": "ImGui_GetItemRectSize", + "original_fully_qualified_name": "ImGui::GetItemRectSize", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get size of last item" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 930 + } + }, + { + "name": "ImGui_GetMainViewport", + "original_fully_qualified_name": "ImGui::GetMainViewport", + "return_type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Viewports", + "// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.", + "// - In 'docking' branch with multi-viewport enabled, we extend this concept to have multiple active viewports.", + "// - In the future we will extend this concept further to also represent Platform Monitor and support a \"no main platform window\" operation mode." + ], + "attached": "// return primary/default viewport. This can never be NULL." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 936 + } + }, + { + "name": "ImGui_GetBackgroundDrawList", + "original_fully_qualified_name": "ImGui::GetBackgroundDrawList", + "return_type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Background/Foreground Draw Lists" + ], + "attached": "// Implied viewport = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 939 + } + }, + { + "name": "ImGui_GetBackgroundDrawListEx", + "original_fully_qualified_name": "ImGui::GetBackgroundDrawList", + "return_type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "arguments": [ + { + "name": "viewport", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 939 + } + }, + { + "name": "ImGui_GetForegroundDrawList", + "original_fully_qualified_name": "ImGui::GetForegroundDrawList", + "return_type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied viewport = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 940 + } + }, + { + "name": "ImGui_GetForegroundDrawListEx", + "original_fully_qualified_name": "ImGui::GetForegroundDrawList", + "return_type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "arguments": [ + { + "name": "viewport", + "type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapes/text over dear imgui contents." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 940 + } + }, + { + "name": "ImGui_IsRectVisibleBySize", + "original_fully_qualified_name": "ImGui::IsRectVisible", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Miscellaneous Utilities" + ], + "attached": "// test if rectangle (of given size, starting from cursor position) is visible / not clipped." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 943 + } + }, + { + "name": "ImGui_IsRectVisible", + "original_fully_qualified_name": "ImGui::IsRectVisible", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "rect_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rect_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 944 + } + }, + { + "name": "ImGui_GetTime", + "original_fully_qualified_name": "ImGui::GetTime", + "return_type": { + "declaration": "double", + "description": { + "kind": "Builtin", + "builtin_type": "double" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get global imgui time. incremented by io.DeltaTime every frame." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 945 + } + }, + { + "name": "ImGui_GetFrameCount", + "original_fully_qualified_name": "ImGui::GetFrameCount", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get global imgui frame count. incremented by 1 every frame." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 946 + } + }, + { + "name": "ImGui_GetDrawListSharedData", + "original_fully_qualified_name": "ImGui::GetDrawListSharedData", + "return_type": { + "declaration": "ImDrawListSharedData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawListSharedData" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// you may use this when creating your own ImDrawList instances." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 947 + } + }, + { + "name": "ImGui_GetStyleColorName", + "original_fully_qualified_name": "ImGui::GetStyleColorName", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiCol", + "description": { + "kind": "User", + "name": "ImGuiCol" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get a string corresponding to the enum value (for display, saving, etc.)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 948 + } + }, + { + "name": "ImGui_SetStateStorage", + "original_fully_qualified_name": "ImGui::SetStateStorage", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "storage", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 949 + } + }, + { + "name": "ImGui_GetStateStorage", + "original_fully_qualified_name": "ImGui::GetStateStorage", + "return_type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 950 + } + }, + { + "name": "ImGui_CalcTextSize", + "original_fully_qualified_name": "ImGui::CalcTextSize", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Text Utilities" + ], + "attached": "// Implied text_end = NULL, hide_text_after_double_hash = false, wrap_width = -1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 953 + } + }, + { + "name": "ImGui_CalcTextSizeEx", + "original_fully_qualified_name": "ImGui::CalcTextSize", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "hide_text_after_double_hash", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + }, + { + "name": "wrap_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 953 + } + }, + { + "name": "ImGui_ColorConvertU32ToFloat4", + "original_fully_qualified_name": "ImGui::ColorConvertU32ToFloat4", + "return_type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "arguments": [ + { + "name": "in", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Color Utilities" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 956 + } + }, + { + "name": "ImGui_ColorConvertFloat4ToU32", + "original_fully_qualified_name": "ImGui::ColorConvertFloat4ToU32", + "return_type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "arguments": [ + { + "name": "in", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 957 + } + }, + { + "name": "ImGui_ColorConvertRGBtoHSV", + "original_fully_qualified_name": "ImGui::ColorConvertRGBtoHSV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "r", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "g", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "b", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_h", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_s", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_v", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 958 + } + }, + { + "name": "ImGui_ColorConvertHSVtoRGB", + "original_fully_qualified_name": "ImGui::ColorConvertHSVtoRGB", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "h", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "s", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_r", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_g", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_b", + "type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 959 + } + }, + { + "name": "ImGui_IsKeyDown", + "original_fully_qualified_name": "ImGui::IsKeyDown", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Inputs Utilities: Keyboard/Mouse/Gamepad", + "// - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...).", + "// - before v1.87, we used ImGuiKey to carry native/user indices as defined by each backends. About use of those legacy ImGuiKey values:", + "// - without IMGUI_DISABLE_OBSOLETE_KEYIO (legacy support): you can still use your legacy native/user indices (< 512) according to how your backend/engine stored them in io.KeysDown[], but need to cast them to ImGuiKey.", + "// - with IMGUI_DISABLE_OBSOLETE_KEYIO (this is the way forward): any use of ImGuiKey will assert with key < 512. GetKeyIndex() is pass-through and therefore deprecated (gone if IMGUI_DISABLE_OBSOLETE_KEYIO is defined)." + ], + "attached": "// is key being held." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 966 + } + }, + { + "name": "ImGui_IsKeyPressed", + "original_fully_qualified_name": "ImGui::IsKeyPressed", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied repeat = true" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 967 + } + }, + { + "name": "ImGui_IsKeyPressedEx", + "original_fully_qualified_name": "ImGui::IsKeyPressed", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "repeat", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 967 + } + }, + { + "name": "ImGui_IsKeyReleased", + "original_fully_qualified_name": "ImGui::IsKeyReleased", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// was key released (went from Down to !Down)?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 968 + } + }, + { + "name": "ImGui_IsKeyChordPressed", + "original_fully_qualified_name": "ImGui::IsKeyChordPressed", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "key_chord", + "type": { + "declaration": "ImGuiKeyChord", + "description": { + "kind": "User", + "name": "ImGuiKeyChord" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 969 + } + }, + { + "name": "ImGui_GetKeyPressedAmount", + "original_fully_qualified_name": "ImGui::GetKeyPressedAmount", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "repeat_delay", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rate", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 970 + } + }, + { + "name": "ImGui_GetKeyName", + "original_fully_qualified_name": "ImGui::GetKeyName", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [DEBUG] returns English name of the key. Those names a provided for debugging purpose and are not meant to be saved persistently not compared." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 971 + } + }, + { + "name": "ImGui_SetNextFrameWantCaptureKeyboard", + "original_fully_qualified_name": "ImGui::SetNextFrameWantCaptureKeyboard", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "want_capture_keyboard", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting \"io.WantCaptureKeyboard = want_capture_keyboard\"; after the next NewFrame() call." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 972 + } + }, + { + "name": "ImGui_Shortcut", + "original_fully_qualified_name": "ImGui::Shortcut", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "key_chord", + "type": { + "declaration": "ImGuiKeyChord", + "description": { + "kind": "User", + "name": "ImGuiKeyChord" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputFlags", + "description": { + "kind": "User", + "name": "ImGuiInputFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Inputs Utilities: Shortcut Testing & Routing [BETA]", + "// - ImGuiKeyChord = a ImGuiKey + optional ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super.", + "// ImGuiKey_C // Accepted by functions taking ImGuiKey or ImGuiKeyChord arguments)", + "// ImGuiMod_Ctrl | ImGuiKey_C // Accepted by functions taking ImGuiKeyChord arguments)", + "// only ImGuiMod_XXX values are legal to combine with an ImGuiKey. You CANNOT combine two ImGuiKey values.", + "// - The general idea is that several callers may register interest in a shortcut, and only one owner gets it.", + "// Parent -> call Shortcut(Ctrl+S) // When Parent is focused, Parent gets the shortcut.", + "// Child1 -> call Shortcut(Ctrl+S) // When Child1 is focused, Child1 gets the shortcut (Child1 overrides Parent shortcuts)", + "// Child2 -> no call // When Child2 is focused, Parent gets the shortcut.", + "// The whole system is order independent, so if Child1 makes its calls before Parent, results will be identical.", + "// This is an important property as it facilitate working with foreign code or larger codebase.", + "// - To understand the difference:", + "// - IsKeyChordPressed() compares mods and call IsKeyPressed() -> function has no side-effect.", + "// - 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.", + "// - Visualize registered routes in 'Metrics/Debugger->Inputs'." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 989 + } + }, + { + "name": "ImGui_SetNextItemShortcut", + "original_fully_qualified_name": "ImGui::SetNextItemShortcut", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "key_chord", + "type": { + "declaration": "ImGuiKeyChord", + "description": { + "kind": "User", + "name": "ImGuiKeyChord" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImGuiInputFlags", + "description": { + "kind": "User", + "name": "ImGuiInputFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 990 + } + }, + { + "name": "ImGui_IsMouseDown", + "original_fully_qualified_name": "ImGui::IsMouseDown", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Inputs Utilities: Mouse specific", + "// - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right.", + "// - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle.", + "// - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold')" + ], + "attached": "// is mouse button held?" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 996 + } + }, + { + "name": "ImGui_IsMouseClicked", + "original_fully_qualified_name": "ImGui::IsMouseClicked", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied repeat = false" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 997 + } + }, + { + "name": "ImGui_IsMouseClickedEx", + "original_fully_qualified_name": "ImGui::IsMouseClicked", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "repeat", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 997 + } + }, + { + "name": "ImGui_IsMouseReleased", + "original_fully_qualified_name": "ImGui::IsMouseReleased", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// did mouse button released? (went from Down to !Down)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 998 + } + }, + { + "name": "ImGui_IsMouseDoubleClicked", + "original_fully_qualified_name": "ImGui::IsMouseDoubleClicked", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// did mouse button double-clicked? Same as GetMouseClickedCount() == 2. (note that a double-click will also report IsMouseClicked() == true)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 999 + } + }, + { + "name": "ImGui_GetMouseClickedCount", + "original_fully_qualified_name": "ImGui::GetMouseClickedCount", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return the number of successive mouse-clicks at the time where a click happen (otherwise 0)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1000 + } + }, + { + "name": "ImGui_IsMouseHoveringRect", + "original_fully_qualified_name": "ImGui::IsMouseHoveringRect", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "r_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "r_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied clip = true" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1001 + } + }, + { + "name": "ImGui_IsMouseHoveringRectEx", + "original_fully_qualified_name": "ImGui::IsMouseHoveringRect", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "r_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "r_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "clip", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1001 + } + }, + { + "name": "ImGui_IsMousePosValid", + "original_fully_qualified_name": "ImGui::IsMousePosValid", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "mouse_pos", + "type": { + "declaration": "const ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1002 + } + }, + { + "name": "ImGui_IsAnyMouseDown", + "original_fully_qualified_name": "ImGui::IsAnyMouseDown", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1003 + } + }, + { + "name": "ImGui_GetMousePos", + "original_fully_qualified_name": "ImGui::GetMousePos", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1004 + } + }, + { + "name": "ImGui_GetMousePosOnOpeningCurrentPopup", + "original_fully_qualified_name": "ImGui::GetMousePosOnOpeningCurrentPopup", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1005 + } + }, + { + "name": "ImGui_IsMouseDragging", + "original_fully_qualified_name": "ImGui::IsMouseDragging", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "lock_threshold", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1006 + } + }, + { + "name": "ImGui_GetMouseDragDelta", + "original_fully_qualified_name": "ImGui::GetMouseDragDelta", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "lock_threshold", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1007 + } + }, + { + "name": "ImGui_ResetMouseDragDelta", + "original_fully_qualified_name": "ImGui::ResetMouseDragDelta", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied button = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1008 + } + }, + { + "name": "ImGui_ResetMouseDragDeltaEx", + "original_fully_qualified_name": "ImGui::ResetMouseDragDelta", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "button", + "type": { + "declaration": "ImGuiMouseButton", + "description": { + "kind": "User", + "name": "ImGuiMouseButton" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "//" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1008 + } + }, + { + "name": "ImGui_GetMouseCursor", + "original_fully_qualified_name": "ImGui::GetMouseCursor", + "return_type": { + "declaration": "ImGuiMouseCursor", + "description": { + "kind": "User", + "name": "ImGuiMouseCursor" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1009 + } + }, + { + "name": "ImGui_SetMouseCursor", + "original_fully_qualified_name": "ImGui::SetMouseCursor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "cursor_type", + "type": { + "declaration": "ImGuiMouseCursor", + "description": { + "kind": "User", + "name": "ImGuiMouseCursor" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// set desired mouse cursor shape" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1010 + } + }, + { + "name": "ImGui_SetNextFrameWantCaptureMouse", + "original_fully_qualified_name": "ImGui::SetNextFrameWantCaptureMouse", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "want_capture_mouse", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting \"io.WantCaptureMouse = want_capture_mouse;\" after the next NewFrame() call." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1011 + } + }, + { + "name": "ImGui_GetClipboardText", + "original_fully_qualified_name": "ImGui::GetClipboardText", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Clipboard Utilities", + "// - Also see the LogToClipboard() function to capture GUI into clipboard, or easily output text data to the clipboard." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1015 + } + }, + { + "name": "ImGui_SetClipboardText", + "original_fully_qualified_name": "ImGui::SetClipboardText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1016 + } + }, + { + "name": "ImGui_LoadIniSettingsFromDisk", + "original_fully_qualified_name": "ImGui::LoadIniSettingsFromDisk", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ini_filename", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Settings/.Ini Utilities", + "// - The disk functions are automatically called if io.IniFilename != NULL (default is \"imgui.ini\").", + "// - Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually.", + "// - Important: default value \"imgui.ini\" is relative to current working dir! Most apps will want to lock this to an absolute path (e.g. same path as executables)." + ], + "attached": "// call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1022 + } + }, + { + "name": "ImGui_LoadIniSettingsFromMemory", + "original_fully_qualified_name": "ImGui::LoadIniSettingsFromMemory", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ini_data", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "ini_size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1023 + } + }, + { + "name": "ImGui_SaveIniSettingsToDisk", + "original_fully_qualified_name": "ImGui::SaveIniSettingsToDisk", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ini_filename", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1024 + } + }, + { + "name": "ImGui_SaveIniSettingsToMemory", + "original_fully_qualified_name": "ImGui::SaveIniSettingsToMemory", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "out_ini_size", + "type": { + "declaration": "size_t*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "size_t" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1025 + } + }, + { + "name": "ImGui_DebugTextEncoding", + "original_fully_qualified_name": "ImGui::DebugTextEncoding", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Debug Utilities", + "// - Your main debugging friend is the ShowMetricsWindow() function, which is also accessible from Demo->Tools->Metrics Debugger" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1029 + } + }, + { + "name": "ImGui_DebugFlashStyleColor", + "original_fully_qualified_name": "ImGui::DebugFlashStyleColor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "idx", + "type": { + "declaration": "ImGuiCol", + "description": { + "kind": "User", + "name": "ImGuiCol" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1030 + } + }, + { + "name": "ImGui_DebugStartItemPicker", + "original_fully_qualified_name": "ImGui::DebugStartItemPicker", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1031 + } + }, + { + "name": "ImGui_DebugCheckVersionAndDataLayout", + "original_fully_qualified_name": "ImGui::DebugCheckVersionAndDataLayout", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "version_str", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "sz_io", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "sz_style", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "sz_vec2", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "sz_vec4", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "sz_drawvert", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "sz_drawidx", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// This is called by IMGUI_CHECKVERSION() macro." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1032 + } + }, + { + "name": "ImGui_SetAllocatorFunctions", + "original_fully_qualified_name": "ImGui::SetAllocatorFunctions", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "alloc_func", + "type": { + "declaration": "ImGuiMemAllocFunc", + "description": { + "kind": "User", + "name": "ImGuiMemAllocFunc" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "free_func", + "type": { + "declaration": "ImGuiMemFreeFunc", + "description": { + "kind": "User", + "name": "ImGuiMemFreeFunc" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Memory Allocators", + "// - Those functions are not reliant on the current context.", + "// - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()", + "// for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for more details." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1038 + } + }, + { + "name": "ImGui_GetAllocatorFunctions", + "original_fully_qualified_name": "ImGui::GetAllocatorFunctions", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "p_alloc_func", + "type": { + "declaration": "ImGuiMemAllocFunc*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiMemAllocFunc" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_free_func", + "type": { + "declaration": "ImGuiMemFreeFunc*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiMemFreeFunc" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_user_data", + "type": { + "declaration": "void**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1039 + } + }, + { + "name": "ImGui_MemAlloc", + "original_fully_qualified_name": "ImGui::MemAlloc", + "return_type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "arguments": [ + { + "name": "size", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1040 + } + }, + { + "name": "ImGui_MemFree", + "original_fully_qualified_name": "ImGui::MemFree", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "ptr", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1041 + } + }, + { + "name": "ImGui_GetPlatformIO", + "original_fully_qualified_name": "ImGui::GetPlatformIO", + "return_type": { + "declaration": "ImGuiPlatformIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiPlatformIO" + } + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// (Optional) Platform/OS interface for multi-viewport support", + "// Read comments around the ImGuiPlatformIO structure for more details.", + "// Note: You may use GetWindowViewport() to get the current viewport of the current window." + ], + "attached": "// platform/renderer functions, for backend to setup + viewports list." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1046 + } + }, + { + "name": "ImGui_UpdatePlatformWindows", + "original_fully_qualified_name": "ImGui::UpdatePlatformWindows", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// call in main loop. will call CreateWindow/ResizeWindow/etc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1047 + } + }, + { + "name": "ImGui_RenderPlatformWindowsDefault", + "original_fully_qualified_name": "ImGui::RenderPlatformWindowsDefault", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied platform_render_arg = NULL, renderer_render_arg = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1048 + } + }, + { + "name": "ImGui_RenderPlatformWindowsDefaultEx", + "original_fully_qualified_name": "ImGui::RenderPlatformWindowsDefault", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "platform_render_arg", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "renderer_render_arg", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// call in main loop. will call RenderWindow/SwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1048 + } + }, + { + "name": "ImGui_DestroyPlatformWindows", + "original_fully_qualified_name": "ImGui::DestroyPlatformWindows", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext()." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1049 + } + }, + { + "name": "ImGui_FindViewportByID", + "original_fully_qualified_name": "ImGui::FindViewportByID", + "return_type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "arguments": [ + { + "name": "id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// this is a helper for backends." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1050 + } + }, + { + "name": "ImGui_FindViewportByPlatformHandle", + "original_fully_qualified_name": "ImGui::FindViewportByPlatformHandle", + "return_type": { + "declaration": "ImGuiViewport*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGuiViewport" + } + } + }, + "arguments": [ + { + "name": "platform_handle", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// this is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1051 + } + }, + { + "name": "ImVector_Construct", + "original_fully_qualified_name": "ImVector_Construct", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vector", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": true, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Construct a zero-size ImVector<> (of any type). This is primarily useful when calling ImFontGlyphRangesBuilder_BuildRanges()" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1 + } + }, + { + "name": "ImVector_Destruct", + "original_fully_qualified_name": "ImVector_Destruct", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "vector", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": true, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Destruct an ImVector<> (of any type). Important: Frees the vector memory but does not call destructors on contained objects (if they have them)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1 + } + }, + { + "name": "ImStr_FromCharStr", + "original_fully_qualified_name": "ImStr_FromCharStr", + "return_type": { + "declaration": "ImStr", + "description": { + "kind": "User", + "name": "ImStr" + } + }, + "arguments": [ + { + "name": "b", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": true, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Build an ImStr from a regular const char* (no data is copied, so you need to make sure the original char* isn't altered as long as you are using the ImStr)." + }, + "conditionals": [ + { + "condition": "if", + "expression": "defined(IMGUI_HAS_IMSTR)" + }, + { + "condition": "if", + "expression": "IMGUI_HAS_IMSTR" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 1 + } + }, + { + "name": "ImGuiStyle_ScaleAllSizes", + "original_fully_qualified_name": "ScaleAllSizes", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStyle*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStyle" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "scale_factor", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStyle", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2203 + } + }, + { + "name": "ImGuiIO_AddKeyEvent", + "original_fully_qualified_name": "AddKeyEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "down", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "preceding": [ + "// Input Functions" + ], + "attached": "// Queue a new key down/up event. Key should be \"translated\" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2333 + } + }, + { + "name": "ImGuiIO_AddKeyAnalogEvent", + "original_fully_qualified_name": "AddKeyAnalogEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "down", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a new key down/up event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2334 + } + }, + { + "name": "ImGuiIO_AddMousePosEvent", + "original_fully_qualified_name": "AddMousePosEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "y", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2335 + } + }, + { + "name": "ImGuiIO_AddMouseButtonEvent", + "original_fully_qualified_name": "AddMouseButtonEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "button", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "down", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a mouse button change" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2336 + } + }, + { + "name": "ImGuiIO_AddMouseWheelEvent", + "original_fully_qualified_name": "AddMouseWheelEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "wheel_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "wheel_y", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2337 + } + }, + { + "name": "ImGuiIO_AddMouseSourceEvent", + "original_fully_qualified_name": "AddMouseSourceEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "source", + "type": { + "declaration": "ImGuiMouseSource", + "description": { + "kind": "User", + "name": "ImGuiMouseSource" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a mouse source change (Mouse/TouchScreen/Pen)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2338 + } + }, + { + "name": "ImGuiIO_AddMouseViewportEvent", + "original_fully_qualified_name": "AddMouseViewportEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2339 + } + }, + { + "name": "ImGuiIO_AddFocusEvent", + "original_fully_qualified_name": "AddFocusEvent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "focused", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2340 + } + }, + { + "name": "ImGuiIO_AddInputCharacter", + "original_fully_qualified_name": "AddInputCharacter", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c", + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a new character input" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2341 + } + }, + { + "name": "ImGuiIO_AddInputCharacterUTF16", + "original_fully_qualified_name": "AddInputCharacterUTF16", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c", + "type": { + "declaration": "ImWchar16", + "description": { + "kind": "User", + "name": "ImWchar16" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a new character input from a UTF-16 character, it can be a surrogate" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2342 + } + }, + { + "name": "ImGuiIO_AddInputCharactersUTF8", + "original_fully_qualified_name": "AddInputCharactersUTF8", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "str", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Queue a new characters input from a UTF-8 string" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2343 + } + }, + { + "name": "ImGuiIO_SetKeyEventNativeData", + "original_fully_qualified_name": "SetKeyEventNativeData", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "native_keycode", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "native_scancode", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Implied native_legacy_index = -1" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2345 + } + }, + { + "name": "ImGuiIO_SetKeyEventNativeDataEx", + "original_fully_qualified_name": "SetKeyEventNativeData", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "native_keycode", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "native_scancode", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "native_legacy_index", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2345 + } + }, + { + "name": "ImGuiIO_SetAppAcceptingEvents", + "original_fully_qualified_name": "SetAppAcceptingEvents", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "accepting_events", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2346 + } + }, + { + "name": "ImGuiIO_ClearEventsQueue", + "original_fully_qualified_name": "ClearEventsQueue", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Clear all incoming events." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2347 + } + }, + { + "name": "ImGuiIO_ClearInputKeys", + "original_fully_qualified_name": "ClearInputKeys", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2348 + } + }, + { + "name": "ImGuiIO_ClearInputMouse", + "original_fully_qualified_name": "ClearInputMouse", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// Clear current mouse state." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2349 + } + }, + { + "name": "ImGuiIO_ClearInputCharacters", + "original_fully_qualified_name": "ClearInputCharacters", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiIO*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiIO" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiIO", + "comments": { + "attached": "// [Obsoleted in 1.89.8] Clear the current frame text input buffer. Now included within ClearInputKeys()." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2351 + } + }, + { + "name": "ImGuiInputTextCallbackData_DeleteChars", + "original_fully_qualified_name": "DeleteChars", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiInputTextCallbackData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiInputTextCallbackData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "bytes_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiInputTextCallbackData", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2473 + } + }, + { + "name": "ImGuiInputTextCallbackData_InsertChars", + "original_fully_qualified_name": "InsertChars", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiInputTextCallbackData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiInputTextCallbackData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiInputTextCallbackData", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2474 + } + }, + { + "name": "ImGuiInputTextCallbackData_SelectAll", + "original_fully_qualified_name": "SelectAll", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiInputTextCallbackData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiInputTextCallbackData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiInputTextCallbackData", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2475 + } + }, + { + "name": "ImGuiInputTextCallbackData_ClearSelection", + "original_fully_qualified_name": "ClearSelection", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiInputTextCallbackData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiInputTextCallbackData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiInputTextCallbackData", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2476 + } + }, + { + "name": "ImGuiInputTextCallbackData_HasSelection", + "original_fully_qualified_name": "HasSelection", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiInputTextCallbackData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiInputTextCallbackData", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiInputTextCallbackData", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2477 + } + }, + { + "name": "ImGuiPayload_Clear", + "original_fully_qualified_name": "Clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiPayload*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiPayload" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiPayload", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2528 + } + }, + { + "name": "ImGuiPayload_IsDataType", + "original_fully_qualified_name": "IsDataType", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiPayload*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiPayload", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "type", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiPayload", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2529 + } + }, + { + "name": "ImGuiPayload_IsPreview", + "original_fully_qualified_name": "IsPreview", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiPayload*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiPayload", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiPayload", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2530 + } + }, + { + "name": "ImGuiPayload_IsDelivery", + "original_fully_qualified_name": "IsDelivery", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiPayload*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiPayload", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiPayload", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2531 + } + }, + { + "name": "ImGuiTextFilter_ImGuiTextRange_empty", + "original_fully_qualified_name": "empty", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextFilter_ImGuiTextRange*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter_ImGuiTextRange", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextFilter_ImGuiTextRange", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2573 + } + }, + { + "name": "ImGuiTextFilter_ImGuiTextRange_split", + "original_fully_qualified_name": "split", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextFilter_ImGuiTextRange*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter_ImGuiTextRange", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "separator", + "type": { + "declaration": "char", + "description": { + "kind": "Builtin", + "builtin_type": "char" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out", + "type": { + "declaration": "ImVector_ImGuiTextFilter_ImGuiTextRange*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVector_ImGuiTextFilter_ImGuiTextRange" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextFilter_ImGuiTextRange", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2574 + } + }, + { + "name": "ImGuiTextFilter_Draw", + "original_fully_qualified_name": "Draw", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextFilter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "\"Filter (inc,-exc)\"", + "is_instance_pointer": false + }, + { + "name": "width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextFilter", + "comments": { + "attached": "// Helper calling InputText+Build" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2559 + } + }, + { + "name": "ImGuiTextFilter_PassFilter", + "original_fully_qualified_name": "PassFilter", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextFilter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextFilter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2560 + } + }, + { + "name": "ImGuiTextFilter_Build", + "original_fully_qualified_name": "Build", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextFilter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextFilter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2561 + } + }, + { + "name": "ImGuiTextFilter_Clear", + "original_fully_qualified_name": "Clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextFilter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextFilter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2562 + } + }, + { + "name": "ImGuiTextFilter_IsActive", + "original_fully_qualified_name": "IsActive", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextFilter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextFilter", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextFilter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2563 + } + }, + { + "name": "ImGuiTextBuffer_begin", + "original_fully_qualified_name": "begin", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2590 + } + }, + { + "name": "ImGuiTextBuffer_end", + "original_fully_qualified_name": "end", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "comments": { + "attached": "// Buf is zero-terminated, so end() will point on the zero-terminator" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2591 + } + }, + { + "name": "ImGuiTextBuffer_size", + "original_fully_qualified_name": "size", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2592 + } + }, + { + "name": "ImGuiTextBuffer_empty", + "original_fully_qualified_name": "empty", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2593 + } + }, + { + "name": "ImGuiTextBuffer_clear", + "original_fully_qualified_name": "clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2594 + } + }, + { + "name": "ImGuiTextBuffer_reserve", + "original_fully_qualified_name": "reserve", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "capacity", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2595 + } + }, + { + "name": "ImGuiTextBuffer_c_str", + "original_fully_qualified_name": "c_str", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2596 + } + }, + { + "name": "ImGuiTextBuffer_append", + "original_fully_qualified_name": "append", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "str", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "str_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2597 + } + }, + { + "name": "ImGuiTextBuffer_appendf", + "original_fully_qualified_name": "appendf", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "__unnamed_arg2__", + "is_array": false, + "is_varargs": true, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2598 + } + }, + { + "name": "ImGuiTextBuffer_appendfv", + "original_fully_qualified_name": "appendfv", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiTextBuffer*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiTextBuffer" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "fmt", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "args", + "type": { + "declaration": "va_list", + "description": { + "kind": "User", + "name": "va_list" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiTextBuffer", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2599 + } + }, + { + "name": "ImGuiStorage_Clear", + "original_fully_qualified_name": "Clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "comments": { + "preceding": [ + "// - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N)", + "// - Set***() functions find pair, insertion on demand if missing.", + "// - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2628 + } + }, + { + "name": "ImGuiStorage_GetInt", + "original_fully_qualified_name": "GetInt", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "default_val", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2629 + } + }, + { + "name": "ImGuiStorage_SetInt", + "original_fully_qualified_name": "SetInt", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "val", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2630 + } + }, + { + "name": "ImGuiStorage_GetBool", + "original_fully_qualified_name": "GetBool", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "default_val", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2631 + } + }, + { + "name": "ImGuiStorage_SetBool", + "original_fully_qualified_name": "SetBool", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "val", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2632 + } + }, + { + "name": "ImGuiStorage_GetFloat", + "original_fully_qualified_name": "GetFloat", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "default_val", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2633 + } + }, + { + "name": "ImGuiStorage_SetFloat", + "original_fully_qualified_name": "SetFloat", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "val", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2634 + } + }, + { + "name": "ImGuiStorage_GetVoidPtr", + "original_fully_qualified_name": "GetVoidPtr", + "return_type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "comments": { + "attached": "// default_val is NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2635 + } + }, + { + "name": "ImGuiStorage_SetVoidPtr", + "original_fully_qualified_name": "SetVoidPtr", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "val", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2636 + } + }, + { + "name": "ImGuiStorage_GetIntRef", + "original_fully_qualified_name": "GetIntRef", + "return_type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "default_val", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "comments": { + "preceding": [ + "// - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set.", + "// - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer.", + "// - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct)", + "// float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat(\"var\", pvar, 0, 100.0f); some_var += *pvar;" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2642 + } + }, + { + "name": "ImGuiStorage_GetBoolRef", + "original_fully_qualified_name": "GetBoolRef", + "return_type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "default_val", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2643 + } + }, + { + "name": "ImGuiStorage_GetFloatRef", + "original_fully_qualified_name": "GetFloatRef", + "return_type": { + "declaration": "float*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "float" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "default_val", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2644 + } + }, + { + "name": "ImGuiStorage_GetVoidPtrRef", + "original_fully_qualified_name": "GetVoidPtrRef", + "return_type": { + "declaration": "void**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "key", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "default_val", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2645 + } + }, + { + "name": "ImGuiStorage_BuildSortByKey", + "original_fully_qualified_name": "BuildSortByKey", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "comments": { + "preceding": [ + "// Advanced: for quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2648 + } + }, + { + "name": "ImGuiStorage_SetAllInt", + "original_fully_qualified_name": "SetAllInt", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiStorage*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiStorage" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "val", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiStorage", + "comments": { + "preceding": [ + "// Obsolete: use on your own storage if you know only integer are being stored (open/close all tree nodes)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2650 + } + }, + { + "name": "ImGuiListClipper_Begin", + "original_fully_qualified_name": "Begin", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiListClipper*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiListClipper" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_height", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiListClipper", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2691 + } + }, + { + "name": "ImGuiListClipper_End", + "original_fully_qualified_name": "End", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiListClipper*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiListClipper" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiListClipper", + "comments": { + "attached": "// Automatically called on the last call of Step() that returns false." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2692 + } + }, + { + "name": "ImGuiListClipper_Step", + "original_fully_qualified_name": "Step", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiListClipper*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiListClipper" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiListClipper", + "comments": { + "attached": "// Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2693 + } + }, + { + "name": "ImGuiListClipper_IncludeItemByIndex", + "original_fully_qualified_name": "IncludeItemByIndex", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiListClipper*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiListClipper" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "item_index", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiListClipper", + "comments": { + "preceding": [ + "// Call IncludeItemByIndex() or IncludeItemsByIndex() *BEFORE* first call to Step() if you need a range of items to not be clipped, regardless of their visibility.", + "// (Due to alignment / padding of certain items it is possible that an extra item may be included on either end of the display range)." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2697 + } + }, + { + "name": "ImGuiListClipper_IncludeItemsByIndex", + "original_fully_qualified_name": "IncludeItemsByIndex", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiListClipper*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiListClipper" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "item_begin", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "item_end", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiListClipper", + "comments": { + "attached": "// item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2698 + } + }, + { + "name": "ImGuiListClipper_IncludeRangeByIndices", + "original_fully_qualified_name": "IncludeRangeByIndices", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiListClipper*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiListClipper" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "item_begin", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "item_end", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiListClipper", + "comments": { + "attached": "// [renamed in 1.89.9]" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2701 + } + }, + { + "name": "ImGuiListClipper_ForceDisplayRangeByIndices", + "original_fully_qualified_name": "ForceDisplayRangeByIndices", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImGuiListClipper*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiListClipper" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "item_begin", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "item_end", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiListClipper", + "comments": { + "attached": "// [renamed in 1.89.6]" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2702 + } + }, + { + "name": "ImColor_SetHSV", + "original_fully_qualified_name": "SetHSV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImColor*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImColor" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "h", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "s", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImColor", + "comments": { + "preceding": [ + "// FIXME-OBSOLETE: May need to obsolete/cleanup those helpers." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2776 + } + }, + { + "name": "ImColor_HSV", + "original_fully_qualified_name": "ImColor::HSV", + "return_type": { + "declaration": "ImColor", + "description": { + "kind": "User", + "name": "ImColor" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImColor*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImColor" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "h", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "s", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImColor", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2777 + } + }, + { + "name": "ImDrawCmd_GetTexID", + "original_fully_qualified_name": "GetTexID", + "return_type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImDrawCmd*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawCmd", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawCmd", + "comments": { + "preceding": [ + "// 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)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2825 + } + }, + { + "name": "ImDrawListSplitter_Clear", + "original_fully_qualified_name": "Clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawListSplitter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawListSplitter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawListSplitter", + "comments": { + "attached": "// Do not clear Channels[] so our allocations are reused next frame" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2870 + } + }, + { + "name": "ImDrawListSplitter_ClearFreeMemory", + "original_fully_qualified_name": "ClearFreeMemory", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawListSplitter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawListSplitter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawListSplitter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2871 + } + }, + { + "name": "ImDrawListSplitter_Split", + "original_fully_qualified_name": "Split", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawListSplitter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawListSplitter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "draw_list", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawListSplitter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2872 + } + }, + { + "name": "ImDrawListSplitter_Merge", + "original_fully_qualified_name": "Merge", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawListSplitter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawListSplitter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "draw_list", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawListSplitter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2873 + } + }, + { + "name": "ImDrawListSplitter_SetCurrentChannel", + "original_fully_qualified_name": "SetCurrentChannel", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawListSplitter*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawListSplitter" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "draw_list", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "channel_idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawListSplitter", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2874 + } + }, + { + "name": "ImDrawList_PushClipRect", + "original_fully_qualified_name": "PushClipRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "clip_rect_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "clip_rect_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "intersect_with_current_clip_rect", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2942 + } + }, + { + "name": "ImDrawList_PushClipRectFullScreen", + "original_fully_qualified_name": "PushClipRectFullScreen", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2943 + } + }, + { + "name": "ImDrawList_PopClipRect", + "original_fully_qualified_name": "PopClipRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2944 + } + }, + { + "name": "ImDrawList_PushTextureID", + "original_fully_qualified_name": "PushTextureID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2945 + } + }, + { + "name": "ImDrawList_PopTextureID", + "original_fully_qualified_name": "PopTextureID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2946 + } + }, + { + "name": "ImDrawList_GetClipRectMin", + "original_fully_qualified_name": "GetClipRectMin", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2947 + } + }, + { + "name": "ImDrawList_GetClipRectMax", + "original_fully_qualified_name": "GetClipRectMax", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2948 + } + }, + { + "name": "ImDrawList_AddLine", + "original_fully_qualified_name": "AddLine", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// Primitives", + "// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have \"inward\" anti-aliasing.", + "// - For rectangular primitives, \"p_min\" and \"p_max\" represent the upper-left and lower-right corners.", + "// - For circle primitives, use \"num_segments == 0\" to automatically calculate tessellation (preferred).", + "// In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12.", + "// In future versions we will use textures to provide cheaper and higher-quality circles.", + "// Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides." + ], + "attached": "// Implied thickness = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2957 + } + }, + { + "name": "ImDrawList_AddLineEx", + "original_fully_qualified_name": "AddLine", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2957 + } + }, + { + "name": "ImDrawList_AddRect", + "original_fully_qualified_name": "AddRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied rounding = 0.0f, flags = 0, thickness = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2958 + } + }, + { + "name": "ImDrawList_AddRectEx", + "original_fully_qualified_name": "AddRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rounding", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImDrawFlags", + "description": { + "kind": "User", + "name": "ImDrawFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// a: upper-left, b: lower-right (== upper-left + size)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2958 + } + }, + { + "name": "ImDrawList_AddRectFilled", + "original_fully_qualified_name": "AddRectFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied rounding = 0.0f, flags = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2959 + } + }, + { + "name": "ImDrawList_AddRectFilledEx", + "original_fully_qualified_name": "AddRectFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rounding", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImDrawFlags", + "description": { + "kind": "User", + "name": "ImDrawFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// a: upper-left, b: lower-right (== upper-left + size)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2959 + } + }, + { + "name": "ImDrawList_AddRectFilledMultiColor", + "original_fully_qualified_name": "AddRectFilledMultiColor", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col_upr_left", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col_upr_right", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col_bot_right", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col_bot_left", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2960 + } + }, + { + "name": "ImDrawList_AddQuad", + "original_fully_qualified_name": "AddQuad", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied thickness = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2961 + } + }, + { + "name": "ImDrawList_AddQuadEx", + "original_fully_qualified_name": "AddQuad", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2961 + } + }, + { + "name": "ImDrawList_AddQuadFilled", + "original_fully_qualified_name": "AddQuadFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2962 + } + }, + { + "name": "ImDrawList_AddTriangle", + "original_fully_qualified_name": "AddTriangle", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied thickness = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2963 + } + }, + { + "name": "ImDrawList_AddTriangleEx", + "original_fully_qualified_name": "AddTriangle", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2963 + } + }, + { + "name": "ImDrawList_AddTriangleFilled", + "original_fully_qualified_name": "AddTriangleFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2964 + } + }, + { + "name": "ImDrawList_AddCircle", + "original_fully_qualified_name": "AddCircle", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied num_segments = 0, thickness = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2965 + } + }, + { + "name": "ImDrawList_AddCircleEx", + "original_fully_qualified_name": "AddCircle", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2965 + } + }, + { + "name": "ImDrawList_AddCircleFilled", + "original_fully_qualified_name": "AddCircleFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2966 + } + }, + { + "name": "ImDrawList_AddNgon", + "original_fully_qualified_name": "AddNgon", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied thickness = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2967 + } + }, + { + "name": "ImDrawList_AddNgonEx", + "original_fully_qualified_name": "AddNgon", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2967 + } + }, + { + "name": "ImDrawList_AddNgonFilled", + "original_fully_qualified_name": "AddNgonFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2968 + } + }, + { + "name": "ImDrawList_AddEllipse", + "original_fully_qualified_name": "AddEllipse", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied rot = 0.0f, num_segments = 0, thickness = 1.0f" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2969 + } + }, + { + "name": "ImDrawList_AddEllipseEx", + "original_fully_qualified_name": "AddEllipse", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rot", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2969 + } + }, + { + "name": "ImDrawList_AddEllipseFilled", + "original_fully_qualified_name": "AddEllipseFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied rot = 0.0f, num_segments = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2970 + } + }, + { + "name": "ImDrawList_AddEllipseFilledEx", + "original_fully_qualified_name": "AddEllipseFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rot", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2970 + } + }, + { + "name": "ImDrawList_AddText", + "original_fully_qualified_name": "AddText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied text_end = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2971 + } + }, + { + "name": "ImDrawList_AddTextEx", + "original_fully_qualified_name": "AddText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2971 + } + }, + { + "name": "ImDrawList_AddTextImFontPtr", + "original_fully_qualified_name": "AddText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "font", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "font_size", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied text_end = NULL, wrap_width = 0.0f, cpu_fine_clip_rect = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2972 + } + }, + { + "name": "ImDrawList_AddTextImFontPtrEx", + "original_fully_qualified_name": "AddText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "font", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "font_size", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "wrap_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "cpu_fine_clip_rect", + "type": { + "declaration": "const ImVec4*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec4", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2972 + } + }, + { + "name": "ImDrawList_AddBezierCubic", + "original_fully_qualified_name": "AddBezierCubic", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Cubic Bezier (4 control points)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2973 + } + }, + { + "name": "ImDrawList_AddBezierQuadratic", + "original_fully_qualified_name": "AddBezierQuadratic", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Quadratic Bezier (3 control points)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2974 + } + }, + { + "name": "ImDrawList_AddPolyline", + "original_fully_qualified_name": "AddPolyline", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "points", + "type": { + "declaration": "const ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_points", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImDrawFlags", + "description": { + "kind": "User", + "name": "ImDrawFlags" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// General polygon", + "// - Only simple polygons are supported by filling functions (no self-intersections, no holes).", + "// - 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." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2979 + } + }, + { + "name": "ImDrawList_AddConvexPolyFilled", + "original_fully_qualified_name": "AddConvexPolyFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "points", + "type": { + "declaration": "const ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_points", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2980 + } + }, + { + "name": "ImDrawList_AddConcavePolyFilled", + "original_fully_qualified_name": "AddConcavePolyFilled", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "points", + "type": { + "declaration": "const ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_points", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2981 + } + }, + { + "name": "ImDrawList_AddImage", + "original_fully_qualified_name": "AddImage", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// Image primitives", + "// - Read FAQ to understand what ImTextureID is.", + "// - \"p_min\" and \"p_max\" represent the upper-left and lower-right corners of the rectangle.", + "// - \"uv_min\" and \"uv_max\" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture." + ], + "attached": "// Implied uv_min = ImVec2(0, 0), uv_max = ImVec2(1, 1), col = IM_COL32_WHITE" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2987 + } + }, + { + "name": "ImDrawList_AddImageEx", + "original_fully_qualified_name": "AddImage", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "uv_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(1, 1)", + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "IM_COL32_WHITE", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2987 + } + }, + { + "name": "ImDrawList_AddImageQuad", + "original_fully_qualified_name": "AddImageQuad", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied uv1 = ImVec2(0, 0), uv2 = ImVec2(1, 0), uv3 = ImVec2(1, 1), uv4 = ImVec2(0, 1), col = IM_COL32_WHITE" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2988 + } + }, + { + "name": "ImDrawList_AddImageQuadEx", + "original_fully_qualified_name": "AddImageQuad", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "uv2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(1, 0)", + "is_instance_pointer": false + }, + { + "name": "uv3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(1, 1)", + "is_instance_pointer": false + }, + { + "name": "uv4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 1)", + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "IM_COL32_WHITE", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2988 + } + }, + { + "name": "ImDrawList_AddImageRounded", + "original_fully_qualified_name": "AddImageRounded", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rounding", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImDrawFlags", + "description": { + "kind": "User", + "name": "ImDrawFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2989 + } + }, + { + "name": "ImDrawList_PathClear", + "original_fully_qualified_name": "PathClear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// Stateful path API, add points then finish with PathFillConvex() or PathStroke()", + "// - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have \"inward\" anti-aliasing.", + "// so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex()." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2994 + } + }, + { + "name": "ImDrawList_PathLineTo", + "original_fully_qualified_name": "PathLineTo", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2995 + } + }, + { + "name": "ImDrawList_PathLineToMergeDuplicate", + "original_fully_qualified_name": "PathLineToMergeDuplicate", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2996 + } + }, + { + "name": "ImDrawList_PathFillConvex", + "original_fully_qualified_name": "PathFillConvex", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2997 + } + }, + { + "name": "ImDrawList_PathFillConcave", + "original_fully_qualified_name": "PathFillConcave", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2998 + } + }, + { + "name": "ImDrawList_PathStroke", + "original_fully_qualified_name": "PathStroke", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImDrawFlags", + "description": { + "kind": "User", + "name": "ImDrawFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + }, + { + "name": "thickness", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "1.0f", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 2999 + } + }, + { + "name": "ImDrawList_PathArcTo", + "original_fully_qualified_name": "PathArcTo", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3000 + } + }, + { + "name": "ImDrawList_PathArcToFast", + "original_fully_qualified_name": "PathArcToFast", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_min_of_12", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_max_of_12", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Use precomputed angles for a 12 steps circle" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3001 + } + }, + { + "name": "ImDrawList_PathEllipticalArcTo", + "original_fully_qualified_name": "PathEllipticalArcTo", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rot", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Implied num_segments = 0" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3002 + } + }, + { + "name": "ImDrawList_PathEllipticalArcToEx", + "original_fully_qualified_name": "PathEllipticalArcTo", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rot", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Ellipse" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3002 + } + }, + { + "name": "ImDrawList_PathBezierCubicCurveTo", + "original_fully_qualified_name": "PathBezierCubicCurveTo", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p4", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Cubic Bezier (4 control points)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3003 + } + }, + { + "name": "ImDrawList_PathBezierQuadraticCurveTo", + "original_fully_qualified_name": "PathBezierQuadraticCurveTo", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "p2", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "p3", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Quadratic Bezier (3 control points)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3004 + } + }, + { + "name": "ImDrawList_PathRect", + "original_fully_qualified_name": "PathRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "rect_min", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rect_max", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "rounding", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "flags", + "type": { + "declaration": "ImDrawFlags", + "description": { + "kind": "User", + "name": "ImDrawFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3005 + } + }, + { + "name": "ImDrawList_AddCallback", + "original_fully_qualified_name": "AddCallback", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "callback", + "type": { + "declaration": "ImDrawCallback", + "description": { + "kind": "User", + "name": "ImDrawCallback" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "callback_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// Advanced" + ], + "attached": "// Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3008 + } + }, + { + "name": "ImDrawList_AddDrawCmd", + "original_fully_qualified_name": "AddDrawCmd", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3009 + } + }, + { + "name": "ImDrawList_CloneOutput", + "original_fully_qualified_name": "CloneOutput", + "return_type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3010 + } + }, + { + "name": "ImDrawList_ChannelsSplit", + "original_fully_qualified_name": "ChannelsSplit", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// Advanced: Channels", + "// - Use to split render into layers. By switching channels to can render out-of-order (e.g. submit FG primitives before BG primitives)", + "// - Use to minimize draw calls (e.g. if going back-and-forth between multiple clipping rectangles, prefer to append into separate channels then merge at the end)", + "// - This API shouldn't have been in ImDrawList in the first place!", + "// Prefer using your own persistent instance of ImDrawListSplitter as you can stack them.", + "// Using the ImDrawList::ChannelsXXXX you cannot stack a split over another." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3018 + } + }, + { + "name": "ImDrawList_ChannelsMerge", + "original_fully_qualified_name": "ChannelsMerge", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3019 + } + }, + { + "name": "ImDrawList_ChannelsSetCurrent", + "original_fully_qualified_name": "ChannelsSetCurrent", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "n", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3020 + } + }, + { + "name": "ImDrawList_PrimReserve", + "original_fully_qualified_name": "PrimReserve", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "idx_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "vtx_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// Advanced: Primitives allocations", + "// - We render triangles (three vertices)", + "// - All primitives needs to be reserved via PrimReserve() beforehand." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3025 + } + }, + { + "name": "ImDrawList_PrimUnreserve", + "original_fully_qualified_name": "PrimUnreserve", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "idx_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "vtx_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3026 + } + }, + { + "name": "ImDrawList_PrimRect", + "original_fully_qualified_name": "PrimRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "a", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "b", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Axis aligned rectangle (composed of two triangles)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3027 + } + }, + { + "name": "ImDrawList_PrimRectUV", + "original_fully_qualified_name": "PrimRectUV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "a", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "b", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_a", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_b", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3028 + } + }, + { + "name": "ImDrawList_PrimQuadUV", + "original_fully_qualified_name": "PrimQuadUV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "a", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "b", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "c", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "d", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_a", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_b", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_c", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv_d", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3029 + } + }, + { + "name": "ImDrawList_PrimWriteVtx", + "original_fully_qualified_name": "PrimWriteVtx", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3030 + } + }, + { + "name": "ImDrawList_PrimWriteIdx", + "original_fully_qualified_name": "PrimWriteIdx", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "idx", + "type": { + "declaration": "ImDrawIdx", + "description": { + "kind": "User", + "name": "ImDrawIdx" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3031 + } + }, + { + "name": "ImDrawList_PrimVtx", + "original_fully_qualified_name": "PrimVtx", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "attached": "// Write vertex with unique index" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3032 + } + }, + { + "name": "ImDrawList__ResetForNewFrame", + "original_fully_qualified_name": "_ResetForNewFrame", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "comments": { + "preceding": [ + "// [Internal helpers]" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3042 + } + }, + { + "name": "ImDrawList__ClearFreeMemory", + "original_fully_qualified_name": "_ClearFreeMemory", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3043 + } + }, + { + "name": "ImDrawList__PopUnusedDrawCmd", + "original_fully_qualified_name": "_PopUnusedDrawCmd", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3044 + } + }, + { + "name": "ImDrawList__TryMergeDrawCmds", + "original_fully_qualified_name": "_TryMergeDrawCmds", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3045 + } + }, + { + "name": "ImDrawList__OnChangedClipRect", + "original_fully_qualified_name": "_OnChangedClipRect", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3046 + } + }, + { + "name": "ImDrawList__OnChangedTextureID", + "original_fully_qualified_name": "_OnChangedTextureID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3047 + } + }, + { + "name": "ImDrawList__OnChangedVtxOffset", + "original_fully_qualified_name": "_OnChangedVtxOffset", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3048 + } + }, + { + "name": "ImDrawList__CalcCircleAutoSegmentCount", + "original_fully_qualified_name": "_CalcCircleAutoSegmentCount", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3049 + } + }, + { + "name": "ImDrawList__PathArcToFastEx", + "original_fully_qualified_name": "_PathArcToFastEx", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_min_sample", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_max_sample", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_step", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3050 + } + }, + { + "name": "ImDrawList__PathArcToN", + "original_fully_qualified_name": "_PathArcToN", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "center", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "radius", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_min", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "a_max", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "num_segments", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawList", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3051 + } + }, + { + "name": "ImDrawData_Clear", + "original_fully_qualified_name": "Clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawData", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3071 + } + }, + { + "name": "ImDrawData_AddDrawList", + "original_fully_qualified_name": "AddDrawList", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "draw_list", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawData", + "comments": { + "attached": "// Helper to add an external draw list into an existing ImDrawData." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3072 + } + }, + { + "name": "ImDrawData_DeIndexAllBuffers", + "original_fully_qualified_name": "DeIndexAllBuffers", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawData", + "comments": { + "attached": "// Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3073 + } + }, + { + "name": "ImDrawData_ScaleClipRects", + "original_fully_qualified_name": "ScaleClipRects", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "fb_scale", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImDrawData", + "comments": { + "attached": "// Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3074 + } + }, + { + "name": "ImFontGlyphRangesBuilder_Clear", + "original_fully_qualified_name": "Clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontGlyphRangesBuilder*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontGlyphRangesBuilder" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontGlyphRangesBuilder", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3128 + } + }, + { + "name": "ImFontGlyphRangesBuilder_GetBit", + "original_fully_qualified_name": "GetBit", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFontGlyphRangesBuilder*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontGlyphRangesBuilder", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "n", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontGlyphRangesBuilder", + "comments": { + "attached": "// Get bit n in the array" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3129 + } + }, + { + "name": "ImFontGlyphRangesBuilder_SetBit", + "original_fully_qualified_name": "SetBit", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontGlyphRangesBuilder*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontGlyphRangesBuilder" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "n", + "type": { + "declaration": "size_t", + "description": { + "kind": "User", + "name": "size_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontGlyphRangesBuilder", + "comments": { + "attached": "// Set bit n in the array" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3130 + } + }, + { + "name": "ImFontGlyphRangesBuilder_AddChar", + "original_fully_qualified_name": "AddChar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontGlyphRangesBuilder*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontGlyphRangesBuilder" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontGlyphRangesBuilder", + "comments": { + "attached": "// Add character" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3131 + } + }, + { + "name": "ImFontGlyphRangesBuilder_AddText", + "original_fully_qualified_name": "AddText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontGlyphRangesBuilder*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontGlyphRangesBuilder" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontGlyphRangesBuilder", + "comments": { + "attached": "// Add string (each character of the UTF-8 string are added)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3132 + } + }, + { + "name": "ImFontGlyphRangesBuilder_AddRanges", + "original_fully_qualified_name": "AddRanges", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontGlyphRangesBuilder*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontGlyphRangesBuilder" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "ranges", + "type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontGlyphRangesBuilder", + "comments": { + "attached": "// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3133 + } + }, + { + "name": "ImFontGlyphRangesBuilder_BuildRanges", + "original_fully_qualified_name": "BuildRanges", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontGlyphRangesBuilder*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontGlyphRangesBuilder" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "out_ranges", + "type": { + "declaration": "ImVector_ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVector_ImWchar" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontGlyphRangesBuilder", + "comments": { + "attached": "// Output new ranges (ImVector_Construct()/ImVector_Destruct() can be used to safely construct out_ranges)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3134 + } + }, + { + "name": "ImFontAtlasCustomRect_IsPacked", + "original_fully_qualified_name": "IsPacked", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFontAtlasCustomRect*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlasCustomRect", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlasCustomRect", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3147 + } + }, + { + "name": "ImFontAtlas_AddFont", + "original_fully_qualified_name": "AddFont", + "return_type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "font_cfg", + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3180 + } + }, + { + "name": "ImFontAtlas_AddFontDefault", + "original_fully_qualified_name": "AddFontDefault", + "return_type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "font_cfg", + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3181 + } + }, + { + "name": "ImFontAtlas_AddFontFromFileTTF", + "original_fully_qualified_name": "AddFontFromFileTTF", + "return_type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "filename", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size_pixels", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "font_cfg", + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "glyph_ranges", + "type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3182 + } + }, + { + "name": "ImFontAtlas_AddFontFromMemoryTTF", + "original_fully_qualified_name": "AddFontFromMemoryTTF", + "return_type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "font_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "font_data_size", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size_pixels", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "font_cfg", + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "glyph_ranges", + "type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3183 + } + }, + { + "name": "ImFontAtlas_AddFontFromMemoryCompressedTTF", + "original_fully_qualified_name": "AddFontFromMemoryCompressedTTF", + "return_type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "compressed_font_data", + "type": { + "declaration": "const void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "compressed_font_data_size", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size_pixels", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "font_cfg", + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "glyph_ranges", + "type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3184 + } + }, + { + "name": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", + "original_fully_qualified_name": "AddFontFromMemoryCompressedBase85TTF", + "return_type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "compressed_font_data_base85", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size_pixels", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "font_cfg", + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "glyph_ranges", + "type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3185 + } + }, + { + "name": "ImFontAtlas_ClearInputData", + "original_fully_qualified_name": "ClearInputData", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3186 + } + }, + { + "name": "ImFontAtlas_ClearTexData", + "original_fully_qualified_name": "ClearTexData", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3187 + } + }, + { + "name": "ImFontAtlas_ClearFonts", + "original_fully_qualified_name": "ClearFonts", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Clear output font data (glyphs storage, UV coordinates)." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3188 + } + }, + { + "name": "ImFontAtlas_Clear", + "original_fully_qualified_name": "Clear", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Clear all input and output." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3189 + } + }, + { + "name": "ImFontAtlas_Build", + "original_fully_qualified_name": "Build", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "preceding": [ + "// Build atlas, retrieve pixel data.", + "// 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().", + "// The pitch is always = Width * BytesPerPixels (1 or 4)", + "// Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into", + "// the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75% of memory/bandwidth waste." + ], + "attached": "// Build pixels data. This is called automatically for you by the GetTexData*** functions." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3196 + } + }, + { + "name": "ImFontAtlas_GetTexDataAsAlpha8", + "original_fully_qualified_name": "GetTexDataAsAlpha8", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "out_pixels", + "type": { + "declaration": "unsigned char**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "unsigned_char" + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_width", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_height", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_bytes_per_pixel", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// 1 byte per-pixel" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3197 + } + }, + { + "name": "ImFontAtlas_GetTexDataAsRGBA32", + "original_fully_qualified_name": "GetTexDataAsRGBA32", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "out_pixels", + "type": { + "declaration": "unsigned char**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "unsigned_char" + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_width", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_height", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_bytes_per_pixel", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// 4 bytes-per-pixel" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3198 + } + }, + { + "name": "ImFontAtlas_IsBuilt", + "original_fully_qualified_name": "IsBuilt", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent..." + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3199 + } + }, + { + "name": "ImFontAtlas_SetTexID", + "original_fully_qualified_name": "SetTexID", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3200 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesDefault", + "original_fully_qualified_name": "GetGlyphRangesDefault", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "preceding": [ + "// Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list)", + "// NB: Make sure that your string are UTF-8 and NOT in your local code page.", + "// Read https://github.com/ocornut/imgui/blob/master/docs/FONTS.md/#about-utf-8-encoding for details.", + "// NB: Consider using ImFontGlyphRangesBuilder to build glyph ranges from textual data." + ], + "attached": "// Basic Latin, Extended Latin" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3210 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesGreek", + "original_fully_qualified_name": "GetGlyphRangesGreek", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + Greek and Coptic" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3211 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesKorean", + "original_fully_qualified_name": "GetGlyphRangesKorean", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + Korean characters" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3212 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesJapanese", + "original_fully_qualified_name": "GetGlyphRangesJapanese", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3213 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesChineseFull", + "original_fully_qualified_name": "GetGlyphRangesChineseFull", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3214 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", + "original_fully_qualified_name": "GetGlyphRangesChineseSimplifiedCommon", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3215 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesCyrillic", + "original_fully_qualified_name": "GetGlyphRangesCyrillic", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + about 400 Cyrillic characters" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3216 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesThai", + "original_fully_qualified_name": "GetGlyphRangesThai", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + Thai characters" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3217 + } + }, + { + "name": "ImFontAtlas_GetGlyphRangesVietnamese", + "original_fully_qualified_name": "GetGlyphRangesVietnamese", + "return_type": { + "declaration": "const ImWchar*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImWchar", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "attached": "// Default + Vietnamese characters" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3218 + } + }, + { + "name": "ImFontAtlas_AddCustomRectRegular", + "original_fully_qualified_name": "AddCustomRectRegular", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "width", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "height", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "preceding": [ + "// You can request arbitrary rectangles to be packed into the atlas, for your own purposes.", + "// - After calling Build(), you can query the rectangle position and render your pixels.", + "// - If you render colored output, set 'atlas->TexPixelsUseColors = true' as this may help some backends decide of preferred texture format.", + "// - You can also request your rectangles to be mapped as font glyph (given a font + Unicode point),", + "// so you can render e.g. custom colorful icons and use them as regular glyphs.", + "// - Read docs/FONTS.md for more details about using colorful icons.", + "// - Note: this API may be redesigned later in order to support multi-monitor varying DPI settings." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3231 + } + }, + { + "name": "ImFontAtlas_AddCustomRectFontGlyph", + "original_fully_qualified_name": "AddCustomRectFontGlyph", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "font", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "id", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "width", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "height", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "advance_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "offset", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3232 + } + }, + { + "name": "ImFontAtlas_GetCustomRectByIndex", + "original_fully_qualified_name": "GetCustomRectByIndex", + "return_type": { + "declaration": "ImFontAtlasCustomRect*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontAtlasCustomRect" + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "index", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3233 + } + }, + { + "name": "ImFontAtlas_CalcCustomRectUV", + "original_fully_qualified_name": "CalcCustomRectUV", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "rect", + "type": { + "declaration": "const ImFontAtlasCustomRect*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontAtlasCustomRect", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_uv_min", + "type": { + "declaration": "ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_uv_max", + "type": { + "declaration": "ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "comments": { + "preceding": [ + "// [Internal]" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3236 + } + }, + { + "name": "ImFontAtlas_GetMouseCursorTexData", + "original_fully_qualified_name": "GetMouseCursorTexData", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFontAtlas*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFontAtlas" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "cursor", + "type": { + "declaration": "ImGuiMouseCursor", + "description": { + "kind": "User", + "name": "ImGuiMouseCursor" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_offset", + "type": { + "declaration": "ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_size", + "type": { + "declaration": "ImVec2*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_uv_border", + "type": { + "declaration": "ImVec2[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + }, + { + "name": "out_uv_fill", + "type": { + "declaration": "ImVec2[2]", + "description": { + "kind": "Array", + "bounds": "2", + "inner_type": { + "kind": "User", + "name": "ImVec2" + } + } + }, + "is_array": true, + "is_varargs": false, + "array_bounds": "2", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFontAtlas", + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3237 + } + }, + { + "name": "ImFont_FindGlyph", + "original_fully_qualified_name": "FindGlyph", + "return_type": { + "declaration": "const ImFontGlyph*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontGlyph", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3310 + } + }, + { + "name": "ImFont_FindGlyphNoFallback", + "original_fully_qualified_name": "FindGlyphNoFallback", + "return_type": { + "declaration": "const ImFontGlyph*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontGlyph", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3311 + } + }, + { + "name": "ImFont_GetCharAdvance", + "original_fully_qualified_name": "GetCharAdvance", + "return_type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3312 + } + }, + { + "name": "ImFont_IsLoaded", + "original_fully_qualified_name": "IsLoaded", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3313 + } + }, + { + "name": "ImFont_GetDebugName", + "original_fully_qualified_name": "GetDebugName", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3314 + } + }, + { + "name": "ImFont_CalcTextSizeA", + "original_fully_qualified_name": "CalcTextSizeA", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "size", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "max_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "wrap_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "comments": { + "preceding": [ + "// 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable.", + "// 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable." + ], + "attached": "// Implied text_end = NULL, remaining = NULL" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3318 + } + }, + { + "name": "ImFont_CalcTextSizeAEx", + "original_fully_qualified_name": "CalcTextSizeA", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "size", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "max_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "wrap_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + }, + { + "name": "remaining", + "type": { + "declaration": "const char**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "comments": { + "attached": "// utf8" + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3318 + } + }, + { + "name": "ImFont_CalcWordWrapPositionA", + "original_fully_qualified_name": "CalcWordWrapPositionA", + "return_type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "scale", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "wrap_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3319 + } + }, + { + "name": "ImFont_RenderChar", + "original_fully_qualified_name": "RenderChar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "draw_list", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "c", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3320 + } + }, + { + "name": "ImFont_RenderText", + "original_fully_qualified_name": "RenderText", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "draw_list", + "type": { + "declaration": "ImDrawList*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawList" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "pos", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "col", + "type": { + "declaration": "ImU32", + "description": { + "kind": "User", + "name": "ImU32" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "clip_rect", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_begin", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "text_end", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "wrap_width", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0.0f", + "is_instance_pointer": false + }, + { + "name": "cpu_fine_clip", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "false", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3321 + } + }, + { + "name": "ImFont_BuildLookupTable", + "original_fully_qualified_name": "BuildLookupTable", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "comments": { + "preceding": [ + "// [Internal] Don't use!" + ] + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3324 + } + }, + { + "name": "ImFont_ClearOutputData", + "original_fully_qualified_name": "ClearOutputData", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3325 + } + }, + { + "name": "ImFont_GrowIndex", + "original_fully_qualified_name": "GrowIndex", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "new_size", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3326 + } + }, + { + "name": "ImFont_AddGlyph", + "original_fully_qualified_name": "AddGlyph", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "src_cfg", + "type": { + "declaration": "const ImFontConfig*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImFontConfig", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "c", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "x0", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "y0", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "x1", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "y1", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "u0", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v0", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "u1", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "v1", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "advance_x", + "type": { + "declaration": "float", + "description": { + "kind": "Builtin", + "builtin_type": "float" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3327 + } + }, + { + "name": "ImFont_AddRemapChar", + "original_fully_qualified_name": "AddRemapChar", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "dst", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "src", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "overwrite_dst", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "true", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "comments": { + "attached": "// Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built." + }, + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3328 + } + }, + { + "name": "ImFont_SetGlyphVisible", + "original_fully_qualified_name": "SetGlyphVisible", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c", + "type": { + "declaration": "ImWchar", + "description": { + "kind": "User", + "name": "ImWchar" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "visible", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3329 + } + }, + { + "name": "ImFont_IsGlyphRangeUnused", + "original_fully_qualified_name": "IsGlyphRangeUnused", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "ImFont*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImFont" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + }, + { + "name": "c_begin", + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "c_last", + "type": { + "declaration": "unsigned int", + "description": { + "kind": "Builtin", + "builtin_type": "unsigned_int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImFont", + "is_internal": true, + "source_location": { + "filename": "imgui.h", + "line": 3330 + } + }, + { + "name": "ImGuiViewport_GetCenter", + "original_fully_qualified_name": "GetCenter", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiViewport*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiViewport", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiViewport", + "comments": { + "preceding": [ + "// Helpers" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3396 + } + }, + { + "name": "ImGuiViewport_GetWorkCenter", + "original_fully_qualified_name": "GetWorkCenter", + "return_type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "arguments": [ + { + "name": "self", + "type": { + "declaration": "const ImGuiViewport*", + "description": { + "kind": "Pointer", + "is_nullable": false, + "inner_type": { + "kind": "User", + "name": "ImGuiViewport", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": true + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "original_class": "ImGuiViewport", + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3397 + } + }, + { + "name": "ImGui_BeginChildFrame", + "original_fully_qualified_name": "ImGui::BeginChildFrame", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// OBSOLETED in 1.90.0 (from September 2023)" + ], + "attached": "// Implied window_flags = 0" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3542 + } + }, + { + "name": "ImGui_BeginChildFrameEx", + "original_fully_qualified_name": "ImGui::BeginChildFrame", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "id", + "type": { + "declaration": "ImGuiID", + "description": { + "kind": "User", + "name": "ImGuiID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "window_flags", + "type": { + "declaration": "ImGuiWindowFlags", + "description": { + "kind": "User", + "name": "ImGuiWindowFlags" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "0", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3542 + } + }, + { + "name": "ImGui_EndChildFrame", + "original_fully_qualified_name": "ImGui::EndChildFrame", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3543 + } + }, + { + "name": "ImGui_ShowStackToolWindow", + "original_fully_qualified_name": "ImGui::ShowStackToolWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "p_open", + "type": { + "declaration": "bool*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "bool" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "NULL", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "//static inline bool BeginChild(const char* str_id, const ImVec2& 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", + "//static inline bool BeginChild(ImGuiID id, const ImVec2& size_arg, bool border, ImGuiWindowFlags window_flags) { return BeginChild(id, size_arg, border ? ImGuiChildFlags_Border : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Border" + ] + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3546 + } + }, + { + "name": "ImGui_ListBoxObsolete", + "original_fully_qualified_name": "ImGui::ListBox", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "old_callback", + "type": { + "declaration": "bool (*old_callback)(void* user_data, int idx, const char** out_text)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_text", + "type": { + "declaration": "const char**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "old_callback", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "bool" + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + { + "kind": "Type", + "name": "out_text", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied height_in_items = -1" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3547 + } + }, + { + "name": "ImGui_ListBoxObsoleteEx", + "original_fully_qualified_name": "ImGui::ListBox", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "old_callback", + "type": { + "declaration": "bool (*old_callback)(void* user_data, int idx, const char** out_text)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_text", + "type": { + "declaration": "const char**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "old_callback", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "bool" + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + { + "kind": "Type", + "name": "out_text", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "height_in_items", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3547 + } + }, + { + "name": "ImGui_ComboObsolete", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "old_callback", + "type": { + "declaration": "bool (*old_callback)(void* user_data, int idx, const char** out_text)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_text", + "type": { + "declaration": "const char**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "old_callback", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "bool" + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + { + "kind": "Type", + "name": "out_text", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied popup_max_height_in_items = -1" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3548 + } + }, + { + "name": "ImGui_ComboObsoleteEx", + "original_fully_qualified_name": "ImGui::Combo", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "label", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "current_item", + "type": { + "declaration": "int*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "old_callback", + "type": { + "declaration": "bool (*old_callback)(void* user_data, int idx, const char** out_text)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "idx", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "out_text", + "type": { + "declaration": "const char**", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "old_callback", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "bool" + }, + "parameters": [ + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + { + "kind": "Type", + "name": "idx", + "inner_type": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + { + "kind": "Type", + "name": "out_text", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "items_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "popup_max_height_in_items", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3548 + } + }, + { + "name": "ImGui_SetItemAllowOverlap", + "original_fully_qualified_name": "ImGui::SetItemAllowOverlap", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// OBSOLETED in 1.89.7 (from June 2023)" + ], + "attached": "// Use SetNextItemAllowOverlap() before item." + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3550 + } + }, + { + "name": "ImGui_PushAllowKeyboardFocus", + "original_fully_qualified_name": "ImGui::PushAllowKeyboardFocus", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "tab_stop", + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// OBSOLETED in 1.89.4 (from March 2023)" + ] + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3552 + } + }, + { + "name": "ImGui_PopAllowKeyboardFocus", + "original_fully_qualified_name": "ImGui::PopAllowKeyboardFocus", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3553 + } + }, + { + "name": "ImGui_ImageButtonImTextureID", + "original_fully_qualified_name": "ImGui::ImageButton", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "user_texture_id", + "type": { + "declaration": "ImTextureID", + "description": { + "kind": "User", + "name": "ImTextureID" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "size", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "uv0", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(0, 0)", + "is_instance_pointer": false + }, + { + "name": "uv1", + "type": { + "declaration": "ImVec2", + "description": { + "kind": "User", + "name": "ImVec2" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec2(1, 1)", + "is_instance_pointer": false + }, + { + "name": "frame_padding", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "-1", + "is_instance_pointer": false + }, + { + "name": "bg_col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec4(0, 0, 0, 0)", + "is_instance_pointer": false + }, + { + "name": "tint_col", + "type": { + "declaration": "ImVec4", + "description": { + "kind": "User", + "name": "ImVec4" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "ImVec4(1, 1, 1, 1)", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// OBSOLETED in 1.89 (from August 2022)" + ], + "attached": "// Use new ImageButton() signature (explicit item id, regular FramePadding)" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3555 + } + }, + { + "name": "ImGui_GetKeyIndex", + "original_fully_qualified_name": "ImGui::GetKeyIndex", + "return_type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "arguments": [ + { + "name": "key", + "type": { + "declaration": "ImGuiKey", + "description": { + "kind": "User", + "name": "ImGuiKey" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// OBSOLETED in 1.87 (from February 2022 but more formally obsoleted April 2024)" + ], + "attached": "// Map ImGuiKey_* values into legacy native key index. == io.KeyMap[key]. When using a 1.87+ backend using io.AddKeyEvent(), calling GetKeyIndex() with ANY ImGuiKey_XXXX values will return the same value!" + }, + "conditionals": [ + { + "condition": "ifndef", + "expression": "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui.h", + "line": 3557 + } + } + ] +} \ No newline at end of file diff --git a/src/cached/cimgui_impl_vulkan.cpp b/src/cached/cimgui_impl_vulkan.cpp new file mode 100644 index 0000000..8c6141d --- /dev/null +++ b/src/cached/cimgui_impl_vulkan.cpp @@ -0,0 +1,107 @@ +// THIS FILE HAS BEEN AUTO-GENERATED BY THE 'DEAR BINDINGS' GENERATOR. +// **DO NOT EDIT DIRECTLY** +// https://github.com/dearimgui/dear_bindings + +#include "imgui.h" +#include "imgui_impl_vulkan.h" + +#include + +// Wrap this in a namespace to keep it separate from the C++ API +namespace cimgui +{ +#include "cimgui_impl_vulkan.h" +} + +// By-value struct conversions + +// Function stubs + +#ifndef IMGUI_DISABLE + +CIMGUI_IMPL_API bool cimgui::cImGui_ImplVulkan_Init(cimgui::ImGui_ImplVulkan_InitInfo* info) +{ + return ::ImGui_ImplVulkan_Init(reinterpret_cast<::ImGui_ImplVulkan_InitInfo*>(info)); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkan_Shutdown(void) +{ + ::ImGui_ImplVulkan_Shutdown(); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkan_NewFrame(void) +{ + ::ImGui_ImplVulkan_NewFrame(); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkan_RenderDrawData(cimgui::ImDrawData* draw_data, VkCommandBuffer command_buffer) +{ + ::ImGui_ImplVulkan_RenderDrawData(reinterpret_cast<::ImDrawData*>(draw_data), command_buffer); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkan_RenderDrawDataEx(cimgui::ImDrawData* draw_data, VkCommandBuffer command_buffer, VkPipeline pipeline) +{ + ::ImGui_ImplVulkan_RenderDrawData(reinterpret_cast<::ImDrawData*>(draw_data), command_buffer, pipeline); +} + +CIMGUI_IMPL_API bool cimgui::cImGui_ImplVulkan_CreateFontsTexture(void) +{ + return ::ImGui_ImplVulkan_CreateFontsTexture(); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkan_DestroyFontsTexture(void) +{ + ::ImGui_ImplVulkan_DestroyFontsTexture(); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkan_SetMinImageCount(uint32_t min_image_count) +{ + ::ImGui_ImplVulkan_SetMinImageCount(min_image_count); +} + +CIMGUI_IMPL_API VkDescriptorSet cimgui::cImGui_ImplVulkan_AddTexture(VkSampler sampler, VkImageView image_view, VkImageLayout image_layout) +{ + return ::ImGui_ImplVulkan_AddTexture(sampler, image_view, image_layout); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkan_RemoveTexture(VkDescriptorSet descriptor_set) +{ + ::ImGui_ImplVulkan_RemoveTexture(descriptor_set); +} + +CIMGUI_IMPL_API bool cimgui::cImGui_ImplVulkan_LoadFunctions(PFN_vkVoidFunction (*loader_func)(const char* function_name, void* user_data)) +{ + return ::ImGui_ImplVulkan_LoadFunctions(loader_func); +} + +CIMGUI_IMPL_API bool cimgui::cImGui_ImplVulkan_LoadFunctionsEx(PFN_vkVoidFunction (*loader_func)(const char* function_name, void* user_data), void* user_data) +{ + return ::ImGui_ImplVulkan_LoadFunctions(loader_func, user_data); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance, VkPhysicalDevice physical_device, VkDevice device, cimgui::ImGui_ImplVulkanH_Window* wd, uint32_t queue_family, const VkAllocationCallbacks* allocator, int w, int h, uint32_t min_image_count) +{ + ::ImGui_ImplVulkanH_CreateOrResizeWindow(instance, physical_device, device, reinterpret_cast<::ImGui_ImplVulkanH_Window*>(wd), queue_family, allocator, w, h, min_image_count); +} + +CIMGUI_IMPL_API void cimgui::cImGui_ImplVulkanH_DestroyWindow(VkInstance instance, VkDevice device, cimgui::ImGui_ImplVulkanH_Window* wd, const VkAllocationCallbacks* allocator) +{ + ::ImGui_ImplVulkanH_DestroyWindow(instance, device, reinterpret_cast<::ImGui_ImplVulkanH_Window*>(wd), allocator); +} + +CIMGUI_IMPL_API VkSurfaceFormatKHR cimgui::cImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device, VkSurfaceKHR surface, const VkFormat* request_formats, int request_formats_count, VkColorSpaceKHR request_color_space) +{ + return ::ImGui_ImplVulkanH_SelectSurfaceFormat(physical_device, surface, request_formats, request_formats_count, request_color_space); +} + +CIMGUI_IMPL_API VkPresentModeKHR cimgui::cImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device, VkSurfaceKHR surface, const VkPresentModeKHR* request_modes, int request_modes_count) +{ + return ::ImGui_ImplVulkanH_SelectPresentMode(physical_device, surface, request_modes, request_modes_count); +} + +CIMGUI_IMPL_API int cimgui::cImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode) +{ + return ::ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(present_mode); +} + +#endif // #ifndef IMGUI_DISABLE diff --git a/src/cached/cimgui_impl_vulkan.h b/src/cached/cimgui_impl_vulkan.h new file mode 100644 index 0000000..4f4f201 --- /dev/null +++ b/src/cached/cimgui_impl_vulkan.h @@ -0,0 +1,198 @@ +// THIS FILE HAS BEEN AUTO-GENERATED BY THE 'DEAR BINDINGS' GENERATOR. +// **DO NOT EDIT DIRECTLY** +// https://github.com/dearimgui/dear_bindings + +// dear imgui: Renderer Backend for Vulkan +// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..) + +// Implemented features: +// [x] Renderer: User texture binding. Use 'VkDescriptorSet' as ImTextureID. Read the FAQ about ImTextureID! See https://github.com/ocornut/imgui/pull/914 for discussions. +// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices. +// [x] Renderer: Multi-viewport / platform windows. With issues (flickering when creating a new viewport). + +// Important: on 32-bit systems, user texture binding is only supported if your imconfig file has '#define ImTextureID ImU64'. +// See imgui_impl_vulkan.cpp file for details. + +// The aim of imgui_impl_vulkan.h/.cpp is to be usable in your engine without any modification. +// IF YOU FEEL YOU NEED TO MAKE ANY CHANGE TO THIS CODE, please share them and your feedback at https://github.com/ocornut/imgui/ + +// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this. +// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. +// Learn about Dear ImGui: +// - FAQ https://dearimgui.com/faq +// - Getting Started https://dearimgui.com/getting-started +// - Documentation https://dearimgui.com/docs (same as your local docs/ folder). +// - Introduction, links and more at the top of imgui.cpp + +// Important note to the reader who wish to integrate imgui_impl_vulkan.cpp/.h in their own engine/app. +// - Common ImGui_ImplVulkan_XXX functions and structures are used to interface with imgui_impl_vulkan.cpp/.h. +// You will use those if you want to use this rendering backend in your engine/app. +// - Helper ImGui_ImplVulkanH_XXX functions and structures are only used by this example (main.cpp) and by +// the backend itself (imgui_impl_vulkan.cpp), but should PROBABLY NOT be used by your own engine/app code. +// Read comments in imgui_impl_vulkan.h. + +#pragma once + +#ifdef __cplusplus +extern "C" +{ +#endif +#ifndef IMGUI_DISABLE +#include "cimgui.h" +// [Configuration] in order to use a custom Vulkan function loader: +// (1) You'll need to disable default Vulkan function prototypes. +// We provide a '#define IMGUI_IMPL_VULKAN_NO_PROTOTYPES' convenience configuration flag. +// In order to make sure this is visible from the imgui_impl_vulkan.cpp compilation unit: +// - Add '#define IMGUI_IMPL_VULKAN_NO_PROTOTYPES' in your imconfig.h file +// - Or as a compilation flag in your build system +// - Or uncomment here (not recommended because you'd be modifying imgui sources!) +// - Do not simply add it in a .cpp file! +// (2) Call ImGui_ImplVulkan_LoadFunctions() before ImGui_ImplVulkan_Init() with your custom function. +// If you have no idea what this is, leave it alone! +//#define IMGUI_IMPL_VULKAN_NO_PROTOTYPES + +// Convenience support for Volk +// (you can also technically use IMGUI_IMPL_VULKAN_NO_PROTOTYPES + wrap Volk via ImGui_ImplVulkan_LoadFunctions().) +//#define IMGUI_IMPL_VULKAN_USE_VOLK + +#if defined(IMGUI_IMPL_VULKAN_NO_PROTOTYPES)&&!defined(VK_NO_PROTOTYPES) +#define VK_NO_PROTOTYPES +#endif // #if defined(IMGUI_IMPL_VULKAN_NO_PROTOTYPES)&&!defined(VK_NO_PROTOTYPES) +#if defined(VK_USE_PLATFORM_WIN32_KHR)&&!defined(NOMINMAX) +#define NOMINMAX +#endif // #if defined(VK_USE_PLATFORM_WIN32_KHR)&&!defined(NOMINMAX) +// Vulkan includes +#ifdef IMGUI_IMPL_VULKAN_USE_VOLK +#include +#else +#include +#endif // #ifdef IMGUI_IMPL_VULKAN_USE_VOLK +#if defined(VK_VERSION_1_3)|| defined(VK_KHR_dynamic_rendering) +#define IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING +#endif // #if defined(VK_VERSION_1_3)|| defined(VK_KHR_dynamic_rendering) +// Initialization data, for ImGui_ImplVulkan_Init() +// - VkDescriptorPool should be created with VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, +// and must contain a pool size large enough to hold an ImGui VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptor. +// - When using dynamic rendering, set UseDynamicRendering=true and fill PipelineRenderingCreateInfo structure. +// [Please zero-clear before use!] +typedef struct ImGui_ImplVulkan_InitInfo_t +{ + VkInstance Instance; + VkPhysicalDevice PhysicalDevice; + VkDevice Device; + uint32_t QueueFamily; + VkQueue Queue; + VkDescriptorPool DescriptorPool; // See requirements in note above + VkRenderPass RenderPass; // Ignored if using dynamic rendering + uint32_t MinImageCount; // >= 2 + uint32_t ImageCount; // >= MinImageCount + VkSampleCountFlagBits MSAASamples; // 0 defaults to VK_SAMPLE_COUNT_1_BIT + + // (Optional) + VkPipelineCache PipelineCache; + uint32_t Subpass; + + // (Optional) Dynamic Rendering + // Need to explicitly enable VK_KHR_dynamic_rendering extension to use this, even for Vulkan 1.3. + bool UseDynamicRendering; +#ifdef IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING + VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo; +#endif // #ifdef IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING + // (Optional) Allocation, Debugging + const VkAllocationCallbacks* Allocator; + void (*CheckVkResultFn)(VkResult err); + VkDeviceSize MinAllocationSize; // Minimum allocation size. Set to 1024*1024 to satisfy zealous best practices validation layer and waste a little memory. +} ImGui_ImplVulkan_InitInfo; + +typedef struct ImDrawData_t ImDrawData; +// Called by user code +CIMGUI_IMPL_API bool cImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info); +CIMGUI_IMPL_API void cImGui_ImplVulkan_Shutdown(void); +CIMGUI_IMPL_API void cImGui_ImplVulkan_NewFrame(void); +CIMGUI_IMPL_API void cImGui_ImplVulkan_RenderDrawData(ImDrawData* draw_data, VkCommandBuffer command_buffer); // Implied pipeline = VK_NULL_HANDLE +CIMGUI_IMPL_API void cImGui_ImplVulkan_RenderDrawDataEx(ImDrawData* draw_data, VkCommandBuffer command_buffer, VkPipeline pipeline /* = VK_NULL_HANDLE */); +CIMGUI_IMPL_API bool cImGui_ImplVulkan_CreateFontsTexture(void); +CIMGUI_IMPL_API void cImGui_ImplVulkan_DestroyFontsTexture(void); +CIMGUI_IMPL_API void cImGui_ImplVulkan_SetMinImageCount(uint32_t min_image_count); // To override MinImageCount after initialization (e.g. if swap chain is recreated) + +// Register a texture (VkDescriptorSet == ImTextureID) +// FIXME: This is experimental in the sense that we are unsure how to best design/tackle this problem +// Please post to https://github.com/ocornut/imgui/pull/914 if you have suggestions. +CIMGUI_IMPL_API VkDescriptorSet cImGui_ImplVulkan_AddTexture(VkSampler sampler, VkImageView image_view, VkImageLayout image_layout); +CIMGUI_IMPL_API void cImGui_ImplVulkan_RemoveTexture(VkDescriptorSet descriptor_set); + +// Optional: load Vulkan functions with a custom function loader +// This is only useful with IMGUI_IMPL_VULKAN_NO_PROTOTYPES / VK_NO_PROTOTYPES +CIMGUI_IMPL_API bool cImGui_ImplVulkan_LoadFunctions(PFN_vkVoidFunction (*loader_func)(const char* function_name, void* user_data)); // Implied user_data = nullptr +CIMGUI_IMPL_API bool cImGui_ImplVulkan_LoadFunctionsEx(PFN_vkVoidFunction (*loader_func)(const char* function_name, void* user_data), void* user_data /* = nullptr */); + +//------------------------------------------------------------------------- +// Internal / Miscellaneous Vulkan Helpers +// (Used by example's main.cpp. Used by multi-viewport features. PROBABLY NOT used by your own engine/app.) +//------------------------------------------------------------------------- +// You probably do NOT need to use or care about those functions. +// Those functions only exist because: +// 1) they facilitate the readability and maintenance of the multiple main.cpp examples files. +// 2) the multi-viewport / platform window implementation needs them internally. +// Generally we avoid exposing any kind of superfluous high-level helpers in the bindings, +// but it is too much code to duplicate everywhere so we exceptionally expose them. +// +// Your engine/app will likely _already_ have code to setup all that stuff (swap chain, render pass, frame buffers, etc.). +// You may read this code to learn about Vulkan, but it is recommended you use you own custom tailored code to do equivalent work. +// (The ImGui_ImplVulkanH_XXX functions do not interact with any of the state used by the regular ImGui_ImplVulkan_XXX functions) +//------------------------------------------------------------------------- + +typedef struct ImGui_ImplVulkanH_Frame_t ImGui_ImplVulkanH_Frame; +typedef struct ImGui_ImplVulkanH_Window_t ImGui_ImplVulkanH_Window; + +// Helpers +CIMGUI_IMPL_API void cImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance, VkPhysicalDevice physical_device, VkDevice device, ImGui_ImplVulkanH_Window* wd, uint32_t queue_family, const VkAllocationCallbacks* allocator, int w, int h, uint32_t min_image_count); +CIMGUI_IMPL_API void cImGui_ImplVulkanH_DestroyWindow(VkInstance instance, VkDevice device, ImGui_ImplVulkanH_Window* wd, const VkAllocationCallbacks* allocator); +CIMGUI_IMPL_API VkSurfaceFormatKHR cImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device, VkSurfaceKHR surface, const VkFormat* request_formats, int request_formats_count, VkColorSpaceKHR request_color_space); +CIMGUI_IMPL_API VkPresentModeKHR cImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device, VkSurfaceKHR surface, const VkPresentModeKHR* request_modes, int request_modes_count); +CIMGUI_IMPL_API int cImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode); + +// Helper structure to hold the data needed by one rendering frame +// (Used by example's main.cpp. Used by multi-viewport features. Probably NOT used by your own engine/app.) +// [Please zero-clear before use!] +typedef struct ImGui_ImplVulkanH_Frame_t +{ + VkCommandPool CommandPool; + VkCommandBuffer CommandBuffer; + VkFence Fence; + VkImage Backbuffer; + VkImageView BackbufferView; + VkFramebuffer Framebuffer; +} ImGui_ImplVulkanH_Frame; + +typedef struct ImGui_ImplVulkanH_FrameSemaphores_t +{ + VkSemaphore ImageAcquiredSemaphore; + VkSemaphore RenderCompleteSemaphore; +} ImGui_ImplVulkanH_FrameSemaphores; + +// Helper structure to hold the data needed by one rendering context into one OS window +// (Used by example's main.cpp. Used by multi-viewport features. Probably NOT used by your own engine/app.) +typedef struct ImGui_ImplVulkanH_Window_t +{ + int Width; + int Height; + VkSwapchainKHR Swapchain; + VkSurfaceKHR Surface; + VkSurfaceFormatKHR SurfaceFormat; + VkPresentModeKHR PresentMode; + VkRenderPass RenderPass; + bool UseDynamicRendering; + bool ClearEnable; + VkClearValue ClearValue; + uint32_t FrameIndex; // Current frame being rendered to (0 <= FrameIndex < FrameInFlightCount) + uint32_t ImageCount; // Number of simultaneous in-flight frames (returned by vkGetSwapchainImagesKHR, usually derived from min_image_count) + uint32_t SemaphoreCount; // Number of simultaneous in-flight frames + 1, to be able to use it in vkAcquireNextImageKHR + uint32_t SemaphoreIndex; // Current set of swapchain wait semaphores we're using (needs to be distinct from per frame data) + ImGui_ImplVulkanH_Frame* Frames; + ImGui_ImplVulkanH_FrameSemaphores* FrameSemaphores; +} ImGui_ImplVulkanH_Window; +#endif// #ifndef IMGUI_DISABLE +#ifdef __cplusplus +} // End of extern "C" block +#endif diff --git a/src/cached/cimgui_impl_vulkan.json b/src/cached/cimgui_impl_vulkan.json new file mode 100644 index 0000000..7e2ae7c --- /dev/null +++ b/src/cached/cimgui_impl_vulkan.json @@ -0,0 +1,2063 @@ +{ + "defines": [ + { + "name": "VK_NO_PROTOTYPES", + "conditionals": [ + { + "condition": "if", + "expression": "defined(IMGUI_IMPL_VULKAN_NO_PROTOTYPES)&&!defined(VK_NO_PROTOTYPES)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 51 + } + }, + { + "name": "NOMINMAX", + "conditionals": [ + { + "condition": "if", + "expression": "defined(VK_USE_PLATFORM_WIN32_KHR)&&!defined(NOMINMAX)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 54 + } + }, + { + "name": "IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING", + "conditionals": [ + { + "condition": "if", + "expression": "defined(VK_VERSION_1_3)|| defined(VK_KHR_dynamic_rendering)" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 64 + } + } + ], + "enums": [], + "typedefs": [], + "structs": [ + { + "name": "ImGui_ImplVulkan_InitInfo", + "original_fully_qualified_name": "ImGui_ImplVulkan_InitInfo", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Instance", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkInstance", + "description": { + "kind": "User", + "name": "VkInstance" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 74 + } + }, + { + "name": "PhysicalDevice", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkPhysicalDevice", + "description": { + "kind": "User", + "name": "VkPhysicalDevice" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 75 + } + }, + { + "name": "Device", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkDevice", + "description": { + "kind": "User", + "name": "VkDevice" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 76 + } + }, + { + "name": "QueueFamily", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 77 + } + }, + { + "name": "Queue", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkQueue", + "description": { + "kind": "User", + "name": "VkQueue" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 78 + } + }, + { + "name": "DescriptorPool", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkDescriptorPool", + "description": { + "kind": "User", + "name": "VkDescriptorPool" + } + }, + "comments": { + "attached": "// See requirements in note above" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 79 + } + }, + { + "name": "RenderPass", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkRenderPass", + "description": { + "kind": "User", + "name": "VkRenderPass" + } + }, + "comments": { + "attached": "// Ignored if using dynamic rendering" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 80 + } + }, + { + "name": "MinImageCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "comments": { + "attached": "// >= 2" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 81 + } + }, + { + "name": "ImageCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "comments": { + "attached": "// >= MinImageCount" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 82 + } + }, + { + "name": "MSAASamples", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkSampleCountFlagBits", + "description": { + "kind": "User", + "name": "VkSampleCountFlagBits" + } + }, + "comments": { + "attached": "// 0 defaults to VK_SAMPLE_COUNT_1_BIT" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 83 + } + }, + { + "name": "PipelineCache", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkPipelineCache", + "description": { + "kind": "User", + "name": "VkPipelineCache" + } + }, + "comments": { + "preceding": [ + "// (Optional)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 86 + } + }, + { + "name": "Subpass", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 87 + } + }, + { + "name": "UseDynamicRendering", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "comments": { + "preceding": [ + "// (Optional) Dynamic Rendering", + "// Need to explicitly enable VK_KHR_dynamic_rendering extension to use this, even for Vulkan 1.3." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 91 + } + }, + { + "name": "PipelineRenderingCreateInfo", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkPipelineRenderingCreateInfoKHR", + "description": { + "kind": "User", + "name": "VkPipelineRenderingCreateInfoKHR" + } + }, + "conditionals": [ + { + "condition": "ifdef", + "expression": "IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING" + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 93 + } + }, + { + "name": "Allocator", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "const VkAllocationCallbacks*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "VkAllocationCallbacks", + "storage_classes": [ + "const" + ] + } + } + }, + "comments": { + "preceding": [ + "// (Optional) Allocation, Debugging" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 97 + } + }, + { + "name": "CheckVkResultFn", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "void (*CheckVkResultFn)(VkResult err)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "err", + "type": { + "declaration": "VkResult", + "description": { + "kind": "User", + "name": "VkResult" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "CheckVkResultFn", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "Builtin", + "builtin_type": "void" + }, + "parameters": [ + { + "kind": "Type", + "name": "err", + "inner_type": { + "kind": "User", + "name": "VkResult" + } + } + ] + } + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h" + } + }, + { + "name": "MinAllocationSize", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkDeviceSize", + "description": { + "kind": "User", + "name": "VkDeviceSize" + } + }, + "comments": { + "attached": "// Minimum allocation size. Set to 1024*1024 to satisfy zealous best practices validation layer and waste a little memory." + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 99 + } + } + ], + "comments": { + "preceding": [ + "// Initialization data, for ImGui_ImplVulkan_Init()", + "// - VkDescriptorPool should be created with VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,", + "// and must contain a pool size large enough to hold an ImGui VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptor.", + "// - When using dynamic rendering, set UseDynamicRendering=true and fill PipelineRenderingCreateInfo structure.", + "// [Please zero-clear before use!]" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 72 + } + }, + { + "name": "ImDrawData", + "original_fully_qualified_name": "ImDrawData", + "kind": "struct", + "by_value": false, + "forward_declaration": true, + "is_anonymous": false, + "fields": [], + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 1 + } + }, + { + "name": "ImGui_ImplVulkanH_Frame", + "original_fully_qualified_name": "ImGui_ImplVulkanH_Frame", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "CommandPool", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkCommandPool", + "description": { + "kind": "User", + "name": "VkCommandPool" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 152 + } + }, + { + "name": "CommandBuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkCommandBuffer", + "description": { + "kind": "User", + "name": "VkCommandBuffer" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 153 + } + }, + { + "name": "Fence", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkFence", + "description": { + "kind": "User", + "name": "VkFence" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 154 + } + }, + { + "name": "Backbuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkImage", + "description": { + "kind": "User", + "name": "VkImage" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 155 + } + }, + { + "name": "BackbufferView", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkImageView", + "description": { + "kind": "User", + "name": "VkImageView" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 156 + } + }, + { + "name": "Framebuffer", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkFramebuffer", + "description": { + "kind": "User", + "name": "VkFramebuffer" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 157 + } + } + ], + "comments": { + "preceding": [ + "// Helper structure to hold the data needed by one rendering frame", + "// (Used by example's main.cpp. Used by multi-viewport features. Probably NOT used by your own engine/app.)", + "// [Please zero-clear before use!]" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 150 + } + }, + { + "name": "ImGui_ImplVulkanH_FrameSemaphores", + "original_fully_qualified_name": "ImGui_ImplVulkanH_FrameSemaphores", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "ImageAcquiredSemaphore", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkSemaphore", + "description": { + "kind": "User", + "name": "VkSemaphore" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 162 + } + }, + { + "name": "RenderCompleteSemaphore", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkSemaphore", + "description": { + "kind": "User", + "name": "VkSemaphore" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 163 + } + } + ], + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 160 + } + }, + { + "name": "ImGui_ImplVulkanH_Window", + "original_fully_qualified_name": "ImGui_ImplVulkanH_Window", + "kind": "struct", + "by_value": false, + "forward_declaration": false, + "is_anonymous": false, + "fields": [ + { + "name": "Width", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 170 + } + }, + { + "name": "Height", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 171 + } + }, + { + "name": "Swapchain", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkSwapchainKHR", + "description": { + "kind": "User", + "name": "VkSwapchainKHR" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 172 + } + }, + { + "name": "Surface", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkSurfaceKHR", + "description": { + "kind": "User", + "name": "VkSurfaceKHR" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 173 + } + }, + { + "name": "SurfaceFormat", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkSurfaceFormatKHR", + "description": { + "kind": "User", + "name": "VkSurfaceFormatKHR" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 174 + } + }, + { + "name": "PresentMode", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkPresentModeKHR", + "description": { + "kind": "User", + "name": "VkPresentModeKHR" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 175 + } + }, + { + "name": "RenderPass", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkRenderPass", + "description": { + "kind": "User", + "name": "VkRenderPass" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 176 + } + }, + { + "name": "UseDynamicRendering", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 177 + } + }, + { + "name": "ClearEnable", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 178 + } + }, + { + "name": "ClearValue", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "VkClearValue", + "description": { + "kind": "User", + "name": "VkClearValue" + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 179 + } + }, + { + "name": "FrameIndex", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "comments": { + "attached": "// Current frame being rendered to (0 <= FrameIndex < FrameInFlightCount)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 180 + } + }, + { + "name": "ImageCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "comments": { + "attached": "// Number of simultaneous in-flight frames (returned by vkGetSwapchainImagesKHR, usually derived from min_image_count)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 181 + } + }, + { + "name": "SemaphoreCount", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "comments": { + "attached": "// Number of simultaneous in-flight frames + 1, to be able to use it in vkAcquireNextImageKHR" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 182 + } + }, + { + "name": "SemaphoreIndex", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "comments": { + "attached": "// Current set of swapchain wait semaphores we're using (needs to be distinct from per frame data)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 183 + } + }, + { + "name": "Frames", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGui_ImplVulkanH_Frame*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGui_ImplVulkanH_Frame" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 184 + } + }, + { + "name": "FrameSemaphores", + "is_array": false, + "is_anonymous": false, + "type": { + "declaration": "ImGui_ImplVulkanH_FrameSemaphores*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGui_ImplVulkanH_FrameSemaphores" + } + } + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 185 + } + } + ], + "comments": { + "preceding": [ + "// Helper structure to hold the data needed by one rendering context into one OS window", + "// (Used by example's main.cpp. Used by multi-viewport features. Probably NOT used by your own engine/app.)" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 168 + } + } + ], + "functions": [ + { + "name": "cImGui_ImplVulkan_Init", + "original_fully_qualified_name": "ImGui_ImplVulkan_Init", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "info", + "type": { + "declaration": "ImGui_ImplVulkan_InitInfo*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGui_ImplVulkan_InitInfo" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Called by user code" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 103 + } + }, + { + "name": "cImGui_ImplVulkan_Shutdown", + "original_fully_qualified_name": "ImGui_ImplVulkan_Shutdown", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 104 + } + }, + { + "name": "cImGui_ImplVulkan_NewFrame", + "original_fully_qualified_name": "ImGui_ImplVulkan_NewFrame", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 105 + } + }, + { + "name": "cImGui_ImplVulkan_RenderDrawData", + "original_fully_qualified_name": "ImGui_ImplVulkan_RenderDrawData", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "draw_data", + "type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "command_buffer", + "type": { + "declaration": "VkCommandBuffer", + "description": { + "kind": "User", + "name": "VkCommandBuffer" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// Implied pipeline = VK_NULL_HANDLE" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 106 + } + }, + { + "name": "cImGui_ImplVulkan_RenderDrawDataEx", + "original_fully_qualified_name": "ImGui_ImplVulkan_RenderDrawData", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "draw_data", + "type": { + "declaration": "ImDrawData*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImDrawData" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "command_buffer", + "type": { + "declaration": "VkCommandBuffer", + "description": { + "kind": "User", + "name": "VkCommandBuffer" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "pipeline", + "type": { + "declaration": "VkPipeline", + "description": { + "kind": "User", + "name": "VkPipeline" + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "VK_NULL_HANDLE", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 106 + } + }, + { + "name": "cImGui_ImplVulkan_CreateFontsTexture", + "original_fully_qualified_name": "ImGui_ImplVulkan_CreateFontsTexture", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 107 + } + }, + { + "name": "cImGui_ImplVulkan_DestroyFontsTexture", + "original_fully_qualified_name": "ImGui_ImplVulkan_DestroyFontsTexture", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 108 + } + }, + { + "name": "cImGui_ImplVulkan_SetMinImageCount", + "original_fully_qualified_name": "ImGui_ImplVulkan_SetMinImageCount", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "min_image_count", + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "attached": "// To override MinImageCount after initialization (e.g. if swap chain is recreated)" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 109 + } + }, + { + "name": "cImGui_ImplVulkan_AddTexture", + "original_fully_qualified_name": "ImGui_ImplVulkan_AddTexture", + "return_type": { + "declaration": "VkDescriptorSet", + "description": { + "kind": "User", + "name": "VkDescriptorSet" + } + }, + "arguments": [ + { + "name": "sampler", + "type": { + "declaration": "VkSampler", + "description": { + "kind": "User", + "name": "VkSampler" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "image_view", + "type": { + "declaration": "VkImageView", + "description": { + "kind": "User", + "name": "VkImageView" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "image_layout", + "type": { + "declaration": "VkImageLayout", + "description": { + "kind": "User", + "name": "VkImageLayout" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Register a texture (VkDescriptorSet == ImTextureID)", + "// FIXME: This is experimental in the sense that we are unsure how to best design/tackle this problem", + "// Please post to https://github.com/ocornut/imgui/pull/914 if you have suggestions." + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 114 + } + }, + { + "name": "cImGui_ImplVulkan_RemoveTexture", + "original_fully_qualified_name": "ImGui_ImplVulkan_RemoveTexture", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "descriptor_set", + "type": { + "declaration": "VkDescriptorSet", + "description": { + "kind": "User", + "name": "VkDescriptorSet" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 115 + } + }, + { + "name": "cImGui_ImplVulkan_LoadFunctions", + "original_fully_qualified_name": "ImGui_ImplVulkan_LoadFunctions", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "loader_func", + "type": { + "declaration": "PFN_vkVoidFunction (*loader_func)(const char* function_name, void* user_data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "PFN_vkVoidFunction", + "description": { + "kind": "User", + "name": "PFN_vkVoidFunction" + } + }, + "arguments": [ + { + "name": "function_name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "loader_func", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "User", + "name": "PFN_vkVoidFunction" + }, + "parameters": [ + { + "kind": "Type", + "name": "function_name", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": true, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Optional: load Vulkan functions with a custom function loader", + "// This is only useful with IMGUI_IMPL_VULKAN_NO_PROTOTYPES / VK_NO_PROTOTYPES" + ], + "attached": "// Implied user_data = nullptr" + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 119 + } + }, + { + "name": "cImGui_ImplVulkan_LoadFunctionsEx", + "original_fully_qualified_name": "ImGui_ImplVulkan_LoadFunctions", + "return_type": { + "declaration": "bool", + "description": { + "kind": "Builtin", + "builtin_type": "bool" + } + }, + "arguments": [ + { + "name": "loader_func", + "type": { + "declaration": "PFN_vkVoidFunction (*loader_func)(const char* function_name, void* user_data)", + "type_details": { + "flavour": "function_pointer", + "return_type": { + "declaration": "PFN_vkVoidFunction", + "description": { + "kind": "User", + "name": "PFN_vkVoidFunction" + } + }, + "arguments": [ + { + "name": "function_name", + "type": { + "declaration": "const char*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ] + }, + "description": { + "kind": "Type", + "name": "loader_func", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Function", + "return_type": { + "kind": "User", + "name": "PFN_vkVoidFunction" + }, + "parameters": [ + { + "kind": "Type", + "name": "function_name", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "char", + "storage_classes": [ + "const" + ] + } + } + }, + { + "kind": "Type", + "name": "user_data", + "inner_type": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + } + ] + } + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "user_data", + "type": { + "declaration": "void*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "Builtin", + "builtin_type": "void" + } + } + }, + "is_array": false, + "is_varargs": false, + "default_value": "nullptr", + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 119 + } + }, + { + "name": "cImGui_ImplVulkanH_CreateOrResizeWindow", + "original_fully_qualified_name": "ImGui_ImplVulkanH_CreateOrResizeWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "instance", + "type": { + "declaration": "VkInstance", + "description": { + "kind": "User", + "name": "VkInstance" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "physical_device", + "type": { + "declaration": "VkPhysicalDevice", + "description": { + "kind": "User", + "name": "VkPhysicalDevice" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "device", + "type": { + "declaration": "VkDevice", + "description": { + "kind": "User", + "name": "VkDevice" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "wd", + "type": { + "declaration": "ImGui_ImplVulkanH_Window*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGui_ImplVulkanH_Window" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "queue_family", + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "allocator", + "type": { + "declaration": "const VkAllocationCallbacks*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "VkAllocationCallbacks", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "w", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "h", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "min_image_count", + "type": { + "declaration": "uint32_t", + "description": { + "kind": "User", + "name": "uint32_t" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "comments": { + "preceding": [ + "// Helpers" + ] + }, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 141 + } + }, + { + "name": "cImGui_ImplVulkanH_DestroyWindow", + "original_fully_qualified_name": "ImGui_ImplVulkanH_DestroyWindow", + "return_type": { + "declaration": "void", + "description": { + "kind": "Builtin", + "builtin_type": "void" + } + }, + "arguments": [ + { + "name": "instance", + "type": { + "declaration": "VkInstance", + "description": { + "kind": "User", + "name": "VkInstance" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "device", + "type": { + "declaration": "VkDevice", + "description": { + "kind": "User", + "name": "VkDevice" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "wd", + "type": { + "declaration": "ImGui_ImplVulkanH_Window*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "ImGui_ImplVulkanH_Window" + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "allocator", + "type": { + "declaration": "const VkAllocationCallbacks*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "VkAllocationCallbacks", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 142 + } + }, + { + "name": "cImGui_ImplVulkanH_SelectSurfaceFormat", + "original_fully_qualified_name": "ImGui_ImplVulkanH_SelectSurfaceFormat", + "return_type": { + "declaration": "VkSurfaceFormatKHR", + "description": { + "kind": "User", + "name": "VkSurfaceFormatKHR" + } + }, + "arguments": [ + { + "name": "physical_device", + "type": { + "declaration": "VkPhysicalDevice", + "description": { + "kind": "User", + "name": "VkPhysicalDevice" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "surface", + "type": { + "declaration": "VkSurfaceKHR", + "description": { + "kind": "User", + "name": "VkSurfaceKHR" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "request_formats", + "type": { + "declaration": "const VkFormat*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "VkFormat", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "request_formats_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "request_color_space", + "type": { + "declaration": "VkColorSpaceKHR", + "description": { + "kind": "User", + "name": "VkColorSpaceKHR" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 143 + } + }, + { + "name": "cImGui_ImplVulkanH_SelectPresentMode", + "original_fully_qualified_name": "ImGui_ImplVulkanH_SelectPresentMode", + "return_type": { + "declaration": "VkPresentModeKHR", + "description": { + "kind": "User", + "name": "VkPresentModeKHR" + } + }, + "arguments": [ + { + "name": "physical_device", + "type": { + "declaration": "VkPhysicalDevice", + "description": { + "kind": "User", + "name": "VkPhysicalDevice" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "surface", + "type": { + "declaration": "VkSurfaceKHR", + "description": { + "kind": "User", + "name": "VkSurfaceKHR" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "request_modes", + "type": { + "declaration": "const VkPresentModeKHR*", + "description": { + "kind": "Pointer", + "inner_type": { + "kind": "User", + "name": "VkPresentModeKHR", + "storage_classes": [ + "const" + ] + } + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + }, + { + "name": "request_modes_count", + "type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 144 + } + }, + { + "name": "cImGui_ImplVulkanH_GetMinImageCountFromPresentMode", + "original_fully_qualified_name": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", + "return_type": { + "declaration": "int", + "description": { + "kind": "Builtin", + "builtin_type": "int" + } + }, + "arguments": [ + { + "name": "present_mode", + "type": { + "declaration": "VkPresentModeKHR", + "description": { + "kind": "User", + "name": "VkPresentModeKHR" + } + }, + "is_array": false, + "is_varargs": false, + "is_instance_pointer": false + } + ], + "is_default_argument_helper": false, + "is_manual_helper": false, + "is_imstr_helper": false, + "has_imstr_helper": false, + "is_unformatted_helper": false, + "is_internal": false, + "source_location": { + "filename": "imgui_impl_vulkan.h", + "line": 145 + } + } + ] +} \ No newline at end of file diff --git a/src/generate.zig b/src/generate.zig new file mode 100644 index 0000000..12ca91d --- /dev/null +++ b/src/generate.zig @@ -0,0 +1,971 @@ +const std = @import("std"); +const Allocator = std.mem.Allocator; + +const Declarations = std.StringArrayHashMap(struct { is_opaque: bool }); +const max_size = 5000000; + +// The header type we'll parse from JSON. Fields are only included as needed. +// practice, etc. +const Header = struct { + defines: []Define, + typedefs: []Typedef, + enums: []Enum, + structs: []const Struct, + functions: []Function, + + const Define = struct { + name: []const u8, + content: ?[]const u8 = null, + is_internal: bool, + conditionals: []const Conditional = &.{}, + }; + + const Typedef = struct { + name: []const u8, + type: Type, + conditionals: []const Conditional = &.{}, + }; + + const Enum = struct { + name: []const u8, + storage_type: StorageType = .{ .declaration = .int }, + is_flags_enum: bool, + elements: []const Element, + is_internal: bool, + conditionals: []const Conditional = &.{}, + + const Element = struct { + name: []const u8, + value: i64, + is_count: bool, + is_internal: bool, + conditionals: []const Conditional = &.{}, + }; + + const StorageType = struct { + declaration: enum { int, ImU8 }, + }; + }; + + const Struct = struct { + name: []const u8, + is_anonymous: bool, + kind: enum { @"struct", @"union" }, + forward_declaration: bool, + fields: []const Field, + conditionals: []const Conditional = &.{}, + + const Field = struct { + name: []const u8, + is_anonymous: bool, + type: Type, + width: ?usize = null, + default_value: ?std.json.Value = null, + conditionals: []const Conditional = &.{}, + }; + }; + + const Function = struct { + original_class: ?[]const u8 = null, + name: []const u8, + arguments: []const Argument = &.{}, + return_type: Type, + conditionals: []const Conditional = &.{}, + + const Argument = struct { + type: ?Type = null, + is_varargs: bool, + is_instance_pointer: bool, + default_value: ?[]const u8 = null, + }; + }; + + // `dear_bindings` doesn't parse these for us, it just forwards the c preprocessor strings. + // This is a whitelist of the current values so that we can react appropriately as new values + // are added. + const Conditional = struct { + condition: enum { ifdef, ifndef, @"if", ifnot }, + expression: enum { + IMGUI_DISABLE_OBSOLETE_FUNCTIONS, + IMGUI_DISABLE_OBSOLETE_KEYIO, + IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT, + IMGUI_USE_WCHAR32, + ImTextureID, + ImDrawIdx, + ImDrawCallback, + CIMGUI_API, + CIMGUI_IMPL_API, + @"defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID)", + @"defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_OBSOLETE_KEYIO)", + IMGUI_DEFINE_MATH_OPERATORS, + IM_COL32_R_SHIFT, + IMGUI_USE_BGRA_PACKED_COLOR, + IM_DRAWLIST_TEX_LINES_WIDTH_MAX, + @"defined(IMGUI_DISABLE_METRICS_WINDOW)&&!defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_DEBUG_TOOLS)", + @"defined(IMGUI_HAS_IMSTR)", + IMGUI_HAS_IMSTR, + @"defined(IMGUI_IMPL_VULKAN_NO_PROTOTYPES)&&!defined(VK_NO_PROTOTYPES)", + @"defined(VK_USE_PLATFORM_WIN32_KHR)&&!defined(NOMINMAX)", + @"defined(VK_VERSION_1_3)|| defined(VK_KHR_dynamic_rendering)", + IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING, + }, + }; + + const Type = struct { + type_details: ?Details = null, + description: Description, + + const Details = struct { + flavour: enum { function_pointer }, + arguments: []const struct { + type: Type, + is_array: bool, + is_varargs: bool, + }, + return_type: *Type, + }; + + const Description = struct { + kind: enum { Type, Function, Array, Pointer, Builtin, User }, + storage_classes: []const enum { @"const" } = &.{}, + inner_type: ?*Description = null, + bounds: ?[]const u8 = null, // Literal or variable + builtin_type: ?Builtin = null, + name: ?[]const u8 = null, + + const Builtin = enum { + void, + char, + unsigned_char, + short, + unsigned_short, + int, + unsigned_int, + long, + unsigned_long, + long_long, + unsigned_long_long, + float, + double, + long_double, + bool, + }; + }; + }; +}; + +pub fn main() !void { + // Allocator and command line args + var gpa = std.heap.GeneralPurposeAllocator(.{ + .thread_safe = false, + }){}; + defer std.debug.assert(gpa.deinit() == .ok); + const allocator = gpa.allocator(); + + var args = try std.process.argsWithAllocator(allocator); + std.debug.assert(args.skip()); + const in_path = args.next().?; + const out_path = args.next().?; + const prefix_path = args.next(); + const postfix_path = args.next(); + std.debug.assert(args.next() == null); + + const out = try std.fs.cwd().createFile(out_path, .{}); + defer out.close(); + var buf = std.io.bufferedWriter(out.writer()); + const writer = buf.writer(); + + // Write the prefix + if (prefix_path) |p| { + const prefix_source = try std.fs.cwd().readFileAlloc(allocator, p, max_size); + defer allocator.free(prefix_source); + try writer.writeAll(prefix_source); + try writer.writeAll("\n// End of prefix\n\n"); + } + + // Write the source + { + const source = try std.fs.cwd().readFileAlloc(allocator, in_path, max_size); + defer allocator.free(source); + + const header = try std.json.parseFromSlice(Header, allocator, source, .{ + .ignore_unknown_fields = true, + }); + defer header.deinit(); + + // We need the list of declarations up front. + var declarations = try getDeclarations(allocator, &header.value); + defer declarations.deinit(); + + // Write all defines as private constants. + try writeDefines(writer, &header.value); + + // Write all typedefs as private constants. + try writeTypedefs(writer, &header.value, &declarations); + + // Write all cimgui functions as private extern functions. + try writeExternFunctions(writer, &header.value, &declarations); + + // Alias cimgui free functions under Zig friendly names. + try writeFreeFunctions(writer, &header.value); + + // Get a list of cimgui methods. These were already written as externs, and can be aliased + // when we write their respective types. + var methods = try Methods.get(allocator, &header.value); + defer methods.deinit(); + + // Write cimgui enums as Zig enums. + try writeEnums(allocator, writer, &header.value); + + // Write cimgui structs as Zig structs and unions. + try writeStructs(writer, &header.value, &declarations, &methods); + + // Write helpers used by the other generated code. + try writeHelpers(writer); + } + + // Write the postfix + if (postfix_path) |p| { + const postfix_source = try std.fs.cwd().readFileAlloc(allocator, p, max_size); + defer allocator.free(postfix_source); + try writer.writeAll("\n// Start of postfix\n\n"); + try writer.writeAll(postfix_source); + } + + // Flush and exit + try buf.flush(); +} + +fn getDeclarations(allocator: Allocator, header: *const Header) !Declarations { + var declarations = Declarations.init(allocator); + errdefer declarations.deinit(); + for (header.structs) |ty| { + if (skip(ty.conditionals)) continue; + + // Check if we're a forward decl, or a packed struct. + // + // We *could* write out the Zig code to pack them by passing the widths in when writing + // the type (and overwriting number types with the actual width, asserting otherwise.) + // + // However, we'd need to decide the correct backing type for the packed struct to make + // it compatible with C. I'm also not 100% what the guarantees are for packed struct + // layout in C. + var is_opaque = false; + if (ty.forward_declaration) { + is_opaque = true; + } else if (ty.kind == .@"struct") { + for (ty.fields) |field| if (field.width != null) { + is_opaque = true; + break; + }; + } + + const trimmed = std.mem.trimRight(u8, ty.name, "_"); + try declarations.put(trimmed, .{ .is_opaque = is_opaque }); + } + + for (header.enums) |e| { + if (e.is_internal) continue; + if (skip(e.conditionals)) continue; + + const trimmed = std.mem.trimRight(u8, e.name, "_"); + try declarations.put(trimmed, .{ .is_opaque = false }); + } + + return declarations; +} + +fn writeDefines(writer: anytype, header: *const Header) !void { + for (header.defines) |define| { + if (define.is_internal) continue; + if (skip(define.conditionals)) continue; + if (define.content) |content| { + try writer.print("const {s} = {s};\n", .{ define.name, content }); + } + } +} + +fn writeTypedefs(writer: anytype, header: *const Header, declarations: *const Declarations) !void { + for (header.typedefs) |typedef| { + // Skip typedefs skipped by the preprocessor + if (skip(typedef.conditionals)) continue; + + // Skip duplicate declarations (e.g. naming enums as ints in C) + if (declarations.contains(typedef.name)) continue; + + // Write the typedef + try writer.writeAll("const "); + try writeTypeName(writer, typedef.name); + try writer.writeAll(" = "); + try writeType(writer, typedef.type, declarations, .{}); + try writer.writeAll(";\n"); + } +} + +fn writeExternFunctions( + writer: anytype, + header: *const Header, + declarations: *const Declarations, +) !void { + for (header.functions) |function| { + if (skip(function.conditionals)) continue; + if (argsContainsVaList(function.arguments)) continue; + + try writer.print("extern fn {s}(", .{function.name}); + for (function.arguments) |argument| { + if (argument.type) |ty| { + std.debug.assert(!argument.is_varargs); + try writeType(writer, ty, declarations, .{ + .is_instance_pointer = argument.is_instance_pointer, + .is_argument = true, + .default_null = if (argument.default_value) |d| std.mem.eql(u8, d, "NULL") else false, + }); + } else { + std.debug.assert(argument.is_varargs); + try writer.writeAll("..."); + } + try writer.writeAll(", "); + } + try writer.writeAll(") callconv(.C) "); + try writeType(writer, function.return_type, declarations, .{ .is_result = true }); + try writer.writeAll(";\n"); + } +} + +fn argsContainsVaList(arguments: []const Header.Function.Argument) bool { + for (arguments) |argument| { + if (argument.type) |ty| { + if (ty.description.name) |name| { + if (std.mem.eql(u8, name, "va_list")) return true; + } + } + } + return false; +} + +fn writeFreeFunctions(writer: anytype, header: *const Header) !void { + for (header.functions) |function| { + if (skip(function.conditionals)) continue; + if (function.original_class != null) continue; + if (argsContainsVaList(function.arguments)) continue; + + try writer.writeAll("pub const "); + try writeFunctionName(writer, function.name); + try writer.print(" = {s};\n", .{function.name}); + } +} + +const Methods = struct { + types: std.StringArrayHashMap(std.ArrayList([]const u8)), + + fn get(allocator: Allocator, header: *const Header) !Methods { + // Initialize an empty method list for each type + var types = std.StringArrayHashMap(std.ArrayList([]const u8)).init(allocator); + errdefer types.deinit(); + errdefer for (types.values()) |methods| { + methods.deinit(); + }; + for (header.structs) |ty| { + const methods = std.ArrayList([]const u8).init(allocator); + errdefer methods.deinit(); + try types.put(ty.name, methods); + } + + // Fill in the method lists + for (header.functions) |function| { + if (skip(function.conditionals)) continue; + if (argsContainsVaList(function.arguments)) continue; + + if (function.original_class) |class| { + const methods = types.getPtr(class).?; + try methods.append(function.name); + } + } + + return .{ .types = types }; + } + + fn deinit(self: *Methods) void { + for (self.types.values()) |methods| { + methods.deinit(); + } + self.types.deinit(); + self.* = undefined; + } +}; + +fn writeEnums(allocator: Allocator, writer: anytype, header: *const Header) !void { + for (header.enums) |e| { + if (e.is_internal) continue; + if (skip(e.conditionals)) continue; + + try writer.writeAll("pub const "); + try writeTypeName(writer, e.name); + try writer.writeAll(" = "); + + if (e.is_flags_enum) { + try writeFlagsEnum(writer, e); + } else { + try writeNormalEnum(allocator, writer, e); + } + } +} + +fn writeFlagsEnum(writer: anytype, e: Header.Enum) !void { + const backing, const backing_bits = switch (e.storage_type.declaration) { + .int => .{"c_int", @typeInfo(c_int).Int.bits}, + .ImU8 => .{"u8", 8}, + }; + try writer.print("packed struct({s}) {{\n", .{backing}); + var current_offset: usize = 0; + var padding_i: usize = 0; + for (e.elements) |element| { + // Skip internal elements, and elements discarded by preprocessor + if (skip(element.conditionals)) continue; + if (element.is_internal) continue; + if (element.value == 0) continue; + + // Calculate the offset of this element + const offset = std.math.log2(@as(usize, @intCast(element.value))); + + // Sometimes at the end of flag sets, elements are defined that are combinations of + // existing flags. Skip these--the only reasonable representation would be constants, but + // they're hard to compose in Zig so it's not worth it. + if (offset < current_offset) { + continue; + } + + // Add padding to get this element to the correct offset + const padding = offset - current_offset; + if (padding > 0) { + try writer.print(" __padding{}: u{} = 0,\n", .{ padding_i, padding }); + padding_i += 1; + current_offset = offset; + } + + // Write the element + try writer.writeAll(" "); + try writeElementName(writer, e.name, element.name); + try writer.writeAll(": bool = false,\n"); + current_offset += 1; + } + + // Add padding at end to make total type the correct size + const padding = backing_bits - current_offset; + if (padding > 0) { + try writer.print(" __padding{}: u{} = 0,\n", .{ padding_i, padding }); + } + + try writer.writeAll("};\n"); +} + +fn writeNormalEnum(allocator: Allocator, writer: anytype, e: Header.Enum) !void { + var values = std.AutoArrayHashMap(i64, void).init(allocator); + defer values.deinit(); + + try writer.writeAll("enum("); + switch (e.storage_type.declaration) { + .int => try writer.writeAll("c_int"), + .ImU8 => try writer.writeAll("u8"), + } + try writer.writeAll(") {\n"); + + // Write elements + for (e.elements) |element| { + // Skip internal and count + if (element.is_internal) continue; + if (element.is_count) continue; + if (skip(element.conditionals)) continue; + + // We skip duplicate values, these are sometimes present e.g. in the keys enum which + // contains the mods enum and therefore two "none" options that are identical. + if (values.contains(element.value)) continue; + try values.put(element.value, {}); + + // Write the element + try writer.writeAll(" "); + try writeElementName(writer, e.name, element.name); + try writer.print(" = {},\n", .{element.value}); + } + + // Write constants since they're used internally, but keep them private + for (e.elements) |element| { + if (element.is_count) { + try writer.writeAll(" const "); + try writeElementName(writer, e.name, element.name); + try writer.print(" = {};\n", .{element.value}); + } + } + + try writer.writeAll("};\n"); +} + +fn writeStructs( + writer: anytype, + header: *const Header, + declarations: *const Declarations, + methods: *const Methods, +) !void { + for (header.structs) |ty| { + // Skip structs skipped by the preprocessor. We don't skip structs marked as internal, + // because many of these appear to be generally useful (it may be set incorrectly in the + // JSON?) + if (skip(ty.conditionals)) continue; + + // Write the struct + try writer.writeAll("pub const "); + try writeTypeName(writer, ty.name); + try writer.writeAll(" = "); + + // If we're opaque, don't try to fill out the struct fields + if (declarations.get(ty.name).?.is_opaque) { + try writer.writeAll("opaque {};\n"); + continue; + } + + // Declare the struct or union + switch (ty.kind) { + .@"struct" => try writer.writeAll("extern struct {\n"), + .@"union" => try writer.writeAll("extern union {\n"), + } + + // Fill in the fields + for (ty.fields) |field| { + // Skip fields skipped by the preprocessor. + if (skip(field.conditionals)) continue; + + // Not yet used, but when it is we want to start using it. Safe to disable this assert + // if you're just trying to get things working with a different version. + if (field.default_value != null) @panic("unimplemented"); + + // Write the field. + try writer.writeAll(" "); + if (field.is_anonymous) { + try writer.writeAll("data"); + } else { + try writeFieldName(writer, field.name); + } + try writer.writeAll(": "); + try writeType(writer, field.type, declarations, .{}); + try writer.writeAll(",\n"); + } + + // Alias all relevant methods into the type. + const method_names = methods.types.getPtr(ty.name).?; + for (method_names.items) |name| { + try writer.writeAll(" pub const "); + try writeFunctionName(writer, name[ty.name.len + 1..]); + try writer.print(" = {s};\n", .{name}); + } + + try writer.writeAll("};\n"); + } +} + +fn writeHelpers(writer: anytype) !void { + try writer.writeAll( + \\fn toUsize(v: anytype) usize { + \\ if (@typeInfo(@TypeOf(v)) == .Enum) return @intFromEnum(v); + \\ return @intCast(v); + \\} + \\ + ); +} + +// Type hints aren't required, but they help us figure out the best pointer types to use. +const WriteTypeHints = packed struct { + is_instance_pointer: bool = false, + is_argument: bool = false, + default_null: bool = false, + is_result: bool = false, +}; + +// Write a cimgui type as a Zig type. +fn writeType( + writer: anytype, + ty: Header.Type, + declarations: *const Declarations, + hints: WriteTypeHints, +) @TypeOf(writer).Error!void { + // Handle function pointers which are stored separately. + if (ty.type_details) |details| switch (details.flavour) { + .function_pointer => return writeFunctionPointer(writer, details, declarations), + }; + + // Handle all other types + switch (ty.description.kind) { + .Builtin => return writeBuiltinType(writer, ty.description.builtin_type.?), + .Array => return writeArrayType(writer, ty.description, declarations), + .Pointer => return writePointerType(writer, ty, declarations, hints), + .User => try writeTypeName(writer, ty.description.name.?), + .Type, .Function => @panic("unimplemented"), + } +} + +fn writeFunctionPointer( + writer: anytype, + details: Header.Type.Details, + declarations: *const Declarations, +) !void { + try writer.writeAll("*const fn("); + for (details.arguments) |argument| { + try writeType(writer, argument.type, declarations, .{}); + try writer.writeAll(", "); + } + try writer.writeAll(") callconv(.C) "); + try writeType(writer, details.return_type.*, declarations, .{}); +} + +fn writeBuiltinType(writer: anytype, builtin_type: Header.Type.Description.Builtin) !void { + switch (builtin_type) { + .void => try writer.writeAll("void"), + .char, .unsigned_char => try writer.writeAll("u8"), + .short => try writer.writeAll("c_short"), + .unsigned_short => try writer.writeAll("c_ushort"), + .int => try writer.writeAll("c_int"), + .unsigned_int => try writer.writeAll("c_uint"), + .long => try writer.writeAll("c_long"), + .unsigned_long => try writer.writeAll("c_ulong"), + .long_long => try writer.writeAll("c_longlong"), + .unsigned_long_long => try writer.writeAll("c_ulonglong"), + .float => try writer.writeAll("f32"), + .double => try writer.writeAll("f64"), + .long_double => try writer.writeAll("c_longdouble"), + .bool => try writer.writeAll("bool"), + } +} + +fn writeArrayType( + writer: anytype, + description: Header.Type.Description, + declarations: *const Declarations, +) !void { + if (description.bounds) |bounds| { + try writeArrayBounds(writer, bounds); + } else { + try writer.writeAll("[*]"); + } + try writeType( + writer, + .{ .description = description.inner_type.?.* }, + declarations, + .{}, + ); +} + +// Array bounds sometimes include expressions, so we need to tokenize them and convert the +// expressions to Zig syntax. +fn writeArrayBounds(writer: anytype, bounds: []const u8) !void { + try writer.writeByte('['); + var token_start: usize = 0; + while (token_start < bounds.len) { + // Calculate token start + if (bounds[token_start] == ' ') { + token_start += 1; + continue; + } + + // Special handling for one character tokens + switch (bounds[token_start]) { + '(' => { + const token = bounds[token_start .. token_start + 1]; + token_start += 1; + try writer.writeAll(token); + continue; + }, + '+', '/' => { + const token = bounds[token_start .. token_start + 1]; + token_start += 1; + try writer.print(" {s} ", .{token}); + continue; + }, + else => {}, + } + + // Calculate token end + var token_end = token_start + 1; + while (token_end < bounds.len) : (token_end += 1) { + switch (bounds[token_end]) { + ' ', '+', ')', '/' => break, + else => {}, + } + } + const token = bounds[token_start..token_end]; + token_start = token_end; + + // As of the time of writing, tokens here are either numbers or enum values. + if (std.mem.indexOfScalar(u8, token, '_')) |underscore| { + // If it's all uppercase, it's a define. Otherwise it's an enum. + const is_define = for (token) |c| { + switch (c) { + 'a'...'z' => break false, + else => {}, + } + } else true; + + if (is_define) { + try writer.writeAll(token); + } else { + try writer.writeAll("toUsize("); + const type_name = token[0..underscore]; + try writeTypeName(writer, type_name); + try writer.writeByte('.'); + try writeElementName(writer, type_name, token); + try writer.writeAll(")"); + } + } else { + // Otherwise, just write the value as is. + try writer.writeAll(token); + } + } + try writer.writeByte(']'); +} + +fn writePointerType( + writer: anytype, + ty: Header.Type, + declarations: *const Declarations, + hints: WriteTypeHints, +) !void { + // Check if we're a pointer to an opaque type + var is_opaque = false; + if (ty.description.inner_type.?.name) |name| { + if (declarations.get(name)) |decl| { + is_opaque = decl.is_opaque; + } + } + + // Check if we're a pointer to void + const is_void = ty.description.inner_type.?.builtin_type == .void; + + // Check if we're a string + const is_string = b: { + if (ty.description.inner_type.?.builtin_type != .char) break :b false; + for (ty.description.inner_type.?.*.storage_classes) |storage_class| switch (storage_class) { + .@"const" => break :b true, + }; + break :b false; + }; + + // Use the hints to decide what kind of pointer we are + if (is_string) { + // We currently write all strings as c pointers since some are null terminated, and some are + // not. + try writer.writeAll("[*c]"); + } else if (hints.is_instance_pointer) { + // We assume all instance pointers do *not* allow null. + std.debug.assert(!hints.default_null); + try writer.writeByte('*'); + } else if (hints.is_argument) { + // Arguments are assumed to be single value pointers, because many value pointers when + // passed as arguments get marked as arrays and handled separately from pointers. + if (hints.default_null) { + // If the default value is set to null, we must be nullable. Otherwise we conservatively + // assume null is not allowed, which tends to be correct in practice more often than + // not. + try writer.writeByte('?'); + } + try writer.writeByte('*'); + } else if (hints.is_result) { + // Results are assumed to be single value pointers, since otherwise, we'd have no way of + // knowing the length. We conservatively assume these are nullable since we have no way of + // knowing. Ideally dear bindings would mark this eventually (there is a field for it but + // it is unused), if it becomes annoying we can always add a whitelist. + try writer.writeAll("?*"); + } else { + // If we've reached this case, we're a struct field, and we don't know whether it's many + // value or nullable. We fall back to a c pointer so that the user can decide how to + // interpret it with less friction, unless it's an opaque type in which case that's not + // allowed so we assume it's a nullable single value pointer. + if (is_opaque or is_void) { + try writer.writeAll("?*"); + } else { + try writer.writeAll("[*c]"); + } + } + + // Write any storage classes + for (ty.description.inner_type.?.*.storage_classes) |storage_class| switch (storage_class) { + .@"const" => try writer.writeAll("const "), + }; + + // Write the actual type + if (is_void) { + // Treat pointers to c void as pointers to anyopaque + try writer.writeAll("anyopaque"); + } else { + try writeType( + writer, + .{ .description = ty.description.inner_type.?.* }, + declarations, + .{}, + ); + } +} + +// Returns true if we should skip due to a conditional +fn skip(conditionals: []const Header.Conditional) bool { + for (conditionals) |conditional| { + const defined = switch (conditional.expression) { + .IMGUI_DISABLE_OBSOLETE_FUNCTIONS, + .IMGUI_DISABLE_OBSOLETE_KEYIO, + .CIMGUI_API, + .CIMGUI_IMPL_API, + .@"defined(IMGUI_IMPL_VULKAN_NO_PROTOTYPES)&&!defined(VK_NO_PROTOTYPES)", + .@"defined(VK_USE_PLATFORM_WIN32_KHR)&&!defined(NOMINMAX)", + .IMGUI_IMPL_VULKAN_HAS_DYNAMIC_RENDERING, + .@"defined(VK_VERSION_1_3)|| defined(VK_KHR_dynamic_rendering)", + => true, + .IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT, + .IMGUI_USE_WCHAR32, + .ImTextureID, + .ImDrawIdx, + .ImDrawCallback, + .@"defined(_MSC_VER)&&!defined(__clang__)&&!defined(__INTEL_COMPILER)&&!defined(IMGUI_DEBUG_PARANOID)", + .@"defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_OBSOLETE_KEYIO)", + .IMGUI_DEFINE_MATH_OPERATORS, + .IM_COL32_R_SHIFT, + .IMGUI_USE_BGRA_PACKED_COLOR, + .IM_DRAWLIST_TEX_LINES_WIDTH_MAX, + .@"defined(IMGUI_DISABLE_METRICS_WINDOW)&&!defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)&&!defined(IMGUI_DISABLE_DEBUG_TOOLS)", + .@"defined(IMGUI_HAS_IMSTR)", + .IMGUI_HAS_IMSTR, + => false, + }; + switch (conditional.condition) { + .ifdef, .@"if" => if (!defined) return true, + .ifndef, .ifnot => if (defined) return true, + } + } + return false; +} + +// Converts a cimgui type name to a Zig type name +fn writeTypeName(writer: anytype, raw: []const u8) !void { + // These are considered user types + if (std.mem.eql(u8, raw, "size_t")) { + try writer.writeAll("usize"); + return; + } + + if (std.mem.eql(u8, raw, "uint32_t")) { + try writer.writeAll("u32"); + return; + } + + // We skip all declarations that contain `va_list`, so this shouldn't trigger. + if (std.mem.eql(u8, raw, "va_list")) unreachable; + + // Remove prefixes + var name = raw; + { + // Imgui prefixes + { + const prefixes: []const []const u8 = &.{ "ImGui", "Im" }; + for (prefixes) |prefix| { + if (std.mem.startsWith(u8, name, prefix)) { + name = name[prefix.len..]; + break; + } + } + } + + // Backend prefixes + { + const prefixes: []const []const u8 = &.{ "_ImplVulkanH", "_ImplVulkan" }; + for (prefixes) |prefix| { + if (std.mem.startsWith(u8, name, prefix)) { + name = name[prefix.len..]; + break; + } + } + } + } + + for (name) |c| switch (c) { + '_' => {}, + else => try writer.writeByte(c), + }; +} + +// Convert a cimgui field name to a Zig field name +fn writeFieldName(writer: anytype, name: []const u8) !void { + var escape = false; + for (name, 0..) |c, i| { + switch (c) { + '0'...'9' => { + if (i == 0) { + escape = true; + try writer.writeAll("@\""); + } else switch (name[i - 1]) { + '0'...'9' => {}, + else => try writer.writeByte('_'), + } + try writer.writeByte(c); + }, + 'a'...'z' => try writer.writeByte(c), + 'A'...'Z' => { + if (i > 0) switch (name[i - 1]) { + 'A'...'Z', '_' => {}, + else => try writer.writeByte('_'), + }; + try writer.writeByte(c + 32); + }, + '_' => if (i != name.len - 1) try writer.writeByte('_'), + else => std.debug.panic("unexpected char in name: {c}", .{c}), + } + } + if (escape) try writer.writeAll("\""); +} + +// Convert a cimgui element name to a Zig element name +fn writeElementName(writer: anytype, type_name: []const u8, raw: []const u8) !void { + var name = if (std.mem.startsWith(u8, raw, type_name)) raw[type_name.len..] else raw; + name = if (std.mem.startsWith(u8, name, "ImGui")) name["ImGui".len..] else name; + name = if (name[0] == '_') name[1..] else name; + try writeFieldName(writer, name); +} + +// Write a cimgui function name as a Zig function name +fn writeFunctionName(writer: anytype, raw: []const u8) !void { + var name = raw; + + // Imgui prefixes + { + const prefixes: []const []const u8 = &.{ "cImGui_ImplVulkan", "ImGui", "Im" }; + for (prefixes) |prefix| { + if (std.mem.startsWith(u8, name, prefix)) { + name = name[prefix.len..]; + break; + } + } + } + + if (name[0] == '_') name = name[1..]; + + // Lowercase the first set of contiguous capital letters + var i: usize = 0; + while (i < name.len and name[i] >= 'A' and name[i] <= 'Z') : (i += 1) { + try writer.writeByte(name[i] + 32); + } + + // The rest of the string is usually already camelcase, write it as is unless we encounter an + // underscore in which case we should skip it an uppercase the next letter. + if (i < name.len) { + var uppercase_next = false; + for (name[i..]) |c| { + // If we're an underscore, skip it and uppercase the next letter + if (c == '_') { + uppercase_next = true; + continue; + } + + // Write the next character, adjusting the case as necessary + switch (c) { + 'a'...'z' => try writer.writeByte(if (uppercase_next) c - 32 else c), + else => try writer.writeByte(c), + } + uppercase_next = false; + } + } +} diff --git a/src/templates/cimgui_postfix.zig.template b/src/templates/cimgui_postfix.zig.template new file mode 100644 index 0000000..b055e68 --- /dev/null +++ b/src/templates/cimgui_postfix.zig.template @@ -0,0 +1,8 @@ +// It's unclear to me where the generator gets this define (maybe it's directly from the original +// cpp header?), so we generate it manually. +pub fn col32(r: u32, g: u32, b: u32, a: u32) u32 { + return a << IM_COL32_A_SHIFT | + b << IM_COL32_B_SHIFT | + g << IM_COL32_G_SHIFT | + r << IM_COL32_R_SHIFT; +} diff --git a/src/templates/cimgui_prefix.zig.template b/src/templates/cimgui_prefix.zig.template new file mode 100644 index 0000000..e69de29 diff --git a/src/templates/impl_vulkan_postfix.zig.template b/src/templates/impl_vulkan_postfix.zig.template new file mode 100644 index 0000000..8e30c4f --- /dev/null +++ b/src/templates/impl_vulkan_postfix.zig.template @@ -0,0 +1,2 @@ + }; +} diff --git a/src/templates/impl_vulkan_prefix.zig.template b/src/templates/impl_vulkan_prefix.zig.template new file mode 100644 index 0000000..96424ea --- /dev/null +++ b/src/templates/impl_vulkan_prefix.zig.template @@ -0,0 +1,68 @@ +const Options = struct { + PFNvkVoidFunction: type, + VkAllocationCallbacks: type, + VkClearValue: type, + VkColorSpaceKHR: type, + VkCommandBuffer: type, + VkCommandPool: type, + VkDescriptorPool: type, + VkDescriptorSet: type, + VkDevice: type, + VkDeviceSize: type, + VkFence: type, + VkFramebuffer: type, + VkImage: type, + VkImageLayout: type, + VkImageView: type, + VkInstance: type, + VkPhysicalDevice: type, + VkPipeline: type, + VkPipelineCache: type, + VkPipelineRenderingCreateInfoKHR: type, + VkPresentModeKHR: type, + VkQueue: type, + VkRenderPass: type, + VkResult: type, + VkSampleCountFlagBits: type, + VkSampler: type, + VkSemaphore: type, + VkSurfaceFormatKHR: type, + VkSurfaceKHR: type, + VkSwapchainKHR: type, + VkFormat: type, +}; + +pub fn get(options: Options) type { + const VkFormat = options.VkFormat; + const PFNvkVoidFunction = options.PFNvkVoidFunction; + const VkAllocationCallbacks = options.VkAllocationCallbacks; + const VkClearValue = options.VkClearValue; + const VkColorSpaceKHR = options.VkColorSpaceKHR; + const VkCommandBuffer = options.VkCommandBuffer; + const VkCommandPool = options.VkCommandPool; + const VkDescriptorPool = options.VkDescriptorPool; + const VkDescriptorSet = options.VkDescriptorSet; + const VkDevice = options.VkDevice; + const VkDeviceSize = options.VkDeviceSize; + const VkFence = options.VkFence; + const VkFramebuffer = options.VkFramebuffer; + const VkImage = options.VkImage; + const VkImageLayout = options.VkImageLayout; + const VkImageView = options.VkImageView; + const VkInstance = options.VkInstance; + const VkPhysicalDevice = options.VkPhysicalDevice; + const VkPipeline = options.VkInstance; + const VkPipelineCache = options.VkPipelineCache; + const VkPipelineRenderingCreateInfoKHR = options.VkPipelineRenderingCreateInfoKHR; + const VkPresentModeKHR = options.VkPresentModeKHR; + const VkQueue = options.VkQueue; + const VkRenderPass = options.VkRenderPass; + const VkResult = options.VkResult; + const VkSampleCountFlagBits = options.VkSampleCountFlagBits; + const VkSampler = options.VkSampler; + const VkSemaphore = options.VkSemaphore; + const VkSurfaceFormatKHR = options.VkSurfaceFormatKHR; + const VkSurfaceKHR = options.VkSurfaceKHR; + const VkSwapchainKHR = options.VkSwapchainKHR; + + return struct {