Skip to content

armgit / BUI

Public Imported from GitHub
0

Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI

127 KB
Raw Blame
// cimgui.h: the C API of Dear ImGui 1.93.1 WIP (as vendored in bindings/imgui/extern/imgui).
// Generated by bindings/imgui/gen/gen.py from imgui.h: do not edit (py -3 -I bindings/imgui/gen/gen.py).
//
// Naming: ImGui::Button -> ImGui_Button(label) (required arguments) and
// ImGui_ButtonEx(label, size) (all arguments: C has no default arguments).
// Methods take the object first: ImDrawList_AddLine(draw_list, p1, p2, col).
// Overloads get a suffix from the differing parameter types: ImGui_PushIDInt, ImGui_MenuItemBoolPtr.
// References become pointers (ImGui_GetIO() returns ImGuiIO*); const ImVec2& becomes ImVec2.
// Constructors / destructors: X_New(...) / X_Delete(X*). Struct layouts match imgui.h
// (checked by static_asserts in cimgui.cpp).
//
// SPDX-License-Identifier: MIT (Dear ImGui) / GPL-2.0-or-later (BUI)

#pragma once
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdarg.h>

#ifndef CIMGUI_API
#define CIMGUI_API
#endif

#ifdef __cplusplus
extern "C" {
#endif

#ifndef IMGUI_VERSION
#define IMGUI_VERSION "1.93.1 WIP"
#endif
#ifndef IMGUI_VERSION_NUM
#define IMGUI_VERSION_NUM 19302
#endif
#ifndef IMGUI_PAYLOAD_TYPE_COLOR_3F
#define IMGUI_PAYLOAD_TYPE_COLOR_3F "_COL3F"
#endif
#ifndef IMGUI_PAYLOAD_TYPE_COLOR_4F
#define IMGUI_PAYLOAD_TYPE_COLOR_4F "_COL4F"
#endif
#ifndef IM_UNICODE_CODEPOINT_INVALID
#define IM_UNICODE_CODEPOINT_INVALID 0xFFFD
#endif
#ifndef IM_UNICODE_CODEPOINT_MAX
#define IM_UNICODE_CODEPOINT_MAX 0xFFFF
#endif
#ifndef IM_COL32_R_SHIFT
#define IM_COL32_R_SHIFT 0
#endif
#ifndef IM_COL32_G_SHIFT
#define IM_COL32_G_SHIFT 8
#endif
#ifndef IM_COL32_B_SHIFT
#define IM_COL32_B_SHIFT 16
#endif
#ifndef IM_COL32_A_SHIFT
#define IM_COL32_A_SHIFT 24
#endif
#ifndef IM_COL32_A_MASK
#define IM_COL32_A_MASK 0xFF000000
#endif
#define IM_COL32(R,G,B,A) (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))
#define IM_COL32_WHITE IM_COL32(255,255,255,255)
#define IM_COL32_BLACK IM_COL32(0,0,0,255)
#define IM_COL32_BLACK_TRANS IM_COL32(0,0,0,0)

// Opaque and forward-declared structs
struct ImDrawListSharedData; typedef struct ImDrawListSharedData ImDrawListSharedData;
struct ImFontAtlasBuilder; typedef struct ImFontAtlasBuilder ImFontAtlasBuilder;
struct ImFontLoader; typedef struct ImFontLoader ImFontLoader;
struct ImGuiContext; typedef struct ImGuiContext ImGuiContext;
struct ImGuiTextFilterItem; typedef struct ImGuiTextFilterItem ImGuiTextFilterItem;
struct ImVec2; typedef struct ImVec2 ImVec2;
struct ImVec4; typedef struct ImVec4 ImVec4;
struct ImTextureRef; typedef struct ImTextureRef ImTextureRef;
struct ImGuiTableSortSpecs; typedef struct ImGuiTableSortSpecs ImGuiTableSortSpecs;
struct ImGuiTableColumnSortSpecs; typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs;
struct ImGuiStyle; typedef struct ImGuiStyle ImGuiStyle;
struct ImGuiKeyData; typedef struct ImGuiKeyData ImGuiKeyData;
struct ImGuiIO; typedef struct ImGuiIO ImGuiIO;
struct ImGuiInputTextCallbackData; typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData;
struct ImGuiSizeCallbackData; typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
struct ImGuiPayload; typedef struct ImGuiPayload ImGuiPayload;
struct ImGuiOnceUponAFrame; typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
struct ImGuiTextFilter; typedef struct ImGuiTextFilter ImGuiTextFilter;
struct ImGuiTextBuffer; typedef struct ImGuiTextBuffer ImGuiTextBuffer;
struct ImGuiStoragePair; typedef struct ImGuiStoragePair ImGuiStoragePair;
struct ImGuiStorage; typedef struct ImGuiStorage ImGuiStorage;
struct ImGuiListClipper; typedef struct ImGuiListClipper ImGuiListClipper;
struct ImColor; typedef struct ImColor ImColor;
struct ImGuiMultiSelectIO; typedef struct ImGuiMultiSelectIO ImGuiMultiSelectIO;
struct ImGuiSelectionRequest; typedef struct ImGuiSelectionRequest ImGuiSelectionRequest;
struct ImGuiSelectionBasicStorage; typedef struct ImGuiSelectionBasicStorage ImGuiSelectionBasicStorage;
struct ImGuiSelectionExternalStorage; typedef struct ImGuiSelectionExternalStorage ImGuiSelectionExternalStorage;
struct ImDrawCmd; typedef struct ImDrawCmd ImDrawCmd;
struct ImDrawVert; typedef struct ImDrawVert ImDrawVert;
struct ImDrawCmdHeader; typedef struct ImDrawCmdHeader ImDrawCmdHeader;
struct ImDrawChannel; typedef struct ImDrawChannel ImDrawChannel;
struct ImDrawListSplitter; typedef struct ImDrawListSplitter ImDrawListSplitter;
struct ImDrawList; typedef struct ImDrawList ImDrawList;
struct ImDrawData; typedef struct ImDrawData ImDrawData;
struct ImTextureRect; typedef struct ImTextureRect ImTextureRect;
struct ImTextureData; typedef struct ImTextureData ImTextureData;
struct ImFontConfig; typedef struct ImFontConfig ImFontConfig;
struct ImFontGlyph; typedef struct ImFontGlyph ImFontGlyph;
struct ImFontGlyphRangesBuilder; typedef struct ImFontGlyphRangesBuilder ImFontGlyphRangesBuilder;
struct ImFontAtlasRect; typedef struct ImFontAtlasRect ImFontAtlasRect;
struct ImFontAtlas; typedef struct ImFontAtlas ImFontAtlas;
struct ImFontBaked; typedef struct ImFontBaked ImFontBaked;
struct ImFont; typedef struct ImFont ImFont;
struct ImGuiViewport; typedef struct ImGuiViewport ImGuiViewport;
struct ImGuiPlatformIO; typedef struct ImGuiPlatformIO ImGuiPlatformIO;
struct ImGuiPlatformImeData; typedef struct ImGuiPlatformImeData ImGuiPlatformImeData;

// Scalar typedefs
typedef unsigned int ImGuiID;
typedef signed char ImS8;
typedef unsigned char ImU8;
typedef signed short ImS16;
typedef unsigned short ImU16;
typedef signed int ImS32;
typedef unsigned int ImU32;
typedef signed long long ImS64;
typedef unsigned long long ImU64;
typedef int ImGuiCol;
typedef int ImGuiCond;
typedef int ImGuiDataType;
typedef int ImGuiMouseButton;
typedef int ImGuiMouseCursor;
typedef int ImGuiStyleVar;
typedef int ImGuiTableBgTarget;
typedef int ImDrawFlags;
typedef int ImDrawTextFlags;
typedef int ImFontFlags;
typedef int ImFontAtlasFlags;
typedef int ImGuiBackendFlags;
typedef int ImGuiButtonFlags;
typedef int ImGuiChildFlags;
typedef int ImGuiColorEditFlags;
typedef int ImGuiConfigFlags;
typedef int ImGuiComboFlags;
typedef int ImGuiDragDropFlags;
typedef int ImGuiFocusedFlags;
typedef int ImGuiHoveredFlags;
typedef int ImGuiInputFlags;
typedef int ImGuiInputTextFlags;
typedef int ImGuiItemFlags;
typedef int ImGuiKeyChord;
typedef int ImGuiListClipperFlags;
typedef int ImGuiPopupFlags;
typedef int ImGuiMultiSelectFlags;
typedef int ImGuiSelectableFlags;
typedef int ImGuiSliderFlags;
typedef int ImGuiTabBarFlags;
typedef int ImGuiTabItemFlags;
typedef int ImGuiTableFlags;
typedef int ImGuiTableColumnFlags;
typedef int ImGuiTableRowFlags;
typedef int ImGuiTreeNodeFlags;
typedef int ImGuiViewportFlags;
typedef int ImGuiWindowFlags;
typedef unsigned int ImWchar32;
typedef unsigned short ImWchar16;
typedef ImWchar16 ImWchar;
typedef ImS64 ImGuiSelectionUserData;
typedef ImU64 ImTextureID;
typedef unsigned short ImDrawIdx;
typedef int ImFontAtlasRectId;

// Enums (values as integers; enum types are int-sized typedefs in C)
enum ImGuiWindowFlags_ {
    ImGuiWindowFlags_None = 0,
    ImGuiWindowFlags_NoTitleBar = 1,
    ImGuiWindowFlags_NoResize = 2,
    ImGuiWindowFlags_NoMove = 4,
    ImGuiWindowFlags_NoScrollbar = 8,
    ImGuiWindowFlags_NoScrollWithMouse = 16,
    ImGuiWindowFlags_NoCollapse = 32,
    ImGuiWindowFlags_AlwaysAutoResize = 64,
    ImGuiWindowFlags_NoBackground = 128,
    ImGuiWindowFlags_NoSavedSettings = 256,
    ImGuiWindowFlags_NoMouseInputs = 512,
    ImGuiWindowFlags_MenuBar = 1024,
    ImGuiWindowFlags_HorizontalScrollbar = 2048,
    ImGuiWindowFlags_NoFocusOnAppearing = 4096,
    ImGuiWindowFlags_NoBringToFrontOnFocus = 8192,
    ImGuiWindowFlags_AlwaysVerticalScrollbar = 16384,
    ImGuiWindowFlags_AlwaysHorizontalScrollbar = 32768,
    ImGuiWindowFlags_NoNavInputs = 65536,
    ImGuiWindowFlags_NoNavFocus = 131072,
    ImGuiWindowFlags_UnsavedDocument = 262144,
    ImGuiWindowFlags_NoNav = 196608,
    ImGuiWindowFlags_NoDecoration = 43,
    ImGuiWindowFlags_NoInputs = 197120,
    ImGuiWindowFlags_ChildWindow = 16777216,
    ImGuiWindowFlags_Tooltip = 33554432,
    ImGuiWindowFlags_Popup = 67108864,
    ImGuiWindowFlags_Modal = 134217728,
    ImGuiWindowFlags_ChildMenu = 268435456,
};
enum ImGuiChildFlags_ {
    ImGuiChildFlags_None = 0,
    ImGuiChildFlags_Borders = 1,
    ImGuiChildFlags_AlwaysUseWindowPadding = 2,
    ImGuiChildFlags_ResizeX = 4,
    ImGuiChildFlags_ResizeY = 8,
    ImGuiChildFlags_AutoResizeX = 16,
    ImGuiChildFlags_AutoResizeY = 32,
    ImGuiChildFlags_AlwaysAutoResize = 64,
    ImGuiChildFlags_FrameStyle = 128,
    ImGuiChildFlags_NavFlattened = 256,
};
enum ImGuiItemFlags_ {
    ImGuiItemFlags_None = 0,
    ImGuiItemFlags_NoTabStop = 1,
    ImGuiItemFlags_NoNav = 2,
    ImGuiItemFlags_NoNavDefaultFocus = 4,
    ImGuiItemFlags_ButtonRepeat = 8,
    ImGuiItemFlags_AutoClosePopups = 16,
    ImGuiItemFlags_AllowDuplicateId = 32,
    ImGuiItemFlags_Disabled = 64,
    ImGuiItemFlags_LiveEditOnInputText = 128,
    ImGuiItemFlags_LiveEditOnInputScalar = 256,
    ImGuiItemFlags_LiveEditOnInput = 384,
    ImGuiItemFlags_MixedValue = 512,
};
enum ImGuiInputTextFlags_ {
    ImGuiInputTextFlags_None = 0,
    ImGuiInputTextFlags_CharsDecimal = 1,
    ImGuiInputTextFlags_CharsHexadecimal = 2,
    ImGuiInputTextFlags_CharsScientific = 4,
    ImGuiInputTextFlags_CharsUppercase = 8,
    ImGuiInputTextFlags_CharsNoBlank = 16,
    ImGuiInputTextFlags_AllowTabInput = 32,
    ImGuiInputTextFlags_EnterReturnsTrue = 64,
    ImGuiInputTextFlags_EscapeClearsAll = 128,
    ImGuiInputTextFlags_CtrlEnterForNewLine = 256,
    ImGuiInputTextFlags_ReadOnly = 512,
    ImGuiInputTextFlags_Password = 1024,
    ImGuiInputTextFlags_AlwaysOverwrite = 2048,
    ImGuiInputTextFlags_AutoSelectAll = 4096,
    ImGuiInputTextFlags_ParseEmptyRefVal = 8192,
    ImGuiInputTextFlags_DisplayEmptyRefVal = 16384,
    ImGuiInputTextFlags_NoHorizontalScroll = 32768,
    ImGuiInputTextFlags_NoUndoRedo = 65536,
    ImGuiInputTextFlags_ElideLeft = 131072,
    ImGuiInputTextFlags_CallbackCompletion = 262144,
    ImGuiInputTextFlags_CallbackHistory = 524288,
    ImGuiInputTextFlags_CallbackAlways = 1048576,
    ImGuiInputTextFlags_CallbackCharFilter = 2097152,
    ImGuiInputTextFlags_CallbackResize = 4194304,
    ImGuiInputTextFlags_CallbackEdit = 8388608,
    ImGuiInputTextFlags_WordWrap = 16777216,
};
enum ImGuiTreeNodeFlags_ {
    ImGuiTreeNodeFlags_None = 0,
    ImGuiTreeNodeFlags_Selected = 1,
    ImGuiTreeNodeFlags_Framed = 2,
    ImGuiTreeNodeFlags_AllowOverlap = 4,
    ImGuiTreeNodeFlags_NoTreePushOnOpen = 8,
    ImGuiTreeNodeFlags_NoAutoOpenOnLog = 16,
    ImGuiTreeNodeFlags_DefaultOpen = 32,
    ImGuiTreeNodeFlags_OpenOnDoubleClick = 64,
    ImGuiTreeNodeFlags_OpenOnArrow = 128,
    ImGuiTreeNodeFlags_Leaf = 256,
    ImGuiTreeNodeFlags_Bullet = 512,
    ImGuiTreeNodeFlags_FramePadding = 1024,
    ImGuiTreeNodeFlags_SpanAvailWidth = 2048,
    ImGuiTreeNodeFlags_SpanFullWidth = 4096,
    ImGuiTreeNodeFlags_SpanLabelWidth = 8192,
    ImGuiTreeNodeFlags_SpanAllColumns = 16384,
    ImGuiTreeNodeFlags_LabelSpanAllColumns = 32768,
    ImGuiTreeNodeFlags_NavLeftJumpsToParent = 131072,
    ImGuiTreeNodeFlags_CollapsingHeader = 26,
    ImGuiTreeNodeFlags_DrawLinesNone = 262144,
    ImGuiTreeNodeFlags_DrawLinesFull = 524288,
    ImGuiTreeNodeFlags_DrawLinesToNodes = 1048576,
};
enum ImGuiPopupFlags_ {
    ImGuiPopupFlags_None = 0,
    ImGuiPopupFlags_MouseButtonLeft = 4,
    ImGuiPopupFlags_MouseButtonRight = 8,
    ImGuiPopupFlags_MouseButtonMiddle = 12,
    ImGuiPopupFlags_NoReopen = 32,
    ImGuiPopupFlags_NoOpenOverExistingPopup = 128,
    ImGuiPopupFlags_NoOpenOverItems = 256,
    ImGuiPopupFlags_AnyPopupId = 1024,
    ImGuiPopupFlags_AnyPopupLevel = 2048,
    ImGuiPopupFlags_AnyPopup = 3072,
    ImGuiPopupFlags_MouseButtonShift_ = 2,
    ImGuiPopupFlags_MouseButtonMask_ = 12,
    ImGuiPopupFlags_InvalidMask_ = 3,
};
enum ImGuiSelectableFlags_ {
    ImGuiSelectableFlags_None = 0,
    ImGuiSelectableFlags_NoAutoClosePopups = 1,
    ImGuiSelectableFlags_SpanAllColumns = 2,
    ImGuiSelectableFlags_AllowDoubleClick = 4,
    ImGuiSelectableFlags_Disabled = 8,
    ImGuiSelectableFlags_AllowOverlap = 16,
    ImGuiSelectableFlags_Highlight = 32,
    ImGuiSelectableFlags_SelectOnNav = 64,
};
enum ImGuiComboFlags_ {
    ImGuiComboFlags_None = 0,
    ImGuiComboFlags_PopupAlignLeft = 1,
    ImGuiComboFlags_HeightSmall = 2,
    ImGuiComboFlags_HeightRegular = 4,
    ImGuiComboFlags_HeightLarge = 8,
    ImGuiComboFlags_HeightLargest = 16,
    ImGuiComboFlags_NoArrowButton = 32,
    ImGuiComboFlags_NoPreview = 64,
    ImGuiComboFlags_WidthFitPreview = 128,
    ImGuiComboFlags_HeightMask_ = 30,
};
enum ImGuiTabBarFlags_ {
    ImGuiTabBarFlags_None = 0,
    ImGuiTabBarFlags_Reorderable = 1,
    ImGuiTabBarFlags_AutoSelectNewTabs = 2,
    ImGuiTabBarFlags_TabListPopupButton = 4,
    ImGuiTabBarFlags_NoCloseWithMiddleMouseButton = 8,
    ImGuiTabBarFlags_NoTabListScrollingButtons = 16,
    ImGuiTabBarFlags_NoTooltip = 32,
    ImGuiTabBarFlags_DrawSelectedOverline = 64,
    ImGuiTabBarFlags_FittingPolicyMixed = 128,
    ImGuiTabBarFlags_FittingPolicyShrink = 256,
    ImGuiTabBarFlags_FittingPolicyScroll = 512,
    ImGuiTabBarFlags_FittingPolicyMask_ = 896,
    ImGuiTabBarFlags_FittingPolicyDefault_ = 128,
};
enum ImGuiTabItemFlags_ {
    ImGuiTabItemFlags_None = 0,
    ImGuiTabItemFlags_UnsavedDocument = 1,
    ImGuiTabItemFlags_SetSelected = 2,
    ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 4,
    ImGuiTabItemFlags_NoPushId = 8,
    ImGuiTabItemFlags_NoTooltip = 16,
    ImGuiTabItemFlags_NoReorder = 32,
    ImGuiTabItemFlags_Leading = 64,
    ImGuiTabItemFlags_Trailing = 128,
    ImGuiTabItemFlags_NoAssumedClosure = 256,
};
enum ImGuiFocusedFlags_ {
    ImGuiFocusedFlags_None = 0,
    ImGuiFocusedFlags_ChildWindows = 1,
    ImGuiFocusedFlags_RootWindow = 2,
    ImGuiFocusedFlags_AnyWindow = 4,
    ImGuiFocusedFlags_NoPopupHierarchy = 8,
    ImGuiFocusedFlags_RootAndChildWindows = 3,
};
enum ImGuiHoveredFlags_ {
    ImGuiHoveredFlags_None = 0,
    ImGuiHoveredFlags_ChildWindows = 1,
    ImGuiHoveredFlags_RootWindow = 2,
    ImGuiHoveredFlags_AnyWindow = 4,
    ImGuiHoveredFlags_NoPopupHierarchy = 8,
    ImGuiHoveredFlags_AllowWhenBlockedByPopup = 32,
    ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 128,
    ImGuiHoveredFlags_AllowWhenOverlappedByItem = 256,
    ImGuiHoveredFlags_AllowWhenOverlappedByWindow = 512,
    ImGuiHoveredFlags_AllowWhenDisabled = 1024,
    ImGuiHoveredFlags_NoNavOverride = 2048,
    ImGuiHoveredFlags_AllowWhenOverlapped = 768,
    ImGuiHoveredFlags_RectOnly = 928,
    ImGuiHoveredFlags_RootAndChildWindows = 3,
    ImGuiHoveredFlags_ForTooltip = 4096,
    ImGuiHoveredFlags_Stationary = 8192,
    ImGuiHoveredFlags_DelayNone = 16384,
    ImGuiHoveredFlags_DelayShort = 32768,
    ImGuiHoveredFlags_DelayNormal = 65536,
    ImGuiHoveredFlags_NoSharedDelay = 131072,
};
enum ImGuiDragDropFlags_ {
    ImGuiDragDropFlags_None = 0,
    ImGuiDragDropFlags_SourceNoPreviewTooltip = 1,
    ImGuiDragDropFlags_SourceNoDisableHover = 2,
    ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 4,
    ImGuiDragDropFlags_SourceAllowNullID = 8,
    ImGuiDragDropFlags_SourceExtern = 16,
    ImGuiDragDropFlags_PayloadAutoExpire = 32,
    ImGuiDragDropFlags_PayloadNoCrossContext = 64,
    ImGuiDragDropFlags_PayloadNoCrossProcess = 128,
    ImGuiDragDropFlags_AcceptBeforeDelivery = 1024,
    ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 2048,
    ImGuiDragDropFlags_AcceptNoPreviewTooltip = 4096,
    ImGuiDragDropFlags_AcceptDrawAsHovered = 8192,
    ImGuiDragDropFlags_AcceptPeekOnly = 3072,
};
enum ImGuiDataType_ {
    ImGuiDataType_S8 = 0,
    ImGuiDataType_U8 = 1,
    ImGuiDataType_S16 = 2,
    ImGuiDataType_U16 = 3,
    ImGuiDataType_S32 = 4,
    ImGuiDataType_U32 = 5,
    ImGuiDataType_S64 = 6,
    ImGuiDataType_U64 = 7,
    ImGuiDataType_Float = 8,
    ImGuiDataType_Double = 9,
    ImGuiDataType_Bool = 10,
    ImGuiDataType_String = 11,
    ImGuiDataType_COUNT = 12,
};
typedef int ImGuiDir;
enum ImGuiDir_ {
    ImGuiDir_None = -1,
    ImGuiDir_Left = 0,
    ImGuiDir_Right = 1,
    ImGuiDir_Up = 2,
    ImGuiDir_Down = 3,
    ImGuiDir_COUNT = 4,
};
typedef ImU8 ImGuiSortDirection;
enum ImGuiSortDirection_ {
    ImGuiSortDirection_None = 0,
    ImGuiSortDirection_Ascending = 1,
    ImGuiSortDirection_Descending = 2,
};
typedef int ImGuiKey;
enum ImGuiKey_ {
    ImGuiKey_None = 0,
    ImGuiKey_NamedKey_BEGIN = 512,
    ImGuiKey_Tab = 512,
    ImGuiKey_LeftArrow = 513,
    ImGuiKey_RightArrow = 514,
    ImGuiKey_UpArrow = 515,
    ImGuiKey_DownArrow = 516,
    ImGuiKey_PageUp = 517,
    ImGuiKey_PageDown = 518,
    ImGuiKey_Home = 519,
    ImGuiKey_End = 520,
    ImGuiKey_Insert = 521,
    ImGuiKey_Delete = 522,
    ImGuiKey_Backspace = 523,
    ImGuiKey_Space = 524,
    ImGuiKey_Enter = 525,
    ImGuiKey_Escape = 526,
    ImGuiKey_LeftCtrl = 527,
    ImGuiKey_LeftShift = 528,
    ImGuiKey_LeftAlt = 529,
    ImGuiKey_LeftSuper = 530,
    ImGuiKey_RightCtrl = 531,
    ImGuiKey_RightShift = 532,
    ImGuiKey_RightAlt = 533,
    ImGuiKey_RightSuper = 534,
    ImGuiKey_Menu = 535,
    ImGuiKey_0 = 536,
    ImGuiKey_1 = 537,
    ImGuiKey_2 = 538,
    ImGuiKey_3 = 539,
    ImGuiKey_4 = 540,
    ImGuiKey_5 = 541,
    ImGuiKey_6 = 542,
    ImGuiKey_7 = 543,
    ImGuiKey_8 = 544,
    ImGuiKey_9 = 545,
    ImGuiKey_A = 546,
    ImGuiKey_B = 547,
    ImGuiKey_C = 548,
    ImGuiKey_D = 549,
    ImGuiKey_E = 550,
    ImGuiKey_F = 551,
    ImGuiKey_G = 552,
    ImGuiKey_H = 553,
    ImGuiKey_I = 554,
    ImGuiKey_J = 555,
    ImGuiKey_K = 556,
    ImGuiKey_L = 557,
    ImGuiKey_M = 558,
    ImGuiKey_N = 559,
    ImGuiKey_O = 560,
    ImGuiKey_P = 561,
    ImGuiKey_Q = 562,
    ImGuiKey_R = 563,
    ImGuiKey_S = 564,
    ImGuiKey_T = 565,
    ImGuiKey_U = 566,
    ImGuiKey_V = 567,
    ImGuiKey_W = 568,
    ImGuiKey_X = 569,
    ImGuiKey_Y = 570,
    ImGuiKey_Z = 571,
    ImGuiKey_F1 = 572,
    ImGuiKey_F2 = 573,
    ImGuiKey_F3 = 574,
    ImGuiKey_F4 = 575,
    ImGuiKey_F5 = 576,
    ImGuiKey_F6 = 577,
    ImGuiKey_F7 = 578,
    ImGuiKey_F8 = 579,
    ImGuiKey_F9 = 580,
    ImGuiKey_F10 = 581,
    ImGuiKey_F11 = 582,
    ImGuiKey_F12 = 583,
    ImGuiKey_F13 = 584,
    ImGuiKey_F14 = 585,
    ImGuiKey_F15 = 586,
    ImGuiKey_F16 = 587,
    ImGuiKey_F17 = 588,
    ImGuiKey_F18 = 589,
    ImGuiKey_F19 = 590,
    ImGuiKey_F20 = 591,
    ImGuiKey_F21 = 592,
    ImGuiKey_F22 = 593,
    ImGuiKey_F23 = 594,
    ImGuiKey_F24 = 595,
    ImGuiKey_Apostrophe = 596,
    ImGuiKey_Comma = 597,
    ImGuiKey_Minus = 598,
    ImGuiKey_Period = 599,
    ImGuiKey_Slash = 600,
    ImGuiKey_Semicolon = 601,
    ImGuiKey_Equal = 602,
    ImGuiKey_LeftBracket = 603,
    ImGuiKey_Backslash = 604,
    ImGuiKey_RightBracket = 605,
    ImGuiKey_GraveAccent = 606,
    ImGuiKey_CapsLock = 607,
    ImGuiKey_ScrollLock = 608,
    ImGuiKey_NumLock = 609,
    ImGuiKey_PrintScreen = 610,
    ImGuiKey_Pause = 611,
    ImGuiKey_Keypad0 = 612,
    ImGuiKey_Keypad1 = 613,
    ImGuiKey_Keypad2 = 614,
    ImGuiKey_Keypad3 = 615,
    ImGuiKey_Keypad4 = 616,
    ImGuiKey_Keypad5 = 617,
    ImGuiKey_Keypad6 = 618,
    ImGuiKey_Keypad7 = 619,
    ImGuiKey_Keypad8 = 620,
    ImGuiKey_Keypad9 = 621,
    ImGuiKey_KeypadDecimal = 622,
    ImGuiKey_KeypadDivide = 623,
    ImGuiKey_KeypadMultiply = 624,
    ImGuiKey_KeypadSubtract = 625,
    ImGuiKey_KeypadAdd = 626,
    ImGuiKey_KeypadEnter = 627,
    ImGuiKey_KeypadEqual = 628,
    ImGuiKey_AppBack = 629,
    ImGuiKey_AppForward = 630,
    ImGuiKey_Oem102 = 631,
    ImGuiKey_GamepadStart = 632,
    ImGuiKey_GamepadBack = 633,
    ImGuiKey_GamepadFaceLeft = 634,
    ImGuiKey_GamepadFaceRight = 635,
    ImGuiKey_GamepadFaceUp = 636,
    ImGuiKey_GamepadFaceDown = 637,
    ImGuiKey_GamepadDpadLeft = 638,
    ImGuiKey_GamepadDpadRight = 639,
    ImGuiKey_GamepadDpadUp = 640,
    ImGuiKey_GamepadDpadDown = 641,
    ImGuiKey_GamepadL1 = 642,
    ImGuiKey_GamepadR1 = 643,
    ImGuiKey_GamepadL2 = 644,
    ImGuiKey_GamepadR2 = 645,
    ImGuiKey_GamepadL3 = 646,
    ImGuiKey_GamepadR3 = 647,
    ImGuiKey_GamepadLStickLeft = 648,
    ImGuiKey_GamepadLStickRight = 649,
    ImGuiKey_GamepadLStickUp = 650,
    ImGuiKey_GamepadLStickDown = 651,
    ImGuiKey_GamepadRStickLeft = 652,
    ImGuiKey_GamepadRStickRight = 653,
    ImGuiKey_GamepadRStickUp = 654,
    ImGuiKey_GamepadRStickDown = 655,
    ImGuiKey_MouseLeft = 656,
    ImGuiKey_MouseRight = 657,
    ImGuiKey_MouseMiddle = 658,
    ImGuiKey_MouseX1 = 659,
    ImGuiKey_MouseX2 = 660,
    ImGuiKey_MouseWheelX = 661,
    ImGuiKey_MouseWheelY = 662,
    ImGuiKey_ReservedForModCtrl = 663,
    ImGuiKey_ReservedForModShift = 664,
    ImGuiKey_ReservedForModAlt = 665,
    ImGuiKey_ReservedForModSuper = 666,
    ImGuiKey_NamedKey_END = 667,
    ImGuiKey_NamedKey_COUNT = 155,
    ImGuiMod_None = 0,
    ImGuiMod_Ctrl = 4096,
    ImGuiMod_Shift = 8192,
    ImGuiMod_Alt = 16384,
    ImGuiMod_Super = 32768,
    ImGuiMod_Mask_ = 61440,
};
enum ImGuiInputFlags_ {
    ImGuiInputFlags_None = 0,
    ImGuiInputFlags_Repeat = 1,
    ImGuiInputFlags_RouteActive = 1024,
    ImGuiInputFlags_RouteFocused = 2048,
    ImGuiInputFlags_RouteGlobal = 4096,
    ImGuiInputFlags_RouteAlways = 8192,
    ImGuiInputFlags_RouteOverFocused = 16384,
    ImGuiInputFlags_RouteOverActive = 32768,
    ImGuiInputFlags_RouteUnlessBgFocused = 65536,
    ImGuiInputFlags_RouteFromRootWindow = 131072,
    ImGuiInputFlags_Tooltip = 262144,
};
enum ImGuiConfigFlags_ {
    ImGuiConfigFlags_None = 0,
    ImGuiConfigFlags_NavEnableKeyboard = 1,
    ImGuiConfigFlags_NavEnableGamepad = 2,
    ImGuiConfigFlags_NoMouse = 16,
    ImGuiConfigFlags_NoMouseCursorChange = 32,
    ImGuiConfigFlags_NoKeyboard = 64,
    ImGuiConfigFlags_IsSRGB = 1048576,
    ImGuiConfigFlags_IsTouchScreen = 2097152,
};
enum ImGuiBackendFlags_ {
    ImGuiBackendFlags_None = 0,
    ImGuiBackendFlags_HasGamepad = 1,
    ImGuiBackendFlags_HasMouseCursors = 2,
    ImGuiBackendFlags_HasSetMousePos = 4,
    ImGuiBackendFlags_RendererHasVtxOffset = 8,
    ImGuiBackendFlags_RendererHasTextures = 16,
};
enum ImGuiCol_ {
    ImGuiCol_Text = 0,
    ImGuiCol_TextDisabled = 1,
    ImGuiCol_WindowBg = 2,
    ImGuiCol_ChildBg = 3,
    ImGuiCol_PopupBg = 4,
    ImGuiCol_Border = 5,
    ImGuiCol_BorderShadow = 6,
    ImGuiCol_FrameBg = 7,
    ImGuiCol_FrameBgHovered = 8,
    ImGuiCol_FrameBgActive = 9,
    ImGuiCol_TitleBg = 10,
    ImGuiCol_TitleBgActive = 11,
    ImGuiCol_TitleBgCollapsed = 12,
    ImGuiCol_MenuBarBg = 13,
    ImGuiCol_ScrollbarBg = 14,
    ImGuiCol_ScrollbarGrab = 15,
    ImGuiCol_ScrollbarGrabHovered = 16,
    ImGuiCol_ScrollbarGrabActive = 17,
    ImGuiCol_CheckMark = 18,
    ImGuiCol_CheckboxSelectedBg = 19,
    ImGuiCol_SliderGrab = 20,
    ImGuiCol_SliderGrabActive = 21,
    ImGuiCol_Button = 22,
    ImGuiCol_ButtonHovered = 23,
    ImGuiCol_ButtonActive = 24,
    ImGuiCol_Header = 25,
    ImGuiCol_HeaderHovered = 26,
    ImGuiCol_HeaderActive = 27,
    ImGuiCol_Separator = 28,
    ImGuiCol_SeparatorHovered = 29,
    ImGuiCol_SeparatorActive = 30,
    ImGuiCol_ResizeGrip = 31,
    ImGuiCol_ResizeGripHovered = 32,
    ImGuiCol_ResizeGripActive = 33,
    ImGuiCol_InputTextCursor = 34,
    ImGuiCol_TabHovered = 35,
    ImGuiCol_Tab = 36,
    ImGuiCol_TabSelected = 37,
    ImGuiCol_TabSelectedOverline = 38,
    ImGuiCol_TabDimmed = 39,
    ImGuiCol_TabDimmedSelected = 40,
    ImGuiCol_TabDimmedSelectedOverline = 41,
    ImGuiCol_PlotLines = 42,
    ImGuiCol_PlotLinesHovered = 43,
    ImGuiCol_PlotHistogram = 44,
    ImGuiCol_PlotHistogramHovered = 45,
    ImGuiCol_TableHeaderBg = 46,
    ImGuiCol_TableBorderStrong = 47,
    ImGuiCol_TableBorderLight = 48,
    ImGuiCol_TableRowBg = 49,
    ImGuiCol_TableRowBgAlt = 50,
    ImGuiCol_TextLink = 51,
    ImGuiCol_TextSelectedBg = 52,
    ImGuiCol_TreeLines = 53,
    ImGuiCol_DragDropTarget = 54,
    ImGuiCol_DragDropTargetBg = 55,
    ImGuiCol_UnsavedMarker = 56,
    ImGuiCol_NavCursor = 57,
    ImGuiCol_NavWindowingHighlight = 58,
    ImGuiCol_NavWindowingDimBg = 59,
    ImGuiCol_ModalWindowDimBg = 60,
    ImGuiCol_COUNT = 61,
};
enum ImGuiStyleVar_ {
    ImGuiStyleVar_Alpha = 0,
    ImGuiStyleVar_DisabledAlpha = 1,
    ImGuiStyleVar_WindowPadding = 2,
    ImGuiStyleVar_WindowRounding = 3,
    ImGuiStyleVar_WindowBorderSize = 4,
    ImGuiStyleVar_WindowMinSize = 5,
    ImGuiStyleVar_WindowTitleAlign = 6,
    ImGuiStyleVar_ChildRounding = 7,
    ImGuiStyleVar_ChildBorderSize = 8,
    ImGuiStyleVar_PopupRounding = 9,
    ImGuiStyleVar_PopupBorderSize = 10,
    ImGuiStyleVar_FramePadding = 11,
    ImGuiStyleVar_FrameRounding = 12,
    ImGuiStyleVar_FrameBorderSize = 13,
    ImGuiStyleVar_ItemSpacing = 14,
    ImGuiStyleVar_ItemInnerSpacing = 15,
    ImGuiStyleVar_IndentSpacing = 16,
    ImGuiStyleVar_CellPadding = 17,
    ImGuiStyleVar_ScrollbarSize = 18,
    ImGuiStyleVar_ScrollbarRounding = 19,
    ImGuiStyleVar_ScrollbarPadding = 20,
    ImGuiStyleVar_GrabMinSize = 21,
    ImGuiStyleVar_GrabRounding = 22,
    ImGuiStyleVar_ImageRounding = 23,
    ImGuiStyleVar_ImageBorderSize = 24,
    ImGuiStyleVar_TabRounding = 25,
    ImGuiStyleVar_TabBorderSize = 26,
    ImGuiStyleVar_TabMinWidthBase = 27,
    ImGuiStyleVar_TabMinWidthShrink = 28,
    ImGuiStyleVar_TabBarBorderSize = 29,
    ImGuiStyleVar_TabBarOverlineSize = 30,
    ImGuiStyleVar_TableAngledHeadersAngle = 31,
    ImGuiStyleVar_TableAngledHeadersTextAlign = 32,
    ImGuiStyleVar_TreeLinesSize = 33,
    ImGuiStyleVar_TreeLinesRounding = 34,
    ImGuiStyleVar_MenuItemRounding = 35,
    ImGuiStyleVar_SelectableRounding = 36,
    ImGuiStyleVar_DragDropTargetRounding = 37,
    ImGuiStyleVar_ButtonTextAlign = 38,
    ImGuiStyleVar_SelectableTextAlign = 39,
    ImGuiStyleVar_SeparatorSize = 40,
    ImGuiStyleVar_SeparatorTextBorderSize = 41,
    ImGuiStyleVar_SeparatorTextAlign = 42,
    ImGuiStyleVar_SeparatorTextPadding = 43,
    ImGuiStyleVar_COUNT = 44,
};
enum ImGuiButtonFlags_ {
    ImGuiButtonFlags_None = 0,
    ImGuiButtonFlags_MouseButtonLeft = 1,
    ImGuiButtonFlags_MouseButtonRight = 2,
    ImGuiButtonFlags_MouseButtonMiddle = 4,
    ImGuiButtonFlags_MouseButtonMask_ = 7,
    ImGuiButtonFlags_EnableNav = 8,
    ImGuiButtonFlags_AllowOverlap = 4096,
};
enum ImGuiColorEditFlags_ {
    ImGuiColorEditFlags_None = 0,
    ImGuiColorEditFlags_NoAlpha = 2,
    ImGuiColorEditFlags_NoPicker = 4,
    ImGuiColorEditFlags_NoOptions = 8,
    ImGuiColorEditFlags_NoSmallPreview = 16,
    ImGuiColorEditFlags_NoInputs = 32,
    ImGuiColorEditFlags_NoTooltip = 64,
    ImGuiColorEditFlags_NoLabel = 128,
    ImGuiColorEditFlags_NoSidePreview = 256,
    ImGuiColorEditFlags_NoDragDrop = 512,
    ImGuiColorEditFlags_NoBorder = 1024,
    ImGuiColorEditFlags_NoColorMarkers = 2048,
    ImGuiColorEditFlags_AlphaOpaque = 4096,
    ImGuiColorEditFlags_AlphaNoBg = 8192,
    ImGuiColorEditFlags_AlphaPreviewHalf = 16384,
    ImGuiColorEditFlags_AlphaBar = 262144,
    ImGuiColorEditFlags_HDR = 524288,
    ImGuiColorEditFlags_DisplayRGB = 1048576,
    ImGuiColorEditFlags_DisplayHSV = 2097152,
    ImGuiColorEditFlags_DisplayHex = 4194304,
    ImGuiColorEditFlags_Uint8 = 8388608,
    ImGuiColorEditFlags_Float = 16777216,
    ImGuiColorEditFlags_PickerHueBar = 33554432,
    ImGuiColorEditFlags_PickerHueWheel = 67108864,
    ImGuiColorEditFlags_PickerNoRotate = 134217728,
    ImGuiColorEditFlags_InputRGB = 268435456,
    ImGuiColorEditFlags_InputHSV = 536870912,
    ImGuiColorEditFlags_DefaultOptions_ = 311427072,
    ImGuiColorEditFlags_AlphaMask_ = 28674,
    ImGuiColorEditFlags_DisplayMask_ = 7340032,
    ImGuiColorEditFlags_DataTypeMask_ = 25165824,
    ImGuiColorEditFlags_PickerMask_ = 100663296,
    ImGuiColorEditFlags_InputMask_ = 805306368,
};
enum ImGuiSliderFlags_ {
    ImGuiSliderFlags_None = 0,
    ImGuiSliderFlags_Logarithmic = 32,
    ImGuiSliderFlags_NoRoundToFormat = 64,
    ImGuiSliderFlags_NoInput = 128,
    ImGuiSliderFlags_WrapAround = 256,
    ImGuiSliderFlags_ClampOnInput = 512,
    ImGuiSliderFlags_ClampZeroRange = 1024,
    ImGuiSliderFlags_NoSpeedTweaks = 2048,
    ImGuiSliderFlags_ColorMarkers = 4096,
    ImGuiSliderFlags_AlwaysClamp = 1536,
    ImGuiSliderFlags_InvalidMask_ = 1879048207,
};
enum ImGuiMouseButton_ {
    ImGuiMouseButton_Left = 0,
    ImGuiMouseButton_Right = 1,
    ImGuiMouseButton_Middle = 2,
    ImGuiMouseButton_COUNT = 5,
};
enum ImGuiMouseCursor_ {
    ImGuiMouseCursor_None = -1,
    ImGuiMouseCursor_Arrow = 0,
    ImGuiMouseCursor_TextInput = 1,
    ImGuiMouseCursor_ResizeAll = 2,
    ImGuiMouseCursor_ResizeNS = 3,
    ImGuiMouseCursor_ResizeEW = 4,
    ImGuiMouseCursor_ResizeNESW = 5,
    ImGuiMouseCursor_ResizeNWSE = 6,
    ImGuiMouseCursor_Hand = 7,
    ImGuiMouseCursor_Wait = 8,
    ImGuiMouseCursor_Progress = 9,
    ImGuiMouseCursor_NotAllowed = 10,
    ImGuiMouseCursor_COUNT = 11,
};
typedef int ImGuiMouseSource;
enum ImGuiMouseSource_ {
    ImGuiMouseSource_Mouse = 0,
    ImGuiMouseSource_TouchScreen = 1,
    ImGuiMouseSource_Pen = 2,
    ImGuiMouseSource_COUNT = 3,
};
enum ImGuiCond_ {
    ImGuiCond_None = 0,
    ImGuiCond_Always = 1,
    ImGuiCond_Once = 2,
    ImGuiCond_FirstUseEver = 4,
    ImGuiCond_Appearing = 8,
};
enum ImGuiTableFlags_ {
    ImGuiTableFlags_None = 0,
    ImGuiTableFlags_Resizable = 1,
    ImGuiTableFlags_Reorderable = 2,
    ImGuiTableFlags_Hideable = 4,
    ImGuiTableFlags_Sortable = 8,
    ImGuiTableFlags_NoSavedSettings = 16,
    ImGuiTableFlags_ContextMenuInBody = 32,
    ImGuiTableFlags_RowBg = 64,
    ImGuiTableFlags_BordersInnerH = 128,
    ImGuiTableFlags_BordersOuterH = 256,
    ImGuiTableFlags_BordersInnerV = 512,
    ImGuiTableFlags_BordersOuterV = 1024,
    ImGuiTableFlags_BordersH = 384,
    ImGuiTableFlags_BordersV = 1536,
    ImGuiTableFlags_BordersInner = 640,
    ImGuiTableFlags_BordersOuter = 1280,
    ImGuiTableFlags_Borders = 1920,
    ImGuiTableFlags_NoBordersInBody = 2048,
    ImGuiTableFlags_NoBordersInBodyUntilResize = 4096,
    ImGuiTableFlags_SizingFixedFit = 8192,
    ImGuiTableFlags_SizingFixedSame = 16384,
    ImGuiTableFlags_SizingStretchProp = 24576,
    ImGuiTableFlags_SizingStretchSame = 32768,
    ImGuiTableFlags_NoHostExtendX = 65536,
    ImGuiTableFlags_NoHostExtendY = 131072,
    ImGuiTableFlags_NoKeepColumnsVisible = 262144,
    ImGuiTableFlags_PreciseWidths = 524288,
    ImGuiTableFlags_NoClip = 1048576,
    ImGuiTableFlags_PadOuterX = 2097152,
    ImGuiTableFlags_NoPadOuterX = 4194304,
    ImGuiTableFlags_NoPadInnerX = 8388608,
    ImGuiTableFlags_ScrollX = 16777216,
    ImGuiTableFlags_ScrollY = 33554432,
    ImGuiTableFlags_SortMulti = 67108864,
    ImGuiTableFlags_SortTristate = 134217728,
    ImGuiTableFlags_HighlightHoveredColumn = 268435456,
    ImGuiTableFlags_SizingMask_ = 57344,
};
enum ImGuiTableColumnFlags_ {
    ImGuiTableColumnFlags_None = 0,
    ImGuiTableColumnFlags_Disabled = 1,
    ImGuiTableColumnFlags_DefaultHide = 2,
    ImGuiTableColumnFlags_DefaultSort = 4,
    ImGuiTableColumnFlags_WidthStretch = 8,
    ImGuiTableColumnFlags_WidthFixed = 16,
    ImGuiTableColumnFlags_NoResize = 32,
    ImGuiTableColumnFlags_NoReorder = 64,
    ImGuiTableColumnFlags_NoHide = 128,
    ImGuiTableColumnFlags_NoClip = 256,
    ImGuiTableColumnFlags_NoSort = 512,
    ImGuiTableColumnFlags_NoSortAscending = 1024,
    ImGuiTableColumnFlags_NoSortDescending = 2048,
    ImGuiTableColumnFlags_NoHeaderLabel = 4096,
    ImGuiTableColumnFlags_NoHeaderWidth = 8192,
    ImGuiTableColumnFlags_PreferSortAscending = 16384,
    ImGuiTableColumnFlags_PreferSortDescending = 32768,
    ImGuiTableColumnFlags_IndentEnable = 65536,
    ImGuiTableColumnFlags_IndentDisable = 131072,
    ImGuiTableColumnFlags_AngledHeader = 262144,
    ImGuiTableColumnFlags_IsEnabled = 16777216,
    ImGuiTableColumnFlags_IsVisible = 33554432,
    ImGuiTableColumnFlags_IsSorted = 67108864,
    ImGuiTableColumnFlags_IsHovered = 134217728,
    ImGuiTableColumnFlags_WidthMask_ = 24,
    ImGuiTableColumnFlags_IndentMask_ = 196608,
    ImGuiTableColumnFlags_StatusMask_ = 251658240,
    ImGuiTableColumnFlags_NoDirectResize_ = 1073741824,
};
enum ImGuiTableRowFlags_ {
    ImGuiTableRowFlags_None = 0,
    ImGuiTableRowFlags_Headers = 1,
};
enum ImGuiTableBgTarget_ {
    ImGuiTableBgTarget_None = 0,
    ImGuiTableBgTarget_RowBg0 = 1,
    ImGuiTableBgTarget_RowBg1 = 2,
    ImGuiTableBgTarget_CellBg = 3,
};
enum ImGuiListClipperFlags_ {
    ImGuiListClipperFlags_None = 0,
    ImGuiListClipperFlags_NoSetTableRowCounters = 1,
};
enum ImGuiMultiSelectFlags_ {
    ImGuiMultiSelectFlags_None = 0,
    ImGuiMultiSelectFlags_SingleSelect = 1,
    ImGuiMultiSelectFlags_NoSelectAll = 2,
    ImGuiMultiSelectFlags_NoRangeSelect = 4,
    ImGuiMultiSelectFlags_NoAutoSelect = 8,
    ImGuiMultiSelectFlags_NoAutoClear = 16,
    ImGuiMultiSelectFlags_NoAutoClearOnReselect = 32,
    ImGuiMultiSelectFlags_BoxSelect1d = 64,
    ImGuiMultiSelectFlags_BoxSelect2d = 128,
    ImGuiMultiSelectFlags_BoxSelectNoScroll = 256,
    ImGuiMultiSelectFlags_ClearOnEscape = 512,
    ImGuiMultiSelectFlags_ClearOnClickVoid = 1024,
    ImGuiMultiSelectFlags_ScopeWindow = 2048,
    ImGuiMultiSelectFlags_ScopeRect = 4096,
    ImGuiMultiSelectFlags_SelectOnAuto = 8192,
    ImGuiMultiSelectFlags_SelectOnClickAlways = 16384,
    ImGuiMultiSelectFlags_SelectOnClickRelease = 32768,
    ImGuiMultiSelectFlags_NavWrapX = 65536,
    ImGuiMultiSelectFlags_NoSelectOnRightClick = 131072,
    ImGuiMultiSelectFlags_SelectOnMask_ = 57344,
    ImGuiMultiSelectFlags_CheckboxMode_ = 1048576,
};
typedef int ImGuiSelectionRequestType;
enum ImGuiSelectionRequestType_ {
    ImGuiSelectionRequestType_None = 0,
    ImGuiSelectionRequestType_SetAll = 1,
    ImGuiSelectionRequestType_SetRange = 2,
};
enum ImDrawFlags_ {
    ImDrawFlags_None = 0,
    ImDrawFlags_RoundTopLeft = 16,
    ImDrawFlags_RoundTopRight = 32,
    ImDrawFlags_RoundBottomLeft = 64,
    ImDrawFlags_RoundBottomRight = 128,
    ImDrawFlags_RoundNone = 256,
    ImDrawFlags_RoundAll = 240,
    ImDrawFlags_RoundTop = 48,
    ImDrawFlags_RoundBottom = 192,
    ImDrawFlags_RoundLeft = 80,
    ImDrawFlags_RoundRight = 160,
    ImDrawFlags_Closed = 512,
    ImDrawFlags_JoinMiter = 1024,
    ImDrawFlags_CapSquare = 2048,
    ImDrawFlags_AAFill = 4096,
    ImDrawFlags_AALines = 8192,
    ImDrawFlags_AALineEnds = 16384,
    ImDrawFlags_StrokeInside = 131072,
    ImDrawFlags_StrokeCenter = 262144,
    ImDrawFlags_StrokeCenterBiased = 393216,
    ImDrawFlags_StrokeOutside = 524288,
    ImDrawFlags_StrokeLegacy = 917504,
    ImDrawFlags_TextNoPixelSnap = 1048576,
    ImDrawFlags_UseTexForRoundCorners = 2097152,
    ImDrawFlags_UseVtxOffset = 4194304,
    ImDrawFlags_AllowTexForRoundCorners_ = 8388608,
    ImDrawFlags_RoundMask_ = 496,
    ImDrawFlags_AllowInPushScope_ = 8286704,
    ImDrawFlags_AllowInFrameScope_ = 16675312,
    ImDrawFlags_StrokeMask_ = 917504,
    ImDrawFlags_InvalidMask_ = -2147483633,
};
typedef int ImTextureFormat;
enum ImTextureFormat_ {
    ImTextureFormat_RGBA32 = 0,
    ImTextureFormat_Alpha8 = 1,
};
typedef int ImTextureStatus;
enum ImTextureStatus_ {
    ImTextureStatus_OK = 0,
    ImTextureStatus_Destroyed = 1,
    ImTextureStatus_WantCreate = 2,
    ImTextureStatus_WantUpdates = 3,
    ImTextureStatus_WantDestroy = 4,
};
enum ImFontAtlasFlags_ {
    ImFontAtlasFlags_None = 0,
    ImFontAtlasFlags_NoPowerOfTwoHeight = 1,
    ImFontAtlasFlags_NoMouseCursors = 2,
    ImFontAtlasFlags_NoBakedLines = 4,
    ImFontAtlasFlags_NoBakedRoundCorners = 8,
};
enum ImFontFlags_ {
    ImFontFlags_None = 0,
    ImFontFlags_NoLoadError = 2,
    ImFontFlags_NoLoadGlyphs = 4,
    ImFontFlags_LockBakedSizes = 8,
    ImFontFlags_ImplicitRefSize = 16,
};
enum ImGuiViewportFlags_ {
    ImGuiViewportFlags_None = 0,
    ImGuiViewportFlags_IsPlatformWindow = 1,
    ImGuiViewportFlags_IsPlatformMonitor = 2,
    ImGuiViewportFlags_OwnedByApp = 4,
};

// Callbacks
typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data);
typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data);
typedef void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data);
typedef void (*ImGuiMemFreeFunc)(void* ptr, void* user_data);
typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd);

// ImVector<T>: { int Size; int Capacity; T* Data; }
typedef struct ImVector_ImDrawChannel { int Size; int Capacity; ImDrawChannel* Data; } ImVector_ImDrawChannel;
typedef struct ImVector_ImDrawCmd { int Size; int Capacity; ImDrawCmd* Data; } ImVector_ImDrawCmd;
typedef struct ImVector_ImDrawIdx { int Size; int Capacity; ImDrawIdx* Data; } ImVector_ImDrawIdx;
typedef struct ImVector_ImDrawListPtr { int Size; int Capacity; ImDrawList** Data; } ImVector_ImDrawListPtr;
typedef struct ImVector_ImDrawListSharedDataPtr { int Size; int Capacity; ImDrawListSharedData** Data; } ImVector_ImDrawListSharedDataPtr;
typedef struct ImVector_ImDrawVert { int Size; int Capacity; ImDrawVert* Data; } ImVector_ImDrawVert;
typedef struct ImVector_ImFontConfig { int Size; int Capacity; ImFontConfig* Data; } ImVector_ImFontConfig;
typedef struct ImVector_ImFontConfigPtr { int Size; int Capacity; ImFontConfig** Data; } ImVector_ImFontConfigPtr;
typedef struct ImVector_ImFontGlyph { int Size; int Capacity; ImFontGlyph* Data; } ImVector_ImFontGlyph;
typedef struct ImVector_ImFontPtr { int Size; int Capacity; ImFont** Data; } ImVector_ImFontPtr;
typedef struct ImVector_ImGuiSelectionRequest { int Size; int Capacity; ImGuiSelectionRequest* Data; } ImVector_ImGuiSelectionRequest;
typedef struct ImVector_ImGuiStoragePair { int Size; int Capacity; ImGuiStoragePair* Data; } ImVector_ImGuiStoragePair;
typedef struct ImVector_ImGuiTextFilterItem { int Size; int Capacity; ImGuiTextFilterItem* Data; } ImVector_ImGuiTextFilterItem;
typedef struct ImVector_ImTextureDataPtr { int Size; int Capacity; ImTextureData** Data; } ImVector_ImTextureDataPtr;
typedef struct ImVector_ImTextureRect { int Size; int Capacity; ImTextureRect* Data; } ImVector_ImTextureRect;
typedef struct ImVector_ImTextureRef { int Size; int Capacity; ImTextureRef* Data; } ImVector_ImTextureRef;
typedef struct ImVector_ImU16 { int Size; int Capacity; ImU16* Data; } ImVector_ImU16;
typedef struct ImVector_ImU32 { int Size; int Capacity; ImU32* Data; } ImVector_ImU32;
typedef struct ImVector_ImU8 { int Size; int Capacity; ImU8* Data; } ImVector_ImU8;
typedef struct ImVector_ImVec2 { int Size; int Capacity; ImVec2* Data; } ImVector_ImVec2;
typedef struct ImVector_ImVec4 { int Size; int Capacity; ImVec4* Data; } ImVector_ImVec4;
typedef struct ImVector_ImWchar { int Size; int Capacity; ImWchar* Data; } ImVector_ImWchar;
typedef struct ImVector_char { int Size; int Capacity; char* Data; } ImVector_char;
typedef struct ImVector_float { int Size; int Capacity; float* Data; } ImVector_float;
typedef struct ImSmallStack_ImDrawFlags_3 { ImDrawFlags LocalData[3]; ImU16 Size; } ImSmallStack_ImDrawFlags_3;

// Structs
struct ImVec2 {
    float x;
    float y;
};
struct ImVec4 {
    float x;
    float y;
    float z;
    float w;
};
struct ImTextureRef {
    ImTextureData* _TexData;
    ImTextureID _TexID;
};
struct ImGuiTableSortSpecs {
    const ImGuiTableColumnSortSpecs* Specs;
    int SpecsCount;
    bool SpecsDirty;
};
struct ImGuiTableColumnSortSpecs {
    ImGuiID ColumnUserID;
    ImS16 ColumnIndex;
    ImS16 SortOrder;
    ImGuiSortDirection SortDirection;
};
struct ImGuiStyle {
    float FontSizeBase;
    float FontScaleMain;
    float FontScaleDpi;
    float Alpha;
    float DisabledAlpha;
    ImVec2 WindowPadding;
    float WindowRounding;
    float WindowBorderSize;
    float WindowBorderHoverPadding;
    ImVec2 WindowMinSize;
    ImVec2 WindowTitleAlign;
    ImGuiDir WindowMenuButtonPosition;
    float ChildRounding;
    float ChildBorderSize;
    float PopupRounding;
    float PopupBorderSize;
    ImVec2 FramePadding;
    float FrameRounding;
    float FrameBorderSize;
    ImVec2 ItemSpacing;
    ImVec2 ItemInnerSpacing;
    ImVec2 CellPadding;
    ImVec2 TouchExtraPadding;
    float IndentSpacing;
    float ColumnsMinSpacing;
    float ScrollbarSize;
    float ScrollbarRounding;
    float ScrollbarPadding;
    float GrabMinSize;
    float GrabRounding;
    float LogSliderDeadzone;
    float ImageRounding;
    float ImageBorderSize;
    float TabRounding;
    float TabBorderSize;
    float TabMinWidthBase;
    float TabMinWidthShrink;
    float TabCloseButtonMinWidthSelected;
    float TabCloseButtonMinWidthUnselected;
    float TabBarBorderSize;
    float TabBarOverlineSize;
    float TableAngledHeadersAngle;
    ImVec2 TableAngledHeadersTextAlign;
    ImGuiTreeNodeFlags TreeLinesFlags;
    float TreeLinesSize;
    float TreeLinesRounding;
    float MenuItemRounding;
    float SelectableRounding;
    float DragDropTargetRounding;
    float DragDropTargetBorderSize;
    float DragDropTargetPadding;
    float ColorMarkerSize;
    ImGuiDir ColorButtonPosition;
    ImVec2 ButtonTextAlign;
    ImVec2 SelectableTextAlign;
    float InputTextCursorSize;
    float SeparatorSize;
    float SeparatorTextBorderSize;
    ImVec2 SeparatorTextAlign;
    ImVec2 SeparatorTextPadding;
    ImVec2 DisplayWindowPadding;
    ImVec2 DisplaySafeAreaPadding;
    float MouseCursorScale;
    ImVec2 SymbolArrowSizeFactor;
    float SymbolArrowThicknessFactor;
    bool AntiAliasedLines;
    bool AntiAliasedLineEnds;
    bool AntiAliasedFill;
    float CurveTessellationMaxError;
    float CircleTessellationMaxError;
    ImVec4 Colors[61];
    float HoverStationaryDelay;
    float HoverDelayShort;
    float HoverDelayNormal;
    ImGuiHoveredFlags HoverFlagsForTooltipMouse;
    ImGuiHoveredFlags HoverFlagsForTooltipNav;
    float _MainScale;
    float _NextFrameFontSizeBase;
    bool AntiAliasedLinesUseTex;
    float CurveTessellationTol;
};
struct ImGuiKeyData {
    bool Down;
    float DownDuration;
    float DownDurationPrev;
    float AnalogValue;
};
struct ImGuiIO {
    ImGuiConfigFlags ConfigFlags;
    ImGuiBackendFlags BackendFlags;
    ImVec2 DisplaySize;
    ImVec2 DisplayFramebufferScale;
    float DeltaTime;
    float IniSavingRate;
    const char* IniFilename;
    const char* LogFilename;
    void* UserData;
    ImFontAtlas* Fonts;
    ImFont* FontDefault;
    bool FontAllowUserScaling;
    bool ConfigNavSwapGamepadButtons;
    bool ConfigNavMoveSetMousePos;
    bool ConfigNavCaptureKeyboard;
    bool ConfigNavEscapeClearFocusItem;
    bool ConfigNavEscapeClearFocusWindow;
    bool ConfigNavCursorVisibleAuto;
    bool ConfigNavCursorVisibleAlways;
    bool ConfigMacOSXBehaviors;
    bool ConfigInputTrickleEventQueue;
    bool ConfigInputTextCursorBlink;
    bool ConfigInputTextEnterKeepActive;
    ImGuiColorEditFlags ConfigColorEditFlags;
    bool ConfigDragClickToInputText;
    bool ConfigWindowsResizeFromEdges;
    bool ConfigWindowsMoveFromTitleBarOnly;
    bool ConfigWindowsCopyContentsWithCtrlC;
    bool ConfigScrollbarScrollByPage;
    bool ConfigIniSettingsSaveLastUsedDate;
    int ConfigIniSettingsAutoDiscardMonths;
    bool ConfigDebugIniSettings;
    bool MouseDrawCursor;
    float ConfigMemoryCompactTimer;
    float MouseDoubleClickTime;
    float MouseDoubleClickMaxDist;
    float MouseSingleClickDelay;
    float MouseDragThreshold;
    float KeyRepeatDelay;
    float KeyRepeatRate;
    bool ConfigErrorRecovery;
    bool ConfigErrorRecoveryEnableAssert;
    bool ConfigErrorRecoveryEnableDebugLog;
    bool ConfigErrorRecoveryEnableTooltip;
    bool ConfigDebugIsDebuggerPresent;
    bool ConfigDebugHighlightIdConflicts;
    bool ConfigDebugHighlightIdConflictsShowItemPicker;
    bool ConfigDebugBeginReturnValueOnce;
    bool ConfigDebugBeginReturnValueLoop;
    bool ConfigDebugIgnoreFocusLoss;
    bool ConfigDebugDrawListDefaultsToStrokeLegacy;
    const char* BackendPlatformName;
    const char* BackendRendererName;
    void* BackendPlatformUserData;
    void* BackendRendererUserData;
    void* BackendLanguageUserData;
    bool WantCaptureMouse;
    bool WantCaptureKeyboard;
    bool WantTextInput;
    bool WantSetMousePos;
    bool WantSaveIniSettings;
    bool NavActive;
    bool NavVisible;
    float Framerate;
    int MetricsRenderVertices;
    int MetricsRenderIndices;
    int MetricsRenderWindows;
    int MetricsActiveWindows;
    ImVec2 MouseDelta;
    ImGuiContext* Ctx;
    ImVec2 MousePos;
    bool MouseDown[5];
    float MouseWheel;
    float MouseWheelH;
    ImGuiMouseSource MouseSource;
    bool KeyCtrl;
    bool KeyShift;
    bool KeyAlt;
    bool KeySuper;
    ImGuiKeyChord KeyMods;
    ImGuiKeyData KeysData[155];
    bool WantCaptureMouseUnlessPopupClose;
    ImVec2 MousePosPrev;
    ImVec2 MouseClickedPos[5];
    double MouseClickedTime[5];
    bool MouseClicked[5];
    bool MouseDoubleClicked[5];
    ImU16 MouseClickedCount[5];
    ImU16 MouseClickedLastCount[5];
    bool MouseReleased[5];
    double MouseReleasedTime[5];
    bool MouseDownOwned[5];
    bool MouseDownOwnedUnlessPopupClose[5];
    bool MouseWheelRequestAxisSwap;
    bool MouseCtrlLeftAsRightClick;
    float MouseDownDuration[5];
    float MouseDownDurationPrev[5];
    float MouseDragMaxDistanceSqr[5];
    float PenPressure;
    bool AppFocusLost;
    bool AppAcceptingEvents;
    ImWchar16 InputQueueSurrogate;
    ImVector_ImWchar InputQueueCharacters;
    float FontGlobalScale;
};
struct ImGuiInputTextCallbackData {
    ImGuiContext* Ctx;
    ImGuiInputTextFlags EventFlag;
    ImGuiInputTextFlags Flags;
    void* UserData;
    ImGuiID ID;
    ImGuiKey EventKey;
    ImWchar EventChar;
    bool EventActivated;
    bool BufDirty;
    char* Buf;
    int BufTextLen;
    int BufSize;
    int CursorPos;
    int SelectionStart;
    int SelectionEnd;
};
struct ImGuiSizeCallbackData {
    void* UserData;
    ImVec2 Pos;
    ImVec2 CurrentSize;
    ImVec2 DesiredSize;
};
struct ImGuiPayload {
    void* Data;
    int DataSize;
    ImGuiID SourceId;
    ImGuiID SourceParentId;
    int DataFrameCount;
    char DataType[33];
    bool Preview;
    bool Delivery;
};
struct ImGuiOnceUponAFrame {
    int RefFrame;
};
struct ImGuiTextFilter {
    char InputBuf[256];
    int _CountExclude;
    ImVector_ImGuiTextFilterItem _Items;
};
struct ImGuiTextBuffer {
    ImVector_char Buf;
};
struct ImGuiStoragePair {
    ImGuiID key;
    union {
        int val_i;
        float val_f;
        void* val_p;
    };
};
struct ImGuiStorage {
    ImVector_ImGuiStoragePair Data;
};
struct ImGuiListClipper {
    int DisplayStart;
    int DisplayEnd;
    int UserIndex;
    int ItemsCount;
    float ItemsHeight;
    ImGuiListClipperFlags Flags;
    double StartPosY;
    double StartSeekOffsetY;
    ImGuiContext* Ctx;
    void* TempData;
};
struct ImColor {
    ImVec4 Value;
};
struct ImGuiMultiSelectIO {
    ImVector_ImGuiSelectionRequest Requests;
    ImGuiSelectionUserData RangeSrcItem;
    ImGuiSelectionUserData NavIdItem;
    bool NavIdSelected;
    bool RangeSrcReset;
    int ItemsCount;
};
struct ImGuiSelectionRequest {
    ImGuiSelectionRequestType Type;
    bool Selected;
    ImS8 RangeDirection;
    ImGuiSelectionUserData RangeFirstItem;
    ImGuiSelectionUserData RangeLastItem;
};
struct ImGuiSelectionBasicStorage {
    int Size;
    bool PreserveOrder;
    void* UserData;
    ImGuiID (*AdapterIndexToStorageId)(ImGuiSelectionBasicStorage* self, int idx);
    int _SelectionOrder;
    ImGuiStorage _Storage;
};
struct ImGuiSelectionExternalStorage {
    void* UserData;
    void (*AdapterSetItemSelected)(ImGuiSelectionExternalStorage* self, int idx, bool selected);
};
struct ImDrawCmd {
    ImVec4 ClipRect;
    ImTextureRef TexRef;
    unsigned int VtxOffset;
    unsigned int IdxOffset;
    unsigned int ElemCount;
    ImDrawCallback UserCallback;
    void* UserCallbackData;
    int UserCallbackDataSize;
    int UserCallbackDataOffset;
};
struct ImDrawVert {
    ImVec2 pos;
    ImVec2 uv;
    ImU32 col;
};
struct ImDrawCmdHeader {
    ImVec4 ClipRect;
    ImTextureRef TexRef;
    unsigned int VtxOffset;
};
struct ImDrawChannel {
    ImVector_ImDrawCmd _CmdBuffer;
    ImVector_ImDrawIdx _IdxBuffer;
};
struct ImDrawListSplitter {
    int _Current;
    int _Count;
    ImVector_ImDrawChannel _Channels;
};
struct ImDrawList {
    ImVector_ImDrawCmd CmdBuffer;
    ImVector_ImDrawIdx IdxBuffer;
    ImVector_ImDrawVert VtxBuffer;
    ImDrawFlags Flags;
    unsigned int _VtxCurrentIdx;
    ImDrawListSharedData* _Data;
    ImDrawVert* _VtxWritePtr;
    ImDrawIdx* _IdxWritePtr;
    ImVector_ImVec2 _Path;
    ImDrawCmdHeader _CmdHeader;
    ImDrawListSplitter _Splitter;
    ImVector_ImVec4 _ClipRectStack;
    ImVector_ImTextureRef _TextureStack;
    ImVector_ImU8 _CallbacksDataBuf;
    ImSmallStack_ImDrawFlags_3 _DrawFlagsStack;
    float _FringeScale;
    float _InvFringeScale;
    bool _FringeScaleIsInteger;
    const char* _OwnerName;
};
struct ImDrawData {
    bool Valid;
    int FrameCount;
    int TotalIdxCount;
    int TotalVtxCount;
    ImVector_ImDrawListPtr CmdLists;
    ImVec2 DisplayPos;
    ImVec2 DisplaySize;
    ImVec2 FramebufferScale;
    ImGuiViewport* OwnerViewport;
    ImVector_ImTextureDataPtr* Textures;
    int CmdListsCount;
};
struct ImTextureRect {
    unsigned short x;
    unsigned short y;
    unsigned short w;
    unsigned short h;
};
struct ImTextureData {
    int UniqueID;
    ImTextureStatus Status;
    void* BackendUserData;
    void* QueueUserData;
    ImTextureID TexID;
    ImTextureFormat Format;
    int Width;
    int Height;
    int BytesPerPixel;
    unsigned char* Pixels;
    ImTextureRect UsedRect;
    ImTextureRect UpdateRect;
    ImVector_ImTextureRect Updates;
    int UnusedFrames;
    unsigned short RefCount;
    bool UseColors;
    bool WantDestroyNextFrame;
};
struct ImFontConfig {
    char Name[40];
    void* FontData;
    int FontDataSize;
    bool FontDataOwnedByAtlas;
    bool MergeMode;
    bool PixelSnapH;
    ImS8 OversampleH;
    ImS8 OversampleV;
    ImWchar EllipsisChar;
    float SizePixels;
    const ImWchar* GlyphRanges;
    const ImWchar* GlyphExcludeRanges;
    ImVec2 GlyphOffset;
    float GlyphMinAdvanceX;
    float GlyphMaxAdvanceX;
    float GlyphExtraAdvanceX;
    ImU32 FontNo;
    unsigned int FontLoaderFlags;
    float RasterizerMultiply;
    float RasterizerDensity;
    float ExtraSizeScale;
    ImFontFlags Flags;
    ImFont* DstFont;
    const ImFontLoader* FontLoader;
    void* FontLoaderData;
    bool PixelSnapV;
};
struct ImFontGlyph {
    unsigned int Colored : 1;
    unsigned int Visible : 1;
    unsigned int SourceIdx : 4;
    unsigned int Codepoint : 26;
    float AdvanceX;
    float X0;
    float Y0;
    float X1;
    float Y1;
    float U0;
    float V0;
    float U1;
    float V1;
    int PackId;
};
struct ImFontGlyphRangesBuilder {
    ImVector_ImU32 UsedChars;
};
struct ImFontAtlasRect {
    unsigned short x;
    unsigned short y;
    unsigned short w;
    unsigned short h;
    ImVec2 uv0;
    ImVec2 uv1;
};
struct ImFontAtlas {
    ImFontAtlasFlags Flags;
    ImTextureFormat TexDesiredFormat;
    int TexGlyphPadding;
    int TexMinWidth;
    int TexMinHeight;
    int TexMaxWidth;
    int TexMaxHeight;
    void* UserData;
    union {
        ImTextureRef TexRef;
        ImTextureRef TexID;
    };
    ImTextureData* TexData;
    ImVector_ImTextureDataPtr TexList;
    bool Locked;
    bool RendererHasTextures;
    bool TexIsBuilt;
    bool TexPixelsUseColors;
    ImVec2 TexUvScale;
    ImVec2 TexUvWhitePixel;
    ImVector_ImFontPtr Fonts;
    ImVector_ImFontConfig Sources;
    int TexNextUniqueID;
    int FontNextUniqueID;
    ImVector_ImDrawListSharedDataPtr DrawListSharedDatas;
    ImFontAtlasBuilder* Builder;
    const ImFontLoader* FontLoader;
    const char* FontLoaderName;
    void* FontLoaderData;
    unsigned int FontLoaderFlags;
    int RefCount;
    ImGuiContext* OwnerContext;
    ImFontAtlasRect TempRect;
};
struct ImFontBaked {
    ImVector_float IndexAdvanceX;
    float FallbackAdvanceX;
    float Size;
    float RasterizerDensity;
    ImVector_ImU16 IndexLookup;
    ImVector_ImFontGlyph Glyphs;
    int FallbackGlyphIndex;
    float Ascent;
    float Descent;
    unsigned int MetricsTotalSurface : 26;
    unsigned int WantDestroy : 1;
    unsigned int LoadNoFallback : 1;
    unsigned int LoadNoRenderOnLayout : 1;
    int LastUsedFrame;
    ImGuiID BakedId;
    ImFont* OwnerFont;
    void* FontLoaderDatas;
};
struct ImFont {
    ImFontBaked* LastBaked;
    ImFontAtlas* OwnerAtlas;
    ImFontFlags Flags;
    float CurrentRasterizerDensity;
    ImGuiID FontId;
    float LegacySize;
    ImVector_ImFontConfigPtr Sources;
    ImWchar EllipsisChar;
    ImWchar FallbackChar;
    ImU8 Used8kPagesMap[1];
    bool EllipsisAutoBake;
    ImGuiStorage RemapPairs;
    float Scale;
};
struct ImGuiViewport {
    ImGuiID ID;
    ImGuiViewportFlags Flags;
    ImVec2 Pos;
    ImVec2 Size;
    ImVec2 FramebufferScale;
    ImVec2 WorkPos;
    ImVec2 WorkSize;
    void* PlatformHandle;
    void* PlatformHandleRaw;
};
struct ImGuiPlatformIO {
    const char* (*Platform_GetClipboardTextFn)(ImGuiContext* ctx);
    void (*Platform_SetClipboardTextFn)(ImGuiContext* ctx, const char* text);
    void* Platform_ClipboardUserData;
    bool (*Platform_OpenInShellFn)(ImGuiContext* ctx, const char* path);
    void* Platform_OpenInShellUserData;
    void (*Platform_SetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
    void* Platform_ImeUserData;
    ImWchar Platform_LocaleDecimalPoint;
    int Platform_SessionDate;
    int Renderer_TextureMaxWidth;
    int Renderer_TextureMaxHeight;
    void* Renderer_RenderState;
    ImDrawCallback DrawCallback_ResetRenderState;
    ImDrawCallback DrawCallback_SetSamplerLinear;
    ImDrawCallback DrawCallback_SetSamplerNearest;
    ImDrawCallback DrawCallback_SetSamplerFromTex;
    ImVector_ImTextureDataPtr Textures;
};
struct ImGuiPlatformImeData {
    bool WantVisible;
    bool WantTextInput;
    ImVec2 InputPos;
    float InputLineHeight;
    ImGuiID ViewportId;
};

// Functions

// ImGui
CIMGUI_API ImGuiContext* ImGui_CreateContext(void);
CIMGUI_API ImGuiContext* ImGui_CreateContextEx(ImFontAtlas* shared_font_atlas);
CIMGUI_API void ImGui_DestroyContext(void);
CIMGUI_API void ImGui_DestroyContextEx(ImGuiContext* ctx);
CIMGUI_API ImGuiContext* ImGui_GetCurrentContext(void);
CIMGUI_API void ImGui_SetCurrentContext(ImGuiContext* ctx);
CIMGUI_API ImGuiIO* ImGui_GetIO(void);
CIMGUI_API ImGuiPlatformIO* ImGui_GetPlatformIO(void);
CIMGUI_API ImGuiStyle* ImGui_GetStyle(void);
CIMGUI_API void ImGui_NewFrame(void);
CIMGUI_API void ImGui_EndFrame(void);
CIMGUI_API void ImGui_Render(void);
CIMGUI_API ImDrawData* ImGui_GetDrawData(void);
CIMGUI_API void ImGui_ShowDemoWindow(void);
CIMGUI_API void ImGui_ShowDemoWindowEx(bool* p_open);
CIMGUI_API void ImGui_ShowMetricsWindow(void);
CIMGUI_API void ImGui_ShowMetricsWindowEx(bool* p_open);
CIMGUI_API void ImGui_ShowDebugLogWindow(void);
CIMGUI_API void ImGui_ShowDebugLogWindowEx(bool* p_open);
CIMGUI_API void ImGui_ShowIDStackToolWindow(void);
CIMGUI_API void ImGui_ShowIDStackToolWindowEx(bool* p_open);
CIMGUI_API void ImGui_ShowAboutWindow(void);
CIMGUI_API void ImGui_ShowAboutWindowEx(bool* p_open);
CIMGUI_API void ImGui_ShowStyleEditor(void);
CIMGUI_API void ImGui_ShowStyleEditorEx(ImGuiStyle* ref);
CIMGUI_API bool ImGui_ShowStyleSelector(const char* label);
CIMGUI_API void ImGui_ShowFontSelector(const char* label);
CIMGUI_API void ImGui_ShowUserGuide(void);
CIMGUI_API const char* ImGui_GetVersion(void);
CIMGUI_API void ImGui_StyleColorsDark(void);
CIMGUI_API void ImGui_StyleColorsDarkEx(ImGuiStyle* dst);
CIMGUI_API void ImGui_StyleColorsLight(void);
CIMGUI_API void ImGui_StyleColorsLightEx(ImGuiStyle* dst);
CIMGUI_API void ImGui_StyleColorsClassic(void);
CIMGUI_API void ImGui_StyleColorsClassicEx(ImGuiStyle* dst);
CIMGUI_API bool ImGui_Begin(const char* name);
CIMGUI_API bool ImGui_BeginEx(const char* name, bool* p_open, ImGuiWindowFlags flags);
CIMGUI_API void ImGui_End(void);
CIMGUI_API bool ImGui_BeginChild(const char* str_id);
CIMGUI_API bool ImGui_BeginChildEx(const char* str_id, ImVec2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags);
CIMGUI_API bool ImGui_BeginChildID(ImGuiID id);
CIMGUI_API bool ImGui_BeginChildIDEx(ImGuiID id, ImVec2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags);
CIMGUI_API void ImGui_EndChild(void);
CIMGUI_API bool ImGui_IsWindowAppearing(void);
CIMGUI_API bool ImGui_IsWindowCollapsed(void);
CIMGUI_API bool ImGui_IsWindowFocused(void);
CIMGUI_API bool ImGui_IsWindowFocusedEx(ImGuiFocusedFlags flags);
CIMGUI_API bool ImGui_IsWindowHovered(void);
CIMGUI_API bool ImGui_IsWindowHoveredEx(ImGuiHoveredFlags flags);
CIMGUI_API ImDrawList* ImGui_GetWindowDrawList(void);
CIMGUI_API ImVec2 ImGui_GetWindowPos(void);
CIMGUI_API ImVec2 ImGui_GetWindowSize(void);
CIMGUI_API float ImGui_GetWindowWidth(void);
CIMGUI_API float ImGui_GetWindowHeight(void);
CIMGUI_API void ImGui_SetNextWindowPos(ImVec2 pos);
CIMGUI_API void ImGui_SetNextWindowPosEx(ImVec2 pos, ImGuiCond cond, ImVec2 pivot);
CIMGUI_API void ImGui_SetNextWindowSize(ImVec2 size);
CIMGUI_API void ImGui_SetNextWindowSizeEx(ImVec2 size, ImGuiCond cond);
CIMGUI_API void ImGui_SetNextWindowSizeConstraints(ImVec2 size_min, ImVec2 size_max);
CIMGUI_API void ImGui_SetNextWindowSizeConstraintsEx(ImVec2 size_min, ImVec2 size_max, ImGuiSizeCallback custom_callback, void* custom_callback_data);
CIMGUI_API void ImGui_SetNextWindowContentSize(ImVec2 size);
CIMGUI_API void ImGui_SetNextWindowCollapsed(bool collapsed);
CIMGUI_API void ImGui_SetNextWindowCollapsedEx(bool collapsed, ImGuiCond cond);
CIMGUI_API void ImGui_SetNextWindowFocus(void);
CIMGUI_API void ImGui_SetNextWindowScroll(ImVec2 scroll);
CIMGUI_API void ImGui_SetNextWindowBgAlpha(float alpha);
CIMGUI_API void ImGui_SetWindowPos(ImVec2 pos);
CIMGUI_API void ImGui_SetWindowPosEx(ImVec2 pos, ImGuiCond cond);
CIMGUI_API void ImGui_SetWindowSize(ImVec2 size);
CIMGUI_API void ImGui_SetWindowSizeEx(ImVec2 size, ImGuiCond cond);
CIMGUI_API void ImGui_SetWindowCollapsed(bool collapsed);
CIMGUI_API void ImGui_SetWindowCollapsedEx(bool collapsed, ImGuiCond cond);
CIMGUI_API void ImGui_SetWindowFocus(void);
CIMGUI_API void ImGui_SetWindowPosStr(const char* name, ImVec2 pos);
CIMGUI_API void ImGui_SetWindowPosStrEx(const char* name, ImVec2 pos, ImGuiCond cond);
CIMGUI_API void ImGui_SetWindowSizeStr(const char* name, ImVec2 size);
CIMGUI_API void ImGui_SetWindowSizeStrEx(const char* name, ImVec2 size, ImGuiCond cond);
CIMGUI_API void ImGui_SetWindowCollapsedStr(const char* name, bool collapsed);
CIMGUI_API void ImGui_SetWindowCollapsedStrEx(const char* name, bool collapsed, ImGuiCond cond);
CIMGUI_API void ImGui_SetWindowFocusStr(const char* name);
CIMGUI_API float ImGui_GetScrollX(void);
CIMGUI_API float ImGui_GetScrollY(void);
CIMGUI_API void ImGui_SetScrollX(float scroll_x);
CIMGUI_API void ImGui_SetScrollY(float scroll_y);
CIMGUI_API float ImGui_GetScrollMaxX(void);
CIMGUI_API float ImGui_GetScrollMaxY(void);
CIMGUI_API void ImGui_SetScrollHereX(void);
CIMGUI_API void ImGui_SetScrollHereXEx(float center_x_ratio);
CIMGUI_API void ImGui_SetScrollHereY(void);
CIMGUI_API void ImGui_SetScrollHereYEx(float center_y_ratio);
CIMGUI_API void ImGui_SetScrollFromPosX(float local_x);
CIMGUI_API void ImGui_SetScrollFromPosXEx(float local_x, float center_x_ratio);
CIMGUI_API void ImGui_SetScrollFromPosY(float local_y);
CIMGUI_API void ImGui_SetScrollFromPosYEx(float local_y, float center_y_ratio);
CIMGUI_API void ImGui_PushFont(ImFont* font, float font_size_base_unscaled);
CIMGUI_API void ImGui_PopFont(void);
CIMGUI_API ImFont* ImGui_GetFont(void);
CIMGUI_API float ImGui_GetFontSize(void);
CIMGUI_API ImFontBaked* ImGui_GetFontBaked(void);
CIMGUI_API void ImGui_PushStyleColor(ImGuiCol idx, ImU32 col);
CIMGUI_API void ImGui_PushStyleColorVec4(ImGuiCol idx, ImVec4 col);
CIMGUI_API void ImGui_PopStyleColor(void);
CIMGUI_API void ImGui_PopStyleColorEx(int count);
CIMGUI_API void ImGui_PushStyleVar(ImGuiStyleVar idx, float val);
CIMGUI_API void ImGui_PushStyleVarVec2(ImGuiStyleVar idx, ImVec2 val);
CIMGUI_API void ImGui_PushStyleVarX(ImGuiStyleVar idx, float val_x);
CIMGUI_API void ImGui_PushStyleVarY(ImGuiStyleVar idx, float val_y);
CIMGUI_API void ImGui_PopStyleVar(void);
CIMGUI_API void ImGui_PopStyleVarEx(int count);
CIMGUI_API void ImGui_PushItemFlag(ImGuiItemFlags option, bool enabled);
CIMGUI_API void ImGui_PopItemFlag(void);
CIMGUI_API void ImGui_PushItemWidth(float item_width);
CIMGUI_API void ImGui_PopItemWidth(void);
CIMGUI_API void ImGui_SetNextItemWidth(float item_width);
CIMGUI_API float ImGui_CalcItemWidth(void);
CIMGUI_API void ImGui_PushTextWrapPos(void);
CIMGUI_API void ImGui_PushTextWrapPosEx(float wrap_local_pos_x);
CIMGUI_API void ImGui_PopTextWrapPos(void);
CIMGUI_API ImVec2 ImGui_GetFontTexUvWhitePixel(void);
CIMGUI_API ImU32 ImGui_GetColorU32(ImGuiCol idx);
CIMGUI_API ImU32 ImGui_GetColorU32Ex(ImGuiCol idx, float alpha_mul);
CIMGUI_API ImU32 ImGui_GetColorU32Vec4(ImVec4 col);
CIMGUI_API ImU32 ImGui_GetColorU32U32(ImU32 col);
CIMGUI_API ImU32 ImGui_GetColorU32U32Ex(ImU32 col, float alpha_mul);
CIMGUI_API const ImVec4* ImGui_GetStyleColorVec4(ImGuiCol idx);
CIMGUI_API ImVec2 ImGui_GetCursorScreenPos(void);
CIMGUI_API void ImGui_SetCursorScreenPos(ImVec2 pos);
CIMGUI_API ImVec2 ImGui_GetContentRegionAvail(void);
CIMGUI_API ImVec2 ImGui_GetCursorPos(void);
CIMGUI_API float ImGui_GetCursorPosX(void);
CIMGUI_API float ImGui_GetCursorPosY(void);
CIMGUI_API void ImGui_SetCursorPos(ImVec2 local_pos);
CIMGUI_API void ImGui_SetCursorPosX(float local_x);
CIMGUI_API void ImGui_SetCursorPosY(float local_y);
CIMGUI_API ImVec2 ImGui_GetCursorStartPos(void);
CIMGUI_API void ImGui_Separator(void);
CIMGUI_API void ImGui_SameLine(void);
CIMGUI_API void ImGui_SameLineEx(float offset_from_start_x, float spacing);
CIMGUI_API void ImGui_NewLine(void);
CIMGUI_API void ImGui_Spacing(void);
CIMGUI_API void ImGui_Dummy(ImVec2 size);
CIMGUI_API void ImGui_Indent(void);
CIMGUI_API void ImGui_IndentEx(float indent_w);
CIMGUI_API void ImGui_Unindent(void);
CIMGUI_API void ImGui_UnindentEx(float indent_w);
CIMGUI_API void ImGui_BeginGroup(void);
CIMGUI_API void ImGui_EndGroup(void);
CIMGUI_API void ImGui_AlignTextToFramePadding(void);
CIMGUI_API float ImGui_GetTextLineHeight(void);
CIMGUI_API float ImGui_GetTextLineHeightWithSpacing(void);
CIMGUI_API float ImGui_GetFrameHeight(void);
CIMGUI_API float ImGui_GetFrameHeightWithSpacing(void);
CIMGUI_API void ImGui_PushID(const char* str_id);
CIMGUI_API void ImGui_PushIDStr(const char* str_id_begin, const char* str_id_end);
CIMGUI_API void ImGui_PushIDPtr(const void* ptr_id);
CIMGUI_API void ImGui_PushIDInt(int int_id);
CIMGUI_API void ImGui_PopID(void);
CIMGUI_API ImGuiID ImGui_GetID(const char* str_id);
CIMGUI_API ImGuiID ImGui_GetIDStr(const char* str_id_begin, const char* str_id_end);
CIMGUI_API ImGuiID ImGui_GetIDPtr(const void* ptr_id);
CIMGUI_API ImGuiID ImGui_GetIDInt(int int_id);
CIMGUI_API void ImGui_TextUnformatted(const char* text);
CIMGUI_API void ImGui_TextUnformattedEx(const char* text, const char* text_end);
CIMGUI_API void ImGui_Text(const char* fmt, ...);
CIMGUI_API void ImGui_TextV(const char* fmt, va_list args);
CIMGUI_API void ImGui_TextColored(ImVec4 col, const char* fmt, ...);
CIMGUI_API void ImGui_TextColoredV(ImVec4 col, const char* fmt, va_list args);
CIMGUI_API void ImGui_TextDisabled(const char* fmt, ...);
CIMGUI_API void ImGui_TextDisabledV(const char* fmt, va_list args);
CIMGUI_API void ImGui_TextWrapped(const char* fmt, ...);
CIMGUI_API void ImGui_TextWrappedV(const char* fmt, va_list args);
CIMGUI_API void ImGui_LabelText(const char* label, const char* fmt, ...);
CIMGUI_API void ImGui_LabelTextV(const char* label, const char* fmt, va_list args);
CIMGUI_API void ImGui_BulletText(const char* fmt, ...);
CIMGUI_API void ImGui_BulletTextV(const char* fmt, va_list args);
CIMGUI_API void ImGui_SeparatorText(const char* label);
CIMGUI_API bool ImGui_Button(const char* label);
CIMGUI_API bool ImGui_ButtonEx(const char* label, ImVec2 size);
CIMGUI_API bool ImGui_SmallButton(const char* label);
CIMGUI_API bool ImGui_InvisibleButton(const char* str_id, ImVec2 size);
CIMGUI_API bool ImGui_InvisibleButtonEx(const char* str_id, ImVec2 size, ImGuiButtonFlags flags);
CIMGUI_API bool ImGui_ArrowButton(const char* str_id, ImGuiDir dir);
CIMGUI_API bool ImGui_Checkbox(const char* label, bool* v);
CIMGUI_API bool ImGui_CheckboxFlags(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);
CIMGUI_API bool ImGui_RadioButtonIntPtr(const char* label, int* v, int v_button);
CIMGUI_API void ImGui_ProgressBar(float fraction);
CIMGUI_API void ImGui_ProgressBarEx(float fraction, ImVec2 size_arg, const char* overlay);
CIMGUI_API void ImGui_Bullet(void);
CIMGUI_API bool ImGui_TextLink(const char* label);
CIMGUI_API bool ImGui_TextLinkOpenURL(const char* label);
CIMGUI_API bool ImGui_TextLinkOpenURLEx(const char* label, const char* url);
CIMGUI_API void ImGui_Image(ImTextureRef tex_ref, ImVec2 image_size);
CIMGUI_API void ImGui_ImageEx(ImTextureRef tex_ref, ImVec2 image_size, ImVec2 uv0, ImVec2 uv1);
CIMGUI_API void ImGui_ImageWithBg(ImTextureRef tex_ref, ImVec2 image_size);
CIMGUI_API void ImGui_ImageWithBgEx(ImTextureRef tex_ref, ImVec2 image_size, ImVec2 uv0, ImVec2 uv1, ImVec4 bg_col, ImVec4 tint_col);
CIMGUI_API bool ImGui_ImageButton(const char* str_id, ImTextureRef tex_ref, ImVec2 image_size);
CIMGUI_API bool ImGui_ImageButtonEx(const char* str_id, ImTextureRef tex_ref, ImVec2 image_size, ImVec2 uv0, ImVec2 uv1, ImVec4 bg_col, ImVec4 tint_col);
CIMGUI_API bool ImGui_BeginCombo(const char* label, const char* preview_value);
CIMGUI_API bool ImGui_BeginComboEx(const char* label, const char* preview_value, ImGuiComboFlags flags);
CIMGUI_API void ImGui_EndCombo(void);
CIMGUI_API bool ImGui_Combo(const char* label, int* current_item, const char* const items[], int items_count);
CIMGUI_API bool ImGui_ComboEx(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items);
CIMGUI_API bool ImGui_ComboStr(const char* label, int* current_item, const char* items_separated_by_zeros);
CIMGUI_API bool ImGui_ComboStrEx(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items);
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);
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);
CIMGUI_API bool ImGui_DragFloat(const char* label, float* v);
CIMGUI_API bool ImGui_DragFloatEx(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragFloat2(const char* label, float v[2]);
CIMGUI_API bool ImGui_DragFloat2Ex(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragFloat3(const char* label, float v[3]);
CIMGUI_API bool ImGui_DragFloat3Ex(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragFloat4(const char* label, float v[4]);
CIMGUI_API bool ImGui_DragFloat4Ex(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragFloatRange2(const char* label, float* v_current_min, float* v_current_max);
CIMGUI_API bool 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);
CIMGUI_API bool ImGui_DragInt(const char* label, int* v);
CIMGUI_API bool ImGui_DragIntEx(const char* label, int* v, float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragInt2(const char* label, int v[2]);
CIMGUI_API bool ImGui_DragInt2Ex(const char* label, int v[2], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragInt3(const char* label, int v[3]);
CIMGUI_API bool ImGui_DragInt3Ex(const char* label, int v[3], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragInt4(const char* label, int v[4]);
CIMGUI_API bool ImGui_DragInt4Ex(const char* label, int v[4], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_DragIntRange2(const char* label, int* v_current_min, int* v_current_max);
CIMGUI_API bool 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);
CIMGUI_API bool ImGui_DragScalar(const char* label, ImGuiDataType data_type, void* p_data);
CIMGUI_API bool 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);
CIMGUI_API bool ImGui_DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components);
CIMGUI_API bool 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);
CIMGUI_API bool ImGui_SliderFloat(const char* label, float* v, float v_min, float v_max);
CIMGUI_API bool ImGui_SliderFloatEx(const char* label, float* v, float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderFloat2(const char* label, float v[2], float v_min, float v_max);
CIMGUI_API bool ImGui_SliderFloat2Ex(const char* label, float v[2], float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderFloat3(const char* label, float v[3], float v_min, float v_max);
CIMGUI_API bool ImGui_SliderFloat3Ex(const char* label, float v[3], float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderFloat4(const char* label, float v[4], float v_min, float v_max);
CIMGUI_API bool ImGui_SliderFloat4Ex(const char* label, float v[4], float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderAngle(const char* label, float* v_rad);
CIMGUI_API bool ImGui_SliderAngleEx(const char* label, float* v_rad, float v_degrees_min, float v_degrees_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderInt(const char* label, int* v, int v_min, int v_max);
CIMGUI_API bool ImGui_SliderIntEx(const char* label, int* v, int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderInt2(const char* label, int v[2], int v_min, int v_max);
CIMGUI_API bool ImGui_SliderInt2Ex(const char* label, int v[2], int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderInt3(const char* label, int v[3], int v_min, int v_max);
CIMGUI_API bool ImGui_SliderInt3Ex(const char* label, int v[3], int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderInt4(const char* label, int v[4], int v_min, int v_max);
CIMGUI_API bool ImGui_SliderInt4Ex(const char* label, int v[4], int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max);
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, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max);
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, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_VSliderFloat(const char* label, ImVec2 size, float* v, float v_min, float v_max);
CIMGUI_API bool ImGui_VSliderFloatEx(const char* label, ImVec2 size, float* v, float v_min, float v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_VSliderInt(const char* label, ImVec2 size, int* v, int v_min, int v_max);
CIMGUI_API bool ImGui_VSliderIntEx(const char* label, ImVec2 size, int* v, int v_min, int v_max, const char* format, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_VSliderScalar(const char* label, ImVec2 size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max);
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, ImGuiSliderFlags flags);
CIMGUI_API bool ImGui_InputText(const char* label, char* buf, size_t buf_size);
CIMGUI_API bool ImGui_InputTextEx(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data);
CIMGUI_API bool ImGui_InputTextMultiline(const char* label, char* buf, size_t buf_size);
CIMGUI_API bool ImGui_InputTextMultilineEx(const char* label, char* buf, size_t buf_size, ImVec2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data);
CIMGUI_API bool ImGui_InputTextWithHint(const char* label, const char* hint, char* buf, size_t buf_size);
CIMGUI_API bool ImGui_InputTextWithHintEx(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data);
CIMGUI_API bool ImGui_InputFloat(const char* label, float* v);
CIMGUI_API bool ImGui_InputFloatEx(const char* label, float* v, float step, float step_fast, const char* format, ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputFloat2(const char* label, float v[2]);
CIMGUI_API bool ImGui_InputFloat2Ex(const char* label, float v[2], const char* format, ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputFloat3(const char* label, float v[3]);
CIMGUI_API bool ImGui_InputFloat3Ex(const char* label, float v[3], const char* format, ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputFloat4(const char* label, float v[4]);
CIMGUI_API bool ImGui_InputFloat4Ex(const char* label, float v[4], const char* format, ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputInt(const char* label, int* v);
CIMGUI_API bool ImGui_InputIntEx(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputInt2(const char* label, int v[2]);
CIMGUI_API bool ImGui_InputInt2Ex(const char* label, int v[2], ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputInt3(const char* label, int v[3]);
CIMGUI_API bool ImGui_InputInt3Ex(const char* label, int v[3], ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputInt4(const char* label, int v[4]);
CIMGUI_API bool ImGui_InputInt4Ex(const char* label, int v[4], ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputDouble(const char* label, double* v);
CIMGUI_API bool ImGui_InputDoubleEx(const char* label, double* v, double step, double step_fast, const char* format, ImGuiInputTextFlags flags);
CIMGUI_API bool ImGui_InputScalar(const char* label, ImGuiDataType data_type, void* p_data);
CIMGUI_API bool 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);
CIMGUI_API bool ImGui_InputScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components);
CIMGUI_API bool 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);
CIMGUI_API bool ImGui_ColorEdit3(const char* label, float col[3]);
CIMGUI_API bool ImGui_ColorEdit3Ex(const char* label, float col[3], ImGuiColorEditFlags flags);
CIMGUI_API bool ImGui_ColorEdit4(const char* label, float col[4]);
CIMGUI_API bool ImGui_ColorEdit4Ex(const char* label, float col[4], ImGuiColorEditFlags flags);
CIMGUI_API bool ImGui_ColorPicker3(const char* label, float col[3]);
CIMGUI_API bool ImGui_ColorPicker3Ex(const char* label, float col[3], ImGuiColorEditFlags flags);
CIMGUI_API bool ImGui_ColorPicker4(const char* label, float col[4]);
CIMGUI_API bool ImGui_ColorPicker4Ex(const char* label, float col[4], ImGuiColorEditFlags flags, const float* ref_col);
CIMGUI_API bool ImGui_ColorButton(const char* desc_id, ImVec4 col);
CIMGUI_API bool ImGui_ColorButtonEx(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags, ImVec2 size);
CIMGUI_API bool ImGui_TreeNode(const char* label);
CIMGUI_API bool ImGui_TreeNodeStr(const char* str_id, const char* fmt, ...);
CIMGUI_API bool ImGui_TreeNodePtr(const void* ptr_id, const char* fmt, ...);
CIMGUI_API bool ImGui_TreeNodeV(const char* str_id, const char* fmt, va_list args);
CIMGUI_API bool ImGui_TreeNodeVPtr(const void* ptr_id, const char* fmt, va_list args);
CIMGUI_API bool ImGui_TreeNodeEx(const char* label);
CIMGUI_API bool ImGui_TreeNodeExEx(const char* label, ImGuiTreeNodeFlags flags);
CIMGUI_API bool ImGui_TreeNodeExStr(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, ...);
CIMGUI_API bool ImGui_TreeNodeExPtr(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, ...);
CIMGUI_API bool ImGui_TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args);
CIMGUI_API bool ImGui_TreeNodeExVPtr(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args);
CIMGUI_API void ImGui_TreePush(const char* str_id);
CIMGUI_API void ImGui_TreePushPtr(const void* ptr_id);
CIMGUI_API void ImGui_TreePop(void);
CIMGUI_API float ImGui_GetTreeNodeToLabelSpacing(void);
CIMGUI_API bool ImGui_CollapsingHeader(const char* label);
CIMGUI_API bool ImGui_CollapsingHeaderEx(const char* label, ImGuiTreeNodeFlags flags);
CIMGUI_API bool ImGui_CollapsingHeaderBoolPtr(const char* label, bool* p_visible);
CIMGUI_API bool ImGui_CollapsingHeaderBoolPtrEx(const char* label, bool* p_visible, ImGuiTreeNodeFlags flags);
CIMGUI_API void ImGui_SetNextItemOpen(bool is_open);
CIMGUI_API void ImGui_SetNextItemOpenEx(bool is_open, ImGuiCond cond);
CIMGUI_API void ImGui_SetNextItemStorageID(ImGuiID storage_id);
CIMGUI_API bool ImGui_TreeNodeGetOpen(ImGuiID storage_id);
CIMGUI_API bool ImGui_TreeNodeGetOpenEx(ImGuiID storage_id, ImGuiTreeNodeFlags flags);
CIMGUI_API bool ImGui_Selectable(const char* label);
CIMGUI_API bool ImGui_SelectableEx(const char* label, bool selected, ImGuiSelectableFlags flags, ImVec2 size);
CIMGUI_API bool ImGui_SelectableBoolPtr(const char* label, bool* p_selected);
CIMGUI_API bool ImGui_SelectableBoolPtrEx(const char* label, bool* p_selected, ImGuiSelectableFlags flags, ImVec2 size);
CIMGUI_API ImGuiMultiSelectIO* ImGui_BeginMultiSelect(ImGuiMultiSelectFlags flags);
CIMGUI_API ImGuiMultiSelectIO* ImGui_BeginMultiSelectEx(ImGuiMultiSelectFlags flags, int selection_size, int items_count);
CIMGUI_API ImGuiMultiSelectIO* ImGui_EndMultiSelect(void);
CIMGUI_API void ImGui_SetNextItemSelectionUserData(ImGuiSelectionUserData selection_user_data);
CIMGUI_API bool ImGui_IsItemToggledSelection(void);
CIMGUI_API bool ImGui_BeginListBox(const char* label);
CIMGUI_API bool ImGui_BeginListBoxEx(const char* label, ImVec2 size);
CIMGUI_API void ImGui_EndListBox(void);
CIMGUI_API bool ImGui_ListBox(const char* label, int* current_item, const char* const items[], int items_count);
CIMGUI_API bool ImGui_ListBoxEx(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items);
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);
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);
CIMGUI_API void ImGui_PlotLines(const char* label, const float* values, int values_count);
CIMGUI_API void ImGui_PlotLinesEx(const char* label, const float* values, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, ImVec2 graph_size, int stride);
CIMGUI_API void ImGui_PlotLinesCallback(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count);
CIMGUI_API void 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, ImVec2 graph_size);
CIMGUI_API void ImGui_PlotHistogram(const char* label, const float* values, int values_count);
CIMGUI_API void ImGui_PlotHistogramEx(const char* label, const float* values, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, ImVec2 graph_size, int stride);
CIMGUI_API void ImGui_PlotHistogramCallback(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count);
CIMGUI_API void 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, ImVec2 graph_size);
CIMGUI_API void ImGui_Value(const char* prefix, bool b);
CIMGUI_API void ImGui_ValueInt(const char* prefix, int v);
CIMGUI_API void ImGui_ValueUInt(const char* prefix, unsigned int v);
CIMGUI_API void ImGui_ValueFloat(const char* prefix, float v);
CIMGUI_API void ImGui_ValueFloatEx(const char* prefix, float v, const char* float_format);
CIMGUI_API bool ImGui_BeginMenuBar(void);
CIMGUI_API void ImGui_EndMenuBar(void);
CIMGUI_API bool ImGui_BeginMainMenuBar(void);
CIMGUI_API void ImGui_EndMainMenuBar(void);
CIMGUI_API bool ImGui_BeginMenu(const char* label);
CIMGUI_API bool ImGui_BeginMenuEx(const char* label, bool enabled);
CIMGUI_API void ImGui_EndMenu(void);
CIMGUI_API bool ImGui_MenuItem(const char* label);
CIMGUI_API bool ImGui_MenuItemEx(const char* label, const char* shortcut, bool selected, bool enabled);
CIMGUI_API bool ImGui_MenuItemBoolPtr(const char* label, const char* shortcut, bool* p_selected);
CIMGUI_API bool ImGui_MenuItemBoolPtrEx(const char* label, const char* shortcut, bool* p_selected, bool enabled);
CIMGUI_API bool ImGui_BeginTooltip(void);
CIMGUI_API void ImGui_EndTooltip(void);
CIMGUI_API void ImGui_SetTooltip(const char* fmt, ...);
CIMGUI_API void ImGui_SetTooltipV(const char* fmt, va_list args);
CIMGUI_API bool ImGui_BeginItemTooltip(void);
CIMGUI_API void ImGui_SetItemTooltip(const char* fmt, ...);
CIMGUI_API void ImGui_SetItemTooltipV(const char* fmt, va_list args);
CIMGUI_API bool ImGui_BeginPopup(const char* str_id);
CIMGUI_API bool ImGui_BeginPopupEx(const char* str_id, ImGuiWindowFlags flags);
CIMGUI_API bool ImGui_BeginPopupModal(const char* name);
CIMGUI_API bool ImGui_BeginPopupModalEx(const char* name, bool* p_open, ImGuiWindowFlags flags);
CIMGUI_API void ImGui_EndPopup(void);
CIMGUI_API bool ImGui_OpenPopup(const char* str_id);
CIMGUI_API bool ImGui_OpenPopupEx(const char* str_id, ImGuiPopupFlags popup_flags);
CIMGUI_API bool ImGui_OpenPopupID(ImGuiID id);
CIMGUI_API bool ImGui_OpenPopupIDEx(ImGuiID id, ImGuiPopupFlags popup_flags);
CIMGUI_API bool ImGui_OpenPopupOnItemClick(void);
CIMGUI_API bool ImGui_OpenPopupOnItemClickEx(const char* str_id, ImGuiPopupFlags popup_flags);
CIMGUI_API void ImGui_CloseCurrentPopup(void);
CIMGUI_API bool ImGui_BeginPopupContextItem(void);
CIMGUI_API bool ImGui_BeginPopupContextItemEx(const char* str_id, ImGuiPopupFlags popup_flags);
CIMGUI_API bool ImGui_BeginPopupContextWindow(void);
CIMGUI_API bool ImGui_BeginPopupContextWindowEx(const char* str_id, ImGuiPopupFlags popup_flags);
CIMGUI_API bool ImGui_BeginPopupContextVoid(void);
CIMGUI_API bool ImGui_BeginPopupContextVoidEx(const char* str_id, ImGuiPopupFlags popup_flags);
CIMGUI_API bool ImGui_IsPopupOpen(const char* str_id);
CIMGUI_API bool ImGui_IsPopupOpenEx(const char* str_id, ImGuiPopupFlags flags);
CIMGUI_API bool ImGui_BeginTable(const char* str_id, int columns);
CIMGUI_API bool ImGui_BeginTableEx(const char* str_id, int columns, ImGuiTableFlags flags, ImVec2 outer_size, float inner_width);
CIMGUI_API void ImGui_EndTable(void);
CIMGUI_API void ImGui_TableNextRow(void);
CIMGUI_API void ImGui_TableNextRowEx(ImGuiTableRowFlags row_flags, float min_row_height);
CIMGUI_API bool ImGui_TableNextColumn(void);
CIMGUI_API bool ImGui_TableSetColumnIndex(int column_n);
CIMGUI_API void ImGui_TableSetupColumn(const char* label);
CIMGUI_API void ImGui_TableSetupColumnEx(const char* label, ImGuiTableColumnFlags flags, float init_width_or_weight, ImGuiID user_data);
CIMGUI_API void ImGui_TableSetupScrollFreeze(int cols, int rows);
CIMGUI_API void ImGui_TableHeader(const char* label);
CIMGUI_API void ImGui_TableHeadersRow(void);
CIMGUI_API void ImGui_TableAngledHeadersRow(void);
CIMGUI_API ImGuiTableSortSpecs* ImGui_TableGetSortSpecs(void);
CIMGUI_API int ImGui_TableGetColumnCount(void);
CIMGUI_API int ImGui_TableGetColumnIndex(void);
CIMGUI_API int ImGui_TableGetRowIndex(void);
CIMGUI_API const char* ImGui_TableGetColumnName(void);
CIMGUI_API const char* ImGui_TableGetColumnNameEx(int column_n);
CIMGUI_API ImGuiTableColumnFlags ImGui_TableGetColumnFlags(void);
CIMGUI_API ImGuiTableColumnFlags ImGui_TableGetColumnFlagsEx(int column_n);
CIMGUI_API void ImGui_TableSetColumnEnabled(int column_n, bool v);
CIMGUI_API int ImGui_TableGetHoveredColumn(void);
CIMGUI_API void ImGui_TableSetBgColor(ImGuiTableBgTarget target, ImU32 color);
CIMGUI_API void ImGui_TableSetBgColorEx(ImGuiTableBgTarget target, ImU32 color, int column_n);
CIMGUI_API void ImGui_Columns(void);
CIMGUI_API void ImGui_ColumnsEx(int count, const char* id, bool borders);
CIMGUI_API void ImGui_NextColumn(void);
CIMGUI_API int ImGui_GetColumnIndex(void);
CIMGUI_API float ImGui_GetColumnWidth(void);
CIMGUI_API float ImGui_GetColumnWidthEx(int column_index);
CIMGUI_API void ImGui_SetColumnWidth(int column_index, float width);
CIMGUI_API float ImGui_GetColumnOffset(void);
CIMGUI_API float ImGui_GetColumnOffsetEx(int column_index);
CIMGUI_API void ImGui_SetColumnOffset(int column_index, float offset_x);
CIMGUI_API int ImGui_GetColumnsCount(void);
CIMGUI_API bool ImGui_BeginTabBar(const char* str_id);
CIMGUI_API bool ImGui_BeginTabBarEx(const char* str_id, ImGuiTabBarFlags flags);
CIMGUI_API void ImGui_EndTabBar(void);
CIMGUI_API bool ImGui_BeginTabItem(const char* label);
CIMGUI_API bool ImGui_BeginTabItemEx(const char* label, bool* p_open, ImGuiTabItemFlags flags);
CIMGUI_API void ImGui_EndTabItem(void);
CIMGUI_API bool ImGui_TabItemButton(const char* label);
CIMGUI_API bool ImGui_TabItemButtonEx(const char* label, ImGuiTabItemFlags flags);
CIMGUI_API void ImGui_SetTabItemClosed(const char* tab_or_docked_window_label);
CIMGUI_API void ImGui_LogToTTY(void);
CIMGUI_API void ImGui_LogToTTYEx(int auto_open_depth);
CIMGUI_API void ImGui_LogToFile(void);
CIMGUI_API void ImGui_LogToFileEx(int auto_open_depth, const char* filename);
CIMGUI_API void ImGui_LogToClipboard(void);
CIMGUI_API void ImGui_LogToClipboardEx(int auto_open_depth);
CIMGUI_API void ImGui_LogFinish(void);
CIMGUI_API void ImGui_LogButtons(void);
CIMGUI_API void ImGui_LogText(const char* fmt, ...);
CIMGUI_API void ImGui_LogTextV(const char* fmt, va_list args);
CIMGUI_API bool ImGui_BeginDragDropSource(void);
CIMGUI_API bool ImGui_BeginDragDropSourceEx(ImGuiDragDropFlags flags);
CIMGUI_API bool ImGui_SetDragDropPayload(const char* type, const void* data, size_t sz);
CIMGUI_API bool ImGui_SetDragDropPayloadEx(const char* type, const void* data, size_t sz, ImGuiCond cond);
CIMGUI_API void ImGui_EndDragDropSource(void);
CIMGUI_API bool ImGui_BeginDragDropTarget(void);
CIMGUI_API const ImGuiPayload* ImGui_AcceptDragDropPayload(const char* type);
CIMGUI_API const ImGuiPayload* ImGui_AcceptDragDropPayloadEx(const char* type, ImGuiDragDropFlags flags);
CIMGUI_API void ImGui_EndDragDropTarget(void);
CIMGUI_API const ImGuiPayload* ImGui_GetDragDropPayload(void);
CIMGUI_API void ImGui_BeginDisabled(void);
CIMGUI_API void ImGui_BeginDisabledEx(bool disabled);
CIMGUI_API void ImGui_EndDisabled(void);
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);
CIMGUI_API void ImGui_SetItemDefaultFocus(void);
CIMGUI_API void ImGui_SetKeyboardFocusHere(void);
CIMGUI_API void ImGui_SetKeyboardFocusHereEx(int offset);
CIMGUI_API void ImGui_SetNavCursorVisible(bool visible);
CIMGUI_API void ImGui_SetNextItemAllowOverlap(void);
CIMGUI_API bool ImGui_IsItemHovered(void);
CIMGUI_API bool ImGui_IsItemHoveredEx(ImGuiHoveredFlags flags);
CIMGUI_API bool ImGui_IsItemActive(void);
CIMGUI_API bool ImGui_IsItemFocused(void);
CIMGUI_API bool ImGui_IsItemClicked(void);
CIMGUI_API bool ImGui_IsItemClickedEx(ImGuiMouseButton mouse_button);
CIMGUI_API bool ImGui_IsItemVisible(void);
CIMGUI_API bool ImGui_IsItemEdited(void);
CIMGUI_API bool ImGui_IsItemActivated(void);
CIMGUI_API bool ImGui_IsItemDeactivated(void);
CIMGUI_API bool ImGui_IsItemDeactivatedAfterEdit(void);
CIMGUI_API bool ImGui_IsItemToggledOpen(void);
CIMGUI_API bool ImGui_IsAnyItemHovered(void);
CIMGUI_API bool ImGui_IsAnyItemActive(void);
CIMGUI_API bool ImGui_IsAnyItemFocused(void);
CIMGUI_API ImGuiID ImGui_GetItemID(void);
CIMGUI_API ImVec2 ImGui_GetItemRectMin(void);
CIMGUI_API ImVec2 ImGui_GetItemRectMax(void);
CIMGUI_API ImVec2 ImGui_GetItemRectSize(void);
CIMGUI_API ImGuiItemFlags ImGui_GetItemFlags(void);
CIMGUI_API int ImGui_GetItemClickedCountWithSingleClickDelay(void);
CIMGUI_API int ImGui_GetItemClickedCountWithSingleClickDelayEx(ImGuiMouseButton mouse_button, float delay);
CIMGUI_API ImGuiViewport* ImGui_GetMainViewport(void);
CIMGUI_API ImDrawList* ImGui_GetBackgroundDrawList(void);
CIMGUI_API ImDrawList* ImGui_GetForegroundDrawList(void);
CIMGUI_API bool ImGui_IsRectVisible(ImVec2 size);
CIMGUI_API bool ImGui_IsRectVisibleVec2(ImVec2 rect_min, ImVec2 rect_max);
CIMGUI_API double ImGui_GetTime(void);
CIMGUI_API int ImGui_GetFrameCount(void);
CIMGUI_API ImDrawListSharedData* ImGui_GetDrawListSharedData(void);
CIMGUI_API const char* ImGui_GetStyleColorName(ImGuiCol idx);
CIMGUI_API void ImGui_SetStateStorage(ImGuiStorage* storage);
CIMGUI_API ImGuiStorage* ImGui_GetStateStorage(void);
CIMGUI_API ImVec2 ImGui_CalcTextSize(const char* text);
CIMGUI_API ImVec2 ImGui_CalcTextSizeEx(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width);
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);
CIMGUI_API bool ImGui_IsKeyDown(ImGuiKey key);
CIMGUI_API bool ImGui_IsKeyPressed(ImGuiKey key);
CIMGUI_API bool ImGui_IsKeyPressedEx(ImGuiKey key, bool repeat);
CIMGUI_API bool ImGui_IsKeyReleased(ImGuiKey key);
CIMGUI_API bool ImGui_IsKeyChordPressed(ImGuiKeyChord key_chord);
CIMGUI_API int ImGui_GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate);
CIMGUI_API const char* ImGui_GetKeyName(ImGuiKey key);
CIMGUI_API void ImGui_SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard);
CIMGUI_API bool ImGui_Shortcut(ImGuiKeyChord key_chord);
CIMGUI_API bool ImGui_ShortcutEx(ImGuiKeyChord key_chord, ImGuiInputFlags flags);
CIMGUI_API void ImGui_SetNextItemShortcut(ImGuiKeyChord key_chord);
CIMGUI_API void ImGui_SetNextItemShortcutEx(ImGuiKeyChord key_chord, ImGuiInputFlags flags);
CIMGUI_API bool ImGui_SetItemKeyOwner(ImGuiKey key);
CIMGUI_API bool ImGui_IsMouseDown(ImGuiMouseButton button);
CIMGUI_API bool ImGui_IsMouseClicked(ImGuiMouseButton button);
CIMGUI_API bool ImGui_IsMouseClickedEx(ImGuiMouseButton button, bool repeat);
CIMGUI_API bool ImGui_IsMouseReleased(ImGuiMouseButton button);
CIMGUI_API bool ImGui_IsMouseDoubleClicked(ImGuiMouseButton button);
CIMGUI_API bool ImGui_IsMouseReleasedWithDelay(ImGuiMouseButton button);
CIMGUI_API bool ImGui_IsMouseReleasedWithDelayEx(ImGuiMouseButton button, float delay);
CIMGUI_API int ImGui_GetMouseClickedCount(ImGuiMouseButton button);
CIMGUI_API bool ImGui_IsMouseHoveringRect(ImVec2 r_min, ImVec2 r_max);
CIMGUI_API bool ImGui_IsMouseHoveringRectEx(ImVec2 r_min, ImVec2 r_max, bool clip);
CIMGUI_API bool ImGui_IsMousePosValid(void);
CIMGUI_API bool ImGui_IsMousePosValidEx(const ImVec2* mouse_pos);
CIMGUI_API bool ImGui_IsAnyMouseDown(void);
CIMGUI_API ImVec2 ImGui_GetMousePos(void);
CIMGUI_API ImVec2 ImGui_GetMousePosOnOpeningCurrentPopup(void);
CIMGUI_API bool ImGui_IsMouseDragging(ImGuiMouseButton button);
CIMGUI_API bool ImGui_IsMouseDraggingEx(ImGuiMouseButton button, float lock_threshold);
CIMGUI_API ImVec2 ImGui_GetMouseDragDelta(void);
CIMGUI_API ImVec2 ImGui_GetMouseDragDeltaEx(ImGuiMouseButton button, float lock_threshold);
CIMGUI_API void ImGui_ResetMouseDragDelta(void);
CIMGUI_API void ImGui_ResetMouseDragDeltaEx(ImGuiMouseButton button);
CIMGUI_API ImGuiMouseCursor ImGui_GetMouseCursor(void);
CIMGUI_API void ImGui_SetMouseCursor(ImGuiMouseCursor cursor_type);
CIMGUI_API void ImGui_SetNextFrameWantCaptureMouse(bool want_capture_mouse);
CIMGUI_API const char* ImGui_GetClipboardText(void);
CIMGUI_API void ImGui_SetClipboardText(const char* text);
CIMGUI_API void ImGui_LoadIniSettingsFromDisk(const char* ini_filename);
CIMGUI_API void ImGui_LoadIniSettingsFromMemory(const char* ini_data);
CIMGUI_API void ImGui_LoadIniSettingsFromMemoryEx(const char* ini_data, size_t ini_size);
CIMGUI_API void ImGui_SaveIniSettingsToDisk(const char* ini_filename);
CIMGUI_API const char* ImGui_SaveIniSettingsToMemory(void);
CIMGUI_API const char* ImGui_SaveIniSettingsToMemoryEx(size_t* out_ini_size);
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);
CIMGUI_API void ImGui_DebugLog(const char* fmt, ...);
CIMGUI_API void ImGui_DebugLogV(const char* fmt, va_list args);
CIMGUI_API void ImGui_SetAllocatorFunctions(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func);
CIMGUI_API void ImGui_SetAllocatorFunctionsEx(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func, void* user_data);
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);

// struct ImVec2
CIMGUI_API ImVec2* ImVec2_New(void);
CIMGUI_API ImVec2* ImVec2_NewFloat(float _x, float _y);

// struct ImVec4
CIMGUI_API ImVec4* ImVec4_New(void);
CIMGUI_API ImVec4* ImVec4_NewFloat(float _x, float _y, float _z, float _w);

// struct ImTextureRef
CIMGUI_API ImTextureRef* ImTextureRef_New(void);
CIMGUI_API ImTextureRef* ImTextureRef_NewTextureID(ImTextureID tex_id);
CIMGUI_API ImTextureID ImTextureRef_GetTexID(const ImTextureRef* self);

// struct ImGuiTableSortSpecs
CIMGUI_API ImGuiTableSortSpecs* ImGuiTableSortSpecs_New(void);

// struct ImGuiTableColumnSortSpecs
CIMGUI_API ImGuiTableColumnSortSpecs* ImGuiTableColumnSortSpecs_New(void);

// struct ImGuiStyle
CIMGUI_API ImGuiStyle* ImGuiStyle_New(void);
CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self, float scale_factor);

// struct ImGuiKeyData
CIMGUI_API ImGuiKeyData* ImGuiKeyData_New(void);

// struct ImGuiIO
CIMGUI_API ImGuiIO* ImGuiIO_New(void);
CIMGUI_API void ImGuiIO_AddKeyEvent(ImGuiIO* self, ImGuiKey key, bool down);
CIMGUI_API void ImGuiIO_AddKeyAnalogEvent(ImGuiIO* self, ImGuiKey key, bool down, float v);
CIMGUI_API void ImGuiIO_AddMousePosEvent(ImGuiIO* self, float x, float y);
CIMGUI_API void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self, int button, bool down);
CIMGUI_API void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self, float wheel_x, float wheel_y);
CIMGUI_API void ImGuiIO_AddMouseSourceEvent(ImGuiIO* self, ImGuiMouseSource source);
CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self, bool focused);
CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self, unsigned int c);
CIMGUI_API void ImGuiIO_AddInputCharacterUTF16(ImGuiIO* self, ImWchar16 c);
CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self, const char* str);
CIMGUI_API void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self, ImGuiKey key, int native_keycode, int native_scancode);
CIMGUI_API void ImGuiIO_SetKeyEventNativeDataEx(ImGuiIO* self, ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index);
CIMGUI_API void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self, bool accepting_events);
CIMGUI_API void ImGuiIO_ClearEventsQueue(ImGuiIO* self);
CIMGUI_API void ImGuiIO_ClearInputKeys(ImGuiIO* self);
CIMGUI_API void ImGuiIO_ClearInputMouse(ImGuiIO* self);

// struct ImGuiInputTextCallbackData
CIMGUI_API ImGuiInputTextCallbackData* ImGuiInputTextCallbackData_New(void);
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self, int pos, int bytes_count);
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self, int pos, const char* text);
CIMGUI_API void ImGuiInputTextCallbackData_InsertCharsEx(ImGuiInputTextCallbackData* self, int pos, const char* text, const char* text_end);
CIMGUI_API void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData* self);
CIMGUI_API void ImGuiInputTextCallbackData_SetSelection(ImGuiInputTextCallbackData* self, int s, int e);
CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self);
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(const ImGuiInputTextCallbackData* self);

// struct ImGuiSizeCallbackData
CIMGUI_API ImGuiSizeCallbackData* ImGuiSizeCallbackData_New(void);

// struct ImGuiPayload
CIMGUI_API ImGuiPayload* ImGuiPayload_New(void);
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);

// struct ImGuiOnceUponAFrame
CIMGUI_API ImGuiOnceUponAFrame* ImGuiOnceUponAFrame_New(void);

// struct ImGuiTextFilter
CIMGUI_API ImGuiTextFilter* ImGuiTextFilter_New(void);
CIMGUI_API ImGuiTextFilter* ImGuiTextFilter_NewEx(const char* default_filter);
CIMGUI_API bool ImGuiTextFilter_PassFilter(const ImGuiTextFilter* self, const char* text);
CIMGUI_API bool ImGuiTextFilter_PassFilterEx(const ImGuiTextFilter* self, const char* text, const char* text_end);
CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self);
CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self);
CIMGUI_API bool ImGuiTextFilter_IsActive(const ImGuiTextFilter* self);
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self);
CIMGUI_API bool ImGuiTextFilter_DrawEx(ImGuiTextFilter* self, const char* label);
CIMGUI_API bool ImGuiTextFilter_DrawWithHint(ImGuiTextFilter* self);
CIMGUI_API bool ImGuiTextFilter_DrawWithHintEx(ImGuiTextFilter* self, const char* label, const char* hint);

// struct ImGuiTextBuffer
CIMGUI_API ImGuiTextBuffer* ImGuiTextBuffer_New(void);
CIMGUI_API const char* ImGuiTextBuffer_begin(const ImGuiTextBuffer* self);
CIMGUI_API const char* ImGuiTextBuffer_end(const ImGuiTextBuffer* self);
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_resize(ImGuiTextBuffer* self, int size);
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);
CIMGUI_API void ImGuiTextBuffer_appendEx(ImGuiTextBuffer* self, const char* str, const char* str_end);
CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self, const char* fmt, ...);
CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self, const char* fmt, va_list args);

// struct ImGuiStoragePair
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_New(ImGuiID _key, int _val);
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_NewFloat(ImGuiID _key, float _val);
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_NewPtr(ImGuiID _key, void* _val);

// struct ImGuiStorage
CIMGUI_API ImGuiStorage* ImGuiStorage_New(void);
CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self);
CIMGUI_API int ImGuiStorage_GetInt(const ImGuiStorage* self, ImGuiID key);
CIMGUI_API int ImGuiStorage_GetIntEx(const ImGuiStorage* self, ImGuiID key, int default_val);
CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self, ImGuiID key, int val);
CIMGUI_API bool ImGuiStorage_GetBool(const ImGuiStorage* self, ImGuiID key);
CIMGUI_API bool ImGuiStorage_GetBoolEx(const ImGuiStorage* self, ImGuiID key, bool default_val);
CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self, ImGuiID key, bool val);
CIMGUI_API float ImGuiStorage_GetFloat(const ImGuiStorage* self, ImGuiID key);
CIMGUI_API float ImGuiStorage_GetFloatEx(const ImGuiStorage* self, ImGuiID key, float default_val);
CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self, ImGuiID key, float val);
CIMGUI_API void* ImGuiStorage_GetVoidPtr(const ImGuiStorage* self, ImGuiID key);
CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self, ImGuiID key, void* val);
CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self, ImGuiID key);
CIMGUI_API int* ImGuiStorage_GetIntRefEx(ImGuiStorage* self, ImGuiID key, int default_val);
CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self, ImGuiID key);
CIMGUI_API bool* ImGuiStorage_GetBoolRefEx(ImGuiStorage* self, ImGuiID key, bool default_val);
CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self, ImGuiID key);
CIMGUI_API float* ImGuiStorage_GetFloatRefEx(ImGuiStorage* self, ImGuiID key, float default_val);
CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self, ImGuiID key);
CIMGUI_API void** ImGuiStorage_GetVoidPtrRefEx(ImGuiStorage* self, ImGuiID key, void* default_val);
CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self);
CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self, int val);

// struct ImGuiListClipper
CIMGUI_API ImGuiListClipper* ImGuiListClipper_New(void);
CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self, int items_count);
CIMGUI_API void ImGuiListClipper_BeginEx(ImGuiListClipper* self, int items_count, float items_height);
CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self);
CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self);
CIMGUI_API void ImGuiListClipper_IncludeItemByIndex(ImGuiListClipper* self, int item_index);
CIMGUI_API void ImGuiListClipper_IncludeItemsByIndex(ImGuiListClipper* self, int item_begin, int item_end);
CIMGUI_API void ImGuiListClipper_SeekCursorForItem(ImGuiListClipper* self, int item_index);

// struct ImColor
CIMGUI_API ImColor* ImColor_New(void);
CIMGUI_API ImColor* ImColor_NewFloat(float r, float g, float b);
CIMGUI_API ImColor* ImColor_NewFloatEx(float r, float g, float b, float a);
CIMGUI_API ImColor* ImColor_NewVec4(ImVec4 col);
CIMGUI_API ImColor* ImColor_NewInt(int r, int g, int b);
CIMGUI_API ImColor* ImColor_NewIntEx(int r, int g, int b, int a);
CIMGUI_API ImColor* ImColor_NewU32(ImU32 rgba);
CIMGUI_API void ImColor_SetHSV(ImColor* self, float h, float s, float v);
CIMGUI_API void ImColor_SetHSVEx(ImColor* self, float h, float s, float v, float a);
CIMGUI_API ImColor ImColor_HSV(float h, float s, float v);
CIMGUI_API ImColor ImColor_HSVEx(float h, float s, float v, float a);

// struct ImGuiMultiSelectIO
CIMGUI_API ImGuiMultiSelectIO* ImGuiMultiSelectIO_New(void);

// struct ImGuiSelectionRequest
CIMGUI_API ImGuiSelectionRequest* ImGuiSelectionRequest_New(void);

// struct ImGuiSelectionBasicStorage
CIMGUI_API ImGuiSelectionBasicStorage* ImGuiSelectionBasicStorage_New(void);
CIMGUI_API void ImGuiSelectionBasicStorage_ApplyRequests(ImGuiSelectionBasicStorage* self, ImGuiMultiSelectIO* ms_io);
CIMGUI_API bool ImGuiSelectionBasicStorage_Contains(const ImGuiSelectionBasicStorage* self, ImGuiID id);
CIMGUI_API void ImGuiSelectionBasicStorage_Clear(ImGuiSelectionBasicStorage* self);
CIMGUI_API void ImGuiSelectionBasicStorage_Swap(ImGuiSelectionBasicStorage* self, ImGuiSelectionBasicStorage* r);
CIMGUI_API void ImGuiSelectionBasicStorage_SetItemSelected(ImGuiSelectionBasicStorage* self, ImGuiID id, bool selected);
CIMGUI_API bool ImGuiSelectionBasicStorage_GetNextSelectedItem(ImGuiSelectionBasicStorage* self, void** opaque_it, ImGuiID* out_id);
CIMGUI_API ImGuiID ImGuiSelectionBasicStorage_GetStorageIdFromIndex(ImGuiSelectionBasicStorage* self, int idx);

// struct ImGuiSelectionExternalStorage
CIMGUI_API ImGuiSelectionExternalStorage* ImGuiSelectionExternalStorage_New(void);
CIMGUI_API void ImGuiSelectionExternalStorage_ApplyRequests(ImGuiSelectionExternalStorage* self, ImGuiMultiSelectIO* ms_io);

// struct ImDrawCmd
CIMGUI_API ImDrawCmd* ImDrawCmd_New(void);
CIMGUI_API ImTextureID ImDrawCmd_GetTexID(const ImDrawCmd* self);

// struct ImDrawVert
CIMGUI_API ImDrawVert* ImDrawVert_New(void);

// struct ImDrawCmdHeader
CIMGUI_API ImDrawCmdHeader* ImDrawCmdHeader_New(void);

// struct ImDrawChannel
CIMGUI_API ImDrawChannel* ImDrawChannel_New(void);

// struct ImDrawListSplitter
CIMGUI_API ImDrawListSplitter* ImDrawListSplitter_New(void);
CIMGUI_API void ImDrawListSplitter_Clear(ImDrawListSplitter* self);
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);

// struct ImDrawList
CIMGUI_API ImDrawList* ImDrawList_New(ImDrawListSharedData* shared_data);
CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self, ImVec2 clip_rect_min, ImVec2 clip_rect_max);
CIMGUI_API void ImDrawList_PushClipRectEx(ImDrawList* self, ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_current_clip_rect);
CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self);
CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self);
CIMGUI_API void ImDrawList_PushTexture(ImDrawList* self, ImTextureRef tex_ref);
CIMGUI_API void ImDrawList_PopTexture(ImDrawList* self);
CIMGUI_API void ImDrawList_PushDrawFlag(ImDrawList* self, ImDrawFlags flags, bool enabled);
CIMGUI_API void ImDrawList_PopDrawFlag(ImDrawList* self);
CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(const ImDrawList* self);
CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(const ImDrawList* self);
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImU32 col);
CIMGUI_API void ImDrawList_AddLineEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImU32 col, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddLineH(ImDrawList* self, float min_x, float max_x, float y, ImU32 col);
CIMGUI_API void ImDrawList_AddLineHEx(ImDrawList* self, float min_x, float max_x, float y, ImU32 col, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddLineV(ImDrawList* self, float x, float min_y, float max_y, ImU32 col);
CIMGUI_API void ImDrawList_AddLineVEx(ImDrawList* self, float x, float min_y, float max_y, ImU32 col, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col);
CIMGUI_API void ImDrawList_AddRectEx(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col, float rounding, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col);
CIMGUI_API void ImDrawList_AddRectFilledEx(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col, float rounding, ImDrawFlags flags);
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);
CIMGUI_API void ImDrawList_AddQuadEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImU32 col, float thickness, ImDrawFlags flags);
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);
CIMGUI_API void ImDrawList_AddTriangleEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImU32 col, float thickness, ImDrawFlags flags);
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);
CIMGUI_API void ImDrawList_AddCircleEx(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self, ImVec2 center, float radius, ImU32 col);
CIMGUI_API void ImDrawList_AddCircleFilledEx(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments);
CIMGUI_API void ImDrawList_AddNgon(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments);
CIMGUI_API void ImDrawList_AddNgonEx(ImDrawList* self, ImVec2 center, float radius, ImU32 col, int num_segments, float thickness, ImDrawFlags flags);
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);
CIMGUI_API void ImDrawList_AddEllipseEx(ImDrawList* self, ImVec2 center, ImVec2 radius, ImU32 col, float rot, int num_segments, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddEllipseFilled(ImDrawList* self, ImVec2 center, ImVec2 radius, ImU32 col);
CIMGUI_API void ImDrawList_AddEllipseFilledEx(ImDrawList* self, ImVec2 center, ImVec2 radius, ImU32 col, float rot, int num_segments);
CIMGUI_API void ImDrawList_AddText(ImDrawList* self, ImVec2 pos, ImU32 col, const char* text_begin);
CIMGUI_API void ImDrawList_AddTextEx(ImDrawList* self, ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end);
CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self, ImFont* font, float font_size, ImVec2 pos, ImU32 col, const char* text_begin);
CIMGUI_API void ImDrawList_AddTextFontPtrEx(ImDrawList* self, ImFont* font, float font_size, ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect);
CIMGUI_API void ImDrawList_AddBezierCubic(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImU32 col, float thickness);
CIMGUI_API void ImDrawList_AddBezierCubicEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImU32 col, float thickness, int num_segments, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddBezierQuadratic(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImU32 col, float thickness);
CIMGUI_API void ImDrawList_AddBezierQuadraticEx(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImU32 col, float thickness, int num_segments, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col, float thickness);
CIMGUI_API void ImDrawList_AddPolylineEx(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col);
CIMGUI_API void ImDrawList_AddConvexPolyFilledEx(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddConcavePolyFilled(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col);
CIMGUI_API void ImDrawList_AddImage(ImDrawList* self, ImTextureRef tex_ref, ImVec2 p_min, ImVec2 p_max);
CIMGUI_API void ImDrawList_AddImageEx(ImDrawList* self, ImTextureRef tex_ref, ImVec2 p_min, ImVec2 p_max, ImVec2 uv_min, ImVec2 uv_max, ImU32 col);
CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self, ImTextureRef tex_ref, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4);
CIMGUI_API void ImDrawList_AddImageQuadEx(ImDrawList* self, ImTextureRef tex_ref, ImVec2 p1, ImVec2 p2, ImVec2 p3, ImVec2 p4, ImVec2 uv1, ImVec2 uv2, ImVec2 uv3, ImVec2 uv4, ImU32 col);
CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self, ImTextureRef tex_ref, ImVec2 p_min, ImVec2 p_max, ImVec2 uv_min, ImVec2 uv_max, ImU32 col, float rounding);
CIMGUI_API void ImDrawList_AddImageRoundedEx(ImDrawList* self, ImTextureRef tex_ref, ImVec2 p_min, ImVec2 p_max, ImVec2 uv_min, ImVec2 uv_max, ImU32 col, float rounding, ImDrawFlags flags);
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_PathFillConvexEx(ImDrawList* self, ImU32 col, ImDrawFlags flags);
CIMGUI_API void ImDrawList_PathFillConcave(ImDrawList* self, ImU32 col);
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self, ImU32 col);
CIMGUI_API void ImDrawList_PathStrokeEx(ImDrawList* self, ImU32 col, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self, ImVec2 center, float radius, float a_min, float a_max);
CIMGUI_API void ImDrawList_PathArcToEx(ImDrawList* self, ImVec2 center, float radius, float a_min, float a_max, int num_segments);
CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self, ImVec2 center, float radius, int a_min_of_12, int a_max_of_12);
CIMGUI_API void ImDrawList_PathEllipticalArcTo(ImDrawList* self, ImVec2 center, ImVec2 radius, float rot, float a_min, float a_max);
CIMGUI_API void ImDrawList_PathEllipticalArcToEx(ImDrawList* self, ImVec2 center, ImVec2 radius, float rot, float a_min, float a_max, int num_segments);
CIMGUI_API void ImDrawList_PathBezierCubicCurveTo(ImDrawList* self, ImVec2 p2, ImVec2 p3, ImVec2 p4);
CIMGUI_API void ImDrawList_PathBezierCubicCurveToEx(ImDrawList* self, ImVec2 p2, ImVec2 p3, ImVec2 p4, int num_segments);
CIMGUI_API void ImDrawList_PathBezierQuadraticCurveTo(ImDrawList* self, ImVec2 p2, ImVec2 p3);
CIMGUI_API void ImDrawList_PathBezierQuadraticCurveToEx(ImDrawList* self, ImVec2 p2, ImVec2 p3, int num_segments);
CIMGUI_API void ImDrawList_PathRect(ImDrawList* self, ImVec2 rect_min, ImVec2 rect_max);
CIMGUI_API void ImDrawList_PathRectEx(ImDrawList* self, ImVec2 rect_min, ImVec2 rect_max, float rounding, ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self, ImDrawCallback callback);
CIMGUI_API void ImDrawList_AddCallbackEx(ImDrawList* self, ImDrawCallback callback, void* userdata, size_t userdata_size);
CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self);
CIMGUI_API ImDrawList* ImDrawList_CloneOutput(const ImDrawList* self);
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);
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);
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);
CIMGUI_API void ImDrawList__SetDrawListSharedData(ImDrawList* self, ImDrawListSharedData* data);
CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self);
CIMGUI_API void ImDrawList__SetPixelDensity(ImDrawList* self, float pixel_density);
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__OnChangedTexture(ImDrawList* self);
CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self);
CIMGUI_API void ImDrawList__SetTexture(ImDrawList* self, ImTextureRef tex_ref);
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);
CIMGUI_API void ImDrawList__AddRectFilledBaked(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col, float r, ImVec4 tex_uvs, ImDrawFlags flags);
CIMGUI_API void ImDrawList__AddRectBaked(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col, float r, float t, ImVec4 tex_uvs, ImDrawFlags flags);
CIMGUI_API void ImDrawList__AddLine(ImDrawList* self, ImVec2 p1, ImVec2 p2, ImU32 col, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList__AddRectTinyRounding(ImDrawList* self, ImVec2 p_min, ImVec2 p_max, ImU32 col, float rounding, float thickness, ImDrawFlags flags);
CIMGUI_API void ImDrawList__SelectLineTexture(ImDrawList* self, float screen_thickness, ImVec2* out_uv0, ImVec2* out_uv1, float* out_fringe, ImDrawFlags flags);
CIMGUI_API float ImDrawList__CalculateCenterBiasedOffset(ImDrawList* self, float thickness);
CIMGUI_API void ImDrawList__AddPolyline(ImDrawList* self, const ImVec2* points, int num_points, ImU32 col, float thickness, ImDrawFlags flags, float max_inner_offset);

// struct ImDrawData
CIMGUI_API ImDrawData* ImDrawData_New(void);
CIMGUI_API void ImDrawData_Clear(ImDrawData* self);
CIMGUI_API void ImDrawData_AddDrawList(ImDrawData* self, ImDrawList* draw_list);
CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self);
CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self, ImVec2 fb_scale);

// struct ImTextureRect
CIMGUI_API ImTextureRect* ImTextureRect_New(void);

// struct ImTextureData
CIMGUI_API ImTextureData* ImTextureData_New(void);
CIMGUI_API void ImTextureData_Create(ImTextureData* self, ImTextureFormat format, int w, int h);
CIMGUI_API void ImTextureData_DestroyPixels(ImTextureData* self);
CIMGUI_API void* ImTextureData_GetPixels(ImTextureData* self);
CIMGUI_API void* ImTextureData_GetPixelsAt(ImTextureData* self, int x, int y);
CIMGUI_API int ImTextureData_GetSizeInBytes(const ImTextureData* self);
CIMGUI_API int ImTextureData_GetPitch(const ImTextureData* self);
CIMGUI_API ImTextureRef ImTextureData_GetTexRef(ImTextureData* self);
CIMGUI_API ImTextureID ImTextureData_GetTexID(const ImTextureData* self);
CIMGUI_API void ImTextureData_SetTexID(ImTextureData* self, ImTextureID tex_id);
CIMGUI_API void ImTextureData_SetStatus(ImTextureData* self, ImTextureStatus status);

// struct ImFontConfig
CIMGUI_API ImFontConfig* ImFontConfig_New(void);

// struct ImFontGlyph
CIMGUI_API ImFontGlyph* ImFontGlyph_New(void);

// struct ImFontGlyphRangesBuilder
CIMGUI_API ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilder_New(void);
CIMGUI_API void ImFontGlyphRangesBuilder_Clear(ImFontGlyphRangesBuilder* self);
CIMGUI_API bool ImFontGlyphRangesBuilder_GetBit(const ImFontGlyphRangesBuilder* self, size_t n);
CIMGUI_API void ImFontGlyphRangesBuilder_SetBit(ImFontGlyphRangesBuilder* self, size_t n);
CIMGUI_API void ImFontGlyphRangesBuilder_AddChar(ImFontGlyphRangesBuilder* self, ImWchar c);
CIMGUI_API void ImFontGlyphRangesBuilder_AddText(ImFontGlyphRangesBuilder* self, const char* text);
CIMGUI_API void ImFontGlyphRangesBuilder_AddTextEx(ImFontGlyphRangesBuilder* self, const char* text, const char* text_end);
CIMGUI_API void ImFontGlyphRangesBuilder_AddRanges(ImFontGlyphRangesBuilder* self, const ImWchar* ranges);
CIMGUI_API void ImFontGlyphRangesBuilder_BuildRanges(ImFontGlyphRangesBuilder* self, ImVector_ImWchar* out_ranges);

// struct ImFontAtlasRect
CIMGUI_API ImFontAtlasRect* ImFontAtlasRect_New(void);

// struct ImFontAtlas
CIMGUI_API ImFontAtlas* ImFontAtlas_New(void);
CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self, const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultEx(ImFontAtlas* self, const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultVector(ImFontAtlas* self);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultVectorEx(ImFontAtlas* self, const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultBitmap(ImFontAtlas* self);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultBitmapEx(ImFontAtlas* self, const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self, const char* filename);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTFEx(ImFontAtlas* self, const char* filename, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self, void* font_data, int font_data_size);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTFEx(ImFontAtlas* self, void* font_data, int font_data_size, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self, const void* compressed_font_data, int compressed_font_data_size);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTFEx(ImFontAtlas* self, const void* compressed_font_data, int compressed_font_data_size, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self, const char* compressed_font_data_base85);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTFEx(ImFontAtlas* self, const char* compressed_font_data_base85, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges);
CIMGUI_API void ImFontAtlas_RemoveFont(ImFontAtlas* self, ImFont* font);
CIMGUI_API void ImFontAtlas_CompactCache(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_SetFontLoader(ImFontAtlas* self, const ImFontLoader* font_loader);
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self);
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self);
CIMGUI_API ImFontAtlasRectId ImFontAtlas_AddCustomRect(ImFontAtlas* self, int width, int height);
CIMGUI_API ImFontAtlasRectId ImFontAtlas_AddCustomRectEx(ImFontAtlas* self, int width, int height, ImFontAtlasRect* out_r);
CIMGUI_API void ImFontAtlas_RemoveCustomRect(ImFontAtlas* self, ImFontAtlasRectId id);
CIMGUI_API bool ImFontAtlas_GetCustomRect(const ImFontAtlas* self, ImFontAtlasRectId id, ImFontAtlasRect* out_r);

// struct ImFontBaked
CIMGUI_API ImFontBaked* ImFontBaked_New(void);
CIMGUI_API void ImFontBaked_ClearOutputData(ImFontBaked* self);
CIMGUI_API ImFontGlyph* ImFontBaked_FindGlyph(ImFontBaked* self, ImWchar c);
CIMGUI_API ImFontGlyph* ImFontBaked_FindGlyphNoFallback(ImFontBaked* self, ImWchar c);
CIMGUI_API float ImFontBaked_GetCharAdvance(ImFontBaked* self, ImWchar c);
CIMGUI_API bool ImFontBaked_IsGlyphLoaded(ImFontBaked* self, ImWchar c);

// struct ImFont
CIMGUI_API ImFont* ImFont_New(void);
CIMGUI_API bool ImFont_IsGlyphInFont(ImFont* self, ImWchar c);
CIMGUI_API bool ImFont_IsLoaded(const ImFont* self);
CIMGUI_API const char* ImFont_GetDebugName(const ImFont* self);
CIMGUI_API ImFontBaked* ImFont_GetFontBaked(ImFont* self, float font_size);
CIMGUI_API ImFontBaked* ImFont_GetFontBakedEx(ImFont* self, float font_size, float density);
CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self, float size, float max_width, float wrap_width, const char* text_begin);
CIMGUI_API ImVec2 ImFont_CalcTextSizeAEx(ImFont* self, float size, float max_width, float wrap_width, const char* text_begin, const char* text_end, const char** out_remaining);
CIMGUI_API const char* ImFont_CalcWordWrapPosition(ImFont* self, float size, const char* text, const char* text_end, float wrap_width);
CIMGUI_API void ImFont_RenderChar(ImFont* self, ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c);
CIMGUI_API void ImFont_RenderCharEx(ImFont* self, ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c, const ImVec4* cpu_fine_clip);
CIMGUI_API void ImFont_RenderText(ImFont* self, ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImVec4 clip_rect, const char* text_begin, const char* text_end);
CIMGUI_API void ImFont_RenderTextEx(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, ImDrawTextFlags flags);
CIMGUI_API void ImFont_ClearOutputData(ImFont* self);
CIMGUI_API void ImFont_AddRemapCodepoint(ImFont* self, ImWchar from_codepoint, ImWchar to_codepoint);
CIMGUI_API void ImFont_AddRemapCodepointToGlyphIndex(ImFont* self, ImWchar from_codepoint, int font_src_idx, int glyph_idx);
CIMGUI_API bool ImFont_IsGlyphRangeUnused(ImFont* self, unsigned int c_begin, unsigned int c_last);

// struct ImGuiViewport
CIMGUI_API ImGuiViewport* ImGuiViewport_New(void);
CIMGUI_API ImVec2 ImGuiViewport_GetCenter(const ImGuiViewport* self);
CIMGUI_API ImVec2 ImGuiViewport_GetWorkCenter(const ImGuiViewport* self);

// struct ImGuiPlatformIO
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_New(void);
CIMGUI_API void ImGuiPlatformIO_ClearPlatformHandlers(ImGuiPlatformIO* self);
CIMGUI_API void ImGuiPlatformIO_ClearRendererHandlers(ImGuiPlatformIO* self);

// struct ImGuiPlatformImeData
CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_New(void);

// Destructors (objects from X_New)
CIMGUI_API void ImVec2_Delete(ImVec2* self);
CIMGUI_API void ImVec4_Delete(ImVec4* self);
CIMGUI_API void ImTextureRef_Delete(ImTextureRef* self);
CIMGUI_API void ImGuiTableSortSpecs_Delete(ImGuiTableSortSpecs* self);
CIMGUI_API void ImGuiTableColumnSortSpecs_Delete(ImGuiTableColumnSortSpecs* self);
CIMGUI_API void ImGuiStyle_Delete(ImGuiStyle* self);
CIMGUI_API void ImGuiKeyData_Delete(ImGuiKeyData* self);
CIMGUI_API void ImGuiIO_Delete(ImGuiIO* self);
CIMGUI_API void ImGuiInputTextCallbackData_Delete(ImGuiInputTextCallbackData* self);
CIMGUI_API void ImGuiSizeCallbackData_Delete(ImGuiSizeCallbackData* self);
CIMGUI_API void ImGuiPayload_Delete(ImGuiPayload* self);
CIMGUI_API void ImGuiOnceUponAFrame_Delete(ImGuiOnceUponAFrame* self);
CIMGUI_API void ImGuiTextFilter_Delete(ImGuiTextFilter* self);
CIMGUI_API void ImGuiTextBuffer_Delete(ImGuiTextBuffer* self);
CIMGUI_API void ImGuiStoragePair_Delete(ImGuiStoragePair* self);
CIMGUI_API void ImGuiStorage_Delete(ImGuiStorage* self);
CIMGUI_API void ImGuiListClipper_Delete(ImGuiListClipper* self);
CIMGUI_API void ImColor_Delete(ImColor* self);
CIMGUI_API void ImGuiMultiSelectIO_Delete(ImGuiMultiSelectIO* self);
CIMGUI_API void ImGuiSelectionRequest_Delete(ImGuiSelectionRequest* self);
CIMGUI_API void ImGuiSelectionBasicStorage_Delete(ImGuiSelectionBasicStorage* self);
CIMGUI_API void ImGuiSelectionExternalStorage_Delete(ImGuiSelectionExternalStorage* self);
CIMGUI_API void ImDrawCmd_Delete(ImDrawCmd* self);
CIMGUI_API void ImDrawVert_Delete(ImDrawVert* self);
CIMGUI_API void ImDrawCmdHeader_Delete(ImDrawCmdHeader* self);
CIMGUI_API void ImDrawChannel_Delete(ImDrawChannel* self);
CIMGUI_API void ImDrawListSplitter_Delete(ImDrawListSplitter* self);
CIMGUI_API void ImDrawList_Delete(ImDrawList* self);
CIMGUI_API void ImDrawData_Delete(ImDrawData* self);
CIMGUI_API void ImTextureRect_Delete(ImTextureRect* self);
CIMGUI_API void ImTextureData_Delete(ImTextureData* self);
CIMGUI_API void ImFontConfig_Delete(ImFontConfig* self);
CIMGUI_API void ImFontGlyph_Delete(ImFontGlyph* self);
CIMGUI_API void ImFontGlyphRangesBuilder_Delete(ImFontGlyphRangesBuilder* self);
CIMGUI_API void ImFontAtlasRect_Delete(ImFontAtlasRect* self);
CIMGUI_API void ImFontAtlas_Delete(ImFontAtlas* self);
CIMGUI_API void ImFontBaked_Delete(ImFontBaked* self);
CIMGUI_API void ImFont_Delete(ImFont* self);
CIMGUI_API void ImGuiViewport_Delete(ImGuiViewport* self);
CIMGUI_API void ImGuiPlatformIO_Delete(ImGuiPlatformIO* self);
CIMGUI_API void ImGuiPlatformImeData_Delete(ImGuiPlatformImeData* self);

// Helpers
CIMGUI_API ImTextureRef ImTextureRef_FromID(ImTextureID tex_id);
// sizeof() of an imgui.h struct as the C++ compiler sees it (0: unknown); for binding tests.
CIMGUI_API size_t cImGui_SizeOf(const char* type_name);

#ifdef __cplusplus
} // extern "C"
#endif